Sha256: d852e64616ee712e7a1058779d0153027f620ba1cf759d2da3c2fad2b88f6015

Contents?: true

Size: 1.76 KB

Versions: 2

Compression:

Stored size: 1.76 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Storage::Mgmt::V2020_08_01_preview
  module Models
    #
    # The parameters used to check the availability of the storage account
    # name.
    #
    class StorageAccountCheckNameAvailabilityParameters

      include MsRestAzure

      # @return [String] The storage account name.
      attr_accessor :name

      # @return [String] The type of resource,
      # Microsoft.Storage/storageAccounts. Default value:
      # 'Microsoft.Storage/storageAccounts' .
      attr_accessor :type


      #
      # Mapper for StorageAccountCheckNameAvailabilityParameters class as Ruby
      # Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'StorageAccountCheckNameAvailabilityParameters',
          type: {
            name: 'Composite',
            class_name: 'StorageAccountCheckNameAvailabilityParameters',
            model_properties: {
              name: {
                client_side_validation: true,
                required: true,
                serialized_name: 'name',
                type: {
                  name: 'String'
                }
              },
              type: {
                client_side_validation: true,
                required: true,
                is_constant: true,
                serialized_name: 'type',
                default_value: 'Microsoft.Storage/storageAccounts',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_storage-0.23.0 lib/2020-08-01-preview/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb
azure_mgmt_storage-0.22.0 lib/2020-08-01-preview/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb