Class: Azure::Storage::Mgmt::V2016_01_01::Models::StorageAccountUpdateParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb

Overview

The parameters that can be provided when updating the storage account properties.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#access_tierAccessTier

BlobStorage. The access tier used for billing. Possible values include: ‘Hot’, ‘Cool’

Returns:

  • (AccessTier)

    Required for storage accounts where kind =



42
43
44
# File 'lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb', line 42

def access_tier
  @access_tier
end

#custom_domainCustomDomain

the user. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property.

Returns:

  • (CustomDomain)

    Custom domain assigned to the storage account by



33
34
35
# File 'lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb', line 33

def custom_domain
  @custom_domain
end

#encryptionEncryption

The default setting is unencrypted.

Returns:

  • (Encryption)

    Provides the encryption settings on the account.



37
38
39
# File 'lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb', line 37

def encryption
  @encryption
end

#skuSku

be updated to Standard_ZRS or Premium_LRS, nor can accounts of those sku names be updated to any other value.

Returns:

  • (Sku)

    Gets or sets the SKU name. Note that the SKU name cannot



19
20
21
# File 'lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb', line 19

def sku
  @sku
end

#tagsHash{String => String}

that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters.

Returns:

  • (Hash{String => String})

    Gets or sets a list of key value pairs



27
28
29
# File 'lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb', line 27

def tags
  @tags
end

Class Method Details

.mapperObject

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



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
107
108
109
110
111
112
113
# File 'lib/2016-01-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb', line 49

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'StorageAccountUpdateParameters',
    type: {
      name: 'Composite',
      class_name: 'StorageAccountUpdateParameters',
      model_properties: {
        sku: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sku',
          type: {
            name: 'Composite',
            class_name: 'Sku'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        custom_domain: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.customDomain',
          type: {
            name: 'Composite',
            class_name: 'CustomDomain'
          }
        },
        encryption: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.encryption',
          type: {
            name: 'Composite',
            class_name: 'Encryption'
          }
        },
        access_tier: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.accessTier',
          type: {
            name: 'Enum',
            module: 'AccessTier'
          }
        }
      }
    }
  }
end