class Azure::StorageCache::Mgmt::V2020_03_01::Models::StorageTarget
Type of the Storage Target.
Attributes
clfs[RW]
@return [ClfsTarget] Properties when targetType is clfs.
junctions[RW]
@return [Array<NamespaceJunction>] List of Cache
namespace junctions to target for namespace associations.
nfs3[RW]
@return [Nfs3Target] Properties when targetType is nfs3.
provisioning_state[RW]
@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'
targetBaseType[RW]
@return [String] Polymorphic Discriminator
target_type[RW]
@return [String] Type of the Storage Target.
unknown[RW]
@return [UnknownTarget] Properties when targetType is unknown.
Public Class Methods
mapper()
click to toggle source
Mapper for StorageTarget
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-03-01/generated/azure_mgmt_storagecache/models/storage_target.rb, line 45 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' } }, targetBaseType: { client_side_validation: true, required: true, serialized_name: 'properties.targetBaseType', type: { name: 'String' } } } } } end