Class: Azure::Storage::Mgmt::V2018_02_01::Models::SKUCapability

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-02-01/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



19
20
21
# File 'lib/2018-02-01/generated/azure_mgmt_storage/models/skucapability.rb', line 19

def name
  @name
end

#valueString

Possibly ‘true’ or ‘false’.

Returns:

  • (String)

    A string value to indicate states of given capability.



23
24
25
# File 'lib/2018-02-01/generated/azure_mgmt_storage/models/skucapability.rb', line 23

def value
  @value
end

Class Method Details

.mapperObject

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



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

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