Class: Azure::ServiceFabric::V6_5_0_36::Models::ApplicationScopedVolume

Inherits:
VolumeReference
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.5.0.36/generated/azure_service_fabric/models/application_scoped_volume.rb

Overview

Describes a volume whose lifetime is scoped to the application’s lifetime.

Instance Attribute Summary collapse

Attributes inherited from VolumeReference

#destination_path, #name, #read_only

Class Method Summary collapse

Instance Attribute Details

#creation_parametersApplicationScopedVolumeCreationParameters

parameters for creating application-scoped volumes.



18
19
20
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_scoped_volume.rb', line 18

def creation_parameters
  @creation_parameters
end

Class Method Details

.mapperObject

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



25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/application_scoped_volume.rb', line 25

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationScopedVolume',
    type: {
      name: 'Composite',
      class_name: 'ApplicationScopedVolume',
      model_properties: {
        name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        read_only: {
          client_side_validation: true,
          required: false,
          serialized_name: 'readOnly',
          type: {
            name: 'Boolean'
          }
        },
        destination_path: {
          client_side_validation: true,
          required: true,
          serialized_name: 'destinationPath',
          type: {
            name: 'String'
          }
        },
        creation_parameters: {
          client_side_validation: true,
          required: true,
          serialized_name: 'creationParameters',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'kind',
            uber_parent: 'ApplicationScopedVolumeCreationParameters',
            class_name: 'ApplicationScopedVolumeCreationParameters'
          }
        }
      }
    }
  }
end