class Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountApiProperties

The api properties for special APIs.

Attributes

aad_client_id[RW]

@return [String] (Metrics Advisor Only) The Azure AD Client Id (Application Id).

aad_tenant_id[RW]

@return [String] (Metrics Advisor Only) The Azure AD Tenant Id.

event_hub_connection_string[RW]

@return [String] (Personalization Only) The flag to enable statistics of Bing Search.

qna_runtime_endpoint[RW]

@return [String] (QnAMaker Only) The runtime endpoint of QnAMaker.

statistics_enabled[RW]

@return [Boolean] (Bing Search Only) The flag to enable statistics of Bing Search.

storage_account_connection_string[RW]

@return [String] (Personalization Only) The storage account connection string.

super_user[RW]

@return [String] (Metrics Advisor Only) The super user of Metrics Advisor.

website_name[RW]

@return [String] (Metrics Advisor Only) The website name of Metrics Advisor.

Private Class Methods

mapper() click to toggle source

Mapper for CognitiveServicesAccountApiProperties 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_api_properties.rb, line 50
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CognitiveServicesAccountApiProperties',
    type: {
      name: 'Composite',
      class_name: 'CognitiveServicesAccountApiProperties',
      model_properties: {
        qna_runtime_endpoint: {
          client_side_validation: true,
          required: false,
          serialized_name: 'qnaRuntimeEndpoint',
          type: {
            name: 'String'
          }
        },
        statistics_enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'statisticsEnabled',
          type: {
            name: 'Boolean'
          }
        },
        event_hub_connection_string: {
          client_side_validation: true,
          required: false,
          serialized_name: 'eventHubConnectionString',
          constraints: {
            MaxLength: 1000,
            Pattern: '^( *)Endpoint=sb://(.*);( *)SharedAccessKeyName=(.*);( *)SharedAccessKey=(.*)$'
          },
          type: {
            name: 'String'
          }
        },
        storage_account_connection_string: {
          client_side_validation: true,
          required: false,
          serialized_name: 'storageAccountConnectionString',
          constraints: {
            MaxLength: 1000,
            Pattern: '^(( *)DefaultEndpointsProtocol=(http|https)( *);( *))?AccountName=(.*)AccountKey=(.*)EndpointSuffix=(.*)$'
          },
          type: {
            name: 'String'
          }
        },
        aad_client_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'aadClientId',
          constraints: {
            MaxLength: 500
          },
          type: {
            name: 'String'
          }
        },
        aad_tenant_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'aadTenantId',
          constraints: {
            MaxLength: 500
          },
          type: {
            name: 'String'
          }
        },
        super_user: {
          client_side_validation: true,
          required: false,
          serialized_name: 'superUser',
          constraints: {
            MaxLength: 500
          },
          type: {
            name: 'String'
          }
        },
        website_name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'websiteName',
          constraints: {
            MaxLength: 500
          },
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end