class Azure::StorageCache::Mgmt::V2019_11_01::Models::StorageTarget
A storage system being cached by a Cache
.
Attributes
@return [ClfsTarget] Properties when targetType is clfs.
@return [String] Resource ID of the Storage Target.
@return [Array<NamespaceJunction>] List of Cache
namespace junctions to target for namespace associations.
@return [String] Name of the Storage Target.
@return [Nfs3Target] Properties when targetType is nfs3.
@return [ProvisioningStateType] ARM provisioning state, see github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property. Possible values include: 'Succeeded', 'Failed', 'Cancelled', 'Creating', 'Deleting', 'Updating'
@return [StorageTargetType] Type of the Storage Target. Possible values include: 'nfs3', 'clfs', 'unknown'
@return [String] Type of the Storage Target; Microsoft.StorageCache/Cache/StorageTarget
@return [UnknownTarget] Properties when targetType is unknown.
Public Class Methods
Mapper for StorageTarget
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-11-01/generated/azure_mgmt_storagecache/models/storage_target.rb, line 53 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'StorageTarget', type: { name: 'Composite', class_name: 'StorageTarget', model_properties: { name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, junctions: { client_side_validation: true, required: false, serialized_name: 'properties.junctions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'NamespaceJunctionElementType', type: { name: 'Composite', class_name: 'NamespaceJunction' } } } }, target_type: { client_side_validation: true, required: false, serialized_name: 'properties.targetType', type: { name: 'String' } }, provisioning_state: { client_side_validation: true, required: false, serialized_name: 'properties.provisioningState', type: { name: 'String' } }, nfs3: { client_side_validation: true, required: false, serialized_name: 'properties.nfs3', type: { name: 'Composite', class_name: 'Nfs3Target' } }, clfs: { client_side_validation: true, required: false, serialized_name: 'properties.clfs', type: { name: 'Composite', class_name: 'ClfsTarget' } }, unknown: { client_side_validation: true, required: false, serialized_name: 'properties.unknown', type: { name: 'Composite', class_name: 'UnknownTarget' } } } } } end