azure_mgmt_cognitive_services 0.19.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_management_client.rb +1 -1
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services.rb +34 -18
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/accounts.rb +103 -56
- data/lib/2017-04-18/generated/azure_mgmt_cognitive_services/cognitive_services_management_client.rb +15 -4
- 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/cognitive_services_account_properties.rb +57 -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/operations.rb +1 -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 +2 -0
- data/lib/profiles/latest/modules/cognitiveservices_profile_module.rb +117 -57
- data/lib/version.rb +1 -1
- metadata +20 -4
@@ -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 = {}
|
@@ -9,46 +9,62 @@ 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
|
+
PrivateEndpointConnections = Azure::CognitiveServices::Mgmt::V2017_04_18::PrivateEndpointConnections
|
13
|
+
PrivateLinkResources = Azure::CognitiveServices::Mgmt::V2017_04_18::PrivateLinkResources
|
12
14
|
|
13
15
|
module Models
|
14
|
-
MetricName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::MetricName
|
15
|
-
Sku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku
|
16
16
|
Usage = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Usage
|
17
|
-
|
17
|
+
Sku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku
|
18
18
|
UsagesResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UsagesResult
|
19
|
-
|
19
|
+
IpRule = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::IpRule
|
20
20
|
ErrorBody = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ErrorBody
|
21
|
-
|
21
|
+
NetworkRuleSet = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::NetworkRuleSet
|
22
22
|
Error = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error
|
23
|
-
|
23
|
+
Encryption = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Encryption
|
24
24
|
OperationDisplayInfo = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationDisplayInfo
|
25
|
-
|
25
|
+
PrivateEndpoint = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::PrivateEndpoint
|
26
26
|
OperationEntity = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationEntity
|
27
|
-
|
27
|
+
PrivateEndpointConnectionProperties = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::PrivateEndpointConnectionProperties
|
28
28
|
OperationEntityListResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationEntityListResult
|
29
|
-
|
29
|
+
CognitiveServicesAccountApiProperties = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountApiProperties
|
30
30
|
CheckSkuAvailabilityParameter = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityParameter
|
31
|
-
|
31
|
+
UserAssignedIdentity = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UserAssignedIdentity
|
32
32
|
CheckSkuAvailabilityResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResult
|
33
|
-
|
33
|
+
CognitiveServicesAccount = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccount
|
34
34
|
CheckSkuAvailabilityResultList = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResultList
|
35
|
-
|
35
|
+
CognitiveServicesAccountKeys = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountKeys
|
36
36
|
CheckDomainAvailabilityParameter = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckDomainAvailabilityParameter
|
37
|
-
CognitiveServicesAccount = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccount
|
38
|
-
CheckDomainAvailabilityResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckDomainAvailabilityResult
|
39
37
|
CognitiveServicesResourceAndSku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesResourceAndSku
|
38
|
+
CheckDomainAvailabilityResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckDomainAvailabilityResult
|
39
|
+
MetricName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::MetricName
|
40
40
|
ResourceSkuRestrictionInfo = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionInfo
|
41
|
-
|
41
|
+
VirtualNetworkRule = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::VirtualNetworkRule
|
42
42
|
ResourceSkuRestrictions = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictions
|
43
|
-
|
43
|
+
UserOwnedStorage = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UserOwnedStorage
|
44
44
|
ResourceSku = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSku
|
45
|
-
|
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
|
46
50
|
ResourceSkusResult = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkusResult
|
47
|
-
|
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
|
48
62
|
SkuTier = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuTier
|
49
63
|
ProvisioningState = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ProvisioningState
|
50
64
|
NetworkRuleAction = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::NetworkRuleAction
|
51
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
|
52
68
|
IdentityType = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::IdentityType
|
53
69
|
KeyName = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeyName
|
54
70
|
UnitType = Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UnitType
|
@@ -61,7 +77,7 @@ module Azure::CognitiveServices::Profiles::Latest
|
|
61
77
|
# CognitiveServicesManagementClass
|
62
78
|
#
|
63
79
|
class CognitiveServicesManagementClass
|
64
|
-
attr_reader :accounts, :resource_skus, :operations, :configurable, :base_url, :options, :model_classes
|
80
|
+
attr_reader :accounts, :resource_skus, :operations, :private_endpoint_connections, :private_link_resources, :configurable, :base_url, :options, :model_classes
|
65
81
|
|
66
82
|
def initialize(options = {})
|
67
83
|
if options.is_a?(Hash) && options.length == 0
|
@@ -84,6 +100,8 @@ module Azure::CognitiveServices::Profiles::Latest
|
|
84
100
|
@accounts = @client_0.accounts
|
85
101
|
@resource_skus = @client_0.resource_skus
|
86
102
|
@operations = @client_0.operations
|
103
|
+
@private_endpoint_connections = @client_0.private_endpoint_connections
|
104
|
+
@private_link_resources = @client_0.private_link_resources
|
87
105
|
|
88
106
|
@model_classes = ModelClasses.new
|
89
107
|
end
|
@@ -104,107 +122,143 @@ module Azure::CognitiveServices::Profiles::Latest
|
|
104
122
|
end
|
105
123
|
|
106
124
|
class ModelClasses
|
107
|
-
def metric_name
|
108
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::MetricName
|
109
|
-
end
|
110
|
-
def sku
|
111
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku
|
112
|
-
end
|
113
125
|
def usage
|
114
126
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Usage
|
115
127
|
end
|
116
|
-
def
|
117
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::
|
128
|
+
def sku
|
129
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Sku
|
118
130
|
end
|
119
131
|
def usages_result
|
120
132
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UsagesResult
|
121
133
|
end
|
122
|
-
def
|
123
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::
|
134
|
+
def ip_rule
|
135
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::IpRule
|
124
136
|
end
|
125
137
|
def error_body
|
126
138
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ErrorBody
|
127
139
|
end
|
128
|
-
def
|
129
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::
|
140
|
+
def network_rule_set
|
141
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::NetworkRuleSet
|
130
142
|
end
|
131
143
|
def error
|
132
144
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Error
|
133
145
|
end
|
134
|
-
def
|
135
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::
|
146
|
+
def encryption
|
147
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::Encryption
|
136
148
|
end
|
137
149
|
def operation_display_info
|
138
150
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationDisplayInfo
|
139
151
|
end
|
140
|
-
def
|
141
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::
|
152
|
+
def private_endpoint
|
153
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::PrivateEndpoint
|
142
154
|
end
|
143
155
|
def operation_entity
|
144
156
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationEntity
|
145
157
|
end
|
146
|
-
def
|
147
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::
|
158
|
+
def private_endpoint_connection_properties
|
159
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::PrivateEndpointConnectionProperties
|
148
160
|
end
|
149
161
|
def operation_entity_list_result
|
150
162
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::OperationEntityListResult
|
151
163
|
end
|
152
|
-
def
|
153
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::
|
164
|
+
def cognitive_services_account_api_properties
|
165
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountApiProperties
|
154
166
|
end
|
155
167
|
def check_sku_availability_parameter
|
156
168
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityParameter
|
157
169
|
end
|
158
|
-
def
|
159
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::
|
170
|
+
def user_assigned_identity
|
171
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UserAssignedIdentity
|
160
172
|
end
|
161
173
|
def check_sku_availability_result
|
162
174
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResult
|
163
175
|
end
|
164
|
-
def
|
165
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::
|
176
|
+
def cognitive_services_account
|
177
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccount
|
166
178
|
end
|
167
179
|
def check_sku_availability_result_list
|
168
180
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckSkuAvailabilityResultList
|
169
181
|
end
|
170
|
-
def
|
171
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::
|
182
|
+
def cognitive_services_account_keys
|
183
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesAccountKeys
|
172
184
|
end
|
173
185
|
def check_domain_availability_parameter
|
174
186
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckDomainAvailabilityParameter
|
175
187
|
end
|
176
|
-
def
|
177
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::
|
188
|
+
def cognitive_services_resource_and_sku
|
189
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CognitiveServicesResourceAndSku
|
178
190
|
end
|
179
191
|
def check_domain_availability_result
|
180
192
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::CheckDomainAvailabilityResult
|
181
193
|
end
|
182
|
-
def
|
183
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::
|
194
|
+
def metric_name
|
195
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::MetricName
|
184
196
|
end
|
185
197
|
def resource_sku_restriction_info
|
186
198
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictionInfo
|
187
199
|
end
|
188
|
-
def
|
189
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::
|
200
|
+
def virtual_network_rule
|
201
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::VirtualNetworkRule
|
190
202
|
end
|
191
203
|
def resource_sku_restrictions
|
192
204
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkuRestrictions
|
193
205
|
end
|
194
|
-
def
|
195
|
-
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::
|
206
|
+
def user_owned_storage
|
207
|
+
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::UserOwnedStorage
|
196
208
|
end
|
197
209
|
def resource_sku
|
198
210
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSku
|
199
211
|
end
|
200
|
-
def
|
201
|
-
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
|
202
226
|
end
|
203
227
|
def resource_skus_result
|
204
228
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::ResourceSkusResult
|
205
229
|
end
|
206
|
-
def
|
207
|
-
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
|
208
262
|
end
|
209
263
|
def sku_tier
|
210
264
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::SkuTier
|
@@ -218,6 +272,12 @@ module Azure::CognitiveServices::Profiles::Latest
|
|
218
272
|
def key_source
|
219
273
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::KeySource
|
220
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
|
221
281
|
def identity_type
|
222
282
|
Azure::CognitiveServices::Mgmt::V2017_04_18::Models::IdentityType
|
223
283
|
end
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: azure_mgmt_cognitive_services
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.19.
|
4
|
+
version: 0.19.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Microsoft Corporation
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: 0.12.0
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
82
|
+
version: 0.12.0
|
83
83
|
description: Microsoft Azure Cognitive Services Management Client Library for Ruby
|
84
84
|
email: azrubyteam@microsoft.com
|
85
85
|
executables: []
|
@@ -110,6 +110,7 @@ files:
|
|
110
110
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services.rb
|
111
111
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/accounts.rb
|
112
112
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/cognitive_services_management_client.rb
|
113
|
+
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/azure_entity_resource.rb
|
113
114
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/check_domain_availability_parameter.rb
|
114
115
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/check_domain_availability_result.rb
|
115
116
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/check_sku_availability_parameter.rb
|
@@ -137,9 +138,20 @@ files:
|
|
137
138
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/operation_display_info.rb
|
138
139
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/operation_entity.rb
|
139
140
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/operation_entity_list_result.rb
|
141
|
+
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_endpoint.rb
|
142
|
+
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_endpoint_connection.rb
|
143
|
+
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_endpoint_connection_properties.rb
|
144
|
+
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_endpoint_service_connection_status.rb
|
145
|
+
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_link_resource.rb
|
146
|
+
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_link_resource_list_result.rb
|
147
|
+
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_link_resource_properties.rb
|
148
|
+
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/private_link_service_connection_state.rb
|
140
149
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/provisioning_state.rb
|
150
|
+
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/proxy_resource.rb
|
151
|
+
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/public_network_access.rb
|
141
152
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/quota_usage_status.rb
|
142
153
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/regenerate_key_parameters.rb
|
154
|
+
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/resource.rb
|
143
155
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/resource_sku.rb
|
144
156
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/resource_sku_restriction_info.rb
|
145
157
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/resource_sku_restrictions.rb
|
@@ -147,7 +159,9 @@ files:
|
|
147
159
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/resource_sku_restrictions_type.rb
|
148
160
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/resource_skus_result.rb
|
149
161
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/sku.rb
|
162
|
+
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/sku_capability.rb
|
150
163
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/sku_tier.rb
|
164
|
+
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/tracked_resource.rb
|
151
165
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/unit_type.rb
|
152
166
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/usage.rb
|
153
167
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/usages_result.rb
|
@@ -156,6 +170,8 @@ files:
|
|
156
170
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/models/virtual_network_rule.rb
|
157
171
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/module_definition.rb
|
158
172
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/operations.rb
|
173
|
+
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/private_endpoint_connections.rb
|
174
|
+
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/private_link_resources.rb
|
159
175
|
- lib/2017-04-18/generated/azure_mgmt_cognitive_services/resource_skus.rb
|
160
176
|
- lib/azure_mgmt_cognitive_services.rb
|
161
177
|
- lib/module_definition.rb
|