Class: Azure::ServiceFabric::V6_4_0_36::Models::VolumeResourceDescription

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.4.0.36/generated/azure_service_fabric/models/volume_resource_description.rb

Overview

This type describes a volume resource.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#azure_file_parametersVolumeProviderParametersAzureFile

volume provided by an Azure Files file share.

Returns:



34
35
36
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/volume_resource_description.rb', line 34

def azure_file_parameters
  @azure_file_parameters
end

#descriptionString

Returns User readable description of the volume.

Returns:

  • (String)

    User readable description of the volume.



19
20
21
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/volume_resource_description.rb', line 19

def description
  @description
end

#nameString

Returns Name of the Volume resource.

Returns:

  • (String)

    Name of the Volume resource.



16
17
18
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/volume_resource_description.rb', line 16

def name
  @name
end

#providerString

Returns Provider of the volume. Default value: ‘SFAzureFile’ .

Returns:

  • (String)

    Provider of the volume. Default value: ‘SFAzureFile’ .



30
31
32
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/volume_resource_description.rb', line 30

def provider
  @provider
end

#statusResourceStatus

‘Unknown’, ‘Ready’, ‘Upgrading’, ‘Creating’, ‘Deleting’, ‘Failed’

Returns:



23
24
25
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/volume_resource_description.rb', line 23

def status
  @status
end

#status_detailsString

of the volume.

Returns:

  • (String)

    Gives additional information about the current status



27
28
29
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/volume_resource_description.rb', line 27

def status_details
  @status_details
end

Class Method Details

.mapperObject

Mapper for VolumeResourceDescription class as Ruby Hash. This will be used for serialization/deserialization.



41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# File 'lib/6.4.0.36/generated/azure_service_fabric/models/volume_resource_description.rb', line 41

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'VolumeResourceDescription',
    type: {
      name: 'Composite',
      class_name: 'VolumeResourceDescription',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        description: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.description',
          type: {
            name: 'String'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.status',
          type: {
            name: 'String'
          }
        },
        status_details: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'properties.statusDetails',
          type: {
            name: 'String'
          }
        },
        provider: {
          client_side_validation: true,
          required: true,
          is_constant: true,
          serialized_name: 'properties.provider',
          default_value: 'SFAzureFile',
          type: {
            name: 'String'
          }
        },
        azure_file_parameters: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.azureFileParameters',
          type: {
            name: 'Composite',
            class_name: 'VolumeProviderParametersAzureFile'
          }
        }
      }
    }
  }
end