Class: Azure::Storage::Mgmt::V2017_10_01::Models::StorageAccountUpdateParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-10-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 =



45
46
47
# File 'lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb', line 45

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



36
37
38
# File 'lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb', line 36

def custom_domain
  @custom_domain
end

#enable_https_traffic_onlyBoolean

to true. Default value: false .

Returns:

  • (Boolean)

    Allows https traffic only to storage service if sets



49
50
51
# File 'lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb', line 49

def enable_https_traffic_only
  @enable_https_traffic_only
end

#encryptionEncryption

The default setting is unencrypted.

Returns:

  • (Encryption)

    Provides the encryption settings on the account.



40
41
42
# File 'lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb', line 40

def encryption
  @encryption
end

#identityIdentity

Returns The identity of the resource.

Returns:

  • (Identity)

    The identity of the resource.



30
31
32
# File 'lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb', line 30

def identity
  @identity
end

#kindKind

Currently only StorageV2 value supported by server. Possible values include: ‘Storage’, ‘StorageV2’, ‘BlobStorage’

Returns:

  • (Kind)

    Optional. Indicates the type of storage account.



57
58
59
# File 'lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb', line 57

def kind
  @kind
end

#network_rule_setNetworkRuleSet

Returns Network rule set.

Returns:



52
53
54
# File 'lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb', line 52

def network_rule_set
  @network_rule_set
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/2017-10-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/2017-10-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.



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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
# File 'lib/2017-10-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb', line 64

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'
                }
            }
          }
        },
        identity: {
          client_side_validation: true,
          required: false,
          serialized_name: 'identity',
          type: {
            name: 'Composite',
            class_name: 'Identity'
          }
        },
        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'
          }
        },
        enable_https_traffic_only: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.supportsHttpsTrafficOnly',
          default_value: false,
          type: {
            name: 'Boolean'
          }
        },
        network_rule_set: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.networkAcls',
          type: {
            name: 'Composite',
            class_name: 'NetworkRuleSet'
          }
        },
        kind: {
          client_side_validation: true,
          required: false,
          serialized_name: 'kind',
          type: {
            name: 'Enum',
            module: 'Kind'
          }
        }
      }
    }
  }
end