class Azure::NetApp::Mgmt::V2017_08_15_preview::Models::Snapshot
Attributes
creation_date[RW]
@return [DateTime] name. The creation date of the snapshot
file_system_id[RW]
@return [String] fileSystemId. UUID v4 used to identify the FileSystem
id[RW]
@return [String] Resource Id
location[RW]
@return [String] Resource location
name[RW]
@return [String] Resource name
provisioning_state[RW]
@return [String] Azure
lifecycle management
snapshot_id[RW]
@return [String] snapshotId. UUID v4 used to identify the Snapshot
type[RW]
@return [String] Resource type
Public Class Methods
mapper()
click to toggle source
Mapper for Snapshot
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2017-08-15-preview/generated/azure_mgmt_netapp/models/snapshot.rb, line 47 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'snapshot', type: { name: 'Composite', class_name: 'Snapshot', model_properties: { location: { client_side_validation: true, required: true, serialized_name: 'location', type: { name: 'String' } }, id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, tags: { client_side_validation: true, required: false, serialized_name: 'tags', type: { name: 'Object' } }, snapshot_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.snapshotId', constraints: { MaxLength: 36, MinLength: 36, Pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' }, type: { name: 'String' } }, file_system_id: { client_side_validation: true, required: true, serialized_name: 'properties.fileSystemId', constraints: { MaxLength: 36, MinLength: 36, Pattern: '^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$' }, type: { name: 'String' } }, creation_date: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.creationDate', type: { name: 'DateTime' } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'String' } } } } } end