azure_mgmt_cognitive_services 0.18.1 → 0.19.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/2016-02-01-preview/generated/azure_mgmt_cognitive_services/cognitive_services_accounts.rb +18 -0
- data/lib/2016-02-01-preview/generated/azure_mgmt_cognitive_services/cognitive_services_management_client.rb +1 -1
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services.rb +40 -12
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/accounts.rb +178 -103
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/cognitive_services_management_client.rb +235 -7
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/azure_entity_resource.rb +75 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/check_domain_availability_parameter.rb +57 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/check_domain_availability_result.rb +79 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account.rb +21 -31
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_api_properties.rb +90 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_properties.rb +201 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/encryption.rb +61 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/identity.rb +95 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/identity_type.rb +17 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/ip_rule.rb +49 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/key_source.rb +16 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/key_vault_properties.rb +68 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/network_rule_action.rb +16 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/network_rule_set.rb +89 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_endpoint.rb +47 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_endpoint_connection.rb +74 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_endpoint_connection_properties.rb +80 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_endpoint_service_connection_status.rb +18 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_link_resource.rb +74 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_link_resource_list_result.rb +55 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_link_resource_properties.rb +100 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_link_service_connection_state.rb +73 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/proxy_resource.rb +63 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/public_network_access.rb +16 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/resource.rb +83 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/sku_capability.rb +57 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/tracked_resource.rb +92 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/user_assigned_identity.rb +58 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/user_owned_storage.rb +46 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/virtual_network_rule.rb +69 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/operations.rb +5 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/private_endpoint_connections.rb +373 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/private_link_resources.rb +133 -0
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/resource_skus.rb +6 -0
- data/lib/azure_mgmt_cognitive_services.rb +1 -1
- data/lib/profiles/latest/modules/cognitiveservices_profile_module.rb +146 -36
- data/lib/version.rb +1 -1
- metadata +36 -8
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/check_sku_availability.rb +0 -138
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_create_parameters.rb +0 -108
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/cognitive_services_account_update_parameters.rb +0 -70
@@ -0,0 +1,133 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
# Code generated by Microsoft (R) AutoRest Code Generator.
|
3
|
+
# Changes may cause incorrect behavior and will be lost if the code is
|
4
|
+
# regenerated.
|
5
|
+
|
6
|
+
module Azure::CognitiveServices::Mgmt::V2017_04_18
|
7
|
+
#
|
8
|
+
# Cognitive Services Management Client
|
9
|
+
#
|
10
|
+
class PrivateLinkResources
|
11
|
+
include MsRestAzure
|
12
|
+
|
13
|
+
#
|
14
|
+
# Creates and initializes a new instance of the PrivateLinkResources class.
|
15
|
+
# @param client service class for accessing basic functionality.
|
16
|
+
#
|
17
|
+
def initialize(client)
|
18
|
+
@client = client
|
19
|
+
end
|
20
|
+
|
21
|
+
# @return [CognitiveServicesManagementClient] reference to the CognitiveServicesManagementClient
|
22
|
+
attr_reader :client
|
23
|
+
|
24
|
+
#
|
25
|
+
# Gets the private link resources that need to be created for a Cognitive
|
26
|
+
# Services account.
|
27
|
+
#
|
28
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
29
|
+
# is case insensitive.
|
30
|
+
# @param account_name [String] The name of Cognitive Services account.
|
31
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
32
|
+
# will be added to the HTTP request.
|
33
|
+
#
|
34
|
+
# @return [PrivateLinkResourceListResult] operation results.
|
35
|
+
#
|
36
|
+
def list(resource_group_name, account_name, custom_headers:nil)
|
37
|
+
response = list_async(resource_group_name, account_name, custom_headers:custom_headers).value!
|
38
|
+
response.body unless response.nil?
|
39
|
+
end
|
40
|
+
|
41
|
+
#
|
42
|
+
# Gets the private link resources that need to be created for a Cognitive
|
43
|
+
# Services account.
|
44
|
+
#
|
45
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
46
|
+
# is case insensitive.
|
47
|
+
# @param account_name [String] The name of Cognitive Services account.
|
48
|
+
# @param custom_headers [Hash{String => String}] A hash of custom headers that
|
49
|
+
# will be added to the HTTP request.
|
50
|
+
#
|
51
|
+
# @return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
52
|
+
#
|
53
|
+
def list_with_http_info(resource_group_name, account_name, custom_headers:nil)
|
54
|
+
list_async(resource_group_name, account_name, custom_headers:custom_headers).value!
|
55
|
+
end
|
56
|
+
|
57
|
+
#
|
58
|
+
# Gets the private link resources that need to be created for a Cognitive
|
59
|
+
# Services account.
|
60
|
+
#
|
61
|
+
# @param resource_group_name [String] The name of the resource group. The name
|
62
|
+
# is case insensitive.
|
63
|
+
# @param account_name [String] The name of Cognitive Services account.
|
64
|
+
# @param [Hash{String => String}] A hash of custom headers that will be added
|
65
|
+
# to the HTTP request.
|
66
|
+
#
|
67
|
+
# @return [Concurrent::Promise] Promise object which holds the HTTP response.
|
68
|
+
#
|
69
|
+
def list_async(resource_group_name, account_name, custom_headers:nil)
|
70
|
+
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
|
71
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MaxLength': '90'" if !resource_group_name.nil? && resource_group_name.length > 90
|
72
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'MinLength': '1'" if !resource_group_name.nil? && resource_group_name.length < 1
|
73
|
+
fail ArgumentError, "'resource_group_name' should satisfy the constraint - 'Pattern': '^[-\w\._\(\)]+$'" if !resource_group_name.nil? && resource_group_name.match(Regexp.new('^^[-\w\._\(\)]+$$')).nil?
|
74
|
+
fail ArgumentError, 'account_name is nil' if account_name.nil?
|
75
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'MaxLength': '64'" if !account_name.nil? && account_name.length > 64
|
76
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'MinLength': '2'" if !account_name.nil? && account_name.length < 2
|
77
|
+
fail ArgumentError, "'account_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z0-9][a-zA-Z0-9_.-]*$'" if !account_name.nil? && account_name.match(Regexp.new('^^[a-zA-Z0-9][a-zA-Z0-9_.-]*$$')).nil?
|
78
|
+
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
79
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
80
|
+
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
81
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
82
|
+
|
83
|
+
|
84
|
+
request_headers = {}
|
85
|
+
request_headers['Content-Type'] = 'application/json; charset=utf-8'
|
86
|
+
|
87
|
+
# Set Headers
|
88
|
+
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
|
89
|
+
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
|
90
|
+
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/privateLinkResources'
|
91
|
+
|
92
|
+
request_url = @base_url || @client.base_url
|
93
|
+
|
94
|
+
options = {
|
95
|
+
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
|
96
|
+
path_params: {'resourceGroupName' => resource_group_name,'accountName' => account_name,'subscriptionId' => @client.subscription_id},
|
97
|
+
query_params: {'api-version' => @client.api_version},
|
98
|
+
headers: request_headers.merge(custom_headers || {}),
|
99
|
+
base_url: request_url
|
100
|
+
}
|
101
|
+
promise = @client.make_request_async(:get, path_template, options)
|
102
|
+
|
103
|
+
promise = promise.then do |result|
|
104
|
+
http_response = result.response
|
105
|
+
status_code = http_response.status
|
106
|
+
response_content = http_response.body
|
107
|
+
unless status_code == 200
|
108
|
+
error_model = JSON.load(response_content)
|
109
|
+
fail MsRestAzure::AzureOperationError.new(result.request, http_response, error_model)
|
110
|
+
end
|
111
|
+
|
112
|
+
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
113
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
114
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
115
|
+
# Deserialize Response
|
116
|
+
if status_code == 200
|
117
|
+
begin
|
118
|
+
parsed_response = response_content.to_s.empty? ? nil : JSON.load(response_content)
|
119
|
+
result_mapper = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::PrivateLinkResourceListResult.mapper()
|
120
|
+
result.body = @client.deserialize(result_mapper, parsed_response)
|
121
|
+
rescue Exception => e
|
122
|
+
fail MsRest::DeserializationError.new('Error occurred in deserializing the response', e.message, e.backtrace, result)
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
126
|
+
result
|
127
|
+
end
|
128
|
+
|
129
|
+
promise.execute
|
130
|
+
end
|
131
|
+
|
132
|
+
end
|
133
|
+
end
|
@@ -59,7 +59,9 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
|
|
59
59
|
#
|
60
60
|
def list_async(custom_headers:nil)
|
61
61
|
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
|
62
|
+
fail ArgumentError, "'@client.api_version' should satisfy the constraint - 'MinLength': '1'" if !@client.api_version.nil? && @client.api_version.length < 1
|
62
63
|
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
|
64
|
+
fail ArgumentError, "'@client.subscription_id' should satisfy the constraint - 'MinLength': '1'" if !@client.subscription_id.nil? && @client.subscription_id.length < 1
|
63
65
|
|
64
66
|
|
65
67
|
request_headers = {}
|
@@ -91,6 +93,8 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
|
|
91
93
|
end
|
92
94
|
|
93
95
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
96
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
97
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
94
98
|
# Deserialize Response
|
95
99
|
if status_code == 200
|
96
100
|
begin
|
@@ -182,6 +186,8 @@ module Azure::CognitiveServices::Mgmt::V2017_04_18
|
|
182
186
|
end
|
183
187
|
|
184
188
|
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
|
189
|
+
result.correlation_request_id = http_response['x-ms-correlation-request-id'] unless http_response['x-ms-correlation-request-id'].nil?
|
190
|
+
result.client_request_id = http_response['x-ms-client-request-id'] unless http_response['x-ms-client-request-id'].nil?
|
185
191
|
# Deserialize Response
|
186
192
|
if status_code == 200
|
187
193
|
begin
|
@@ -2,6 +2,6 @@
|
|
2
2
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
3
3
|
# Licensed under the MIT License. See License.txt in the project root for license information.
|
4
4
|
|
5
|
-
require '2016-02-01-preview/generated/azure_mgmt_cognitive_services'
|
6
5
|
require '2017-04-18/generated/azure_mgmt_cognitive_services'
|
6
|
+
require '2016-02-01-preview/generated/azure_mgmt_cognitive_services'
|
7
7
|
require 'profiles/latest/cognitiveservices_latest_profile_client'
|
@@ -9,35 +9,63 @@ module Azure::CognitiveServices::Profiles::Latest
|
|
9
9
|
Accounts = Azure::CognitiveServices::Mgmt::V2017_04_18::Accounts
|
10
10
|
ResourceSkus = Azure::CognitiveServices::Mgmt::V2017_04_18::ResourceSkus
|
11
11
|
Operations = Azure::CognitiveServices::Mgmt::V2017_04_18::Operations
|
12
|
-
|
12
|
+
PrivateEndpointConnections = Azure::CognitiveServices::Mgmt::V2017_04_18::PrivateEndpointConnections
|
13
|
+
PrivateLinkResources = Azure::CognitiveServices::Mgmt::V2017_04_18::PrivateLinkResources
|
13
14
|
|
14
15
|
module Models
|
15
|
-
|
16
|
+
Usage = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Usage
|
16
17
|
Sku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku
|
18
|
+
UsagesResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UsagesResult
|
19
|
+
IpRule = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::IpRule
|
20
|
+
ErrorBody = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ErrorBody
|
21
|
+
NetworkRuleSet = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::NetworkRuleSet
|
17
22
|
Error = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error
|
18
|
-
|
23
|
+
Encryption = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Encryption
|
19
24
|
OperationDisplayInfo = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationDisplayInfo
|
20
|
-
|
25
|
+
PrivateEndpoint = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::PrivateEndpoint
|
21
26
|
OperationEntity = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationEntity
|
22
|
-
|
27
|
+
PrivateEndpointConnectionProperties = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::PrivateEndpointConnectionProperties
|
23
28
|
OperationEntityListResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationEntityListResult
|
24
|
-
|
29
|
+
CognitiveServicesAccountApiProperties = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountApiProperties
|
25
30
|
CheckSkuAvailabilityParameter = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityParameter
|
26
|
-
|
31
|
+
UserAssignedIdentity = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UserAssignedIdentity
|
27
32
|
CheckSkuAvailabilityResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResult
|
28
|
-
|
33
|
+
CognitiveServicesAccount = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccount
|
29
34
|
CheckSkuAvailabilityResultList = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResultList
|
30
35
|
CognitiveServicesAccountKeys = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountKeys
|
31
|
-
|
36
|
+
CheckDomainAvailabilityParameter = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckDomainAvailabilityParameter
|
37
|
+
CognitiveServicesResourceAndSku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesResourceAndSku
|
38
|
+
CheckDomainAvailabilityResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckDomainAvailabilityResult
|
32
39
|
MetricName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::MetricName
|
40
|
+
ResourceSkuRestrictionInfo = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionInfo
|
41
|
+
VirtualNetworkRule = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::VirtualNetworkRule
|
33
42
|
ResourceSkuRestrictions = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictions
|
34
|
-
|
43
|
+
UserOwnedStorage = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UserOwnedStorage
|
35
44
|
ResourceSku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSku
|
36
|
-
|
45
|
+
KeyVaultProperties = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyVaultProperties
|
46
|
+
CognitiveServicesAccountProperties = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountProperties
|
47
|
+
PrivateLinkServiceConnectionState = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::PrivateLinkServiceConnectionState
|
48
|
+
CognitiveServicesAccountListResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountListResult
|
49
|
+
CognitiveServicesAccountEnumerateSkusResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountEnumerateSkusResult
|
37
50
|
ResourceSkusResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkusResult
|
38
|
-
|
51
|
+
Identity = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Identity
|
52
|
+
PrivateLinkResourceProperties = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::PrivateLinkResourceProperties
|
53
|
+
SkuCapability = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuCapability
|
54
|
+
Resource = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Resource
|
55
|
+
RegenerateKeyParameters = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::RegenerateKeyParameters
|
56
|
+
PrivateLinkResourceListResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::PrivateLinkResourceListResult
|
57
|
+
PrivateEndpointConnection = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::PrivateEndpointConnection
|
58
|
+
PrivateLinkResource = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::PrivateLinkResource
|
59
|
+
ProxyResource = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ProxyResource
|
60
|
+
TrackedResource = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::TrackedResource
|
61
|
+
AzureEntityResource = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::AzureEntityResource
|
39
62
|
SkuTier = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuTier
|
40
63
|
ProvisioningState = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ProvisioningState
|
64
|
+
NetworkRuleAction = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::NetworkRuleAction
|
65
|
+
KeySource = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeySource
|
66
|
+
PrivateEndpointServiceConnectionStatus = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::PrivateEndpointServiceConnectionStatus
|
67
|
+
PublicNetworkAccess = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::PublicNetworkAccess
|
68
|
+
IdentityType = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::IdentityType
|
41
69
|
KeyName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName
|
42
70
|
UnitType = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UnitType
|
43
71
|
QuotaUsageStatus = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::QuotaUsageStatus
|
@@ -49,7 +77,7 @@ module Azure::CognitiveServices::Profiles::Latest
|
|
49
77
|
# CognitiveServicesManagementClass
|
50
78
|
#
|
51
79
|
class CognitiveServicesManagementClass
|
52
|
-
attr_reader :accounts, :resource_skus, :operations, :
|
80
|
+
attr_reader :accounts, :resource_skus, :operations, :private_endpoint_connections, :private_link_resources, :configurable, :base_url, :options, :model_classes
|
53
81
|
|
54
82
|
def initialize(options = {})
|
55
83
|
if options.is_a?(Hash) && options.length == 0
|
@@ -72,7 +100,8 @@ module Azure::CognitiveServices::Profiles::Latest
|
|
72
100
|
@accounts = @client_0.accounts
|
73
101
|
@resource_skus = @client_0.resource_skus
|
74
102
|
@operations = @client_0.operations
|
75
|
-
@
|
103
|
+
@private_endpoint_connections = @client_0.private_endpoint_connections
|
104
|
+
@private_link_resources = @client_0.private_link_resources
|
76
105
|
|
77
106
|
@model_classes = ModelClasses.new
|
78
107
|
end
|
@@ -93,47 +122,59 @@ module Azure::CognitiveServices::Profiles::Latest
|
|
93
122
|
end
|
94
123
|
|
95
124
|
class ModelClasses
|
96
|
-
def
|
97
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::
|
125
|
+
def usage
|
126
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Usage
|
98
127
|
end
|
99
128
|
def sku
|
100
129
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku
|
101
130
|
end
|
131
|
+
def usages_result
|
132
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UsagesResult
|
133
|
+
end
|
134
|
+
def ip_rule
|
135
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::IpRule
|
136
|
+
end
|
137
|
+
def error_body
|
138
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ErrorBody
|
139
|
+
end
|
140
|
+
def network_rule_set
|
141
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::NetworkRuleSet
|
142
|
+
end
|
102
143
|
def error
|
103
144
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error
|
104
145
|
end
|
105
|
-
def
|
106
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::
|
146
|
+
def encryption
|
147
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Encryption
|
107
148
|
end
|
108
149
|
def operation_display_info
|
109
150
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationDisplayInfo
|
110
151
|
end
|
111
|
-
def
|
112
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::
|
152
|
+
def private_endpoint
|
153
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::PrivateEndpoint
|
113
154
|
end
|
114
155
|
def operation_entity
|
115
156
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationEntity
|
116
157
|
end
|
117
|
-
def
|
118
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::
|
158
|
+
def private_endpoint_connection_properties
|
159
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::PrivateEndpointConnectionProperties
|
119
160
|
end
|
120
161
|
def operation_entity_list_result
|
121
162
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationEntityListResult
|
122
163
|
end
|
123
|
-
def
|
124
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::
|
164
|
+
def cognitive_services_account_api_properties
|
165
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountApiProperties
|
125
166
|
end
|
126
167
|
def check_sku_availability_parameter
|
127
168
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityParameter
|
128
169
|
end
|
129
|
-
def
|
130
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::
|
170
|
+
def user_assigned_identity
|
171
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UserAssignedIdentity
|
131
172
|
end
|
132
173
|
def check_sku_availability_result
|
133
174
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResult
|
134
175
|
end
|
135
|
-
def
|
136
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::
|
176
|
+
def cognitive_services_account
|
177
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccount
|
137
178
|
end
|
138
179
|
def check_sku_availability_result_list
|
139
180
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResultList
|
@@ -141,29 +182,83 @@ module Azure::CognitiveServices::Profiles::Latest
|
|
141
182
|
def cognitive_services_account_keys
|
142
183
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountKeys
|
143
184
|
end
|
144
|
-
def
|
145
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::
|
185
|
+
def check_domain_availability_parameter
|
186
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckDomainAvailabilityParameter
|
187
|
+
end
|
188
|
+
def cognitive_services_resource_and_sku
|
189
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesResourceAndSku
|
190
|
+
end
|
191
|
+
def check_domain_availability_result
|
192
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckDomainAvailabilityResult
|
146
193
|
end
|
147
194
|
def metric_name
|
148
195
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::MetricName
|
149
196
|
end
|
197
|
+
def resource_sku_restriction_info
|
198
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionInfo
|
199
|
+
end
|
200
|
+
def virtual_network_rule
|
201
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::VirtualNetworkRule
|
202
|
+
end
|
150
203
|
def resource_sku_restrictions
|
151
204
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictions
|
152
205
|
end
|
153
|
-
def
|
154
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::
|
206
|
+
def user_owned_storage
|
207
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UserOwnedStorage
|
155
208
|
end
|
156
209
|
def resource_sku
|
157
210
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSku
|
158
211
|
end
|
159
|
-
def
|
160
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::
|
212
|
+
def key_vault_properties
|
213
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyVaultProperties
|
214
|
+
end
|
215
|
+
def cognitive_services_account_properties
|
216
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountProperties
|
217
|
+
end
|
218
|
+
def private_link_service_connection_state
|
219
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::PrivateLinkServiceConnectionState
|
220
|
+
end
|
221
|
+
def cognitive_services_account_list_result
|
222
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountListResult
|
223
|
+
end
|
224
|
+
def cognitive_services_account_enumerate_skus_result
|
225
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountEnumerateSkusResult
|
161
226
|
end
|
162
227
|
def resource_skus_result
|
163
228
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkusResult
|
164
229
|
end
|
165
|
-
def
|
166
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::
|
230
|
+
def identity
|
231
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Identity
|
232
|
+
end
|
233
|
+
def private_link_resource_properties
|
234
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::PrivateLinkResourceProperties
|
235
|
+
end
|
236
|
+
def sku_capability
|
237
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuCapability
|
238
|
+
end
|
239
|
+
def resource
|
240
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Resource
|
241
|
+
end
|
242
|
+
def regenerate_key_parameters
|
243
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::RegenerateKeyParameters
|
244
|
+
end
|
245
|
+
def private_link_resource_list_result
|
246
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::PrivateLinkResourceListResult
|
247
|
+
end
|
248
|
+
def private_endpoint_connection
|
249
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::PrivateEndpointConnection
|
250
|
+
end
|
251
|
+
def private_link_resource
|
252
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::PrivateLinkResource
|
253
|
+
end
|
254
|
+
def proxy_resource
|
255
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ProxyResource
|
256
|
+
end
|
257
|
+
def tracked_resource
|
258
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::TrackedResource
|
259
|
+
end
|
260
|
+
def azure_entity_resource
|
261
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::AzureEntityResource
|
167
262
|
end
|
168
263
|
def sku_tier
|
169
264
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuTier
|
@@ -171,6 +266,21 @@ module Azure::CognitiveServices::Profiles::Latest
|
|
171
266
|
def provisioning_state
|
172
267
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ProvisioningState
|
173
268
|
end
|
269
|
+
def network_rule_action
|
270
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::NetworkRuleAction
|
271
|
+
end
|
272
|
+
def key_source
|
273
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeySource
|
274
|
+
end
|
275
|
+
def private_endpoint_service_connection_status
|
276
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::PrivateEndpointServiceConnectionStatus
|
277
|
+
end
|
278
|
+
def public_network_access
|
279
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::PublicNetworkAccess
|
280
|
+
end
|
281
|
+
def identity_type
|
282
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::IdentityType
|
283
|
+
end
|
174
284
|
def key_name
|
175
285
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName
|
176
286
|
end
|
data/lib/version.rb
CHANGED