Class: Azure::ARM::Storage::Models::StorageAccountUpdateParameters

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

Overview

The parameters to provide for the account.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#access_tierAccessTier

cannot be changed more than once every 7 days (168 hours). Access tier cannot be set for StandardLRS, StandardGRS, StandardRAGRS, or PremiumLRS account types. Possible values include: ‘Hot’, ‘Cool’

Returns:

  • (AccessTier)

    The access tier used for billing. Access tier



41
42
43
# File 'lib/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb', line 41

def access_tier
  @access_tier
end

#custom_domainCustomDomain

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)

    User domain assigned to the storage account.



31
32
33
# File 'lib/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb', line 31

def custom_domain
  @custom_domain
end

#encryptionEncryption

The default setting is unencrypted.

Returns:

  • (Encryption)

    Provides the encryption settings on the account.



35
36
37
# File 'lib/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb', line 35

def encryption
  @encryption
end

#skuSku

updated to StandardZRS or ProvisionedLRS, nor can accounts of that sku type be updated to any other value.

Returns:

  • (Sku)

    Gets or sets the sku type. Note that sku cannot be



18
19
20
# File 'lib/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb', line 18

def sku
  @sku
end

#tagsHash{String => String}

pairs 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 than 128 characters and value no greater than 256 characters.

Returns:

  • (Hash{String => String})

    Gets or sets a list of key value



25
26
27
# File 'lib/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb', line 25

def tags
  @tags
end

Class Method Details

.mapperObject

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



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

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