Class: Azure::ARM::Storage::Models::SKUCapability

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_storage/models/skucapability.rb

Overview

The capability information in the specified sku, including file encryption, network acls, change notification, etc.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#nameString

the specified sku, including file encryption, network acls, change notification, etc.

Returns:

  • (String)

    The name of capability, The capability information in



20
21
22
# File 'lib/generated/azure_mgmt_storage/models/skucapability.rb', line 20

def name
  @name
end

#valueString

Possibly ‘true’ or ‘false’.

Returns:

  • (String)

    A string value to indicate states of given capability.



24
25
26
# File 'lib/generated/azure_mgmt_storage/models/skucapability.rb', line 24

def value
  @value
end

Class Method Details

.mapperObject

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



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
# File 'lib/generated/azure_mgmt_storage/models/skucapability.rb', line 31

def self.mapper()
  {
    required: false,
    serialized_name: 'SKUCapability',
    type: {
      name: 'Composite',
      class_name: 'SKUCapability',
      model_properties: {
        name: {
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        value: {
          required: false,
          read_only: true,
          serialized_name: 'value',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end