class Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountProperties

Properties of Cognitive Services account.

Attributes

api_properties[RW]

@return [CognitiveServicesAccountApiProperties] The api properties for special APIs.

capabilities[RW]

@return [Array<SkuCapability>] Gets the capabilities of the cognitive services account. Each item indicates the capability of a specific feature. The values are read-only and for reference only.

custom_sub_domain_name[RW]

@return [String] Optional subdomain name used for token-based authentication.

encryption[RW]

@return [Encryption] The encryption properties for this resource.

endpoint[RW]

@return [String] Endpoint of the created account.

internal_id[RW]

@return [String] The internal identifier.

network_acls[RW]

@return [NetworkRuleSet] A collection of rules governing the accessibility from specific network locations.

private_endpoint_connections[RW]

@return [Array<PrivateEndpointConnection>] The private endpoint connection associated with the Cognitive Services 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', 'Moving', 'Deleting', 'Succeeded', 'Failed'

public_network_access[RW]

@return [PublicNetworkAccess] Whether or not public endpoint access is allowed for this account. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. Possible values include: 'Enabled', 'Disabled'

user_owned_storage[RW]

@return [Array<UserOwnedStorage>] The storage accounts for this resource.

Private Class Methods

mapper() click to toggle source

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

# File lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_properties.rb, line 64
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CognitiveServicesAccountProperties',
    type: {
      name: 'Composite',
      class_name: 'CognitiveServicesAccountProperties',
      model_properties: {
        provisioning_state: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'provisioningState',
          type: {
            name: 'String'
          }
        },
        endpoint: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'endpoint',
          type: {
            name: 'String'
          }
        },
        internal_id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'internalId',
          type: {
            name: 'String'
          }
        },
        capabilities: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'capabilities',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'SkuCapabilityElementType',
                type: {
                  name: 'Composite',
                  class_name: 'SkuCapability'
                }
            }
          }
        },
        custom_sub_domain_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'customSubDomainName',
          type: {
            name: 'String'
          }
        },
        network_acls: {
          client_side_validation: true,
          required: false,
          serialized_name: 'networkAcls',
          type: {
            name: 'Composite',
            class_name: 'NetworkRuleSet'
          }
        },
        encryption: {
          client_side_validation: true,
          required: false,
          serialized_name: 'encryption',
          type: {
            name: 'Composite',
            class_name: 'Encryption'
          }
        },
        user_owned_storage: {
          client_side_validation: true,
          required: false,
          serialized_name: 'userOwnedStorage',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'UserOwnedStorageElementType',
                type: {
                  name: 'Composite',
                  class_name: 'UserOwnedStorage'
                }
            }
          }
        },
        private_endpoint_connections: {
          client_side_validation: true,
          required: false,
          serialized_name: 'privateEndpointConnections',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'PrivateEndpointConnectionElementType',
                type: {
                  name: 'Composite',
                  class_name: 'PrivateEndpointConnection'
                }
            }
          }
        },
        public_network_access: {
          client_side_validation: true,
          required: false,
          serialized_name: 'publicNetworkAccess',
          type: {
            name: 'String'
          }
        },
        api_properties: {
          client_side_validation: true,
          required: false,
          serialized_name: 'apiProperties',
          type: {
            name: 'Composite',
            class_name: 'CognitiveServicesAccountApiProperties'
          }
        }
      }
    }
  }
end