Class: Azure::Storage::Mgmt::V2015_06_15::Models::StorageAccountCheckNameAvailabilityParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb

Overview

The parameters used to check the availability of the storage account name.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#nameString

Returns:

  • (String)


17
18
19
# File 'lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb', line 17

def name
  @name
end

#typeString

Returns . Default value: ‘Microsoft.Storage/storageAccounts’ .

Returns:

  • (String)

    . Default value: ‘Microsoft.Storage/storageAccounts’ .



20
21
22
# File 'lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb', line 20

def type
  @type
end

Class Method Details

.mapperObject

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



28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# File 'lib/2015-06-15/generated/azure_mgmt_storage/models/storage_account_check_name_availability_parameters.rb', line 28

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: false,
          serialized_name: 'type',
          default_value: 'Microsoft.Storage/storageAccounts',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end