class Azure::StorageCache::Mgmt::V2020_10_01::Models::StorageTargetProperties
Properties 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'
targetType[RW]
unknown[RW]
@return [UnknownTarget] Properties when targetType is unknown.
Private Class Methods
mapper()
click to toggle source
Mapper for StorageTargetProperties
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-10-01/generated/azure_mgmt_storagecache/models/storage_target_properties.rb, line 50 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'StorageTargetProperties', type: { name: 'Composite', polymorphic_discriminator: 'targetType', uber_parent: 'StorageTargetProperties', class_name: 'StorageTargetProperties', model_properties: { junctions: { client_side_validation: true, required: false, serialized_name: 'junctions', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'NamespaceJunctionElementType', type: { name: 'Composite', class_name: 'NamespaceJunction' } } } }, provisioning_state: { client_side_validation: true, required: false, serialized_name: 'provisioningState', type: { name: 'String' } }, nfs3: { client_side_validation: true, required: false, serialized_name: 'nfs3', type: { name: 'Composite', class_name: 'Nfs3Target' } }, clfs: { client_side_validation: true, required: false, serialized_name: 'clfs', type: { name: 'Composite', class_name: 'ClfsTarget' } }, unknown: { client_side_validation: true, required: false, serialized_name: 'unknown', type: { name: 'Composite', class_name: 'UnknownTarget' } } } } } end
new()
click to toggle source
# File lib/2020-10-01/generated/azure_mgmt_storagecache/models/storage_target_properties.rb, line 20 def initialize @targetType = "StorageTargetProperties" end