Class: Azure::ARM::CognitiveServices::Models::CognitiveServicesAccountUpdateParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_update_parameters.rb

Overview

The parameters to provide for the account.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#skuSku

Returns:



16
17
18
# File 'lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_update_parameters.rb', line 16

def sku
  @sku
end

#tagsHash{String => String}

pairs 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 than 128 characters and value no greater than 256 characters.

Returns:

  • (Hash{String => String})

    Gets or sets a list of key value



23
24
25
# File 'lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_update_parameters.rb', line 23

def tags
  @tags
end

Class Method Details

.mapperObject

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



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
58
59
60
61
62
63
# File 'lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_update_parameters.rb', line 30

def self.mapper()
  {
    required: false,
    serialized_name: 'CognitiveServicesAccountUpdateParameters',
    type: {
      name: 'Composite',
      class_name: 'CognitiveServicesAccountUpdateParameters',
      model_properties: {
        sku: {
          required: false,
          serialized_name: 'sku',
          type: {
            name: 'Composite',
            class_name: 'Sku'
          }
        },
        tags: {
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        }
      }
    }
  }
end