class Azure::Storage::Mgmt::V2019_06_01::Models::StorageAccountCreateParameters

The parameters used when creating a storage account.

Attributes

access_tier[RW]

@return [AccessTier] Required for storage accounts where kind = BlobStorage. The access tier used for billing. Possible values include: 'Hot', 'Cool'

allow_blob_public_access[RW]

@return [Boolean] Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property.

azure_files_identity_based_authentication[RW]

@return [AzureFilesIdentityBasedAuthentication] Provides the identity based authentication settings for Azure Files.

custom_domain[RW]

@return [CustomDomain] User domain assigned to the storage account. 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.

enable_https_traffic_only[RW]

@return [Boolean] Allows https traffic only to storage service if sets to true. The default value is true since API version 2019-04-01.

encryption[RW]

@return [Encryption] Not applicable. Azure Storage encryption is enabled for all storage accounts and cannot be disabled.

identity[RW]

@return [Identity] The identity of the resource.

is_hns_enabled[RW]

@return [Boolean] Account HierarchicalNamespace enabled if sets to true.

kind[RW]

@return [Kind] Required. Indicates the type of storage account. Possible values include: 'Storage', 'StorageV2', 'BlobStorage', 'FileStorage', 'BlockBlobStorage'

large_file_shares_state[RW]

@return [LargeFileSharesState] Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. Possible values include: 'Disabled', 'Enabled'

location[RW]

@return [String] Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update, the request will succeed.

minimum_tls_version[RW]

@return [MinimumTlsVersion] Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. Possible values include: 'TLS1_0', 'TLS1_1', 'TLS1_2'

network_rule_set[RW]

@return [NetworkRuleSet] Network rule set

routing_preference[RW]

@return [RoutingPreference] Maintains information about the network routing choice opted by the user for data transfer

sku[RW]

@return [Sku] Required. Gets or sets the SKU name.

tags[RW]

@return [Hash{String => String}] Gets or sets a list of key value pairs that describe the resource. These tags can be used for 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 with a length no greater than 128 characters and a value with a length no greater than 256 characters.

Public Class Methods

mapper() click to toggle source

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

# File lib/2019-06-01/generated/azure_mgmt_storage/models/storage_account_create_parameters.rb, line 95
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'StorageAccountCreateParameters',
    type: {
      name: 'Composite',
      class_name: 'StorageAccountCreateParameters',
      model_properties: {
        sku: {
          client_side_validation: true,
          required: true,
          serialized_name: 'sku',
          type: {
            name: 'Composite',
            class_name: 'Sku'
          }
        },
        kind: {
          client_side_validation: true,
          required: true,
          serialized_name: 'kind',
          type: {
            name: 'String'
          }
        },
        location: {
          client_side_validation: true,
          required: true,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        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'
          }
        },
        network_rule_set: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.networkAcls',
          type: {
            name: 'Composite',
            class_name: 'NetworkRuleSet'
          }
        },
        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'
          }
        },
        is_hns_enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.isHnsEnabled',
          type: {
            name: 'Boolean'
          }
        },
        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'
          }
        }
      }
    }
  }
end