Class: Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountApiProperties
- Inherits:
-
Object
- Object
- Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountApiProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_api_properties.rb
Overview
The api properties for special APIs.
Instance Attribute Summary collapse
-
#aad_client_id ⇒ String
(Application Id).
-
#aad_tenant_id ⇒ String
(Metrics Advisor Only) The Azure AD Tenant Id.
-
#event_hub_connection_string ⇒ String
of Bing Search.
-
#qna_runtime_endpoint ⇒ String
(QnAMaker Only) The runtime endpoint of QnAMaker.
-
#statistics_enabled ⇒ Boolean
Bing Search.
-
#storage_account_connection_string ⇒ String
string.
-
#super_user ⇒ String
Advisor.
-
#website_name ⇒ String
Advisor.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for CognitiveServicesAccountApiProperties class as Ruby Hash.
Instance Attribute Details
#aad_client_id ⇒ String
(Application Id).
32 33 34 |
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_api_properties.rb', line 32 def aad_client_id @aad_client_id end |
#aad_tenant_id ⇒ String
35 36 37 |
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_api_properties.rb', line 35 def aad_tenant_id @aad_tenant_id end |
#event_hub_connection_string ⇒ String
of Bing Search.
24 25 26 |
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_api_properties.rb', line 24 def event_hub_connection_string @event_hub_connection_string end |
#qna_runtime_endpoint ⇒ String
16 17 18 |
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_api_properties.rb', line 16 def qna_runtime_endpoint @qna_runtime_endpoint end |
#statistics_enabled ⇒ Boolean
Bing Search.
20 21 22 |
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_api_properties.rb', line 20 def statistics_enabled @statistics_enabled end |
#storage_account_connection_string ⇒ String
string.
28 29 30 |
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_api_properties.rb', line 28 def storage_account_connection_string @storage_account_connection_string end |
#super_user ⇒ String
Advisor.
39 40 41 |
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_api_properties.rb', line 39 def super_user @super_user end |
#website_name ⇒ String
Advisor.
43 44 45 |
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_api_properties.rb', line 43 def website_name @website_name end |
Class Method Details
.mapper ⇒ Object
Mapper for CognitiveServicesAccountApiProperties class as Ruby Hash. This will be used for serialization/deserialization.
50 51 52 53 54 55 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 |
# 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 |