Class: Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountApiProperties

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#aad_client_idString

(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_idString



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_stringString

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_endpointString



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_enabledBoolean

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_stringString

string.



28
29
30
# File 'lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_api_properties.rb', line 28

def 
  
end

#super_userString

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_nameString

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

.mapperObject

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