id
int32 0
24.9k
| repo
stringlengths 5
58
| path
stringlengths 9
168
| func_name
stringlengths 9
130
| original_string
stringlengths 66
10.5k
| language
stringclasses 1
value | code
stringlengths 66
10.5k
| code_tokens
list | docstring
stringlengths 8
16k
| docstring_tokens
list | sha
stringlengths 40
40
| url
stringlengths 94
266
|
|---|---|---|---|---|---|---|---|---|---|---|---|
14,100
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/proximity_placement_groups.rb
|
Azure::Compute::Mgmt::V2018_04_01.ProximityPlacementGroups.update_with_http_info
|
def update_with_http_info(resource_group_name, proximity_placement_group_name, parameters, custom_headers:nil)
update_async(resource_group_name, proximity_placement_group_name, parameters, custom_headers:custom_headers).value!
end
|
ruby
|
def update_with_http_info(resource_group_name, proximity_placement_group_name, parameters, custom_headers:nil)
update_async(resource_group_name, proximity_placement_group_name, parameters, custom_headers:custom_headers).value!
end
|
[
"def",
"update_with_http_info",
"(",
"resource_group_name",
",",
"proximity_placement_group_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"update_async",
"(",
"resource_group_name",
",",
"proximity_placement_group_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Update a proximity placement group.
@param resource_group_name [String] The name of the resource group.
@param proximity_placement_group_name [String] The name of the proximity
placement group.
@param parameters [ProximityPlacementGroupUpdate] Parameters supplied to the
Update Proximity Placement Group operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Update",
"a",
"proximity",
"placement",
"group",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/proximity_placement_groups.rb#L174-L176
|
14,101
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/proximity_placement_groups.rb
|
Azure::Compute::Mgmt::V2018_04_01.ProximityPlacementGroups.delete
|
def delete(resource_group_name, proximity_placement_group_name, custom_headers:nil)
response = delete_async(resource_group_name, proximity_placement_group_name, custom_headers:custom_headers).value!
nil
end
|
ruby
|
def delete(resource_group_name, proximity_placement_group_name, custom_headers:nil)
response = delete_async(resource_group_name, proximity_placement_group_name, custom_headers:custom_headers).value!
nil
end
|
[
"def",
"delete",
"(",
"resource_group_name",
",",
"proximity_placement_group_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_async",
"(",
"resource_group_name",
",",
"proximity_placement_group_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] |
Delete a proximity placement group.
@param resource_group_name [String] The name of the resource group.
@param proximity_placement_group_name [String] The name of the proximity
placement group.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
|
[
"Delete",
"a",
"proximity",
"placement",
"group",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/proximity_placement_groups.rb#L262-L265
|
14,102
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/certificate_operations.rb
|
Azure::Automation::Mgmt::V2015_10_31.CertificateOperations.get_with_http_info
|
def get_with_http_info(resource_group_name, automation_account_name, certificate_name, custom_headers:nil)
get_async(resource_group_name, automation_account_name, certificate_name, custom_headers:custom_headers).value!
end
|
ruby
|
def get_with_http_info(resource_group_name, automation_account_name, certificate_name, custom_headers:nil)
get_async(resource_group_name, automation_account_name, certificate_name, custom_headers:custom_headers).value!
end
|
[
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"certificate_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"certificate_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Retrieve the certificate identified by certificate name.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param certificate_name [String] The name of certificate.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Retrieve",
"the",
"certificate",
"identified",
"by",
"certificate",
"name",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/certificate_operations.rb#L139-L141
|
14,103
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/certificate_operations.rb
|
Azure::Automation::Mgmt::V2015_10_31.CertificateOperations.create_or_update_with_http_info
|
def create_or_update_with_http_info(resource_group_name, automation_account_name, certificate_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, automation_account_name, certificate_name, parameters, custom_headers:custom_headers).value!
end
|
ruby
|
def create_or_update_with_http_info(resource_group_name, automation_account_name, certificate_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, automation_account_name, certificate_name, parameters, custom_headers:custom_headers).value!
end
|
[
"def",
"create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"certificate_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"create_or_update_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"certificate_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Create a certificate.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param certificate_name [String] The parameters supplied to the create or
update certificate operation.
@param parameters [CertificateCreateOrUpdateParameters] The parameters
supplied to the create or update certificate operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Create",
"a",
"certificate",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/certificate_operations.rb#L244-L246
|
14,104
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/certificate_operations.rb
|
Azure::Automation::Mgmt::V2015_10_31.CertificateOperations.update_with_http_info
|
def update_with_http_info(resource_group_name, automation_account_name, certificate_name, parameters, custom_headers:nil)
update_async(resource_group_name, automation_account_name, certificate_name, parameters, custom_headers:custom_headers).value!
end
|
ruby
|
def update_with_http_info(resource_group_name, automation_account_name, certificate_name, parameters, custom_headers:nil)
update_async(resource_group_name, automation_account_name, certificate_name, parameters, custom_headers:custom_headers).value!
end
|
[
"def",
"update_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"certificate_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"update_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"certificate_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Update a certificate.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param certificate_name [String] The parameters supplied to the update
certificate operation.
@param parameters [CertificateUpdateParameters] The parameters supplied to
the update certificate operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Update",
"a",
"certificate",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/certificate_operations.rb#L370-L372
|
14,105
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_resources/lib/2018-05-01/generated/azure_mgmt_resources/deployments.rb
|
Azure::Resources::Mgmt::V2018_05_01.Deployments.check_existence_at_subscription_scope
|
def check_existence_at_subscription_scope(deployment_name, custom_headers:nil)
response = check_existence_at_subscription_scope_async(deployment_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def check_existence_at_subscription_scope(deployment_name, custom_headers:nil)
response = check_existence_at_subscription_scope_async(deployment_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"check_existence_at_subscription_scope",
"(",
"deployment_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"check_existence_at_subscription_scope_async",
"(",
"deployment_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Checks whether the deployment exists.
@param deployment_name [String] The name of the deployment to check.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Boolean] operation results.
|
[
"Checks",
"whether",
"the",
"deployment",
"exists",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_resources/lib/2018-05-01/generated/azure_mgmt_resources/deployments.rb#L79-L82
|
14,106
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_resources/lib/2018-05-01/generated/azure_mgmt_resources/deployments.rb
|
Azure::Resources::Mgmt::V2018_05_01.Deployments.validate_at_subscription_scope
|
def validate_at_subscription_scope(deployment_name, parameters, custom_headers:nil)
response = validate_at_subscription_scope_async(deployment_name, parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def validate_at_subscription_scope(deployment_name, parameters, custom_headers:nil)
response = validate_at_subscription_scope_async(deployment_name, parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"validate_at_subscription_scope",
"(",
"deployment_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"validate_at_subscription_scope_async",
"(",
"deployment_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Validates whether the specified template is syntactically correct and will be
accepted by Azure Resource Manager..
@param deployment_name [String] The name of the deployment.
@param parameters [Deployment] Parameters to validate.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [DeploymentValidateResult] operation results.
|
[
"Validates",
"whether",
"the",
"specified",
"template",
"is",
"syntactically",
"correct",
"and",
"will",
"be",
"accepted",
"by",
"Azure",
"Resource",
"Manager",
".."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_resources/lib/2018-05-01/generated/azure_mgmt_resources/deployments.rb#L396-L399
|
14,107
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_resources/lib/2018-05-01/generated/azure_mgmt_resources/deployments.rb
|
Azure::Resources::Mgmt::V2018_05_01.Deployments.export_template_at_subscription_scope
|
def export_template_at_subscription_scope(deployment_name, custom_headers:nil)
response = export_template_at_subscription_scope_async(deployment_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def export_template_at_subscription_scope(deployment_name, custom_headers:nil)
response = export_template_at_subscription_scope_async(deployment_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"export_template_at_subscription_scope",
"(",
"deployment_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"export_template_at_subscription_scope_async",
"(",
"deployment_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Exports the template used for specified deployment.
@param deployment_name [String] The name of the deployment from which to get
the template.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [DeploymentExportResult] operation results.
|
[
"Exports",
"the",
"template",
"used",
"for",
"specified",
"deployment",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_resources/lib/2018-05-01/generated/azure_mgmt_resources/deployments.rb#L510-L513
|
14,108
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_serialconsole/lib/2018-05-01/generated/azure_mgmt_serialconsole/list.rb
|
Azure::Serialconsole::Mgmt::V2018_05_01.List.operations
|
def operations(custom_headers:nil)
response = operations_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def operations(custom_headers:nil)
response = operations_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"operations",
"(",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"operations_async",
"(",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Gets a list of Serial Console API operations.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [SerialConsoleOperations] operation results.
|
[
"Gets",
"a",
"list",
"of",
"Serial",
"Console",
"API",
"operations",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_serialconsole/lib/2018-05-01/generated/azure_mgmt_serialconsole/list.rb#L33-L36
|
14,109
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/tenant_policy.rb
|
Azure::ApiManagement::Mgmt::V2016_10_10.TenantPolicy.create_or_update_async
|
def create_or_update_async(resource_group_name, service_name, parameters, if_match, custom_headers:nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'service_name is nil' if service_name.nil?
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
fail ArgumentError, "'service_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$'" if !service_name.nil? && service_name.match(Regexp.new('^^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$$')).nil?
fail ArgumentError, 'parameters is nil' if parameters.nil?
fail ArgumentError, 'if_match is nil' if if_match.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
request_headers = {}
request_headers['Content-Type'] = 'application/vnd.ms-azure-apim.policy+xml'
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['If-Match'] = if_match unless if_match.nil?
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
# Serialize Request
request_mapper = {
client_side_validation: true,
required: true,
serialized_name: 'parameters',
type: {
name: 'Stream'
}
}
request_content = @client.serialize(request_mapper, parameters)
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/policy'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
query_params: {'api-version' => @client.api_version},
body: request_content,
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
promise = @client.make_request_async(:put, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
unless status_code == 201 || status_code == 204
error_model = JSON.load(response_content)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
result
end
promise.execute
end
|
ruby
|
def create_or_update_async(resource_group_name, service_name, parameters, if_match, custom_headers:nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'service_name is nil' if service_name.nil?
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
fail ArgumentError, "'service_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$'" if !service_name.nil? && service_name.match(Regexp.new('^^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$$')).nil?
fail ArgumentError, 'parameters is nil' if parameters.nil?
fail ArgumentError, 'if_match is nil' if if_match.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
request_headers = {}
request_headers['Content-Type'] = 'application/vnd.ms-azure-apim.policy+xml'
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['If-Match'] = if_match unless if_match.nil?
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
# Serialize Request
request_mapper = {
client_side_validation: true,
required: true,
serialized_name: 'parameters',
type: {
name: 'Stream'
}
}
request_content = @client.serialize(request_mapper, parameters)
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/policy'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
query_params: {'api-version' => @client.api_version},
body: request_content,
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
promise = @client.make_request_async(:put, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
unless status_code == 201 || status_code == 204
error_model = JSON.load(response_content)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
result
end
promise.execute
end
|
[
"def",
"create_or_update_async",
"(",
"resource_group_name",
",",
"service_name",
",",
"parameters",
",",
"if_match",
",",
"custom_headers",
":",
"nil",
")",
"fail",
"ArgumentError",
",",
"'resource_group_name is nil'",
"if",
"resource_group_name",
".",
"nil?",
"fail",
"ArgumentError",
",",
"'service_name is nil'",
"if",
"service_name",
".",
"nil?",
"fail",
"ArgumentError",
",",
"\"'service_name' should satisfy the constraint - 'MaxLength': '50'\"",
"if",
"!",
"service_name",
".",
"nil?",
"&&",
"service_name",
".",
"length",
">",
"50",
"fail",
"ArgumentError",
",",
"\"'service_name' should satisfy the constraint - 'MinLength': '1'\"",
"if",
"!",
"service_name",
".",
"nil?",
"&&",
"service_name",
".",
"length",
"<",
"1",
"fail",
"ArgumentError",
",",
"\"'service_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$'\"",
"if",
"!",
"service_name",
".",
"nil?",
"&&",
"service_name",
".",
"match",
"(",
"Regexp",
".",
"new",
"(",
"'^^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$$'",
")",
")",
".",
"nil?",
"fail",
"ArgumentError",
",",
"'parameters is nil'",
"if",
"parameters",
".",
"nil?",
"fail",
"ArgumentError",
",",
"'if_match is nil'",
"if",
"if_match",
".",
"nil?",
"fail",
"ArgumentError",
",",
"'@client.api_version is nil'",
"if",
"@client",
".",
"api_version",
".",
"nil?",
"fail",
"ArgumentError",
",",
"'@client.subscription_id is nil'",
"if",
"@client",
".",
"subscription_id",
".",
"nil?",
"request_headers",
"=",
"{",
"}",
"request_headers",
"[",
"'Content-Type'",
"]",
"=",
"'application/vnd.ms-azure-apim.policy+xml'",
"# Set Headers",
"request_headers",
"[",
"'x-ms-client-request-id'",
"]",
"=",
"SecureRandom",
".",
"uuid",
"request_headers",
"[",
"'If-Match'",
"]",
"=",
"if_match",
"unless",
"if_match",
".",
"nil?",
"request_headers",
"[",
"'accept-language'",
"]",
"=",
"@client",
".",
"accept_language",
"unless",
"@client",
".",
"accept_language",
".",
"nil?",
"# Serialize Request",
"request_mapper",
"=",
"{",
"client_side_validation",
":",
"true",
",",
"required",
":",
"true",
",",
"serialized_name",
":",
"'parameters'",
",",
"type",
":",
"{",
"name",
":",
"'Stream'",
"}",
"}",
"request_content",
"=",
"@client",
".",
"serialize",
"(",
"request_mapper",
",",
"parameters",
")",
"path_template",
"=",
"'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/policy'",
"request_url",
"=",
"@base_url",
"||",
"@client",
".",
"base_url",
"options",
"=",
"{",
"middlewares",
":",
"[",
"[",
"MsRest",
"::",
"RetryPolicyMiddleware",
",",
"times",
":",
"3",
",",
"retry",
":",
"0.02",
"]",
",",
"[",
":cookie_jar",
"]",
"]",
",",
"path_params",
":",
"{",
"'resourceGroupName'",
"=>",
"resource_group_name",
",",
"'serviceName'",
"=>",
"service_name",
",",
"'subscriptionId'",
"=>",
"@client",
".",
"subscription_id",
"}",
",",
"query_params",
":",
"{",
"'api-version'",
"=>",
"@client",
".",
"api_version",
"}",
",",
"body",
":",
"request_content",
",",
"headers",
":",
"request_headers",
".",
"merge",
"(",
"custom_headers",
"||",
"{",
"}",
")",
",",
"base_url",
":",
"request_url",
"}",
"promise",
"=",
"@client",
".",
"make_request_async",
"(",
":put",
",",
"path_template",
",",
"options",
")",
"promise",
"=",
"promise",
".",
"then",
"do",
"|",
"result",
"|",
"http_response",
"=",
"result",
".",
"response",
"status_code",
"=",
"http_response",
".",
"status",
"response_content",
"=",
"http_response",
".",
"body",
"unless",
"status_code",
"==",
"201",
"||",
"status_code",
"==",
"204",
"error_model",
"=",
"JSON",
".",
"load",
"(",
"response_content",
")",
"fail",
"MsRest",
"::",
"HttpOperationError",
".",
"new",
"(",
"result",
".",
"request",
",",
"http_response",
",",
"error_model",
")",
"end",
"result",
".",
"request_id",
"=",
"http_response",
"[",
"'x-ms-request-id'",
"]",
"unless",
"http_response",
"[",
"'x-ms-request-id'",
"]",
".",
"nil?",
"result",
"end",
"promise",
".",
"execute",
"end"
] |
Creates or updates global policy configuration for the tenant.
@param resource_group_name [String] The name of the resource group.
@param service_name [String] The name of the API Management service.
@param parameters The policy content details.
@param if_match [String] The entity state (Etag) version of the tenant policy
to update. A value of "*" can be used for If-Match to unconditionally apply
the operation.
@param [Hash{String => String}] A hash of custom headers that will be added
to the HTTP request.
@return [Concurrent::Promise] Promise object which holds the HTTP response.
|
[
"Creates",
"or",
"updates",
"global",
"policy",
"configuration",
"for",
"the",
"tenant",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/tenant_policy.rb#L176-L236
|
14,110
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/profiles.rb
|
Azure::CustomerInsights::Mgmt::V2017_01_01.Profiles.get_with_http_info
|
def get_with_http_info(resource_group_name, hub_name, profile_name, locale_code:'en-us', custom_headers:nil)
get_async(resource_group_name, hub_name, profile_name, locale_code:locale_code, custom_headers:custom_headers).value!
end
|
ruby
|
def get_with_http_info(resource_group_name, hub_name, profile_name, locale_code:'en-us', custom_headers:nil)
get_async(resource_group_name, hub_name, profile_name, locale_code:locale_code, custom_headers:custom_headers).value!
end
|
[
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"hub_name",
",",
"profile_name",
",",
"locale_code",
":",
"'en-us'",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"hub_name",
",",
"profile_name",
",",
"locale_code",
":locale_code",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Gets information about the specified profile.
@param resource_group_name [String] The name of the resource group.
@param hub_name [String] The name of the hub.
@param profile_name [String] The name of the profile.
@param locale_code [String] Locale of profile to retrieve, default is en-us.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Gets",
"information",
"about",
"the",
"specified",
"profile",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/profiles.rb#L104-L106
|
14,111
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/profiles.rb
|
Azure::CustomerInsights::Mgmt::V2017_01_01.Profiles.begin_create_or_update_with_http_info
|
def begin_create_or_update_with_http_info(resource_group_name, hub_name, profile_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, hub_name, profile_name, parameters, custom_headers:custom_headers).value!
end
|
ruby
|
def begin_create_or_update_with_http_info(resource_group_name, hub_name, profile_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, hub_name, profile_name, parameters, custom_headers:custom_headers).value!
end
|
[
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"hub_name",
",",
"profile_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"hub_name",
",",
"profile_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Creates a profile within a Hub, or updates an existing profile.
@param resource_group_name [String] The name of the resource group.
@param hub_name [String] The name of the hub.
@param profile_name [String] The name of the profile.
@param parameters [ProfileResourceFormat] Parameters supplied to the
create/delete Profile type operation
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Creates",
"a",
"profile",
"within",
"a",
"Hub",
"or",
"updates",
"an",
"existing",
"profile",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/profiles.rb#L460-L462
|
14,112
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_managed_applications/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/appliances.rb
|
Azure::ManagedApplications::Mgmt::V2016_09_01_preview.Appliances.get_by_id
|
def get_by_id(appliance_id, custom_headers:nil)
response = get_by_id_async(appliance_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def get_by_id(appliance_id, custom_headers:nil)
response = get_by_id_async(appliance_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"get_by_id",
"(",
"appliance_id",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_by_id_async",
"(",
"appliance_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Gets the appliance.
@param appliance_id [String] The fully qualified ID of the appliance,
including the appliance name and the appliance resource type. Use the format,
/subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/appliances/{appliance-name}
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Appliance] operation results.
|
[
"Gets",
"the",
"appliance",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_managed_applications/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/appliances.rb#L517-L520
|
14,113
|
Azure/azure-sdk-for-ruby
|
data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/azure_accounts.rb
|
Azure::CognitiveServices::LuisAuthoring::V2_0.AzureAccounts.assign_to_app
|
def assign_to_app(app_id, azure_account_info_object:nil, custom_headers:nil)
response = assign_to_app_async(app_id, azure_account_info_object:azure_account_info_object, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def assign_to_app(app_id, azure_account_info_object:nil, custom_headers:nil)
response = assign_to_app_async(app_id, azure_account_info_object:azure_account_info_object, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"assign_to_app",
"(",
"app_id",
",",
"azure_account_info_object",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"assign_to_app_async",
"(",
"app_id",
",",
"azure_account_info_object",
":azure_account_info_object",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
apps - Assign a LUIS Azure account to an application
Assigns an Azure account to the application.
@param app_id The application ID.
@param azure_account_info_object [AzureAccountInfoObject] The Azure account
information object.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [OperationStatus] operation results.
|
[
"apps",
"-",
"Assign",
"a",
"LUIS",
"Azure",
"account",
"to",
"an",
"application"
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/azure_accounts.rb#L37-L40
|
14,114
|
Azure/azure-sdk-for-ruby
|
data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/azure_accounts.rb
|
Azure::CognitiveServices::LuisAuthoring::V2_0.AzureAccounts.get_assigned
|
def get_assigned(app_id, custom_headers:nil)
response = get_assigned_async(app_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def get_assigned(app_id, custom_headers:nil)
response = get_assigned_async(app_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"get_assigned",
"(",
"app_id",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_assigned_async",
"(",
"app_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
apps - Get LUIS Azure accounts assigned to the application
Gets the LUIS Azure accounts assigned to the application for the user using
his ARM token.
@param app_id The application ID.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array] operation results.
|
[
"apps",
"-",
"Get",
"LUIS",
"Azure",
"accounts",
"assigned",
"to",
"the",
"application"
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/azure_accounts.rb#L142-L145
|
14,115
|
Azure/azure-sdk-for-ruby
|
data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/azure_accounts.rb
|
Azure::CognitiveServices::LuisAuthoring::V2_0.AzureAccounts.remove_from_app
|
def remove_from_app(app_id, azure_account_info_object:nil, custom_headers:nil)
response = remove_from_app_async(app_id, azure_account_info_object:azure_account_info_object, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def remove_from_app(app_id, azure_account_info_object:nil, custom_headers:nil)
response = remove_from_app_async(app_id, azure_account_info_object:azure_account_info_object, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"remove_from_app",
"(",
"app_id",
",",
"azure_account_info_object",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"remove_from_app_async",
"(",
"app_id",
",",
"azure_account_info_object",
":azure_account_info_object",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
apps - Removes an assigned LUIS Azure account from an application
Removes assigned Azure account from the application.
@param app_id The application ID.
@param azure_account_info_object [AzureAccountInfoObject] The Azure account
information object.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [OperationStatus] operation results.
|
[
"apps",
"-",
"Removes",
"an",
"assigned",
"LUIS",
"Azure",
"account",
"from",
"an",
"application"
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/azure_accounts.rb#L255-L258
|
14,116
|
Azure/azure-sdk-for-ruby
|
data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/azure_accounts.rb
|
Azure::CognitiveServices::LuisAuthoring::V2_0.AzureAccounts.list_user_luisaccounts
|
def list_user_luisaccounts(custom_headers:nil)
response = list_user_luisaccounts_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def list_user_luisaccounts(custom_headers:nil)
response = list_user_luisaccounts_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"list_user_luisaccounts",
"(",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_user_luisaccounts_async",
"(",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
user - Get LUIS Azure accounts
Gets the LUIS Azure accounts for the user using his ARM token.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array] operation results.
|
[
"user",
"-",
"Get",
"LUIS",
"Azure",
"accounts"
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/azure_accounts.rb#L358-L361
|
14,117
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_iot_hub/lib/2018-04-01/generated/azure_mgmt_iot_hub/iot_hub_resource.rb
|
Azure::IotHub::Mgmt::V2018_04_01.IotHubResource.begin_create_or_update_with_http_info
|
def begin_create_or_update_with_http_info(resource_group_name, resource_name, iot_hub_description, if_match:nil, custom_headers:nil)
begin_create_or_update_async(resource_group_name, resource_name, iot_hub_description, if_match:if_match, custom_headers:custom_headers).value!
end
|
ruby
|
def begin_create_or_update_with_http_info(resource_group_name, resource_name, iot_hub_description, if_match:nil, custom_headers:nil)
begin_create_or_update_async(resource_group_name, resource_name, iot_hub_description, if_match:if_match, custom_headers:custom_headers).value!
end
|
[
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"resource_name",
",",
"iot_hub_description",
",",
"if_match",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"resource_name",
",",
"iot_hub_description",
",",
"if_match",
":if_match",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Create or update the metadata of an IoT hub.
Create or update the metadata of an Iot hub. The usual pattern to modify a
property is to retrieve the IoT hub metadata and security metadata, and then
combine them with the modified values in a new body to update the IoT hub.
@param resource_group_name [String] The name of the resource group that
contains the IoT hub.
@param resource_name [String] The name of the IoT hub.
@param iot_hub_description [IotHubDescription] The IoT hub metadata and
security metadata.
@param if_match [String] ETag of the IoT Hub. Do not specify for creating a
brand new IoT Hub. Required to update an existing IoT Hub.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Create",
"or",
"update",
"the",
"metadata",
"of",
"an",
"IoT",
"hub",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_iot_hub/lib/2018-04-01/generated/azure_mgmt_iot_hub/iot_hub_resource.rb#L2371-L2373
|
14,118
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_iot_hub/lib/2018-04-01/generated/azure_mgmt_iot_hub/iot_hub_resource.rb
|
Azure::IotHub::Mgmt::V2018_04_01.IotHubResource.begin_update_with_http_info
|
def begin_update_with_http_info(resource_group_name, resource_name, iot_hub_tags, custom_headers:nil)
begin_update_async(resource_group_name, resource_name, iot_hub_tags, custom_headers:custom_headers).value!
end
|
ruby
|
def begin_update_with_http_info(resource_group_name, resource_name, iot_hub_tags, custom_headers:nil)
begin_update_async(resource_group_name, resource_name, iot_hub_tags, custom_headers:custom_headers).value!
end
|
[
"def",
"begin_update_with_http_info",
"(",
"resource_group_name",
",",
"resource_name",
",",
"iot_hub_tags",
",",
"custom_headers",
":",
"nil",
")",
"begin_update_async",
"(",
"resource_group_name",
",",
"resource_name",
",",
"iot_hub_tags",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Update an existing IoT Hubs tags.
Update an existing IoT Hub tags. to update other fields use the
CreateOrUpdate method
@param resource_group_name [String] Resource group identifier.
@param resource_name [String] Name of iot hub to update.
@param iot_hub_tags [TagsResource] Updated tag information to set into the
iot hub instance.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Update",
"an",
"existing",
"IoT",
"Hubs",
"tags",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_iot_hub/lib/2018-04-01/generated/azure_mgmt_iot_hub/iot_hub_resource.rb#L2501-L2503
|
14,119
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_container_registry/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/build_steps.rb
|
Azure::ContainerRegistry::Mgmt::V2018_02_01_preview.BuildSteps.list_with_http_info
|
def list_with_http_info(resource_group_name, registry_name, build_task_name, custom_headers:nil)
list_async(resource_group_name, registry_name, build_task_name, custom_headers:custom_headers).value!
end
|
ruby
|
def list_with_http_info(resource_group_name, registry_name, build_task_name, custom_headers:nil)
list_async(resource_group_name, registry_name, build_task_name, custom_headers:custom_headers).value!
end
|
[
"def",
"list_with_http_info",
"(",
"resource_group_name",
",",
"registry_name",
",",
"build_task_name",
",",
"custom_headers",
":",
"nil",
")",
"list_async",
"(",
"resource_group_name",
",",
"registry_name",
",",
"build_task_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
List all the build steps for a given build task.
@param resource_group_name [String] The name of the resource group to which
the container registry belongs.
@param registry_name [String] The name of the container registry.
@param build_task_name [String] The name of the container registry build
task.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"List",
"all",
"the",
"build",
"steps",
"for",
"a",
"given",
"build",
"task",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_container_registry/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/build_steps.rb#L55-L57
|
14,120
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_customer_insights/lib/2017-04-26/generated/azure_mgmt_customer_insights/predictions.rb
|
Azure::CustomerInsights::Mgmt::V2017_04_26.Predictions.get_with_http_info
|
def get_with_http_info(resource_group_name, hub_name, prediction_name, custom_headers:nil)
get_async(resource_group_name, hub_name, prediction_name, custom_headers:custom_headers).value!
end
|
ruby
|
def get_with_http_info(resource_group_name, hub_name, prediction_name, custom_headers:nil)
get_async(resource_group_name, hub_name, prediction_name, custom_headers:custom_headers).value!
end
|
[
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"hub_name",
",",
"prediction_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"hub_name",
",",
"prediction_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Gets a Prediction in the hub.
@param resource_group_name [String] The name of the resource group.
@param hub_name [String] The name of the hub.
@param prediction_name [String] The name of the Prediction.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Gets",
"a",
"Prediction",
"in",
"the",
"hub",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_customer_insights/lib/2017-04-26/generated/azure_mgmt_customer_insights/predictions.rb#L102-L104
|
14,121
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_customer_insights/lib/2017-04-26/generated/azure_mgmt_customer_insights/predictions.rb
|
Azure::CustomerInsights::Mgmt::V2017_04_26.Predictions.begin_create_or_update_with_http_info
|
def begin_create_or_update_with_http_info(resource_group_name, hub_name, prediction_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, hub_name, prediction_name, parameters, custom_headers:custom_headers).value!
end
|
ruby
|
def begin_create_or_update_with_http_info(resource_group_name, hub_name, prediction_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, hub_name, prediction_name, parameters, custom_headers:custom_headers).value!
end
|
[
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"hub_name",
",",
"prediction_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"hub_name",
",",
"prediction_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Creates a Prediction or updates an existing Prediction in the hub.
@param resource_group_name [String] The name of the resource group.
@param hub_name [String] The name of the hub.
@param prediction_name [String] The name of the Prediction.
@param parameters [PredictionResourceFormat] Parameters supplied to the
create/update Prediction operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Creates",
"a",
"Prediction",
"or",
"updates",
"an",
"existing",
"Prediction",
"in",
"the",
"hub",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_customer_insights/lib/2017-04-26/generated/azure_mgmt_customer_insights/predictions.rb#L625-L627
|
14,122
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_customer_insights/lib/2017-04-26/generated/azure_mgmt_customer_insights/predictions.rb
|
Azure::CustomerInsights::Mgmt::V2017_04_26.Predictions.begin_delete_with_http_info
|
def begin_delete_with_http_info(resource_group_name, hub_name, prediction_name, custom_headers:nil)
begin_delete_async(resource_group_name, hub_name, prediction_name, custom_headers:custom_headers).value!
end
|
ruby
|
def begin_delete_with_http_info(resource_group_name, hub_name, prediction_name, custom_headers:nil)
begin_delete_async(resource_group_name, hub_name, prediction_name, custom_headers:custom_headers).value!
end
|
[
"def",
"begin_delete_with_http_info",
"(",
"resource_group_name",
",",
"hub_name",
",",
"prediction_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_delete_async",
"(",
"resource_group_name",
",",
"hub_name",
",",
"prediction_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Deletes a Prediction in the hub.
@param resource_group_name [String] The name of the resource group.
@param hub_name [String] The name of the hub.
@param prediction_name [String] The name of the Prediction.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Deletes",
"a",
"Prediction",
"in",
"the",
"hub",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_customer_insights/lib/2017-04-26/generated/azure_mgmt_customer_insights/predictions.rb#L732-L734
|
14,123
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_api_management/lib/2019-01-01/generated/azure_mgmt_api_management/reports.rb
|
Azure::ApiManagement::Mgmt::V2019_01_01.Reports.list_by_product_as_lazy
|
def list_by_product_as_lazy(resource_group_name, service_name, filter, top:nil, skip:nil, orderby:nil, custom_headers:nil)
response = list_by_product_async(resource_group_name, service_name, filter, top:top, skip:skip, orderby:orderby, custom_headers:custom_headers).value!
unless response.nil?
page = response.body
page.next_method = Proc.new do |next_page_link|
list_by_product_next_async(next_page_link, custom_headers:custom_headers)
end
page
end
end
|
ruby
|
def list_by_product_as_lazy(resource_group_name, service_name, filter, top:nil, skip:nil, orderby:nil, custom_headers:nil)
response = list_by_product_async(resource_group_name, service_name, filter, top:top, skip:skip, orderby:orderby, custom_headers:custom_headers).value!
unless response.nil?
page = response.body
page.next_method = Proc.new do |next_page_link|
list_by_product_next_async(next_page_link, custom_headers:custom_headers)
end
page
end
end
|
[
"def",
"list_by_product_as_lazy",
"(",
"resource_group_name",
",",
"service_name",
",",
"filter",
",",
"top",
":",
"nil",
",",
"skip",
":",
"nil",
",",
"orderby",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_by_product_async",
"(",
"resource_group_name",
",",
"service_name",
",",
"filter",
",",
"top",
":",
"top",
",",
"skip",
":",
"skip",
",",
"orderby",
":",
"orderby",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"unless",
"response",
".",
"nil?",
"page",
"=",
"response",
".",
"body",
"page",
".",
"next_method",
"=",
"Proc",
".",
"new",
"do",
"|",
"next_page_link",
"|",
"list_by_product_next_async",
"(",
"next_page_link",
",",
"custom_headers",
":custom_headers",
")",
"end",
"page",
"end",
"end"
] |
Lists report records by Product.
@param resource_group_name [String] The name of the resource group.
@param service_name [String] The name of the API Management service.
@param filter [String] | Field | Usage | Supported
operators | Supported functions
|</br>|-------------|-------------|-------------|-------------|</br>|
timestamp | filter | ge, le | | </br>| displayName | select, orderBy |
| | </br>| apiRegion | filter | eq | | </br>| userId | filter | eq |
| </br>| productId | select, filter | eq | | </br>| subscriptionId |
filter | eq | | </br>| callCountSuccess | select, orderBy | | |
</br>| callCountBlocked | select, orderBy | | | </br>|
callCountFailed | select, orderBy | | | </br>| callCountOther |
select, orderBy | | | </br>| callCountTotal | select, orderBy | |
| </br>| bandwidth | select, orderBy | | | </br>| cacheHitsCount |
select | | | </br>| cacheMissCount | select | | | </br>|
apiTimeAvg | select, orderBy | | | </br>| apiTimeMin | select | |
| </br>| apiTimeMax | select | | | </br>| serviceTimeAvg | select |
| | </br>| serviceTimeMin | select | | | </br>| serviceTimeMax |
select | | | </br>
@param top [Integer] Number of records to return.
@param skip [Integer] Number of records to skip.
@param orderby [String] OData order by query option.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [ReportCollection] which provide lazy access to pages of the
response.
|
[
"Lists",
"report",
"records",
"by",
"Product",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_api_management/lib/2019-01-01/generated/azure_mgmt_api_management/reports.rb#L1961-L1970
|
14,124
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_serialconsole/lib/2018-05-01/generated/azure_mgmt_serialconsole/list_console.rb
|
Azure::Serialconsole::Mgmt::V2018_05_01.ListConsole.disabled
|
def disabled(custom_headers:nil)
response = disabled_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def disabled(custom_headers:nil)
response = disabled_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"disabled",
"(",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"disabled_async",
"(",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Gets if Serial Console is disabled for a subscription.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [GetDisabledResult] operation results.
|
[
"Gets",
"if",
"Serial",
"Console",
"is",
"disabled",
"for",
"a",
"subscription",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_serialconsole/lib/2018-05-01/generated/azure_mgmt_serialconsole/list_console.rb#L33-L36
|
14,125
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_edgegateway/lib/2019-03-01/generated/azure_mgmt_edgegateway/devices.rb
|
Azure::EdgeGateway::Mgmt::V2019_03_01.Devices.get_update_summary
|
def get_update_summary(device_name, resource_group_name, custom_headers:nil)
response = get_update_summary_async(device_name, resource_group_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def get_update_summary(device_name, resource_group_name, custom_headers:nil)
response = get_update_summary_async(device_name, resource_group_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"get_update_summary",
"(",
"device_name",
",",
"resource_group_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_update_summary_async",
"(",
"device_name",
",",
"resource_group_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Gets information about the availability of updates based on the last scan of
the device. It also gets information about any ongoing download or install
jobs on the device.
@param device_name [String] The device name.
@param resource_group_name [String] The resource group name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [UpdateSummary] operation results.
|
[
"Gets",
"information",
"about",
"the",
"availability",
"of",
"updates",
"based",
"on",
"the",
"last",
"scan",
"of",
"the",
"device",
".",
"It",
"also",
"gets",
"information",
"about",
"any",
"ongoing",
"download",
"or",
"install",
"jobs",
"on",
"the",
"device",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_edgegateway/lib/2019-03-01/generated/azure_mgmt_edgegateway/devices.rb#L841-L844
|
14,126
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_hdinsight/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/extensions.rb
|
Azure::Hdinsight::Mgmt::V2018_06_01_preview.Extensions.get_with_http_info
|
def get_with_http_info(resource_group_name, cluster_name, extension_name, custom_headers:nil)
get_async(resource_group_name, cluster_name, extension_name, custom_headers:custom_headers).value!
end
|
ruby
|
def get_with_http_info(resource_group_name, cluster_name, extension_name, custom_headers:nil)
get_async(resource_group_name, cluster_name, extension_name, custom_headers:custom_headers).value!
end
|
[
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"cluster_name",
",",
"extension_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"cluster_name",
",",
"extension_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Gets the extension properties for the specified HDInsight cluster extension.
@param resource_group_name [String] The name of the resource group.
@param cluster_name [String] The name of the cluster.
@param extension_name [String] The name of the cluster extension.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Gets",
"the",
"extension",
"properties",
"for",
"the",
"specified",
"HDInsight",
"cluster",
"extension",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_hdinsight/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/extensions.rb#L268-L270
|
14,127
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_cognitive_services/lib/2017-04-18/generated/azure_mgmt_cognitive_services/accounts.rb
|
Azure::CognitiveServices::Mgmt::V2017_04_18.Accounts.regenerate_key_with_http_info
|
def regenerate_key_with_http_info(resource_group_name, account_name, key_name, custom_headers:nil)
regenerate_key_async(resource_group_name, account_name, key_name, custom_headers:custom_headers).value!
end
|
ruby
|
def regenerate_key_with_http_info(resource_group_name, account_name, key_name, custom_headers:nil)
regenerate_key_async(resource_group_name, account_name, key_name, custom_headers:custom_headers).value!
end
|
[
"def",
"regenerate_key_with_http_info",
"(",
"resource_group_name",
",",
"account_name",
",",
"key_name",
",",
"custom_headers",
":",
"nil",
")",
"regenerate_key_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"key_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Regenerates the specified account key for the specified Cognitive Services
account.
@param resource_group_name [String] The name of the resource group within the
user's subscription.
@param account_name [String] The name of Cognitive Services account.
@param key_name [KeyName] key name to generate (Key1|Key2). Possible values
include: 'Key1', 'Key2'
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Regenerates",
"the",
"specified",
"account",
"key",
"for",
"the",
"specified",
"Cognitive",
"Services",
"account",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_cognitive_services/lib/2017-04-18/generated/azure_mgmt_cognitive_services/accounts.rb#L778-L780
|
14,128
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_netapp/lib/2017-08-15-preview/generated/azure_mgmt_netapp/accounts.rb
|
Azure::NetApp::Mgmt::V2017_08_15_preview.Accounts.begin_create_or_update_with_http_info
|
def begin_create_or_update_with_http_info(body, resource_group_name, account_name, custom_headers:nil)
begin_create_or_update_async(body, resource_group_name, account_name, custom_headers:custom_headers).value!
end
|
ruby
|
def begin_create_or_update_with_http_info(body, resource_group_name, account_name, custom_headers:nil)
begin_create_or_update_async(body, resource_group_name, account_name, custom_headers:custom_headers).value!
end
|
[
"def",
"begin_create_or_update_with_http_info",
"(",
"body",
",",
"resource_group_name",
",",
"account_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"body",
",",
"resource_group_name",
",",
"account_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Create or update a NetApp account
@param body [NetAppAccount] NetApp Account object supplied in the body of the
operation.
@param resource_group_name [String] The name of the resource group.
@param account_name [String] The name of the NetApp account
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Create",
"or",
"update",
"a",
"NetApp",
"account"
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_netapp/lib/2017-08-15-preview/generated/azure_mgmt_netapp/accounts.rb#L432-L434
|
14,129
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/subnets.rb
|
Azure::Network::Mgmt::V2015_05_01_preview.Subnets.begin_delete_with_http_info
|
def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil)
begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value!
end
|
ruby
|
def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil)
begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value!
end
|
[
"def",
"begin_delete_with_http_info",
"(",
"resource_group_name",
",",
"virtual_network_name",
",",
"subnet_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_delete_async",
"(",
"resource_group_name",
",",
"virtual_network_name",
",",
"subnet_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
The delete subnet operation deletes the specified subnet.
@param resource_group_name [String] The name of the resource group.
@param virtual_network_name [String] The name of the virtual network.
@param subnet_name [String] The name of the subnet.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"The",
"delete",
"subnet",
"operation",
"deletes",
"the",
"specified",
"subnet",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/subnets.rb#L327-L329
|
14,130
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_logic/lib/2015-02-01-preview/generated/azure_mgmt_logic/workflows.rb
|
Azure::Logic::Mgmt::V2015_02_01_preview.Workflows.validate
|
def validate(resource_group_name, workflow_name, workflow, custom_headers:nil)
response = validate_async(resource_group_name, workflow_name, workflow, custom_headers:custom_headers).value!
nil
end
|
ruby
|
def validate(resource_group_name, workflow_name, workflow, custom_headers:nil)
response = validate_async(resource_group_name, workflow_name, workflow, custom_headers:custom_headers).value!
nil
end
|
[
"def",
"validate",
"(",
"resource_group_name",
",",
"workflow_name",
",",
"workflow",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"validate_async",
"(",
"resource_group_name",
",",
"workflow_name",
",",
"workflow",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] |
Validates a workflow.
@param resource_group_name [String] The resource group name.
@param workflow_name [String] The workflow name.
@param workflow [Workflow] The workflow.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
|
[
"Validates",
"a",
"workflow",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_logic/lib/2015-02-01-preview/generated/azure_mgmt_logic/workflows.rb#L813-L816
|
14,131
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_resources/lib/2018-02-01/generated/azure_mgmt_resources/resources.rb
|
Azure::Resources::Mgmt::V2018_02_01.Resources.check_existence_by_id
|
def check_existence_by_id(resource_id, api_version, custom_headers:nil)
response = check_existence_by_id_async(resource_id, api_version, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def check_existence_by_id(resource_id, api_version, custom_headers:nil)
response = check_existence_by_id_async(resource_id, api_version, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"check_existence_by_id",
"(",
"resource_id",
",",
"api_version",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"check_existence_by_id_async",
"(",
"resource_id",
",",
"api_version",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Checks by ID whether a resource exists.
@param resource_id [String] The fully qualified ID of the resource, including
the resource name and resource type. Use the format,
/subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}
@param api_version [String] The API version to use for the operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Boolean] operation results.
|
[
"Checks",
"by",
"ID",
"whether",
"a",
"resource",
"exists",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_resources/lib/2018-02-01/generated/azure_mgmt_resources/resources.rb#L725-L728
|
14,132
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_resources/lib/2018-02-01/generated/azure_mgmt_resources/resources.rb
|
Azure::Resources::Mgmt::V2018_02_01.Resources.get_by_id
|
def get_by_id(resource_id, api_version, custom_headers:nil)
response = get_by_id_async(resource_id, api_version, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def get_by_id(resource_id, api_version, custom_headers:nil)
response = get_by_id_async(resource_id, api_version, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"get_by_id",
"(",
"resource_id",
",",
"api_version",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_by_id_async",
"(",
"resource_id",
",",
"api_version",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Gets a resource by ID.
@param resource_id [String] The fully qualified ID of the resource, including
the resource name and resource type. Use the format,
/subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}
@param api_version [String] The API version to use for the operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [GenericResource] operation results.
|
[
"Gets",
"a",
"resource",
"by",
"ID",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_resources/lib/2018-02-01/generated/azure_mgmt_resources/resources.rb#L950-L953
|
14,133
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_hdinsight/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/clusters.rb
|
Azure::Hdinsight::Mgmt::V2018_06_01_preview.Clusters.update_with_http_info
|
def update_with_http_info(resource_group_name, cluster_name, parameters, custom_headers:nil)
update_async(resource_group_name, cluster_name, parameters, custom_headers:custom_headers).value!
end
|
ruby
|
def update_with_http_info(resource_group_name, cluster_name, parameters, custom_headers:nil)
update_async(resource_group_name, cluster_name, parameters, custom_headers:custom_headers).value!
end
|
[
"def",
"update_with_http_info",
"(",
"resource_group_name",
",",
"cluster_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"update_async",
"(",
"resource_group_name",
",",
"cluster_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Patch HDInsight cluster with the specified parameters.
@param resource_group_name [String] The name of the resource group.
@param cluster_name [String] The name of the cluster.
@param parameters [ClusterPatchParameters] The cluster patch request.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Patch",
"HDInsight",
"cluster",
"with",
"the",
"specified",
"parameters",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_hdinsight/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/clusters.rb#L97-L99
|
14,134
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_hdinsight/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/clusters.rb
|
Azure::Hdinsight::Mgmt::V2018_06_01_preview.Clusters.get_gateway_settings
|
def get_gateway_settings(resource_group_name, cluster_name, custom_headers:nil)
response = get_gateway_settings_async(resource_group_name, cluster_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def get_gateway_settings(resource_group_name, cluster_name, custom_headers:nil)
response = get_gateway_settings_async(resource_group_name, cluster_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"get_gateway_settings",
"(",
"resource_group_name",
",",
"cluster_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_gateway_settings_async",
"(",
"resource_group_name",
",",
"cluster_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Gets the gateway settings for the specified cluster.
@param resource_group_name [String] The name of the resource group.
@param cluster_name [String] The name of the cluster.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [GatewaySettings] operation results.
|
[
"Gets",
"the",
"gateway",
"settings",
"for",
"the",
"specified",
"cluster",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_hdinsight/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/clusters.rb#L569-L572
|
14,135
|
Azure/azure-sdk-for-ruby
|
data/azure_graph_rbac/lib/1.6/generated/azure_graph_rbac/objects.rb
|
Azure::GraphRbac::V1_6.Objects.get_current_user
|
def get_current_user(custom_headers:nil)
response = get_current_user_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def get_current_user(custom_headers:nil)
response = get_current_user_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"get_current_user",
"(",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_current_user_async",
"(",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Gets the details for the currently logged-in user.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [AADObject] operation results.
|
[
"Gets",
"the",
"details",
"for",
"the",
"currently",
"logged",
"-",
"in",
"user",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_graph_rbac/lib/1.6/generated/azure_graph_rbac/objects.rb#L32-L35
|
14,136
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_monitor/lib/2017-05-01-preview/generated/azure_mgmt_monitor/diagnostic_settings_operations.rb
|
Azure::Monitor::Mgmt::V2017_05_01_preview.DiagnosticSettingsOperations.create_or_update_with_http_info
|
def create_or_update_with_http_info(resource_uri, parameters, name, custom_headers:nil)
create_or_update_async(resource_uri, parameters, name, custom_headers:custom_headers).value!
end
|
ruby
|
def create_or_update_with_http_info(resource_uri, parameters, name, custom_headers:nil)
create_or_update_async(resource_uri, parameters, name, custom_headers:custom_headers).value!
end
|
[
"def",
"create_or_update_with_http_info",
"(",
"resource_uri",
",",
"parameters",
",",
"name",
",",
"custom_headers",
":",
"nil",
")",
"create_or_update_async",
"(",
"resource_uri",
",",
"parameters",
",",
"name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Creates or updates diagnostic settings for the specified resource.
@param resource_uri [String] The identifier of the resource.
@param parameters [DiagnosticSettingsResource] Parameters supplied to the
operation.
@param name [String] The name of the diagnostic setting.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Creates",
"or",
"updates",
"diagnostic",
"settings",
"for",
"the",
"specified",
"resource",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_monitor/lib/2017-05-01-preview/generated/azure_mgmt_monitor/diagnostic_settings_operations.rb#L145-L147
|
14,137
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_api_management/lib/2019-01-01/generated/azure_mgmt_api_management/user.rb
|
Azure::ApiManagement::Mgmt::V2019_01_01.User.get_with_http_info
|
def get_with_http_info(resource_group_name, service_name, user_id, custom_headers:nil)
get_async(resource_group_name, service_name, user_id, custom_headers:custom_headers).value!
end
|
ruby
|
def get_with_http_info(resource_group_name, service_name, user_id, custom_headers:nil)
get_async(resource_group_name, service_name, user_id, custom_headers:custom_headers).value!
end
|
[
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"service_name",
",",
"user_id",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"service_name",
",",
"user_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Gets the details of the user specified by its identifier.
@param resource_group_name [String] The name of the resource group.
@param service_name [String] The name of the API Management service.
@param user_id [String] User identifier. Must be unique in the current API
Management service instance.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Gets",
"the",
"details",
"of",
"the",
"user",
"specified",
"by",
"its",
"identifier",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_api_management/lib/2019-01-01/generated/azure_mgmt_api_management/user.rb#L286-L288
|
14,138
|
Azure/azure-sdk-for-ruby
|
data/azure_service_fabric/lib/6.4.0.36/generated/azure_service_fabric/mesh_service_replica.rb
|
Azure::ServiceFabric::V6_4_0_36.MeshServiceReplica.get_with_http_info
|
def get_with_http_info(application_resource_name, service_resource_name, replica_name, custom_headers:nil)
get_async(application_resource_name, service_resource_name, replica_name, custom_headers:custom_headers).value!
end
|
ruby
|
def get_with_http_info(application_resource_name, service_resource_name, replica_name, custom_headers:nil)
get_async(application_resource_name, service_resource_name, replica_name, custom_headers:custom_headers).value!
end
|
[
"def",
"get_with_http_info",
"(",
"application_resource_name",
",",
"service_resource_name",
",",
"replica_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"application_resource_name",
",",
"service_resource_name",
",",
"replica_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Gets the given replica of the service of an application.
Gets the information about the service replica with the given name. The
information include the description and other properties of the service
replica.
@param application_resource_name [String] The identity of the application.
@param service_resource_name [String] The identity of the service.
@param replica_name [String] Service Fabric replica name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Gets",
"the",
"given",
"replica",
"of",
"the",
"service",
"of",
"an",
"application",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_service_fabric/lib/6.4.0.36/generated/azure_service_fabric/mesh_service_replica.rb#L60-L62
|
14,139
|
Azure/azure-sdk-for-ruby
|
data/azure_service_fabric/lib/6.4.0.36/generated/azure_service_fabric/mesh_service_replica.rb
|
Azure::ServiceFabric::V6_4_0_36.MeshServiceReplica.list
|
def list(application_resource_name, service_resource_name, custom_headers:nil)
response = list_async(application_resource_name, service_resource_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def list(application_resource_name, service_resource_name, custom_headers:nil)
response = list_async(application_resource_name, service_resource_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"list",
"(",
"application_resource_name",
",",
"service_resource_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_async",
"(",
"application_resource_name",
",",
"service_resource_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Lists all the replicas of a service.
Gets the information about all replicas of a service. The information include
the description and other properties of the service replica.
@param application_resource_name [String] The identity of the application.
@param service_resource_name [String] The identity of the service.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [PagedServiceReplicaDescriptionList] operation results.
|
[
"Lists",
"all",
"the",
"replicas",
"of",
"a",
"service",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_service_fabric/lib/6.4.0.36/generated/azure_service_fabric/mesh_service_replica.rb#L145-L148
|
14,140
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/availability_sets.rb
|
Azure::Compute::Mgmt::V2018_04_01.AvailabilitySets.create_or_update_with_http_info
|
def create_or_update_with_http_info(resource_group_name, availability_set_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, availability_set_name, parameters, custom_headers:custom_headers).value!
end
|
ruby
|
def create_or_update_with_http_info(resource_group_name, availability_set_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, availability_set_name, parameters, custom_headers:custom_headers).value!
end
|
[
"def",
"create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"availability_set_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"create_or_update_async",
"(",
"resource_group_name",
",",
"availability_set_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Create or update an availability set.
@param resource_group_name [String] The name of the resource group.
@param availability_set_name [String] The name of the availability set.
@param parameters [AvailabilitySet] Parameters supplied to the Create
Availability Set operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Create",
"or",
"update",
"an",
"availability",
"set",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/availability_sets.rb#L53-L55
|
14,141
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/availability_sets.rb
|
Azure::Compute::Mgmt::V2018_04_01.AvailabilitySets.update_with_http_info
|
def update_with_http_info(resource_group_name, availability_set_name, parameters, custom_headers:nil)
update_async(resource_group_name, availability_set_name, parameters, custom_headers:custom_headers).value!
end
|
ruby
|
def update_with_http_info(resource_group_name, availability_set_name, parameters, custom_headers:nil)
update_async(resource_group_name, availability_set_name, parameters, custom_headers:custom_headers).value!
end
|
[
"def",
"update_with_http_info",
"(",
"resource_group_name",
",",
"availability_set_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"update_async",
"(",
"resource_group_name",
",",
"availability_set_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Update an availability set.
@param resource_group_name [String] The name of the resource group.
@param availability_set_name [String] The name of the availability set.
@param parameters [AvailabilitySetUpdate] Parameters supplied to the Update
Availability Set operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Update",
"an",
"availability",
"set",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/availability_sets.rb#L159-L161
|
14,142
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/availability_sets.rb
|
Azure::Compute::Mgmt::V2018_04_01.AvailabilitySets.delete
|
def delete(resource_group_name, availability_set_name, custom_headers:nil)
response = delete_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value!
nil
end
|
ruby
|
def delete(resource_group_name, availability_set_name, custom_headers:nil)
response = delete_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value!
nil
end
|
[
"def",
"delete",
"(",
"resource_group_name",
",",
"availability_set_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_async",
"(",
"resource_group_name",
",",
"availability_set_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] |
Delete an availability set.
@param resource_group_name [String] The name of the resource group.
@param availability_set_name [String] The name of the availability set.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
|
[
"Delete",
"an",
"availability",
"set",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/availability_sets.rb#L245-L248
|
14,143
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_service_fabric/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/application.rb
|
Azure::ServiceFabric::Mgmt::V2017_07_01_preview.Application.patch
|
def patch(subscription_id, resource_group_name, cluster_name, application_name, api_version, parameters, custom_headers:nil)
response = patch_async(subscription_id, resource_group_name, cluster_name, application_name, api_version, parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def patch(subscription_id, resource_group_name, cluster_name, application_name, api_version, parameters, custom_headers:nil)
response = patch_async(subscription_id, resource_group_name, cluster_name, application_name, api_version, parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"patch",
"(",
"subscription_id",
",",
"resource_group_name",
",",
"cluster_name",
",",
"application_name",
",",
"api_version",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"patch_async",
"(",
"subscription_id",
",",
"resource_group_name",
",",
"cluster_name",
",",
"application_name",
",",
"api_version",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Updates an application resource with the specified name.
@param subscription_id [String] The customer subscription identifier
@param resource_group_name [String] The name of the resource group.
@param cluster_name [String] The name of the cluster resource
@param application_name [String] The name of the application resource.
@param api_version [String] The version of the API.
@param parameters [ApplicationResourceUpdate] The application resource for
patch operations.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [ApplicationResourceUpdate] operation results.
|
[
"Updates",
"an",
"application",
"resource",
"with",
"the",
"specified",
"name",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_service_fabric/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/application.rb#L191-L194
|
14,144
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_sql/lib/2017-10-01-preview/generated/azure_mgmt_sql/instance_failover_groups.rb
|
Azure::SQL::Mgmt::V2017_10_01_preview.InstanceFailoverGroups.list_by_location
|
def list_by_location(resource_group_name, location_name, custom_headers:nil)
first_page = list_by_location_as_lazy(resource_group_name, location_name, custom_headers:custom_headers)
first_page.get_all_items
end
|
ruby
|
def list_by_location(resource_group_name, location_name, custom_headers:nil)
first_page = list_by_location_as_lazy(resource_group_name, location_name, custom_headers:custom_headers)
first_page.get_all_items
end
|
[
"def",
"list_by_location",
"(",
"resource_group_name",
",",
"location_name",
",",
"custom_headers",
":",
"nil",
")",
"first_page",
"=",
"list_by_location_as_lazy",
"(",
"resource_group_name",
",",
"location_name",
",",
"custom_headers",
":custom_headers",
")",
"first_page",
".",
"get_all_items",
"end"
] |
Lists the failover groups in a location.
@param resource_group_name [String] The name of the resource group that
contains the resource. You can obtain this value from the Azure Resource
Manager API or the portal.
@param location_name [String] The name of the region where the resource is
located.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array<InstanceFailoverGroup>] operation results.
|
[
"Lists",
"the",
"failover",
"groups",
"in",
"a",
"location",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2017-10-01-preview/generated/azure_mgmt_sql/instance_failover_groups.rb#L243-L246
|
14,145
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_sql/lib/2017-10-01-preview/generated/azure_mgmt_sql/instance_failover_groups.rb
|
Azure::SQL::Mgmt::V2017_10_01_preview.InstanceFailoverGroups.begin_create_or_update_with_http_info
|
def begin_create_or_update_with_http_info(resource_group_name, location_name, failover_group_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, location_name, failover_group_name, parameters, custom_headers:custom_headers).value!
end
|
ruby
|
def begin_create_or_update_with_http_info(resource_group_name, location_name, failover_group_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, location_name, failover_group_name, parameters, custom_headers:custom_headers).value!
end
|
[
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"location_name",
",",
"failover_group_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"location_name",
",",
"failover_group_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Creates or updates a failover group.
@param resource_group_name [String] The name of the resource group that
contains the resource. You can obtain this value from the Azure Resource
Manager API or the portal.
@param location_name [String] The name of the region where the resource is
located.
@param failover_group_name [String] The name of the failover group.
@param parameters [InstanceFailoverGroup] The failover group parameters.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Creates",
"or",
"updates",
"a",
"failover",
"group",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2017-10-01-preview/generated/azure_mgmt_sql/instance_failover_groups.rb#L468-L470
|
14,146
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_event_grid/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/domain_topics.rb
|
Azure::EventGrid::Mgmt::V2019_02_01_preview.DomainTopics.begin_create_or_update_with_http_info
|
def begin_create_or_update_with_http_info(resource_group_name, domain_name, domain_topic_name, custom_headers:nil)
begin_create_or_update_async(resource_group_name, domain_name, domain_topic_name, custom_headers:custom_headers).value!
end
|
ruby
|
def begin_create_or_update_with_http_info(resource_group_name, domain_name, domain_topic_name, custom_headers:nil)
begin_create_or_update_async(resource_group_name, domain_name, domain_topic_name, custom_headers:custom_headers).value!
end
|
[
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"domain_name",
",",
"domain_topic_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"domain_name",
",",
"domain_topic_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Create or update a domain topic
Asynchronously creates or updates a new domain topic with the specified
parameters.
@param resource_group_name [String] The name of the resource group within the
user's subscription.
@param domain_name [String] Name of the domain
@param domain_topic_name [String] Name of the domain topic
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Create",
"or",
"update",
"a",
"domain",
"topic"
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_event_grid/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/domain_topics.rb#L364-L366
|
14,147
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/links.rb
|
Azure::CustomerInsights::Mgmt::V2017_01_01.Links.get_with_http_info
|
def get_with_http_info(resource_group_name, hub_name, link_name, custom_headers:nil)
get_async(resource_group_name, hub_name, link_name, custom_headers:custom_headers).value!
end
|
ruby
|
def get_with_http_info(resource_group_name, hub_name, link_name, custom_headers:nil)
get_async(resource_group_name, hub_name, link_name, custom_headers:custom_headers).value!
end
|
[
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"hub_name",
",",
"link_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"hub_name",
",",
"link_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Gets a link in the hub.
@param resource_group_name [String] The name of the resource group.
@param hub_name [String] The name of the hub.
@param link_name [String] The name of the link.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Gets",
"a",
"link",
"in",
"the",
"hub",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/links.rb#L102-L104
|
14,148
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/links.rb
|
Azure::CustomerInsights::Mgmt::V2017_01_01.Links.begin_create_or_update_with_http_info
|
def begin_create_or_update_with_http_info(resource_group_name, hub_name, link_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, hub_name, link_name, parameters, custom_headers:custom_headers).value!
end
|
ruby
|
def begin_create_or_update_with_http_info(resource_group_name, hub_name, link_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, hub_name, link_name, parameters, custom_headers:custom_headers).value!
end
|
[
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"hub_name",
",",
"link_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"hub_name",
",",
"link_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Creates a link or updates an existing link in the hub.
@param resource_group_name [String] The name of the resource group.
@param hub_name [String] The name of the hub.
@param link_name [String] The name of the link.
@param parameters [LinkResourceFormat] Parameters supplied to the
CreateOrUpdate Link operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Creates",
"a",
"link",
"or",
"updates",
"an",
"existing",
"link",
"in",
"the",
"hub",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/links.rb#L379-L381
|
14,149
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/managed_databases.rb
|
Azure::SQL::Mgmt::V2017_03_01_preview.ManagedDatabases.begin_delete_with_http_info
|
def begin_delete_with_http_info(resource_group_name, managed_instance_name, database_name, custom_headers:nil)
begin_delete_async(resource_group_name, managed_instance_name, database_name, custom_headers:custom_headers).value!
end
|
ruby
|
def begin_delete_with_http_info(resource_group_name, managed_instance_name, database_name, custom_headers:nil)
begin_delete_async(resource_group_name, managed_instance_name, database_name, custom_headers:custom_headers).value!
end
|
[
"def",
"begin_delete_with_http_info",
"(",
"resource_group_name",
",",
"managed_instance_name",
",",
"database_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_delete_async",
"(",
"resource_group_name",
",",
"managed_instance_name",
",",
"database_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Deletes a managed database.
@param resource_group_name [String] The name of the resource group that
contains the resource. You can obtain this value from the Azure Resource
Manager API or the portal.
@param managed_instance_name [String] The name of the managed instance.
@param database_name [String] The name of the database.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Deletes",
"a",
"managed",
"database",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/managed_databases.rb#L673-L675
|
14,150
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/asset_filters.rb
|
Azure::MediaServices::Mgmt::V2018_07_01.AssetFilters.list_with_http_info
|
def list_with_http_info(resource_group_name, account_name, asset_name, custom_headers:nil)
list_async(resource_group_name, account_name, asset_name, custom_headers:custom_headers).value!
end
|
ruby
|
def list_with_http_info(resource_group_name, account_name, asset_name, custom_headers:nil)
list_async(resource_group_name, account_name, asset_name, custom_headers:custom_headers).value!
end
|
[
"def",
"list_with_http_info",
"(",
"resource_group_name",
",",
"account_name",
",",
"asset_name",
",",
"custom_headers",
":",
"nil",
")",
"list_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"asset_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
List Asset Filters
List Asset Filters associated with the specified Asset.
@param resource_group_name [String] The name of the resource group within the
Azure subscription.
@param account_name [String] The Media Services account name.
@param asset_name [String] The Asset name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"List",
"Asset",
"Filters"
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/asset_filters.rb#L57-L59
|
14,151
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_datalake_store/lib/2016-11-01/generated/azure_mgmt_datalake_store/virtual_network_rules.rb
|
Azure::DataLakeStore::Mgmt::V2016_11_01.VirtualNetworkRules.get_with_http_info
|
def get_with_http_info(resource_group_name, account_name, virtual_network_rule_name, custom_headers:nil)
get_async(resource_group_name, account_name, virtual_network_rule_name, custom_headers:custom_headers).value!
end
|
ruby
|
def get_with_http_info(resource_group_name, account_name, virtual_network_rule_name, custom_headers:nil)
get_async(resource_group_name, account_name, virtual_network_rule_name, custom_headers:custom_headers).value!
end
|
[
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"account_name",
",",
"virtual_network_rule_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"virtual_network_rule_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Gets the specified Data Lake Store virtual network rule.
@param resource_group_name [String] The name of the Azure resource group.
@param account_name [String] The name of the Data Lake Store account.
@param virtual_network_rule_name [String] The name of the virtual network
rule to retrieve.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Gets",
"the",
"specified",
"Data",
"Lake",
"Store",
"virtual",
"network",
"rule",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_datalake_store/lib/2016-11-01/generated/azure_mgmt_datalake_store/virtual_network_rules.rb#L267-L269
|
14,152
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_datalake_store/lib/2016-11-01/generated/azure_mgmt_datalake_store/virtual_network_rules.rb
|
Azure::DataLakeStore::Mgmt::V2016_11_01.VirtualNetworkRules.delete_with_http_info
|
def delete_with_http_info(resource_group_name, account_name, virtual_network_rule_name, custom_headers:nil)
delete_async(resource_group_name, account_name, virtual_network_rule_name, custom_headers:custom_headers).value!
end
|
ruby
|
def delete_with_http_info(resource_group_name, account_name, virtual_network_rule_name, custom_headers:nil)
delete_async(resource_group_name, account_name, virtual_network_rule_name, custom_headers:custom_headers).value!
end
|
[
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"account_name",
",",
"virtual_network_rule_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"virtual_network_rule_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Deletes the specified virtual network rule from the specified Data Lake Store
account.
@param resource_group_name [String] The name of the Azure resource group.
@param account_name [String] The name of the Data Lake Store account.
@param virtual_network_rule_name [String] The name of the virtual network
rule to delete.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Deletes",
"the",
"specified",
"virtual",
"network",
"rule",
"from",
"the",
"specified",
"Data",
"Lake",
"Store",
"account",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_datalake_store/lib/2016-11-01/generated/azure_mgmt_datalake_store/virtual_network_rules.rb#L479-L481
|
14,153
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/saved_searches.rb
|
Azure::OperationalInsights::Mgmt::V2015_03_20.SavedSearches.delete_with_http_info
|
def delete_with_http_info(resource_group_name, workspace_name, saved_search_name, custom_headers:nil)
delete_async(resource_group_name, workspace_name, saved_search_name, custom_headers:custom_headers).value!
end
|
ruby
|
def delete_with_http_info(resource_group_name, workspace_name, saved_search_name, custom_headers:nil)
delete_async(resource_group_name, workspace_name, saved_search_name, custom_headers:custom_headers).value!
end
|
[
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"workspace_name",
",",
"saved_search_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"workspace_name",
",",
"saved_search_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Deletes the specified saved search in a given workspace.
@param resource_group_name [String] The name of the resource group to get.
The name is case insensitive.
@param workspace_name [String] Log Analytics workspace name
@param saved_search_name [String] Name of the saved search.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Deletes",
"the",
"specified",
"saved",
"search",
"in",
"a",
"given",
"workspace",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/saved_searches.rb#L52-L54
|
14,154
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/saved_searches.rb
|
Azure::OperationalInsights::Mgmt::V2015_03_20.SavedSearches.get_with_http_info
|
def get_with_http_info(resource_group_name, workspace_name, saved_search_name, custom_headers:nil)
get_async(resource_group_name, workspace_name, saved_search_name, custom_headers:custom_headers).value!
end
|
ruby
|
def get_with_http_info(resource_group_name, workspace_name, saved_search_name, custom_headers:nil)
get_async(resource_group_name, workspace_name, saved_search_name, custom_headers:custom_headers).value!
end
|
[
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"workspace_name",
",",
"saved_search_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"workspace_name",
",",
"saved_search_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Gets the specified saved search for a given workspace.
@param resource_group_name [String] The name of the resource group to get.
The name is case insensitive.
@param workspace_name [String] Log Analytics workspace name
@param saved_search_name [String] The id of the saved search.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Gets",
"the",
"specified",
"saved",
"search",
"for",
"a",
"given",
"workspace",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/saved_searches.rb#L257-L259
|
14,155
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_consumption/lib/2018-06-30/generated/azure_mgmt_consumption/marketplaces.rb
|
Azure::Consumption::Mgmt::V2018_06_30.Marketplaces.list_for_billing_period_by_billing_account_with_http_info
|
def list_for_billing_period_by_billing_account_with_http_info(billing_account_id, billing_period_name, filter:nil, top:nil, skiptoken:nil, custom_headers:nil)
list_for_billing_period_by_billing_account_async(billing_account_id, billing_period_name, filter:filter, top:top, skiptoken:skiptoken, custom_headers:custom_headers).value!
end
|
ruby
|
def list_for_billing_period_by_billing_account_with_http_info(billing_account_id, billing_period_name, filter:nil, top:nil, skiptoken:nil, custom_headers:nil)
list_for_billing_period_by_billing_account_async(billing_account_id, billing_period_name, filter:filter, top:top, skiptoken:skiptoken, custom_headers:custom_headers).value!
end
|
[
"def",
"list_for_billing_period_by_billing_account_with_http_info",
"(",
"billing_account_id",
",",
"billing_period_name",
",",
"filter",
":",
"nil",
",",
"top",
":",
"nil",
",",
"skiptoken",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"list_for_billing_period_by_billing_account_async",
"(",
"billing_account_id",
",",
"billing_period_name",
",",
"filter",
":",
"filter",
",",
"top",
":",
"top",
",",
"skiptoken",
":",
"skiptoken",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Lists the marketplaces for a scope by billing period and billingAccountId.
Marketplaces are available via this API only for May 1, 2014 or later.
@param billing_account_id [String] BillingAccount ID
@param billing_period_name [String] Billing Period Name.
@param filter [String] May be used to filter marketplaces by
properties/usageEnd (Utc time), properties/usageStart (Utc time),
properties/resourceGroup, properties/instanceName or properties/instanceId.
The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not
currently support 'ne', 'or', or 'not'.
@param top [Integer] May be used to limit the number of results to the most
recent N marketplaces.
@param skiptoken [String] Skiptoken is only used if a previous operation
returned a partial result. If a previous response contains a nextLink
element, the value of the nextLink element will include a skiptoken parameter
that specifies a starting point to use for subsequent calls.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Lists",
"the",
"marketplaces",
"for",
"a",
"scope",
"by",
"billing",
"period",
"and",
"billingAccountId",
".",
"Marketplaces",
"are",
"available",
"via",
"this",
"API",
"only",
"for",
"May",
"1",
"2014",
"or",
"later",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_consumption/lib/2018-06-30/generated/azure_mgmt_consumption/marketplaces.rb#L453-L455
|
14,156
|
Azure/azure-sdk-for-ruby
|
runtime/ms_rest/lib/ms_rest/service_client.rb
|
MsRest.ServiceClient.make_request_async
|
def make_request_async(base_url, method, path, options = {})
options = @middlewares.merge(options)
options[:credentials] = options[:credentials] || @credentials
options[:user_agent_extended] = @user_agent_extended
request = MsRest::HttpOperationRequest.new(base_url, path, method, options)
promise = request.run_promise do |req|
options[:credentials].sign_request(req) unless options[:credentials].nil?
end
promise = promise.then do |http_response|
response_content = http_response.body.to_s.empty? ? nil : http_response.body
# Create response
create_response(request, http_response, response_content)
end
promise.execute
end
|
ruby
|
def make_request_async(base_url, method, path, options = {})
options = @middlewares.merge(options)
options[:credentials] = options[:credentials] || @credentials
options[:user_agent_extended] = @user_agent_extended
request = MsRest::HttpOperationRequest.new(base_url, path, method, options)
promise = request.run_promise do |req|
options[:credentials].sign_request(req) unless options[:credentials].nil?
end
promise = promise.then do |http_response|
response_content = http_response.body.to_s.empty? ? nil : http_response.body
# Create response
create_response(request, http_response, response_content)
end
promise.execute
end
|
[
"def",
"make_request_async",
"(",
"base_url",
",",
"method",
",",
"path",
",",
"options",
"=",
"{",
"}",
")",
"options",
"=",
"@middlewares",
".",
"merge",
"(",
"options",
")",
"options",
"[",
":credentials",
"]",
"=",
"options",
"[",
":credentials",
"]",
"||",
"@credentials",
"options",
"[",
":user_agent_extended",
"]",
"=",
"@user_agent_extended",
"request",
"=",
"MsRest",
"::",
"HttpOperationRequest",
".",
"new",
"(",
"base_url",
",",
"path",
",",
"method",
",",
"options",
")",
"promise",
"=",
"request",
".",
"run_promise",
"do",
"|",
"req",
"|",
"options",
"[",
":credentials",
"]",
".",
"sign_request",
"(",
"req",
")",
"unless",
"options",
"[",
":credentials",
"]",
".",
"nil?",
"end",
"promise",
"=",
"promise",
".",
"then",
"do",
"|",
"http_response",
"|",
"response_content",
"=",
"http_response",
".",
"body",
".",
"to_s",
".",
"empty?",
"?",
"nil",
":",
"http_response",
".",
"body",
"# Create response",
"create_response",
"(",
"request",
",",
"http_response",
",",
"response_content",
")",
"end",
"promise",
".",
"execute",
"end"
] |
Creates and initialize new instance of the ServiceClient class.
@param credentials [MsRest::ServiceClientCredentials] credentials to authorize
HTTP requests made by the service client.
@param options additional parameters for the HTTP request (not implemented yet).
@param base_url [String] the base url for the request.
@param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
@param path [String] the path, relative to {base_url}.
@param options [Hash{String=>String}] specifying any request options like :credentials, :body, etc.
@return [Concurrent::Promise] Promise object which holds the HTTP response.
|
[
"Creates",
"and",
"initialize",
"new",
"instance",
"of",
"the",
"ServiceClient",
"class",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/runtime/ms_rest/lib/ms_rest/service_client.rb#L45-L59
|
14,157
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/integration_account_assemblies.rb
|
Azure::Logic::Mgmt::V2016_06_01.IntegrationAccountAssemblies.get_with_http_info
|
def get_with_http_info(resource_group_name, integration_account_name, assembly_artifact_name, custom_headers:nil)
get_async(resource_group_name, integration_account_name, assembly_artifact_name, custom_headers:custom_headers).value!
end
|
ruby
|
def get_with_http_info(resource_group_name, integration_account_name, assembly_artifact_name, custom_headers:nil)
get_async(resource_group_name, integration_account_name, assembly_artifact_name, custom_headers:custom_headers).value!
end
|
[
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"integration_account_name",
",",
"assembly_artifact_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"integration_account_name",
",",
"assembly_artifact_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Get an assembly for an integration account.
@param resource_group_name [String] The resource group name.
@param integration_account_name [String] The integration account name.
@param assembly_artifact_name [String] The assembly artifact name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Get",
"an",
"assembly",
"for",
"an",
"integration",
"account",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/integration_account_assemblies.rb#L143-L145
|
14,158
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/integration_account_assemblies.rb
|
Azure::Logic::Mgmt::V2016_06_01.IntegrationAccountAssemblies.delete_with_http_info
|
def delete_with_http_info(resource_group_name, integration_account_name, assembly_artifact_name, custom_headers:nil)
delete_async(resource_group_name, integration_account_name, assembly_artifact_name, custom_headers:custom_headers).value!
end
|
ruby
|
def delete_with_http_info(resource_group_name, integration_account_name, assembly_artifact_name, custom_headers:nil)
delete_async(resource_group_name, integration_account_name, assembly_artifact_name, custom_headers:custom_headers).value!
end
|
[
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"integration_account_name",
",",
"assembly_artifact_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"integration_account_name",
",",
"assembly_artifact_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Delete an assembly for an integration account.
@param resource_group_name [String] The resource group name.
@param integration_account_name [String] The integration account name.
@param assembly_artifact_name [String] The assembly artifact name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Delete",
"an",
"assembly",
"for",
"an",
"integration",
"account",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/integration_account_assemblies.rb#L355-L357
|
14,159
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/integration_account_assemblies.rb
|
Azure::Logic::Mgmt::V2016_06_01.IntegrationAccountAssemblies.list_content_callback_url_with_http_info
|
def list_content_callback_url_with_http_info(resource_group_name, integration_account_name, assembly_artifact_name, custom_headers:nil)
list_content_callback_url_async(resource_group_name, integration_account_name, assembly_artifact_name, custom_headers:custom_headers).value!
end
|
ruby
|
def list_content_callback_url_with_http_info(resource_group_name, integration_account_name, assembly_artifact_name, custom_headers:nil)
list_content_callback_url_async(resource_group_name, integration_account_name, assembly_artifact_name, custom_headers:custom_headers).value!
end
|
[
"def",
"list_content_callback_url_with_http_info",
"(",
"resource_group_name",
",",
"integration_account_name",
",",
"assembly_artifact_name",
",",
"custom_headers",
":",
"nil",
")",
"list_content_callback_url_async",
"(",
"resource_group_name",
",",
"integration_account_name",
",",
"assembly_artifact_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Get the content callback url for an integration account assembly.
@param resource_group_name [String] The resource group name.
@param integration_account_name [String] The integration account name.
@param assembly_artifact_name [String] The assembly artifact name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Get",
"the",
"content",
"callback",
"url",
"for",
"an",
"integration",
"account",
"assembly",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/integration_account_assemblies.rb#L441-L443
|
14,160
|
Azure/azure-sdk-for-ruby
|
data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/permissions.rb
|
Azure::CognitiveServices::LuisAuthoring::V2_0.Permissions.add
|
def add(app_id, user_to_add, custom_headers:nil)
response = add_async(app_id, user_to_add, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def add(app_id, user_to_add, custom_headers:nil)
response = add_async(app_id, user_to_add, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"add",
"(",
"app_id",
",",
"user_to_add",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"add_async",
"(",
"app_id",
",",
"user_to_add",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Adds a user to the allowed list of users to access this LUIS application.
Users are added using their email address.
@param app_id The application ID.
@param user_to_add [UserCollaborator] A model containing the user's email
address.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [OperationStatus] operation results.
|
[
"Adds",
"a",
"user",
"to",
"the",
"allowed",
"list",
"of",
"users",
"to",
"access",
"this",
"LUIS",
"application",
".",
"Users",
"are",
"added",
"using",
"their",
"email",
"address",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/permissions.rb#L126-L129
|
14,161
|
Azure/azure-sdk-for-ruby
|
data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/permissions.rb
|
Azure::CognitiveServices::LuisAuthoring::V2_0.Permissions.delete
|
def delete(app_id, user_to_delete, custom_headers:nil)
response = delete_async(app_id, user_to_delete, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def delete(app_id, user_to_delete, custom_headers:nil)
response = delete_async(app_id, user_to_delete, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"delete",
"(",
"app_id",
",",
"user_to_delete",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_async",
"(",
"app_id",
",",
"user_to_delete",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Removes a user from the allowed list of users to access this LUIS
application. Users are removed using their email address.
@param app_id The application ID.
@param user_to_delete [UserCollaborator] A model containing the user's email
address.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [OperationStatus] operation results.
|
[
"Removes",
"a",
"user",
"from",
"the",
"allowed",
"list",
"of",
"users",
"to",
"access",
"this",
"LUIS",
"application",
".",
"Users",
"are",
"removed",
"using",
"their",
"email",
"address",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/permissions.rb#L230-L233
|
14,162
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_authorization/lib/2015-07-01/generated/azure_mgmt_authorization/role_assignments.rb
|
Azure::Authorization::Mgmt::V2015_07_01.RoleAssignments.create_by_id
|
def create_by_id(role_assignment_id, parameters, custom_headers:nil)
response = create_by_id_async(role_assignment_id, parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def create_by_id(role_assignment_id, parameters, custom_headers:nil)
response = create_by_id_async(role_assignment_id, parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"create_by_id",
"(",
"role_assignment_id",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"create_by_id_async",
"(",
"role_assignment_id",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Creates a role assignment by ID.
@param role_assignment_id [String] The fully qualified ID of the role
assignment, including the scope, resource name and resource type. Use the
format,
/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}.
Example:
/subscriptions/{subId}/resourcegroups/{rgname}//providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}.
@param parameters [RoleAssignmentCreateParameters] Parameters for the role
assignment.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [RoleAssignment] operation results.
|
[
"Creates",
"a",
"role",
"assignment",
"by",
"ID",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_authorization/lib/2015-07-01/generated/azure_mgmt_authorization/role_assignments.rb#L683-L686
|
14,163
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_monitor/lib/2018-09-01/generated/azure_mgmt_monitor/action_groups.rb
|
Azure::Monitor::Mgmt::V2018_09_01.ActionGroups.delete
|
def delete(resource_group_name, action_group_name, custom_headers:nil)
response = delete_async(resource_group_name, action_group_name, custom_headers:custom_headers).value!
nil
end
|
ruby
|
def delete(resource_group_name, action_group_name, custom_headers:nil)
response = delete_async(resource_group_name, action_group_name, custom_headers:custom_headers).value!
nil
end
|
[
"def",
"delete",
"(",
"resource_group_name",
",",
"action_group_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_async",
"(",
"resource_group_name",
",",
"action_group_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] |
Delete an action group.
@param resource_group_name [String] The name of the resource group.
@param action_group_name [String] The name of the action group.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
|
[
"Delete",
"an",
"action",
"group",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_monitor/lib/2018-09-01/generated/azure_mgmt_monitor/action_groups.rb#L241-L244
|
14,164
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_credentials.rb
|
Azure::SQL::Mgmt::V2017_03_01_preview.JobCredentials.delete_with_http_info
|
def delete_with_http_info(resource_group_name, server_name, job_agent_name, credential_name, custom_headers:nil)
delete_async(resource_group_name, server_name, job_agent_name, credential_name, custom_headers:custom_headers).value!
end
|
ruby
|
def delete_with_http_info(resource_group_name, server_name, job_agent_name, credential_name, custom_headers:nil)
delete_async(resource_group_name, server_name, job_agent_name, credential_name, custom_headers:custom_headers).value!
end
|
[
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"server_name",
",",
"job_agent_name",
",",
"credential_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"job_agent_name",
",",
"credential_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Deletes a job credential.
@param resource_group_name [String] The name of the resource group that
contains the resource. You can obtain this value from the Azure Resource
Manager API or the portal.
@param server_name [String] The name of the server.
@param job_agent_name [String] The name of the job agent.
@param credential_name [String] The name of the credential.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Deletes",
"a",
"job",
"credential",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_credentials.rb#L394-L396
|
14,165
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_step_executions.rb
|
Azure::SQL::Mgmt::V2017_03_01_preview.JobStepExecutions.get_with_http_info
|
def get_with_http_info(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, step_name, custom_headers:nil)
get_async(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, step_name, custom_headers:custom_headers).value!
end
|
ruby
|
def get_with_http_info(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, step_name, custom_headers:nil)
get_async(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, step_name, custom_headers:custom_headers).value!
end
|
[
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"server_name",
",",
"job_agent_name",
",",
"job_name",
",",
"job_execution_id",
",",
"step_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"job_agent_name",
",",
"job_name",
",",
"job_execution_id",
",",
"step_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Gets a step execution of a job execution.
@param resource_group_name [String] The name of the resource group that
contains the resource. You can obtain this value from the Azure Resource
Manager API or the portal.
@param server_name [String] The name of the server.
@param job_agent_name [String] The name of the job agent.
@param job_name [String] The name of the job to get.
@param job_execution_id The unique id of the job execution
@param step_name [String] The name of the step.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Gets",
"a",
"step",
"execution",
"of",
"a",
"job",
"execution",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_step_executions.rb#L210-L212
|
14,166
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_postgresql/lib/2017-12-01/generated/azure_mgmt_postgresql/virtual_network_rules.rb
|
Azure::Postgresql::Mgmt::V2017_12_01.VirtualNetworkRules.get_with_http_info
|
def get_with_http_info(resource_group_name, server_name, virtual_network_rule_name, custom_headers:nil)
get_async(resource_group_name, server_name, virtual_network_rule_name, custom_headers:custom_headers).value!
end
|
ruby
|
def get_with_http_info(resource_group_name, server_name, virtual_network_rule_name, custom_headers:nil)
get_async(resource_group_name, server_name, virtual_network_rule_name, custom_headers:custom_headers).value!
end
|
[
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"server_name",
",",
"virtual_network_rule_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"virtual_network_rule_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Gets a virtual network rule.
@param resource_group_name [String] The name of the resource group that
contains the resource. You can obtain this value from the Azure Resource
Manager API or the portal.
@param server_name [String] The name of the server.
@param virtual_network_rule_name [String] The name of the virtual network
rule.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Gets",
"a",
"virtual",
"network",
"rule",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_postgresql/lib/2017-12-01/generated/azure_mgmt_postgresql/virtual_network_rules.rb#L60-L62
|
14,167
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_postgresql/lib/2017-12-01/generated/azure_mgmt_postgresql/virtual_network_rules.rb
|
Azure::Postgresql::Mgmt::V2017_12_01.VirtualNetworkRules.begin_delete_with_http_info
|
def begin_delete_with_http_info(resource_group_name, server_name, virtual_network_rule_name, custom_headers:nil)
begin_delete_async(resource_group_name, server_name, virtual_network_rule_name, custom_headers:custom_headers).value!
end
|
ruby
|
def begin_delete_with_http_info(resource_group_name, server_name, virtual_network_rule_name, custom_headers:nil)
begin_delete_async(resource_group_name, server_name, virtual_network_rule_name, custom_headers:custom_headers).value!
end
|
[
"def",
"begin_delete_with_http_info",
"(",
"resource_group_name",
",",
"server_name",
",",
"virtual_network_rule_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_delete_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"virtual_network_rule_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Deletes the virtual network rule with the given name.
@param resource_group_name [String] The name of the resource group that
contains the resource. You can obtain this value from the Azure Resource
Manager API or the portal.
@param server_name [String] The name of the server.
@param virtual_network_rule_name [String] The name of the virtual network
rule.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Deletes",
"the",
"virtual",
"network",
"rule",
"with",
"the",
"given",
"name",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_postgresql/lib/2017-12-01/generated/azure_mgmt_postgresql/virtual_network_rules.rb#L491-L493
|
14,168
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/connection_type_operations.rb
|
Azure::Automation::Mgmt::V2015_10_31.ConnectionTypeOperations.get_with_http_info
|
def get_with_http_info(resource_group_name, automation_account_name, connection_type_name, custom_headers:nil)
get_async(resource_group_name, automation_account_name, connection_type_name, custom_headers:custom_headers).value!
end
|
ruby
|
def get_with_http_info(resource_group_name, automation_account_name, connection_type_name, custom_headers:nil)
get_async(resource_group_name, automation_account_name, connection_type_name, custom_headers:custom_headers).value!
end
|
[
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"connection_type_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"connection_type_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Retrieve the connectiontype identified by connectiontype name.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param connection_type_name [String] The name of connectiontype.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Retrieve",
"the",
"connectiontype",
"identified",
"by",
"connectiontype",
"name",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/connection_type_operations.rb#L139-L141
|
14,169
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/connection_type_operations.rb
|
Azure::Automation::Mgmt::V2015_10_31.ConnectionTypeOperations.create_or_update_with_http_info
|
def create_or_update_with_http_info(resource_group_name, automation_account_name, connection_type_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, automation_account_name, connection_type_name, parameters, custom_headers:custom_headers).value!
end
|
ruby
|
def create_or_update_with_http_info(resource_group_name, automation_account_name, connection_type_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, automation_account_name, connection_type_name, parameters, custom_headers:custom_headers).value!
end
|
[
"def",
"create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"connection_type_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"create_or_update_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"connection_type_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Create a connectiontype.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param connection_type_name [String] The parameters supplied to the create or
update connectiontype operation.
@param parameters [ConnectionTypeCreateOrUpdateParameters] The parameters
supplied to the create or update connectiontype operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Create",
"a",
"connectiontype",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/connection_type_operations.rb#L244-L246
|
14,170
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_datalake_analytics/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/compute_policies.rb
|
Azure::DataLakeAnalytics::Mgmt::V2016_11_01.ComputePolicies.create_or_update_with_http_info
|
def create_or_update_with_http_info(resource_group_name, account_name, compute_policy_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, account_name, compute_policy_name, parameters, custom_headers:custom_headers).value!
end
|
ruby
|
def create_or_update_with_http_info(resource_group_name, account_name, compute_policy_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, account_name, compute_policy_name, parameters, custom_headers:custom_headers).value!
end
|
[
"def",
"create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"account_name",
",",
"compute_policy_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"create_or_update_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"compute_policy_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Creates or updates the specified compute policy. During update, the compute
policy with the specified name will be replaced with this new compute policy.
An account supports, at most, 50 policies
@param resource_group_name [String] The name of the Azure resource group.
@param account_name [String] The name of the Data Lake Analytics account.
@param compute_policy_name [String] The name of the compute policy to create
or update.
@param parameters [CreateOrUpdateComputePolicyParameters] Parameters supplied
to create or update the compute policy. The max degree of parallelism per job
property, min priority per job property, or both must be present.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Creates",
"or",
"updates",
"the",
"specified",
"compute",
"policy",
".",
"During",
"update",
"the",
"compute",
"policy",
"with",
"the",
"specified",
"name",
"will",
"be",
"replaced",
"with",
"this",
"new",
"compute",
"policy",
".",
"An",
"account",
"supports",
"at",
"most",
"50",
"policies"
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_datalake_analytics/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/compute_policies.rb#L158-L160
|
14,171
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_datalake_analytics/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/compute_policies.rb
|
Azure::DataLakeAnalytics::Mgmt::V2016_11_01.ComputePolicies.get_with_http_info
|
def get_with_http_info(resource_group_name, account_name, compute_policy_name, custom_headers:nil)
get_async(resource_group_name, account_name, compute_policy_name, custom_headers:custom_headers).value!
end
|
ruby
|
def get_with_http_info(resource_group_name, account_name, compute_policy_name, custom_headers:nil)
get_async(resource_group_name, account_name, compute_policy_name, custom_headers:custom_headers).value!
end
|
[
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"account_name",
",",
"compute_policy_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"compute_policy_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Gets the specified Data Lake Analytics compute policy.
@param resource_group_name [String] The name of the Azure resource group.
@param account_name [String] The name of the Data Lake Analytics account.
@param compute_policy_name [String] The name of the compute policy to
retrieve.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Gets",
"the",
"specified",
"Data",
"Lake",
"Analytics",
"compute",
"policy",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_datalake_analytics/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/compute_policies.rb#L270-L272
|
14,172
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_datalake_analytics/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/compute_policies.rb
|
Azure::DataLakeAnalytics::Mgmt::V2016_11_01.ComputePolicies.delete_with_http_info
|
def delete_with_http_info(resource_group_name, account_name, compute_policy_name, custom_headers:nil)
delete_async(resource_group_name, account_name, compute_policy_name, custom_headers:custom_headers).value!
end
|
ruby
|
def delete_with_http_info(resource_group_name, account_name, compute_policy_name, custom_headers:nil)
delete_async(resource_group_name, account_name, compute_policy_name, custom_headers:custom_headers).value!
end
|
[
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"account_name",
",",
"compute_policy_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"compute_policy_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Deletes the specified compute policy from the specified Data Lake Analytics
account
@param resource_group_name [String] The name of the Azure resource group.
@param account_name [String] The name of the Data Lake Analytics account.
@param compute_policy_name [String] The name of the compute policy to delete.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Deletes",
"the",
"specified",
"compute",
"policy",
"from",
"the",
"specified",
"Data",
"Lake",
"Analytics",
"account"
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_datalake_analytics/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/compute_policies.rb#L477-L479
|
14,173
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/integration_account_batch_configurations.rb
|
Azure::Logic::Mgmt::V2016_06_01.IntegrationAccountBatchConfigurations.get_with_http_info
|
def get_with_http_info(resource_group_name, integration_account_name, batch_configuration_name, custom_headers:nil)
get_async(resource_group_name, integration_account_name, batch_configuration_name, custom_headers:custom_headers).value!
end
|
ruby
|
def get_with_http_info(resource_group_name, integration_account_name, batch_configuration_name, custom_headers:nil)
get_async(resource_group_name, integration_account_name, batch_configuration_name, custom_headers:custom_headers).value!
end
|
[
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"integration_account_name",
",",
"batch_configuration_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"integration_account_name",
",",
"batch_configuration_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Get a batch configuration for an integration account.
@param resource_group_name [String] The resource group name.
@param integration_account_name [String] The integration account name.
@param batch_configuration_name [String] The batch configuration name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Get",
"a",
"batch",
"configuration",
"for",
"an",
"integration",
"account",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/integration_account_batch_configurations.rb#L143-L145
|
14,174
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/integration_account_batch_configurations.rb
|
Azure::Logic::Mgmt::V2016_06_01.IntegrationAccountBatchConfigurations.delete_with_http_info
|
def delete_with_http_info(resource_group_name, integration_account_name, batch_configuration_name, custom_headers:nil)
delete_async(resource_group_name, integration_account_name, batch_configuration_name, custom_headers:custom_headers).value!
end
|
ruby
|
def delete_with_http_info(resource_group_name, integration_account_name, batch_configuration_name, custom_headers:nil)
delete_async(resource_group_name, integration_account_name, batch_configuration_name, custom_headers:custom_headers).value!
end
|
[
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"integration_account_name",
",",
"batch_configuration_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"integration_account_name",
",",
"batch_configuration_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Delete a batch configuration for an integration account.
@param resource_group_name [String] The resource group name.
@param integration_account_name [String] The integration account name.
@param batch_configuration_name [String] The batch configuration name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Delete",
"a",
"batch",
"configuration",
"for",
"an",
"integration",
"account",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/integration_account_batch_configurations.rb#L355-L357
|
14,175
|
Azure/azure-sdk-for-ruby
|
data/azure_service_fabric/lib/6.4.0.36/generated/azure_service_fabric/mesh_application.rb
|
Azure::ServiceFabric::V6_4_0_36.MeshApplication.create_or_update
|
def create_or_update(application_resource_name, application_resource_description, custom_headers:nil)
response = create_or_update_async(application_resource_name, application_resource_description, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def create_or_update(application_resource_name, application_resource_description, custom_headers:nil)
response = create_or_update_async(application_resource_name, application_resource_description, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"create_or_update",
"(",
"application_resource_name",
",",
"application_resource_description",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"create_or_update_async",
"(",
"application_resource_name",
",",
"application_resource_description",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Creates or updates a Application resource.
Creates a Application resource with the specified name, description and
properties. If Application resource with the same name exists, then it is
updated with the specified description and properties.
@param application_resource_name [String] The identity of the application.
@param application_resource_description [ApplicationResourceDescription]
Description for creating a Application resource.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [ApplicationResourceDescription] operation results.
|
[
"Creates",
"or",
"updates",
"a",
"Application",
"resource",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_service_fabric/lib/6.4.0.36/generated/azure_service_fabric/mesh_application.rb#L40-L43
|
14,176
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_relay/lib/2016-07-01/generated/azure_mgmt_relay/wcfrelays.rb
|
Azure::Relay::Mgmt::V2016_07_01.WCFRelays.delete_with_http_info
|
def delete_with_http_info(resource_group_name, namespace_name, relay_name, custom_headers:nil)
delete_async(resource_group_name, namespace_name, relay_name, custom_headers:custom_headers).value!
end
|
ruby
|
def delete_with_http_info(resource_group_name, namespace_name, relay_name, custom_headers:nil)
delete_async(resource_group_name, namespace_name, relay_name, custom_headers:custom_headers).value!
end
|
[
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"relay_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"relay_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Deletes a WCFRelays .
@param resource_group_name [String] Name of the Resource group within the
Azure subscription.
@param namespace_name [String] The Namespace Name
@param relay_name [String] The relay name
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Deletes",
"a",
"WCFRelays",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_relay/lib/2016-07-01/generated/azure_mgmt_relay/wcfrelays.rb#L268-L270
|
14,177
|
Azure/azure-sdk-for-ruby
|
management/azure_mgmt_relay/lib/2016-07-01/generated/azure_mgmt_relay/wcfrelays.rb
|
Azure::Relay::Mgmt::V2016_07_01.WCFRelays.get_with_http_info
|
def get_with_http_info(resource_group_name, namespace_name, relay_name, custom_headers:nil)
get_async(resource_group_name, namespace_name, relay_name, custom_headers:custom_headers).value!
end
|
ruby
|
def get_with_http_info(resource_group_name, namespace_name, relay_name, custom_headers:nil)
get_async(resource_group_name, namespace_name, relay_name, custom_headers:custom_headers).value!
end
|
[
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"relay_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"relay_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Returns the description for the specified WCFRelays.
@param resource_group_name [String] Name of the Resource group within the
Azure subscription.
@param namespace_name [String] The Namespace Name
@param relay_name [String] The relay name
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Returns",
"the",
"description",
"for",
"the",
"specified",
"WCFRelays",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_relay/lib/2016-07-01/generated/azure_mgmt_relay/wcfrelays.rb#L363-L365
|
14,178
|
Azure/azure-sdk-for-ruby
|
data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/settings.rb
|
Azure::CognitiveServices::LuisAuthoring::V2_0.Settings.update_with_http_info
|
def update_with_http_info(app_id, version_id, list_of_app_version_setting_object, custom_headers:nil)
update_async(app_id, version_id, list_of_app_version_setting_object, custom_headers:custom_headers).value!
end
|
ruby
|
def update_with_http_info(app_id, version_id, list_of_app_version_setting_object, custom_headers:nil)
update_async(app_id, version_id, list_of_app_version_setting_object, custom_headers:custom_headers).value!
end
|
[
"def",
"update_with_http_info",
"(",
"app_id",
",",
"version_id",
",",
"list_of_app_version_setting_object",
",",
"custom_headers",
":",
"nil",
")",
"update_async",
"(",
"app_id",
",",
"version_id",
",",
"list_of_app_version_setting_object",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Updates the settings in a version of the application.
@param app_id The application ID.
@param version_id [String] The version ID.
@param list_of_app_version_setting_object [Array<AppVersionSettingObject>] A
list of the updated application version settings.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Updates",
"the",
"settings",
"in",
"a",
"version",
"of",
"the",
"application",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/settings.rb#L160-L162
|
14,179
|
Azure/azure-sdk-for-ruby
|
data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb
|
Azure::CognitiveServices::LuisAuthoring::V2_0.Apps.add
|
def add(application_create_object, custom_headers:nil)
response = add_async(application_create_object, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def add(application_create_object, custom_headers:nil)
response = add_async(application_create_object, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"add",
"(",
"application_create_object",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"add_async",
"(",
"application_create_object",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Creates a new LUIS app.
@param application_create_object [ApplicationCreateObject] An application
containing Name, Description (optional), Culture, Usage Scenario (optional),
Domain (optional) and initial version ID (optional) of the application.
Default value for the version ID is "0.1". Note: the culture cannot be
changed after the app is created.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Uuid] operation results.
|
[
"Creates",
"a",
"new",
"LUIS",
"app",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb#L37-L40
|
14,180
|
Azure/azure-sdk-for-ruby
|
data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb
|
Azure::CognitiveServices::LuisAuthoring::V2_0.Apps.list_with_http_info
|
def list_with_http_info(skip:0, take:100, custom_headers:nil)
list_async(skip:skip, take:take, custom_headers:custom_headers).value!
end
|
ruby
|
def list_with_http_info(skip:0, take:100, custom_headers:nil)
list_async(skip:skip, take:take, custom_headers:custom_headers).value!
end
|
[
"def",
"list_with_http_info",
"(",
"skip",
":",
"0",
",",
"take",
":",
"100",
",",
"custom_headers",
":",
"nil",
")",
"list_async",
"(",
"skip",
":",
"skip",
",",
"take",
":",
"take",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] |
Lists all of the user's applications.
@param skip [Integer] The number of entries to skip. Default value is 0.
@param take [Integer] The number of entries to return. Maximum page size is
500. Default is 100.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information.
|
[
"Lists",
"all",
"of",
"the",
"user",
"s",
"applications",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb#L163-L165
|
14,181
|
Azure/azure-sdk-for-ruby
|
data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb
|
Azure::CognitiveServices::LuisAuthoring::V2_0.Apps.import
|
def import(luis_app, app_name:nil, custom_headers:nil)
response = import_async(luis_app, app_name:app_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def import(luis_app, app_name:nil, custom_headers:nil)
response = import_async(luis_app, app_name:app_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"import",
"(",
"luis_app",
",",
"app_name",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"import_async",
"(",
"luis_app",
",",
"app_name",
":app_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Imports an application to LUIS, the application's structure is included in
the request body.
@param luis_app [LuisApp] A LUIS application structure.
@param app_name [String] The application name to create. If not specified,
the application name will be read from the imported object. If the
application name already exists, an error is returned.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Uuid] operation results.
|
[
"Imports",
"an",
"application",
"to",
"LUIS",
"the",
"application",
"s",
"structure",
"is",
"included",
"in",
"the",
"request",
"body",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb#L260-L263
|
14,182
|
Azure/azure-sdk-for-ruby
|
data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb
|
Azure::CognitiveServices::LuisAuthoring::V2_0.Apps.list_cortana_endpoints
|
def list_cortana_endpoints(custom_headers:nil)
response = list_cortana_endpoints_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def list_cortana_endpoints(custom_headers:nil)
response = list_cortana_endpoints_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"list_cortana_endpoints",
"(",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_cortana_endpoints_async",
"(",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Gets the endpoint URLs for the prebuilt Cortana applications.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [PersonalAssistantsResponse] operation results.
|
[
"Gets",
"the",
"endpoint",
"URLs",
"for",
"the",
"prebuilt",
"Cortana",
"applications",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb#L368-L371
|
14,183
|
Azure/azure-sdk-for-ruby
|
data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb
|
Azure::CognitiveServices::LuisAuthoring::V2_0.Apps.list_domains
|
def list_domains(custom_headers:nil)
response = list_domains_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def list_domains(custom_headers:nil)
response = list_domains_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"list_domains",
"(",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_domains_async",
"(",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Gets the available application domains.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array] operation results.
|
[
"Gets",
"the",
"available",
"application",
"domains",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb#L450-L453
|
14,184
|
Azure/azure-sdk-for-ruby
|
data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb
|
Azure::CognitiveServices::LuisAuthoring::V2_0.Apps.list_usage_scenarios
|
def list_usage_scenarios(custom_headers:nil)
response = list_usage_scenarios_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def list_usage_scenarios(custom_headers:nil)
response = list_usage_scenarios_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"list_usage_scenarios",
"(",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_usage_scenarios_async",
"(",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Gets the application available usage scenarios.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array] operation results.
|
[
"Gets",
"the",
"application",
"available",
"usage",
"scenarios",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb#L547-L550
|
14,185
|
Azure/azure-sdk-for-ruby
|
data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb
|
Azure::CognitiveServices::LuisAuthoring::V2_0.Apps.list_supported_cultures
|
def list_supported_cultures(custom_headers:nil)
response = list_supported_cultures_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def list_supported_cultures(custom_headers:nil)
response = list_supported_cultures_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"list_supported_cultures",
"(",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_supported_cultures_async",
"(",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Gets a list of supported cultures. Cultures are equivalent to the written
language and locale. For example,"en-us" represents the U.S. variation of
English.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array] operation results.
|
[
"Gets",
"a",
"list",
"of",
"supported",
"cultures",
".",
"Cultures",
"are",
"equivalent",
"to",
"the",
"written",
"language",
"and",
"locale",
".",
"For",
"example",
"en",
"-",
"us",
"represents",
"the",
"U",
".",
"S",
".",
"variation",
"of",
"English",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb#L646-L649
|
14,186
|
Azure/azure-sdk-for-ruby
|
data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb
|
Azure::CognitiveServices::LuisAuthoring::V2_0.Apps.download_query_logs
|
def download_query_logs(app_id, custom_headers:nil)
response = download_query_logs_async(app_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def download_query_logs(app_id, custom_headers:nil)
response = download_query_logs_async(app_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"download_query_logs",
"(",
"app_id",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"download_query_logs_async",
"(",
"app_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Gets the logs of the past month's endpoint queries for the application.
@param app_id The application ID.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [NOT_IMPLEMENTED] operation results.
|
[
"Gets",
"the",
"logs",
"of",
"the",
"past",
"month",
"s",
"endpoint",
"queries",
"for",
"the",
"application",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb#L749-L752
|
14,187
|
Azure/azure-sdk-for-ruby
|
data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb
|
Azure::CognitiveServices::LuisAuthoring::V2_0.Apps.update
|
def update(app_id, application_update_object, custom_headers:nil)
response = update_async(app_id, application_update_object, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def update(app_id, application_update_object, custom_headers:nil)
response = update_async(app_id, application_update_object, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"update",
"(",
"app_id",
",",
"application_update_object",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"update_async",
"(",
"app_id",
",",
"application_update_object",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Updates the name or description of the application.
@param app_id The application ID.
@param application_update_object [ApplicationUpdateObject] A model containing
Name and Description of the application.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [OperationStatus] operation results.
|
[
"Updates",
"the",
"name",
"or",
"description",
"of",
"the",
"application",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb#L932-L935
|
14,188
|
Azure/azure-sdk-for-ruby
|
data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb
|
Azure::CognitiveServices::LuisAuthoring::V2_0.Apps.publish
|
def publish(app_id, application_publish_object, custom_headers:nil)
response = publish_async(app_id, application_publish_object, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def publish(app_id, application_publish_object, custom_headers:nil)
response = publish_async(app_id, application_publish_object, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"publish",
"(",
"app_id",
",",
"application_publish_object",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"publish_async",
"(",
"app_id",
",",
"application_publish_object",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Publishes a specific version of the application.
@param app_id The application ID.
@param application_publish_object [ApplicationPublishObject] The application
publish object. The region is the target region that the application is
published to.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [ProductionOrStagingEndpointInfo] operation results.
|
[
"Publishes",
"a",
"specific",
"version",
"of",
"the",
"application",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb#L1125-L1128
|
14,189
|
Azure/azure-sdk-for-ruby
|
data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb
|
Azure::CognitiveServices::LuisAuthoring::V2_0.Apps.get_settings
|
def get_settings(app_id, custom_headers:nil)
response = get_settings_async(app_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def get_settings(app_id, custom_headers:nil)
response = get_settings_async(app_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"get_settings",
"(",
"app_id",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_settings_async",
"(",
"app_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Get the application settings including 'UseAllTrainingData'.
@param app_id The application ID.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [ApplicationSettings] operation results.
|
[
"Get",
"the",
"application",
"settings",
"including",
"UseAllTrainingData",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb#L1236-L1239
|
14,190
|
Azure/azure-sdk-for-ruby
|
data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb
|
Azure::CognitiveServices::LuisAuthoring::V2_0.Apps.update_settings
|
def update_settings(app_id, application_setting_update_object, custom_headers:nil)
response = update_settings_async(app_id, application_setting_update_object, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def update_settings(app_id, application_setting_update_object, custom_headers:nil)
response = update_settings_async(app_id, application_setting_update_object, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"update_settings",
"(",
"app_id",
",",
"application_setting_update_object",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"update_settings_async",
"(",
"app_id",
",",
"application_setting_update_object",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Updates the application settings including 'UseAllTrainingData'.
@param app_id The application ID.
@param application_setting_update_object [ApplicationSettingUpdateObject] An
object containing the new application settings.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [OperationStatus] operation results.
|
[
"Updates",
"the",
"application",
"settings",
"including",
"UseAllTrainingData",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb#L1325-L1328
|
14,191
|
Azure/azure-sdk-for-ruby
|
data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb
|
Azure::CognitiveServices::LuisAuthoring::V2_0.Apps.get_publish_settings
|
def get_publish_settings(app_id, custom_headers:nil)
response = get_publish_settings_async(app_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def get_publish_settings(app_id, custom_headers:nil)
response = get_publish_settings_async(app_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"get_publish_settings",
"(",
"app_id",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_publish_settings_async",
"(",
"app_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Get the application publish settings including 'UseAllTrainingData'.
@param app_id The application ID.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [PublishSettings] operation results.
|
[
"Get",
"the",
"application",
"publish",
"settings",
"including",
"UseAllTrainingData",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb#L1424-L1427
|
14,192
|
Azure/azure-sdk-for-ruby
|
data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb
|
Azure::CognitiveServices::LuisAuthoring::V2_0.Apps.update_publish_settings
|
def update_publish_settings(app_id, publish_setting_update_object, custom_headers:nil)
response = update_publish_settings_async(app_id, publish_setting_update_object, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def update_publish_settings(app_id, publish_setting_update_object, custom_headers:nil)
response = update_publish_settings_async(app_id, publish_setting_update_object, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"update_publish_settings",
"(",
"app_id",
",",
"publish_setting_update_object",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"update_publish_settings_async",
"(",
"app_id",
",",
"publish_setting_update_object",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Updates the application publish settings including 'UseAllTrainingData'.
@param app_id The application ID.
@param publish_setting_update_object [PublishSettingUpdateObject] An object
containing the new publish application settings.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [OperationStatus] operation results.
|
[
"Updates",
"the",
"application",
"publish",
"settings",
"including",
"UseAllTrainingData",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb#L1513-L1516
|
14,193
|
Azure/azure-sdk-for-ruby
|
data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb
|
Azure::CognitiveServices::LuisAuthoring::V2_0.Apps.list_endpoints
|
def list_endpoints(app_id, custom_headers:nil)
response = list_endpoints_async(app_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def list_endpoints(app_id, custom_headers:nil)
response = list_endpoints_async(app_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"list_endpoints",
"(",
"app_id",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_endpoints_async",
"(",
"app_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Returns the available endpoint deployment regions and URLs.
@param app_id The application ID.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Hash] operation results.
|
[
"Returns",
"the",
"available",
"endpoint",
"deployment",
"regions",
"and",
"URLs",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb#L1612-L1615
|
14,194
|
Azure/azure-sdk-for-ruby
|
data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb
|
Azure::CognitiveServices::LuisAuthoring::V2_0.Apps.list_available_custom_prebuilt_domains
|
def list_available_custom_prebuilt_domains(custom_headers:nil)
response = list_available_custom_prebuilt_domains_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def list_available_custom_prebuilt_domains(custom_headers:nil)
response = list_available_custom_prebuilt_domains_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"list_available_custom_prebuilt_domains",
"(",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_available_custom_prebuilt_domains_async",
"(",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Gets all the available custom prebuilt domains for all cultures.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array] operation results.
|
[
"Gets",
"all",
"the",
"available",
"custom",
"prebuilt",
"domains",
"for",
"all",
"cultures",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb#L1713-L1716
|
14,195
|
Azure/azure-sdk-for-ruby
|
data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb
|
Azure::CognitiveServices::LuisAuthoring::V2_0.Apps.add_custom_prebuilt_domain
|
def add_custom_prebuilt_domain(prebuilt_domain_create_object, custom_headers:nil)
response = add_custom_prebuilt_domain_async(prebuilt_domain_create_object, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def add_custom_prebuilt_domain(prebuilt_domain_create_object, custom_headers:nil)
response = add_custom_prebuilt_domain_async(prebuilt_domain_create_object, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"add_custom_prebuilt_domain",
"(",
"prebuilt_domain_create_object",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"add_custom_prebuilt_domain_async",
"(",
"prebuilt_domain_create_object",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Adds a prebuilt domain along with its intent and entity models as a new
application.
@param prebuilt_domain_create_object [PrebuiltDomainCreateObject] A prebuilt
domain create object containing the name and culture of the domain.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Uuid] operation results.
|
[
"Adds",
"a",
"prebuilt",
"domain",
"along",
"with",
"its",
"intent",
"and",
"entity",
"models",
"as",
"a",
"new",
"application",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb#L1814-L1817
|
14,196
|
Azure/azure-sdk-for-ruby
|
data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb
|
Azure::CognitiveServices::LuisAuthoring::V2_0.Apps.list_available_custom_prebuilt_domains_for_culture
|
def list_available_custom_prebuilt_domains_for_culture(culture, custom_headers:nil)
response = list_available_custom_prebuilt_domains_for_culture_async(culture, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def list_available_custom_prebuilt_domains_for_culture(culture, custom_headers:nil)
response = list_available_custom_prebuilt_domains_for_culture_async(culture, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"list_available_custom_prebuilt_domains_for_culture",
"(",
"culture",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_available_custom_prebuilt_domains_for_culture_async",
"(",
"culture",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Gets all the available prebuilt domains for a specific culture.
@param culture [String] Culture.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array] operation results.
|
[
"Gets",
"all",
"the",
"available",
"prebuilt",
"domains",
"for",
"a",
"specific",
"culture",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb#L1918-L1921
|
14,197
|
Azure/azure-sdk-for-ruby
|
data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb
|
Azure::CognitiveServices::LuisAuthoring::V2_0.Apps.package_published_application_as_gzip
|
def package_published_application_as_gzip(app_id, slot_name, custom_headers:nil)
response = package_published_application_as_gzip_async(app_id, slot_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def package_published_application_as_gzip(app_id, slot_name, custom_headers:nil)
response = package_published_application_as_gzip_async(app_id, slot_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"package_published_application_as_gzip",
"(",
"app_id",
",",
"slot_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"package_published_application_as_gzip_async",
"(",
"app_id",
",",
"slot_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
package - Gets published LUIS application package in binary stream GZip
format
Packages a published LUIS application as a GZip file to be used in the LUIS
container.
@param app_id The application ID.
@param slot_name [String] The publishing slot name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [NOT_IMPLEMENTED] operation results.
|
[
"package",
"-",
"Gets",
"published",
"LUIS",
"application",
"package",
"in",
"binary",
"stream",
"GZip",
"format"
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb#L2026-L2029
|
14,198
|
Azure/azure-sdk-for-ruby
|
data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb
|
Azure::CognitiveServices::LuisAuthoring::V2_0.Apps.package_trained_application_as_gzip
|
def package_trained_application_as_gzip(app_id, version_id, custom_headers:nil)
response = package_trained_application_as_gzip_async(app_id, version_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def package_trained_application_as_gzip(app_id, version_id, custom_headers:nil)
response = package_trained_application_as_gzip_async(app_id, version_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"package_trained_application_as_gzip",
"(",
"app_id",
",",
"version_id",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"package_trained_application_as_gzip_async",
"(",
"app_id",
",",
"version_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
package - Gets trained LUIS application package in binary stream GZip format
Packages trained LUIS application as GZip file to be used in the LUIS
container.
@param app_id The application ID.
@param version_id [String] The version ID.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [NOT_IMPLEMENTED] operation results.
|
[
"package",
"-",
"Gets",
"trained",
"LUIS",
"application",
"package",
"in",
"binary",
"stream",
"GZip",
"format"
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/apps.rb#L2135-L2138
|
14,199
|
Azure/azure-sdk-for-ruby
|
data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/list_management_image_lists.rb
|
Azure::CognitiveServices::ContentModerator::V1_0.ListManagementImageLists.get_all_image_lists
|
def get_all_image_lists(custom_headers:nil)
response = get_all_image_lists_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
ruby
|
def get_all_image_lists(custom_headers:nil)
response = get_all_image_lists_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end
|
[
"def",
"get_all_image_lists",
"(",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_all_image_lists_async",
"(",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] |
Gets all the Image Lists.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array] operation results.
|
[
"Gets",
"all",
"the",
"Image",
"Lists",
"."
] |
78eedacf8f8cbd65c2d8a2af421405eaa4373d8e
|
https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/list_management_image_lists.rb#L424-L427
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.