Class: Azure::Storage::Mgmt::V2021_01_01::Models::StorageAccountUpdateParameters

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



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

def access_tier
  @access_tier
end

#allow_blob_public_accessBoolean

containers in the storage account. The default interpretation is true for this property.

Returns:

  • (Boolean)

    Allow or disallow public access to all blobs or



70
71
72
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb', line 70

def allow_blob_public_access
  @allow_blob_public_access
end

#allow_shared_key_accessBoolean

requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true.

Returns:

  • (Boolean)

    Indicates whether the storage account permits



82
83
84
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb', line 82

def allow_shared_key_access
  @allow_shared_key_access
end

#azure_files_identity_based_authenticationAzureFilesIdentityBasedAuthentication

based authentication settings for Azure Files.

Returns:



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

def azure_files_identity_based_authentication
  @azure_files_identity_based_authentication
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/2021-01-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.

Returns:

  • (Boolean)

    Allows https traffic only to storage service if sets



53
54
55
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb', line 53

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/2021-01-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/2021-01-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’, ‘FileStorage’, ‘BlockBlobStorage’

Returns:

  • (Kind)

    Optional. Indicates the type of storage account.



88
89
90
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb', line 88

def kind
  @kind
end

#large_file_shares_stateLargeFileSharesState

Enabled. It cannot be disabled once it is enabled. Possible values include: ‘Disabled’, ‘Enabled’

Returns:



61
62
63
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb', line 61

def large_file_shares_state
  @large_file_shares_state
end

#minimum_tls_versionMinimumTlsVersion

on requests to storage. The default interpretation is TLS 1.0 for this property. Possible values include: ‘TLS1_0’, ‘TLS1_1’, ‘TLS1_2’

Returns:



75
76
77
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb', line 75

def minimum_tls_version
  @minimum_tls_version
end

#network_rule_setNetworkRuleSet

Returns Network rule set.

Returns:



56
57
58
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb', line 56

def network_rule_set
  @network_rule_set
end

#routing_preferenceRoutingPreference

routing choice opted by the user for data transfer

Returns:



65
66
67
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb', line 65

def routing_preference
  @routing_preference
end

#skuSku

be updated to Standard_ZRS, Premium_LRS or Premium_ZRS, 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/2021-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/2021-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.



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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/storage_account_update_parameters.rb', line 95

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'
          }
        },
        azure_files_identity_based_authentication: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.azureFilesIdentityBasedAuthentication',
          type: {
            name: 'Composite',
            class_name: 'AzureFilesIdentityBasedAuthentication'
          }
        },
        enable_https_traffic_only: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.supportsHttpsTrafficOnly',
          type: {
            name: 'Boolean'
          }
        },
        network_rule_set: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.networkAcls',
          type: {
            name: 'Composite',
            class_name: 'NetworkRuleSet'
          }
        },
        large_file_shares_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.largeFileSharesState',
          type: {
            name: 'String'
          }
        },
        routing_preference: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.routingPreference',
          type: {
            name: 'Composite',
            class_name: 'RoutingPreference'
          }
        },
        allow_blob_public_access: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.allowBlobPublicAccess',
          type: {
            name: 'Boolean'
          }
        },
        minimum_tls_version: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.minimumTlsVersion',
          type: {
            name: 'String'
          }
        },
        allow_shared_key_access: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.allowSharedKeyAccess',
          type: {
            name: 'Boolean'
          }
        },
        kind: {
          client_side_validation: true,
          required: false,
          serialized_name: 'kind',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end