class Azure::CognitiveServices::Mgmt::V2016_02_01_preview::Models::CognitiveServicesAccount
Cognitive Services Account is an Azure
resource representing the provisioned account, its type, location and SKU.
Attributes
endpoint[RW]
@return [String] Endpoint of the created account
etag[RW]
@return [String] Entity Tag
id[RW]
@return [String] The id of the created account
kind[RW]
@return [String] Type of cognitive service account.
location[RW]
@return [String] The location of the resource
name[RW]
@return [String] The name of the created account
provisioning_state[RW]
@return [ProvisioningState] Gets the status of the cognitive services account at the time the operation was called. Possible values include: 'Creating', 'ResolvingDNS', 'Succeeded', 'Failed'
sku[RW]
@return [Sku]
type[RW]
@return [String] Resource type
Public Class Methods
mapper()
click to toggle source
Mapper for CognitiveServicesAccount
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2016-02-01-preview/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb, line 57 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, serialized_name: 'etag', type: { name: 'String' } }, id: { client_side_validation: true, required: false, 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, serialized_name: 'name', type: { name: 'String' } }, provisioning_state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'properties.provisioningState', type: { name: 'Enum', module: 'ProvisioningState' } }, endpoint: { client_side_validation: true, required: false, serialized_name: 'properties.endpoint', type: { name: 'String' } }, 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, serialized_name: 'type', type: { name: 'String' } } } } } end