Class: Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccount
- Inherits:
-
Object
- Object
- Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccount
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb
Overview
Cognitive Services Account is an Azure resource representing the provisioned account, its type, location and SKU.
Instance Attribute Summary collapse
-
#etag ⇒ String
Entity Tag.
-
#id ⇒ String
The id of the created account.
-
#identity ⇒ Identity
The identity of Cognitive Services account.
-
#kind ⇒ String
The Kind of the resource.
-
#location ⇒ String
The location of the resource.
-
#name ⇒ String
The name of the created account.
-
#properties ⇒ CognitiveServicesAccountProperties
Services account.
-
#sku ⇒ Sku
The SKU of Cognitive Services account.
-
#tags ⇒ Hash{String => String}
that describe the resource.
-
#type ⇒ String
Resource type.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CognitiveServicesAccount class as Ruby Hash.
Instance Attribute Details
#etag ⇒ String
Returns Entity Tag.
17 18 19 |
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb', line 17 def etag @etag end |
#id ⇒ String
Returns The id of the created account.
20 21 22 |
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb', line 20 def id @id end |
#identity ⇒ Identity
Returns The identity of Cognitive Services account.
49 50 51 |
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb', line 49 def identity @identity end |
#kind ⇒ String
Returns The Kind of the resource.
23 24 25 |
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb', line 23 def kind @kind end |
#location ⇒ String
Returns The location of the resource.
26 27 28 |
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb', line 26 def location @location end |
#name ⇒ String
Returns The name of the created account.
29 30 31 |
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb', line 29 def name @name end |
#properties ⇒ CognitiveServicesAccountProperties
Services account.
33 34 35 |
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb', line 33 def properties @properties end |
#sku ⇒ Sku
Returns The SKU of Cognitive Services account.
36 37 38 |
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb', line 36 def sku @sku end |
#tags ⇒ Hash{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 than 128 characters and value no greater than 256 characters.
43 44 45 |
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb', line 43 def @tags end |
#type ⇒ String
Returns Resource type.
46 47 48 |
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb', line 46 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for CognitiveServicesAccount class as Ruby Hash. This will be used for serialization/deserialization.
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 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 |
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb', line 56 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'CognitiveServicesAccount', type: { name: 'Composite', class_name: 'CognitiveServicesAccount', model_properties: { etag: { client_side_validation: true, required: false, read_only: true, serialized_name: 'etag', type: { name: 'String' } }, id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, kind: { client_side_validation: true, required: false, serialized_name: 'kind', type: { name: 'String' } }, location: { client_side_validation: true, required: false, serialized_name: 'location', type: { name: 'String' } }, name: { client_side_validation: true, required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, properties: { client_side_validation: true, required: false, serialized_name: 'properties', type: { name: 'Composite', class_name: 'CognitiveServicesAccountProperties' } }, 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' } } } }, type: { client_side_validation: true, required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } }, identity: { client_side_validation: true, required: false, serialized_name: 'identity', type: { name: 'Composite', class_name: 'Identity' } } } } } end |