Class: Azure::ARM::CognitiveServices::Models::CognitiveServicesAccount
- Inherits:
-
Object
- Object
- Azure::ARM::CognitiveServices::Models::CognitiveServicesAccount
- Includes:
- MsRest::JSONable, MsRestAzure
- Defined in:
- lib/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
-
#endpoint ⇒ String
Endpoint of the created account.
-
#etag ⇒ String
Entity Tag.
-
#id ⇒ String
The id of the created account.
-
#internal_id ⇒ String
The internal identifier.
-
#kind ⇒ String
Type of cognitive service account.
-
#location ⇒ String
The location of the resource.
-
#name ⇒ String
The name of the created account.
-
#provisioning_state ⇒ ProvisioningState
account at the time the operation was called.
-
#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
#endpoint ⇒ String
Returns Endpoint of the created account.
38 39 40 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb', line 38 def endpoint @endpoint end |
#etag ⇒ String
Returns Entity Tag.
18 19 20 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb', line 18 def etag @etag end |
#id ⇒ String
Returns The id of the created account.
21 22 23 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb', line 21 def id @id end |
#internal_id ⇒ String
Returns The internal identifier.
41 42 43 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb', line 41 def internal_id @internal_id end |
#kind ⇒ String
Returns Type of cognitive service account.
24 25 26 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb', line 24 def kind @kind end |
#location ⇒ String
Returns The location of the resource.
27 28 29 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb', line 27 def location @location end |
#name ⇒ String
Returns The name of the created account.
30 31 32 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb', line 30 def name @name end |
#provisioning_state ⇒ ProvisioningState
account at the time the operation was called. Possible values include: ‘Creating’, ‘ResolvingDNS’, ‘Succeeded’, ‘Failed’
35 36 37 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb', line 35 def provisioning_state @provisioning_state end |
#sku ⇒ Sku
Returns The SKU of Cognitive Services account.
44 45 46 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb', line 44 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.
51 52 53 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb', line 51 def end |
#type ⇒ String
Returns Resource type.
54 55 56 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb', line 54 def type @type end |
Class Method Details
.mapper ⇒ Object
Mapper for CognitiveServicesAccount class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb', line 61 def self.mapper() { required: false, serialized_name: 'CognitiveServicesAccount', type: { name: 'Composite', class_name: 'CognitiveServicesAccount', model_properties: { etag: { required: false, serialized_name: 'etag', type: { name: 'String' } }, id: { required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } }, kind: { required: false, serialized_name: 'kind', type: { name: 'String' } }, location: { required: false, serialized_name: 'location', type: { name: 'String' } }, name: { required: false, read_only: true, serialized_name: 'name', type: { name: 'String' } }, provisioning_state: { required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'Enum', module: 'ProvisioningState' } }, endpoint: { required: false, serialized_name: 'properties.endpoint', type: { name: 'String' } }, internal_id: { required: false, serialized_name: 'properties.internalId', type: { name: 'String' } }, 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' } } } }, type: { required: false, read_only: true, serialized_name: 'type', type: { name: 'String' } } } } } end |