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
sequence | docstring
stringlengths 8
16k
| docstring_tokens
sequence | sha
stringlengths 40
40
| url
stringlengths 94
266
| partition
stringclasses 1
value |
---|---|---|---|---|---|---|---|---|---|---|---|
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 | train |
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 | train |
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 | train |
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 | train |
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 | train |
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 | train |
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 | train |
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 | train |
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 | train |
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 | train |
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 | train |
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 | train |
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 | train |
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 | train |
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 | train |
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 | train |
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 | train |
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 | train |
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 | train |
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 | train |
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 | train |
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 | train |
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 | train |
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 | train |
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 | train |
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 | train |
Azure/azure-sdk-for-ruby | runtime/ms_rest_azure/lib/ms_rest_azure/common/configurable.rb | MsRestAzure::Common.Configurable.setup_default_options | def setup_default_options
opts = {}
MsRestAzure::Common::Configurable.keys.map do |key|
opts[key] = MsRestAzure::Common::Default.options[key]
end
opts
end | ruby | def setup_default_options
opts = {}
MsRestAzure::Common::Configurable.keys.map do |key|
opts[key] = MsRestAzure::Common::Default.options[key]
end
opts
end | [
"def",
"setup_default_options",
"opts",
"=",
"{",
"}",
"MsRestAzure",
"::",
"Common",
"::",
"Configurable",
".",
"keys",
".",
"map",
"do",
"|",
"key",
"|",
"opts",
"[",
"key",
"]",
"=",
"MsRestAzure",
"::",
"Common",
"::",
"Default",
".",
"options",
"[",
"key",
"]",
"end",
"opts",
"end"
] | configures configurable options to default values | [
"configures",
"configurable",
"options",
"to",
"default",
"values"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/runtime/ms_rest_azure/lib/ms_rest_azure/common/configurable.rb#L80-L87 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_dev_spaces/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/controllers.rb | Azure::DevSpaces::Mgmt::V2018_06_01_preview.Controllers.update_with_http_info | def update_with_http_info(resource_group_name, name, controller_update_parameters, custom_headers:nil)
update_async(resource_group_name, name, controller_update_parameters, custom_headers:custom_headers).value!
end | ruby | def update_with_http_info(resource_group_name, name, controller_update_parameters, custom_headers:nil)
update_async(resource_group_name, name, controller_update_parameters, custom_headers:custom_headers).value!
end | [
"def",
"update_with_http_info",
"(",
"resource_group_name",
",",
"name",
",",
"controller_update_parameters",
",",
"custom_headers",
":",
"nil",
")",
"update_async",
"(",
"resource_group_name",
",",
"name",
",",
"controller_update_parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Updates an Azure Dev Spaces Controller.
Updates the properties of an existing Azure Dev Spaces Controller with the
specified update parameters.
@param resource_group_name [String] Resource group to which the resource
belongs.
@param name [String] Name of the resource.
@param controller_update_parameters [ControllerUpdateParameters]
@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",
"an",
"Azure",
"Dev",
"Spaces",
"Controller",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_dev_spaces/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/controllers.rb#L255-L257 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_dev_spaces/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/controllers.rb | Azure::DevSpaces::Mgmt::V2018_06_01_preview.Controllers.list_connection_details | def list_connection_details(resource_group_name, name, custom_headers:nil)
response = list_connection_details_async(resource_group_name, name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_connection_details(resource_group_name, name, custom_headers:nil)
response = list_connection_details_async(resource_group_name, name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_connection_details",
"(",
"resource_group_name",
",",
"name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_connection_details_async",
"(",
"resource_group_name",
",",
"name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Lists connection details for an Azure Dev Spaces Controller.
Lists connection details for the underlying container resources of an Azure
Dev Spaces Controller.
@param resource_group_name [String] Resource group to which the resource
belongs.
@param name [String] Name of the resource.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [ControllerConnectionDetailsList] operation results. | [
"Lists",
"connection",
"details",
"for",
"an",
"Azure",
"Dev",
"Spaces",
"Controller",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_dev_spaces/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/controllers.rb#L549-L552 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_dev_spaces/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/controllers.rb | Azure::DevSpaces::Mgmt::V2018_06_01_preview.Controllers.begin_create_with_http_info | def begin_create_with_http_info(resource_group_name, name, controller, custom_headers:nil)
begin_create_async(resource_group_name, name, controller, custom_headers:custom_headers).value!
end | ruby | def begin_create_with_http_info(resource_group_name, name, controller, custom_headers:nil)
begin_create_async(resource_group_name, name, controller, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_with_http_info",
"(",
"resource_group_name",
",",
"name",
",",
"controller",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_async",
"(",
"resource_group_name",
",",
"name",
",",
"controller",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates an Azure Dev Spaces Controller.
Creates an Azure Dev Spaces Controller with the specified create parameters.
@param resource_group_name [String] Resource group to which the resource
belongs.
@param name [String] Name of the resource.
@param controller [Controller] Controller create 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",
"an",
"Azure",
"Dev",
"Spaces",
"Controller",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_dev_spaces/lib/2018-06-01-preview/generated/azure_mgmt_dev_spaces/controllers.rb#L677-L679 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/workflow_run_action_request_histories.rb | Azure::Logic::Mgmt::V2016_06_01.WorkflowRunActionRequestHistories.list | def list(resource_group_name, workflow_name, run_name, action_name, custom_headers:nil)
first_page = list_as_lazy(resource_group_name, workflow_name, run_name, action_name, custom_headers:custom_headers)
first_page.get_all_items
end | ruby | def list(resource_group_name, workflow_name, run_name, action_name, custom_headers:nil)
first_page = list_as_lazy(resource_group_name, workflow_name, run_name, action_name, custom_headers:custom_headers)
first_page.get_all_items
end | [
"def",
"list",
"(",
"resource_group_name",
",",
"workflow_name",
",",
"run_name",
",",
"action_name",
",",
"custom_headers",
":",
"nil",
")",
"first_page",
"=",
"list_as_lazy",
"(",
"resource_group_name",
",",
"workflow_name",
",",
"run_name",
",",
"action_name",
",",
"custom_headers",
":custom_headers",
")",
"first_page",
".",
"get_all_items",
"end"
] | List a workflow run request history.
@param resource_group_name [String] The resource group name.
@param workflow_name [String] The workflow name.
@param run_name [String] The workflow run name.
@param action_name [String] The workflow action name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array<RequestHistory>] operation results. | [
"List",
"a",
"workflow",
"run",
"request",
"history",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/workflow_run_action_request_histories.rb#L36-L39 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_kusto/lib/2019-01-21/generated/azure_mgmt_kusto/data_connections.rb | Azure::Kusto::Mgmt::V2019_01_21.DataConnections.begin_delete | def begin_delete(resource_group_name, cluster_name, database_name, data_connection_name, custom_headers:nil)
response = begin_delete_async(resource_group_name, cluster_name, database_name, data_connection_name, custom_headers:custom_headers).value!
nil
end | ruby | def begin_delete(resource_group_name, cluster_name, database_name, data_connection_name, custom_headers:nil)
response = begin_delete_async(resource_group_name, cluster_name, database_name, data_connection_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"begin_delete",
"(",
"resource_group_name",
",",
"cluster_name",
",",
"database_name",
",",
"data_connection_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"begin_delete_async",
"(",
"resource_group_name",
",",
"cluster_name",
",",
"database_name",
",",
"data_connection_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Deletes the data connection with the given name.
@param resource_group_name [String] The name of the resource group containing
the Kusto cluster.
@param cluster_name [String] The name of the Kusto cluster.
@param database_name [String] The name of the database in the Kusto cluster.
@param data_connection_name [String] The name of the data connection.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Deletes",
"the",
"data",
"connection",
"with",
"the",
"given",
"name",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_kusto/lib/2019-01-21/generated/azure_mgmt_kusto/data_connections.rb#L755-L758 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_recovery_services_site_recovery/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/replication_protected_items.rb | Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10.ReplicationProtectedItems.get_with_http_info | def get_with_http_info(fabric_name, protection_container_name, replicated_protected_item_name, custom_headers:nil)
get_async(fabric_name, protection_container_name, replicated_protected_item_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(fabric_name, protection_container_name, replicated_protected_item_name, custom_headers:nil)
get_async(fabric_name, protection_container_name, replicated_protected_item_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"fabric_name",
",",
"protection_container_name",
",",
"replicated_protected_item_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"fabric_name",
",",
"protection_container_name",
",",
"replicated_protected_item_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the details of a Replication protected item.
Gets the details of an ASR replication protected item.
@param fabric_name [String] Fabric unique name.
@param protection_container_name [String] Protection container name.
@param replicated_protected_item_name [String] Replication protected item
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",
"details",
"of",
"a",
"Replication",
"protected",
"item",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_recovery_services_site_recovery/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/replication_protected_items.rb#L157-L159 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_recovery_services_site_recovery/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/replication_protected_items.rb | Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10.ReplicationProtectedItems.list_with_http_info | def list_with_http_info(skip_token:nil, filter:nil, custom_headers:nil)
list_async(skip_token:skip_token, filter:filter, custom_headers:custom_headers).value!
end | ruby | def list_with_http_info(skip_token:nil, filter:nil, custom_headers:nil)
list_async(skip_token:skip_token, filter:filter, custom_headers:custom_headers).value!
end | [
"def",
"list_with_http_info",
"(",
"skip_token",
":",
"nil",
",",
"filter",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"list_async",
"(",
"skip_token",
":skip_token",
",",
"filter",
":",
"filter",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the list of replication protected items.
Gets the list of ASR replication protected items in the vault.
@param skip_token [String] The pagination token. Possible values: "FabricId"
or "FabricId_CloudId" or null
@param filter [String] OData filter options.
@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",
"list",
"of",
"replication",
"protected",
"items",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_recovery_services_site_recovery/lib/2018-01-10/generated/azure_mgmt_recovery_services_site_recovery/replication_protected_items.rb#L920-L922 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_storagesync/lib/2018-07-01/generated/azure_mgmt_storagesync/sync_groups.rb | Azure::StorageSync::Mgmt::V2018_07_01.SyncGroups.delete_with_http_info | def delete_with_http_info(resource_group_name, storage_sync_service_name, sync_group_name, custom_headers:nil)
delete_async(resource_group_name, storage_sync_service_name, sync_group_name, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, storage_sync_service_name, sync_group_name, custom_headers:nil)
delete_async(resource_group_name, storage_sync_service_name, sync_group_name, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"storage_sync_service_name",
",",
"sync_group_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"storage_sync_service_name",
",",
"sync_group_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Delete a given SyncGroup.
@param resource_group_name [String] The name of the resource group. The name
is case insensitive.
@param storage_sync_service_name [String] Name of Storage Sync Service
resource.
@param sync_group_name [String] Name of Sync Group resource.
@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",
"given",
"SyncGroup",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_storagesync/lib/2018-07-01/generated/azure_mgmt_storagesync/sync_groups.rb#L382-L384 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_recovery_services_backup/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/backup_status.rb | Azure::RecoveryServicesBackup::Mgmt::V2017_07_01.BackupStatus.get | def get(azure_region, parameters, custom_headers:nil)
response = get_async(azure_region, parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get(azure_region, parameters, custom_headers:nil)
response = get_async(azure_region, parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get",
"(",
"azure_region",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_async",
"(",
"azure_region",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Get the container backup status
@param azure_region [String] Azure region to hit Api
@param parameters [BackupStatusRequest] Container Backup Status Request
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [BackupStatusResponse] operation results. | [
"Get",
"the",
"container",
"backup",
"status"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_recovery_services_backup/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/backup_status.rb#L38-L41 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_event_hub/lib/2017-04-01/generated/azure_mgmt_event_hub/disaster_recovery_configs.rb | Azure::EventHub::Mgmt::V2017_04_01.DisasterRecoveryConfigs.check_name_availability_with_http_info | def check_name_availability_with_http_info(resource_group_name, namespace_name, parameters, custom_headers:nil)
check_name_availability_async(resource_group_name, namespace_name, parameters, custom_headers:custom_headers).value!
end | ruby | def check_name_availability_with_http_info(resource_group_name, namespace_name, parameters, custom_headers:nil)
check_name_availability_async(resource_group_name, namespace_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"check_name_availability_with_http_info",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"check_name_availability_async",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Check the give Namespace name availability.
@param resource_group_name [String] Name of the resource group within the
azure subscription.
@param namespace_name [String] The Namespace name
@param parameters [CheckNameAvailabilityParameter] Parameters to check
availability of the given Alias 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. | [
"Check",
"the",
"give",
"Namespace",
"name",
"availability",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_event_hub/lib/2017-04-01/generated/azure_mgmt_event_hub/disaster_recovery_configs.rb#L55-L57 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_target_groups.rb | Azure::SQL::Mgmt::V2017_03_01_preview.JobTargetGroups.create_or_update_with_http_info | def create_or_update_with_http_info(resource_group_name, server_name, job_agent_name, target_group_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, server_name, job_agent_name, target_group_name, parameters, custom_headers:custom_headers).value!
end | ruby | def create_or_update_with_http_info(resource_group_name, server_name, job_agent_name, target_group_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, server_name, job_agent_name, target_group_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"server_name",
",",
"job_agent_name",
",",
"target_group_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"create_or_update_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"job_agent_name",
",",
"target_group_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates or updates a target 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 server_name [String] The name of the server.
@param job_agent_name [String] The name of the job agent.
@param target_group_name [String] The name of the target group.
@param parameters [JobTargetGroup] The requested state of the target group.
@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",
"target",
"group",
"."
] | 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_target_groups.rb#L270-L272 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_target_groups.rb | Azure::SQL::Mgmt::V2017_03_01_preview.JobTargetGroups.delete_with_http_info | def delete_with_http_info(resource_group_name, server_name, job_agent_name, target_group_name, custom_headers:nil)
delete_async(resource_group_name, server_name, job_agent_name, target_group_name, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, server_name, job_agent_name, target_group_name, custom_headers:nil)
delete_async(resource_group_name, server_name, job_agent_name, target_group_name, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"server_name",
",",
"job_agent_name",
",",
"target_group_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"job_agent_name",
",",
"target_group_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes a target 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 server_name [String] The name of the server.
@param job_agent_name [String] The name of the job agent.
@param target_group_name [String] The name of the target group.
@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",
"target",
"group",
"."
] | 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_target_groups.rb#L394-L396 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_security/lib/2017-08-01-preview/generated/azure_mgmt_security/pricings.rb | Azure::Security::Mgmt::V2017_08_01_preview.Pricings.get_subscription_pricing | def get_subscription_pricing(pricing_name, custom_headers:nil)
response = get_subscription_pricing_async(pricing_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_subscription_pricing(pricing_name, custom_headers:nil)
response = get_subscription_pricing_async(pricing_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_subscription_pricing",
"(",
"pricing_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_subscription_pricing_async",
"(",
"pricing_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Security pricing configuration in the subscriptionSecurity pricing
configuration in the subscription
@param pricing_name [String] name of the pricing configuration
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Pricing] operation results. | [
"Security",
"pricing",
"configuration",
"in",
"the",
"subscriptionSecurity",
"pricing",
"configuration",
"in",
"the",
"subscription"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_security/lib/2017-08-01-preview/generated/azure_mgmt_security/pricings.rb#L214-L217 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_security/lib/2017-08-01-preview/generated/azure_mgmt_security/pricings.rb | Azure::Security::Mgmt::V2017_08_01_preview.Pricings.update_subscription_pricing | def update_subscription_pricing(pricing_name, pricing, custom_headers:nil)
response = update_subscription_pricing_async(pricing_name, pricing, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def update_subscription_pricing(pricing_name, pricing, custom_headers:nil)
response = update_subscription_pricing_async(pricing_name, pricing, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"update_subscription_pricing",
"(",
"pricing_name",
",",
"pricing",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"update_subscription_pricing_async",
"(",
"pricing_name",
",",
"pricing",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Security pricing configuration in the subscription
@param pricing_name [String] name of the pricing configuration
@param pricing [Pricing] Pricing object
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Pricing] operation results. | [
"Security",
"pricing",
"configuration",
"in",
"the",
"subscription"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_security/lib/2017-08-01-preview/generated/azure_mgmt_security/pricings.rb#L306-L309 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/subnets.rb | Azure::Network::Mgmt::V2019_02_01.Subnets.get_with_http_info | def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil)
get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, virtual_network_name, subnet_name, expand:nil, custom_headers:nil)
get_async(resource_group_name, virtual_network_name, subnet_name, expand:expand, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"virtual_network_name",
",",
"subnet_name",
",",
"expand",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"virtual_network_name",
",",
"subnet_name",
",",
"expand",
":",
"expand",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the specified subnet by virtual network and resource group.
@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 expand [String] Expands referenced resources.
@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",
"subnet",
"by",
"virtual",
"network",
"and",
"resource",
"group",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/subnets.rb#L93-L95 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/server_communication_links.rb | Azure::SQL::Mgmt::V2014_04_01.ServerCommunicationLinks.delete_with_http_info | def delete_with_http_info(resource_group_name, server_name, communication_link_name, custom_headers:nil)
delete_async(resource_group_name, server_name, communication_link_name, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, server_name, communication_link_name, custom_headers:nil)
delete_async(resource_group_name, server_name, communication_link_name, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"server_name",
",",
"communication_link_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"communication_link_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes a server communication link.
@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 communication_link_name [String] The name of the server communication
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. | [
"Deletes",
"a",
"server",
"communication",
"link",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/server_communication_links.rb#L59-L61 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/server_communication_links.rb | Azure::SQL::Mgmt::V2014_04_01.ServerCommunicationLinks.get_with_http_info | def get_with_http_info(resource_group_name, server_name, communication_link_name, custom_headers:nil)
get_async(resource_group_name, server_name, communication_link_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, server_name, communication_link_name, custom_headers:nil)
get_async(resource_group_name, server_name, communication_link_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"server_name",
",",
"communication_link_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"communication_link_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Returns a server communication link.
@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 communication_link_name [String] The name of the server communication
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. | [
"Returns",
"a",
"server",
"communication",
"link",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/server_communication_links.rb#L154-L156 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_hdinsight/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/applications.rb | Azure::Hdinsight::Mgmt::V2015_03_01_preview.Applications.list | def list(resource_group_name, cluster_name, custom_headers:nil)
first_page = list_as_lazy(resource_group_name, cluster_name, custom_headers:custom_headers)
first_page.get_all_items
end | ruby | def list(resource_group_name, cluster_name, custom_headers:nil)
first_page = list_as_lazy(resource_group_name, cluster_name, custom_headers:custom_headers)
first_page.get_all_items
end | [
"def",
"list",
"(",
"resource_group_name",
",",
"cluster_name",
",",
"custom_headers",
":",
"nil",
")",
"first_page",
"=",
"list_as_lazy",
"(",
"resource_group_name",
",",
"cluster_name",
",",
"custom_headers",
":custom_headers",
")",
"first_page",
".",
"get_all_items",
"end"
] | Lists all of the applications for the HDInsight 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 [Array<Application>] operation results. | [
"Lists",
"all",
"of",
"the",
"applications",
"for",
"the",
"HDInsight",
"cluster",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_hdinsight/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/applications.rb#L34-L37 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_hdinsight/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/applications.rb | Azure::Hdinsight::Mgmt::V2015_03_01_preview.Applications.get_with_http_info | def get_with_http_info(resource_group_name, cluster_name, application_name, custom_headers:nil)
get_async(resource_group_name, cluster_name, application_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, cluster_name, application_name, custom_headers:nil)
get_async(resource_group_name, cluster_name, application_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"cluster_name",
",",
"application_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"cluster_name",
",",
"application_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Lists properties of the specified application.
@param resource_group_name [String] The name of the resource group.
@param cluster_name [String] The name of the cluster.
@param application_name [String] The constant value for the application 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. | [
"Lists",
"properties",
"of",
"the",
"specified",
"application",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_hdinsight/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/applications.rb#L143-L145 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_hdinsight/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/applications.rb | Azure::Hdinsight::Mgmt::V2015_03_01_preview.Applications.begin_delete_with_http_info | def begin_delete_with_http_info(resource_group_name, cluster_name, application_name, custom_headers:nil)
begin_delete_async(resource_group_name, cluster_name, application_name, custom_headers:custom_headers).value!
end | ruby | def begin_delete_with_http_info(resource_group_name, cluster_name, application_name, custom_headers:nil)
begin_delete_async(resource_group_name, cluster_name, application_name, custom_headers:custom_headers).value!
end | [
"def",
"begin_delete_with_http_info",
"(",
"resource_group_name",
",",
"cluster_name",
",",
"application_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_delete_async",
"(",
"resource_group_name",
",",
"cluster_name",
",",
"application_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes the specified application on the HDInsight cluster.
@param resource_group_name [String] The name of the resource group.
@param cluster_name [String] The name of the cluster.
@param application_name [String] The constant value for the application 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",
"the",
"specified",
"application",
"on",
"the",
"HDInsight",
"cluster",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_hdinsight/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/applications.rb#L431-L433 | train |
Azure/azure-sdk-for-ruby | data/azure_service_fabric/lib/6.4.0.36/generated/azure_service_fabric/mesh_gateway.rb | Azure::ServiceFabric::V6_4_0_36.MeshGateway.create_or_update | def create_or_update(gateway_resource_name, gateway_resource_description, custom_headers:nil)
response = create_or_update_async(gateway_resource_name, gateway_resource_description, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def create_or_update(gateway_resource_name, gateway_resource_description, custom_headers:nil)
response = create_or_update_async(gateway_resource_name, gateway_resource_description, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"create_or_update",
"(",
"gateway_resource_name",
",",
"gateway_resource_description",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"create_or_update_async",
"(",
"gateway_resource_name",
",",
"gateway_resource_description",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Creates or updates a Gateway resource.
Creates a Gateway resource with the specified name, description and
properties. If Gateway resource with the same name exists, then it is updated
with the specified description and properties. Use Gateway resource to
provide public connectivity to application services.
@param gateway_resource_name [String] The identity of the gateway.
@param gateway_resource_description [GatewayResourceDescription] Description
for creating a Gateway resource.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [GatewayResourceDescription] operation results. | [
"Creates",
"or",
"updates",
"a",
"Gateway",
"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_gateway.rb#L41-L44 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/budgets.rb | Azure::Consumption::Mgmt::V2018_01_31.Budgets.get_by_resource_group_name | def get_by_resource_group_name(resource_group_name, budget_name, custom_headers:nil)
response = get_by_resource_group_name_async(resource_group_name, budget_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_by_resource_group_name(resource_group_name, budget_name, custom_headers:nil)
response = get_by_resource_group_name_async(resource_group_name, budget_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_by_resource_group_name",
"(",
"resource_group_name",
",",
"budget_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_by_resource_group_name_async",
"(",
"resource_group_name",
",",
"budget_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets the budget for a resource group under a subscription by budget name.
@param resource_group_name [String] Azure Resource Group Name.
@param budget_name [String] Budget Name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Budget] operation results. | [
"Gets",
"the",
"budget",
"for",
"a",
"resource",
"group",
"under",
"a",
"subscription",
"by",
"budget",
"name",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/budgets.rb#L490-L493 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/budgets.rb | Azure::Consumption::Mgmt::V2018_01_31.Budgets.delete_by_resource_group_name | def delete_by_resource_group_name(resource_group_name, budget_name, custom_headers:nil)
response = delete_by_resource_group_name_async(resource_group_name, budget_name, custom_headers:custom_headers).value!
nil
end | ruby | def delete_by_resource_group_name(resource_group_name, budget_name, custom_headers:nil)
response = delete_by_resource_group_name_async(resource_group_name, budget_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"delete_by_resource_group_name",
"(",
"resource_group_name",
",",
"budget_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_by_resource_group_name_async",
"(",
"resource_group_name",
",",
"budget_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | The operation to delete a budget.
@param resource_group_name [String] Azure Resource Group Name.
@param budget_name [String] Budget Name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"The",
"operation",
"to",
"delete",
"a",
"budget",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_consumption/lib/2018-01-31/generated/azure_mgmt_consumption/budgets.rb#L703-L706 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_security/lib/2017-08-01-preview/generated/azure_mgmt_security/workspace_settings.rb | Azure::Security::Mgmt::V2017_08_01_preview.WorkspaceSettings.create | def create(workspace_setting_name, workspace_setting, custom_headers:nil)
response = create_async(workspace_setting_name, workspace_setting, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def create(workspace_setting_name, workspace_setting, custom_headers:nil)
response = create_async(workspace_setting_name, workspace_setting, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"create",
"(",
"workspace_setting_name",
",",
"workspace_setting",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"create_async",
"(",
"workspace_setting_name",
",",
"workspace_setting",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | creating settings about where we should store your security data and logs
@param workspace_setting_name [String] Name of the security setting
@param workspace_setting [WorkspaceSetting] Security data setting object
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [WorkspaceSetting] operation results. | [
"creating",
"settings",
"about",
"where",
"we",
"should",
"store",
"your",
"security",
"data",
"and",
"logs"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_security/lib/2017-08-01-preview/generated/azure_mgmt_security/workspace_settings.rb#L208-L211 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_security/lib/2017-08-01-preview/generated/azure_mgmt_security/workspace_settings.rb | Azure::Security::Mgmt::V2017_08_01_preview.WorkspaceSettings.update | def update(workspace_setting_name, workspace_setting, custom_headers:nil)
response = update_async(workspace_setting_name, workspace_setting, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def update(workspace_setting_name, workspace_setting, custom_headers:nil)
response = update_async(workspace_setting_name, workspace_setting, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"update",
"(",
"workspace_setting_name",
",",
"workspace_setting",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"update_async",
"(",
"workspace_setting_name",
",",
"workspace_setting",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Settings about where we should store your security data and logs
@param workspace_setting_name [String] Name of the security setting
@param workspace_setting [WorkspaceSetting] Security data setting object
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [WorkspaceSetting] operation results. | [
"Settings",
"about",
"where",
"we",
"should",
"store",
"your",
"security",
"data",
"and",
"logs"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_security/lib/2017-08-01-preview/generated/azure_mgmt_security/workspace_settings.rb#L308-L311 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_powerbi_embedded/lib/2016-01-29/generated/azure_mgmt_powerbi_embedded/power_biembedded_management_client.rb | Azure::PowerBiEmbedded::Mgmt::V2016_01_29.PowerBIEmbeddedManagementClient.get_available_operations | def get_available_operations(custom_headers:nil)
response = get_available_operations_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_available_operations(custom_headers:nil)
response = get_available_operations_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_available_operations",
"(",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_available_operations_async",
"(",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Indicates which operations can be performed by the Power BI Resource
Provider.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [OperationList] operation results. | [
"Indicates",
"which",
"operations",
"can",
"be",
"performed",
"by",
"the",
"Power",
"BI",
"Resource",
"Provider",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_powerbi_embedded/lib/2016-01-29/generated/azure_mgmt_powerbi_embedded/power_biembedded_management_client.rb#L135-L138 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_qnamaker/lib/4.0/generated/azure_cognitiveservices_qnamaker/knowledgebase.rb | Azure::CognitiveServices::Qnamaker::V4_0.Knowledgebase.get_details | def get_details(kb_id, custom_headers:nil)
response = get_details_async(kb_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_details(kb_id, custom_headers:nil)
response = get_details_async(kb_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_details",
"(",
"kb_id",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_details_async",
"(",
"kb_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets details of a specific knowledgebase.
@param kb_id [String] Knowledgebase id.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [KnowledgebaseDTO] operation results. | [
"Gets",
"details",
"of",
"a",
"specific",
"knowledgebase",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_qnamaker/lib/4.0/generated/azure_cognitiveservices_qnamaker/knowledgebase.rb#L115-L118 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_qnamaker/lib/4.0/generated/azure_cognitiveservices_qnamaker/knowledgebase.rb | Azure::CognitiveServices::Qnamaker::V4_0.Knowledgebase.update | def update(kb_id, update_kb, custom_headers:nil)
response = update_async(kb_id, update_kb, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def update(kb_id, update_kb, custom_headers:nil)
response = update_async(kb_id, update_kb, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"update",
"(",
"kb_id",
",",
"update_kb",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"update_async",
"(",
"kb_id",
",",
"update_kb",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Asynchronous operation to modify a knowledgebase.
@param kb_id [String] Knowledgebase id.
@param update_kb [UpdateKbOperationDTO] Post body of the request.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Operation] operation results. | [
"Asynchronous",
"operation",
"to",
"modify",
"a",
"knowledgebase",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_qnamaker/lib/4.0/generated/azure_cognitiveservices_qnamaker/knowledgebase.rb#L445-L448 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_qnamaker/lib/4.0/generated/azure_cognitiveservices_qnamaker/knowledgebase.rb | Azure::CognitiveServices::Qnamaker::V4_0.Knowledgebase.create | def create(create_kb_payload, custom_headers:nil)
response = create_async(create_kb_payload, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def create(create_kb_payload, custom_headers:nil)
response = create_async(create_kb_payload, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"create",
"(",
"create_kb_payload",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"create_async",
"(",
"create_kb_payload",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Asynchronous operation to create a new knowledgebase.
@param create_kb_payload [CreateKbDTO] Post body of the request.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Operation] operation results. | [
"Asynchronous",
"operation",
"to",
"create",
"a",
"new",
"knowledgebase",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_qnamaker/lib/4.0/generated/azure_cognitiveservices_qnamaker/knowledgebase.rb#L542-L545 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_qnamaker/lib/4.0/generated/azure_cognitiveservices_qnamaker/knowledgebase.rb | Azure::CognitiveServices::Qnamaker::V4_0.Knowledgebase.download | def download(kb_id, environment, custom_headers:nil)
response = download_async(kb_id, environment, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def download(kb_id, environment, custom_headers:nil)
response = download_async(kb_id, environment, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"download",
"(",
"kb_id",
",",
"environment",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"download_async",
"(",
"kb_id",
",",
"environment",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Download the knowledgebase.
@param kb_id [String] Knowledgebase id.
@param environment [EnvironmentType] Specifies whether environment is Test or
Prod. Possible values include: 'Prod', 'Test'
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [QnADocumentsDTO] operation results. | [
"Download",
"the",
"knowledgebase",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_qnamaker/lib/4.0/generated/azure_cognitiveservices_qnamaker/knowledgebase.rb#L637-L640 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_resources_management/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/management_groups_api.rb | Azure::ResourcesManagement::Mgmt::V2018_03_01_preview.ManagementGroupsAPI.check_name_availability | def check_name_availability(check_name_availability_request, custom_headers:nil)
response = check_name_availability_async(check_name_availability_request, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def check_name_availability(check_name_availability_request, custom_headers:nil)
response = check_name_availability_async(check_name_availability_request, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"check_name_availability",
"(",
"check_name_availability_request",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"check_name_availability_async",
"(",
"check_name_availability_request",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Checks if the specified management group name is valid and unique
@param check_name_availability_request [CheckNameAvailabilityRequest]
Management group name availability check parameters.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [CheckNameAvailabilityResult] operation results. | [
"Checks",
"if",
"the",
"specified",
"management",
"group",
"name",
"is",
"valid",
"and",
"unique"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_resources_management/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/management_groups_api.rb#L140-L143 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_resources_management/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/management_groups_api.rb | Azure::ResourcesManagement::Mgmt::V2018_03_01_preview.ManagementGroupsAPI.start_tenant_backfill | def start_tenant_backfill(custom_headers:nil)
response = start_tenant_backfill_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def start_tenant_backfill(custom_headers:nil)
response = start_tenant_backfill_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"start_tenant_backfill",
"(",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"start_tenant_backfill_async",
"(",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Starts backfilling subscriptions for the Tenant.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [TenantBackfillStatusResult] operation results. | [
"Starts",
"backfilling",
"subscriptions",
"for",
"the",
"Tenant",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_resources_management/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/management_groups_api.rb#L234-L237 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_resources_management/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/management_groups_api.rb | Azure::ResourcesManagement::Mgmt::V2018_03_01_preview.ManagementGroupsAPI.tenant_backfill_status | def tenant_backfill_status(custom_headers:nil)
response = tenant_backfill_status_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def tenant_backfill_status(custom_headers:nil)
response = tenant_backfill_status_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"tenant_backfill_status",
"(",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"tenant_backfill_status_async",
"(",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets tenant backfill status
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [TenantBackfillStatusResult] operation results. | [
"Gets",
"tenant",
"backfill",
"status"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_resources_management/lib/2018-03-01-preview/generated/azure_mgmt_resources_management/management_groups_api.rb#L316-L319 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/credential_operations.rb | Azure::Automation::Mgmt::V2015_10_31.CredentialOperations.get_with_http_info | def get_with_http_info(resource_group_name, automation_account_name, credential_name, custom_headers:nil)
get_async(resource_group_name, automation_account_name, credential_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, automation_account_name, credential_name, custom_headers:nil)
get_async(resource_group_name, automation_account_name, credential_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"credential_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"credential_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Retrieve the credential identified by credential name.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param credential_name [String] The name of 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. | [
"Retrieve",
"the",
"credential",
"identified",
"by",
"credential",
"name",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/credential_operations.rb#L139-L141 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/credential_operations.rb | Azure::Automation::Mgmt::V2015_10_31.CredentialOperations.create_or_update_with_http_info | def create_or_update_with_http_info(resource_group_name, automation_account_name, credential_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, automation_account_name, credential_name, parameters, custom_headers:custom_headers).value!
end | ruby | def create_or_update_with_http_info(resource_group_name, automation_account_name, credential_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, automation_account_name, credential_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"credential_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"create_or_update_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"credential_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Create a credential.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param credential_name [String] The parameters supplied to the create or
update credential operation.
@param parameters [CredentialCreateOrUpdateParameters] The parameters
supplied to the create or update credential 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",
"credential",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/credential_operations.rb#L244-L246 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/credential_operations.rb | Azure::Automation::Mgmt::V2015_10_31.CredentialOperations.update_with_http_info | def update_with_http_info(resource_group_name, automation_account_name, credential_name, parameters, custom_headers:nil)
update_async(resource_group_name, automation_account_name, credential_name, parameters, custom_headers:custom_headers).value!
end | ruby | def update_with_http_info(resource_group_name, automation_account_name, credential_name, parameters, custom_headers:nil)
update_async(resource_group_name, automation_account_name, credential_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"update_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"credential_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"update_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"credential_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Update a credential.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param credential_name [String] The parameters supplied to the Update
credential operation.
@param parameters [CredentialUpdateParameters] The parameters supplied to the
Update credential 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",
"credential",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/credential_operations.rb#L370-L372 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/certificate.rb | Azure::ApiManagement::Mgmt::V2018_01_01.Certificate.get_with_http_info | def get_with_http_info(resource_group_name, service_name, certificate_id, custom_headers:nil)
get_async(resource_group_name, service_name, certificate_id, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, service_name, certificate_id, custom_headers:nil)
get_async(resource_group_name, service_name, certificate_id, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"service_name",
",",
"certificate_id",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"service_name",
",",
"certificate_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the details of the certificate 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 certificate_id [String] Identifier of the certificate entity. 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",
"certificate",
"specified",
"by",
"its",
"identifier",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/certificate.rb#L286-L288 | train |
Azure/azure-sdk-for-ruby | runtime/ms_rest/lib/ms_rest/jsonable.rb | MsRest.JSONable.to_json | def to_json(options = nil)
mapper = (options.nil? || !options.key?(:mapper))? self.class.mapper: options[:mapper]
object = (options.nil? || !options.key?(:object))? self: options[:object]
serialize(mapper, object)
end | ruby | def to_json(options = nil)
mapper = (options.nil? || !options.key?(:mapper))? self.class.mapper: options[:mapper]
object = (options.nil? || !options.key?(:object))? self: options[:object]
serialize(mapper, object)
end | [
"def",
"to_json",
"(",
"options",
"=",
"nil",
")",
"mapper",
"=",
"(",
"options",
".",
"nil?",
"||",
"!",
"options",
".",
"key?",
"(",
":mapper",
")",
")",
"?",
"self",
".",
"class",
".",
"mapper",
":",
"options",
"[",
":mapper",
"]",
"object",
"=",
"(",
"options",
".",
"nil?",
"||",
"!",
"options",
".",
"key?",
"(",
":object",
")",
")",
"?",
"self",
":",
"options",
"[",
":object",
"]",
"serialize",
"(",
"mapper",
",",
"object",
")",
"end"
] | Serialize the object to JSON
@param options [Hash] hash map contains options to convert to json.
@return [String] JSON serialized version of the object | [
"Serialize",
"the",
"object",
"to",
"JSON"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/runtime/ms_rest/lib/ms_rest/jsonable.rb#L15-L19 | train |
Azure/azure-sdk-for-ruby | runtime/ms_rest/lib/ms_rest/jsonable.rb | MsRest.JSONable.from_json | def from_json(json, mapper = nil)
mapper = self.class.mapper if mapper.nil?
deserialize(mapper, json)
end | ruby | def from_json(json, mapper = nil)
mapper = self.class.mapper if mapper.nil?
deserialize(mapper, json)
end | [
"def",
"from_json",
"(",
"json",
",",
"mapper",
"=",
"nil",
")",
"mapper",
"=",
"self",
".",
"class",
".",
"mapper",
"if",
"mapper",
".",
"nil?",
"deserialize",
"(",
"mapper",
",",
"json",
")",
"end"
] | Deserialize the object from JSON
@param json [String] JSON string representation of the object
@return [JSONable] object built from json input | [
"Deserialize",
"the",
"object",
"from",
"JSON"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/runtime/ms_rest/lib/ms_rest/jsonable.rb#L26-L29 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/activity_operations.rb | Azure::Automation::Mgmt::V2015_10_31.ActivityOperations.get_with_http_info | def get_with_http_info(resource_group_name, automation_account_name, module_name, activity_name, custom_headers:nil)
get_async(resource_group_name, automation_account_name, module_name, activity_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, automation_account_name, module_name, activity_name, custom_headers:nil)
get_async(resource_group_name, automation_account_name, module_name, activity_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"module_name",
",",
"activity_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"module_name",
",",
"activity_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Retrieve the activity in the module identified by module name and activity
name.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param module_name [String] The name of module.
@param activity_name [String] The name of activity.
@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",
"activity",
"in",
"the",
"module",
"identified",
"by",
"module",
"name",
"and",
"activity",
"name",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/activity_operations.rb#L55-L57 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/schedule_operations.rb | Azure::Automation::Mgmt::V2015_10_31.ScheduleOperations.create_or_update_with_http_info | def create_or_update_with_http_info(resource_group_name, automation_account_name, schedule_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, automation_account_name, schedule_name, parameters, custom_headers:custom_headers).value!
end | ruby | def create_or_update_with_http_info(resource_group_name, automation_account_name, schedule_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, automation_account_name, schedule_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"schedule_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"create_or_update_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"schedule_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Create a schedule.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param schedule_name [String] The schedule name.
@param parameters [ScheduleCreateOrUpdateParameters] The parameters supplied
to the create or update schedule 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",
"schedule",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/schedule_operations.rb#L55-L57 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/schedule_operations.rb | Azure::Automation::Mgmt::V2015_10_31.ScheduleOperations.update_with_http_info | def update_with_http_info(resource_group_name, automation_account_name, schedule_name, parameters, custom_headers:nil)
update_async(resource_group_name, automation_account_name, schedule_name, parameters, custom_headers:custom_headers).value!
end | ruby | def update_with_http_info(resource_group_name, automation_account_name, schedule_name, parameters, custom_headers:nil)
update_async(resource_group_name, automation_account_name, schedule_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"update_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"schedule_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"update_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"schedule_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Update the schedule identified by schedule name.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param schedule_name [String] The schedule name.
@param parameters [ScheduleUpdateParameters] The parameters supplied to the
update schedule 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",
"the",
"schedule",
"identified",
"by",
"schedule",
"name",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/schedule_operations.rb#L178-L180 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/schedule_operations.rb | Azure::Automation::Mgmt::V2015_10_31.ScheduleOperations.get_with_http_info | def get_with_http_info(resource_group_name, automation_account_name, schedule_name, custom_headers:nil)
get_async(resource_group_name, automation_account_name, schedule_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, automation_account_name, schedule_name, custom_headers:nil)
get_async(resource_group_name, automation_account_name, schedule_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"schedule_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"schedule_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Retrieve the schedule identified by schedule name.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param schedule_name [String] The schedule 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. | [
"Retrieve",
"the",
"schedule",
"identified",
"by",
"schedule",
"name",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/schedule_operations.rb#L287-L289 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_compute/lib/2018-06-01/generated/azure_mgmt_compute/gallery_image_versions.rb | Azure::Compute::Mgmt::V2018_06_01.GalleryImageVersions.get_with_http_info | def get_with_http_info(resource_group_name, gallery_name, gallery_image_name, gallery_image_version_name, expand:nil, custom_headers:nil)
get_async(resource_group_name, gallery_name, gallery_image_name, gallery_image_version_name, expand:expand, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, gallery_name, gallery_image_name, gallery_image_version_name, expand:nil, custom_headers:nil)
get_async(resource_group_name, gallery_name, gallery_image_name, gallery_image_version_name, expand:expand, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"gallery_name",
",",
"gallery_image_name",
",",
"gallery_image_version_name",
",",
"expand",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"gallery_name",
",",
"gallery_image_name",
",",
"gallery_image_version_name",
",",
"expand",
":",
"expand",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Retrieves information about a gallery Image Version.
@param resource_group_name [String] The name of the resource group.
@param gallery_name [String] The name of the Shared Image Gallery in which
the Image Definition resides.
@param gallery_image_name [String] The name of the gallery Image Definition
in which the Image Version resides.
@param gallery_image_version_name [String] The name of the gallery Image
Version to be retrieved.
@param expand [ReplicationStatusTypes] The expand expression to apply on the
operation. Possible values include: 'ReplicationStatus'
@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. | [
"Retrieves",
"information",
"about",
"a",
"gallery",
"Image",
"Version",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_compute/lib/2018-06-01/generated/azure_mgmt_compute/gallery_image_versions.rb#L123-L125 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/recommended_elastic_pools.rb | Azure::SQL::Mgmt::V2014_04_01.RecommendedElasticPools.get_with_http_info | def get_with_http_info(resource_group_name, server_name, recommended_elastic_pool_name, custom_headers:nil)
get_async(resource_group_name, server_name, recommended_elastic_pool_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, server_name, recommended_elastic_pool_name, custom_headers:nil)
get_async(resource_group_name, server_name, recommended_elastic_pool_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"server_name",
",",
"recommended_elastic_pool_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"recommended_elastic_pool_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets a recommended elastic pool.
@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 recommended_elastic_pool_name [String] The name of the recommended
elastic pool to be retrieved.
@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",
"recommended",
"elastic",
"pool",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/recommended_elastic_pools.rb#L60-L62 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/streaming_locators.rb | Azure::MediaServices::Mgmt::V2018_07_01.StreamingLocators.get_with_http_info | def get_with_http_info(resource_group_name, account_name, streaming_locator_name, custom_headers:nil)
get_async(resource_group_name, account_name, streaming_locator_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, account_name, streaming_locator_name, custom_headers:nil)
get_async(resource_group_name, account_name, streaming_locator_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"account_name",
",",
"streaming_locator_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"streaming_locator_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Get a Streaming Locator
Get the details of a Streaming Locator in the Media Services account
@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 streaming_locator_name [String] The Streaming Locator 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",
"Streaming",
"Locator"
] | 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/streaming_locators.rb#L176-L178 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/streaming_locators.rb | Azure::MediaServices::Mgmt::V2018_07_01.StreamingLocators.delete_with_http_info | def delete_with_http_info(resource_group_name, account_name, streaming_locator_name, custom_headers:nil)
delete_async(resource_group_name, account_name, streaming_locator_name, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, account_name, streaming_locator_name, custom_headers:nil)
delete_async(resource_group_name, account_name, streaming_locator_name, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"account_name",
",",
"streaming_locator_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"streaming_locator_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Delete a Streaming Locator
Deletes a Streaming Locator in the Media Services account
@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 streaming_locator_name [String] The Streaming Locator 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",
"Streaming",
"Locator"
] | 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/streaming_locators.rb#L396-L398 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_traffic_manager/lib/2018-04-01/generated/azure_mgmt_traffic_manager/heat_map.rb | Azure::TrafficManager::Mgmt::V2018_04_01.HeatMap.get_with_http_info | def get_with_http_info(resource_group_name, profile_name, top_left:nil, bot_right:nil, custom_headers:nil)
get_async(resource_group_name, profile_name, top_left:top_left, bot_right:bot_right, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, profile_name, top_left:nil, bot_right:nil, custom_headers:nil)
get_async(resource_group_name, profile_name, top_left:top_left, bot_right:bot_right, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"profile_name",
",",
"top_left",
":",
"nil",
",",
"bot_right",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"profile_name",
",",
"top_left",
":top_left",
",",
"bot_right",
":bot_right",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets latest heatmap for Traffic Manager profile.
@param resource_group_name [String] The name of the resource group containing
the Traffic Manager endpoint.
@param profile_name [String] The name of the Traffic Manager profile.
@param top_left [Array<Float>] The top left latitude,longitude pair of the
rectangular viewport to query for.
@param bot_right [Array<Float>] The bottom right latitude,longitude pair of
the rectangular viewport to query for.
@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",
"latest",
"heatmap",
"for",
"Traffic",
"Manager",
"profile",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_traffic_manager/lib/2018-04-01/generated/azure_mgmt_traffic_manager/heat_map.rb#L59-L61 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/managed_restorable_dropped_database_backup_short_term_retention_policies.rb | Azure::SQL::Mgmt::V2017_03_01_preview.ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies.get_with_http_info | def get_with_http_info(resource_group_name, managed_instance_name, restorable_dropped_database_id, custom_headers:nil)
get_async(resource_group_name, managed_instance_name, restorable_dropped_database_id, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, managed_instance_name, restorable_dropped_database_id, custom_headers:nil)
get_async(resource_group_name, managed_instance_name, restorable_dropped_database_id, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"managed_instance_name",
",",
"restorable_dropped_database_id",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"managed_instance_name",
",",
"restorable_dropped_database_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets a dropped database's short term retention policy.
@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 restorable_dropped_database_id [String]
@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",
"dropped",
"database",
"s",
"short",
"term",
"retention",
"policy",
"."
] | 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_restorable_dropped_database_backup_short_term_retention_policies.rb#L58-L60 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/managed_restorable_dropped_database_backup_short_term_retention_policies.rb | Azure::SQL::Mgmt::V2017_03_01_preview.ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies.begin_update_with_http_info | def begin_update_with_http_info(resource_group_name, managed_instance_name, restorable_dropped_database_id, parameters, custom_headers:nil)
begin_update_async(resource_group_name, managed_instance_name, restorable_dropped_database_id, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_update_with_http_info(resource_group_name, managed_instance_name, restorable_dropped_database_id, parameters, custom_headers:nil)
begin_update_async(resource_group_name, managed_instance_name, restorable_dropped_database_id, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_update_with_http_info",
"(",
"resource_group_name",
",",
"managed_instance_name",
",",
"restorable_dropped_database_id",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_update_async",
"(",
"resource_group_name",
",",
"managed_instance_name",
",",
"restorable_dropped_database_id",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Sets a database's long term retention policy.
@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 restorable_dropped_database_id [String]
@param parameters [ManagedBackupShortTermRetentionPolicy] The long term
retention policy info.
@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. | [
"Sets",
"a",
"database",
"s",
"long",
"term",
"retention",
"policy",
"."
] | 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_restorable_dropped_database_backup_short_term_retention_policies.rb#L488-L490 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_powerbi_embedded/lib/2016-01-29/generated/azure_mgmt_powerbi_embedded/workspace_collections.rb | Azure::PowerBiEmbedded::Mgmt::V2016_01_29.WorkspaceCollections.get_by_name | def get_by_name(resource_group_name, workspace_collection_name, custom_headers:nil)
response = get_by_name_async(resource_group_name, workspace_collection_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_by_name(resource_group_name, workspace_collection_name, custom_headers:nil)
response = get_by_name_async(resource_group_name, workspace_collection_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_by_name",
"(",
"resource_group_name",
",",
"workspace_collection_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_by_name_async",
"(",
"resource_group_name",
",",
"workspace_collection_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Retrieves an existing Power BI Workspace Collection.
@param resource_group_name [String] Azure resource group
@param workspace_collection_name [String] Power BI Embedded Workspace
Collection name
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [WorkspaceCollection] operation results. | [
"Retrieves",
"an",
"existing",
"Power",
"BI",
"Workspace",
"Collection",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_powerbi_embedded/lib/2016-01-29/generated/azure_mgmt_powerbi_embedded/workspace_collections.rb#L36-L39 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_powerbi_embedded/lib/2016-01-29/generated/azure_mgmt_powerbi_embedded/workspace_collections.rb | Azure::PowerBiEmbedded::Mgmt::V2016_01_29.WorkspaceCollections.update_with_http_info | def update_with_http_info(resource_group_name, workspace_collection_name, body, custom_headers:nil)
update_async(resource_group_name, workspace_collection_name, body, custom_headers:custom_headers).value!
end | ruby | def update_with_http_info(resource_group_name, workspace_collection_name, body, custom_headers:nil)
update_async(resource_group_name, workspace_collection_name, body, custom_headers:custom_headers).value!
end | [
"def",
"update_with_http_info",
"(",
"resource_group_name",
",",
"workspace_collection_name",
",",
"body",
",",
"custom_headers",
":",
"nil",
")",
"update_async",
"(",
"resource_group_name",
",",
"workspace_collection_name",
",",
"body",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Update an existing Power BI Workspace Collection with the specified
properties.
@param resource_group_name [String] Azure resource group
@param workspace_collection_name [String] Power BI Embedded Workspace
Collection name
@param body [UpdateWorkspaceCollectionRequest] Update workspace collection
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. | [
"Update",
"an",
"existing",
"Power",
"BI",
"Workspace",
"Collection",
"with",
"the",
"specified",
"properties",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_powerbi_embedded/lib/2016-01-29/generated/azure_mgmt_powerbi_embedded/workspace_collections.rb#L268-L270 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_powerbi_embedded/lib/2016-01-29/generated/azure_mgmt_powerbi_embedded/workspace_collections.rb | Azure::PowerBiEmbedded::Mgmt::V2016_01_29.WorkspaceCollections.get_access_keys | def get_access_keys(resource_group_name, workspace_collection_name, custom_headers:nil)
response = get_access_keys_async(resource_group_name, workspace_collection_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_access_keys(resource_group_name, workspace_collection_name, custom_headers:nil)
response = get_access_keys_async(resource_group_name, workspace_collection_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_access_keys",
"(",
"resource_group_name",
",",
"workspace_collection_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_access_keys_async",
"(",
"resource_group_name",
",",
"workspace_collection_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Retrieves the primary and secondary access keys for the specified Power BI
Workspace Collection.
@param resource_group_name [String] Azure resource group
@param workspace_collection_name [String] Power BI Embedded Workspace
Collection name
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [WorkspaceCollectionAccessKeys] operation results. | [
"Retrieves",
"the",
"primary",
"and",
"secondary",
"access",
"keys",
"for",
"the",
"specified",
"Power",
"BI",
"Workspace",
"Collection",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_powerbi_embedded/lib/2016-01-29/generated/azure_mgmt_powerbi_embedded/workspace_collections.rb#L679-L682 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_stor_simple8000_series/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/access_control_records.rb | Azure::StorSimple8000Series::Mgmt::V2017_06_01.AccessControlRecords.get_with_http_info | def get_with_http_info(access_control_record_name, resource_group_name, manager_name, custom_headers:nil)
get_async(access_control_record_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(access_control_record_name, resource_group_name, manager_name, custom_headers:nil)
get_async(access_control_record_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"access_control_record_name",
",",
"resource_group_name",
",",
"manager_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"access_control_record_name",
",",
"resource_group_name",
",",
"manager_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Returns the properties of the specified access control record name.
@param access_control_record_name [String] Name of access control record to
be fetched.
@param resource_group_name [String] The resource group name
@param manager_name [String] The manager 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",
"properties",
"of",
"the",
"specified",
"access",
"control",
"record",
"name",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_stor_simple8000_series/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/access_control_records.rb#L147-L149 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_stor_simple8000_series/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/access_control_records.rb | Azure::StorSimple8000Series::Mgmt::V2017_06_01.AccessControlRecords.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(access_control_record_name, parameters, resource_group_name, manager_name, custom_headers:nil)
begin_create_or_update_async(access_control_record_name, parameters, resource_group_name, manager_name, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(access_control_record_name, parameters, resource_group_name, manager_name, custom_headers:nil)
begin_create_or_update_async(access_control_record_name, parameters, resource_group_name, manager_name, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"access_control_record_name",
",",
"parameters",
",",
"resource_group_name",
",",
"manager_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"access_control_record_name",
",",
"parameters",
",",
"resource_group_name",
",",
"manager_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates or Updates an access control record.
@param access_control_record_name [String] The name of the access control
record.
@param parameters [AccessControlRecord] The access control record to be added
or updated.
@param resource_group_name [String] The resource group name
@param manager_name [String] The manager 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. | [
"Creates",
"or",
"Updates",
"an",
"access",
"control",
"record",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_stor_simple8000_series/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/access_control_records.rb#L344-L346 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_service_fabric/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/application_type.rb | Azure::ServiceFabric::Mgmt::V2017_07_01_preview.ApplicationType.get_with_http_info | def get_with_http_info(subscription_id, resource_group_name, cluster_name, application_type_name, api_version, custom_headers:nil)
get_async(subscription_id, resource_group_name, cluster_name, application_type_name, api_version, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(subscription_id, resource_group_name, cluster_name, application_type_name, api_version, custom_headers:nil)
get_async(subscription_id, resource_group_name, cluster_name, application_type_name, api_version, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"subscription_id",
",",
"resource_group_name",
",",
"cluster_name",
",",
"application_type_name",
",",
"api_version",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"subscription_id",
",",
"resource_group_name",
",",
"cluster_name",
",",
"application_type_name",
",",
"api_version",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Returns an application type name resource.
@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_type_name [String] The name of the application type name
resource
@param api_version [String] The version of the API.
@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",
"an",
"application",
"type",
"name",
"resource",
"."
] | 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_type.rb#L57-L59 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_postgresql/lib/2017-12-01-preview/generated/azure_mgmt_postgresql/firewall_rules.rb | Azure::Postgresql::Mgmt::V2017_12_01_preview.FirewallRules.begin_delete_with_http_info | def begin_delete_with_http_info(resource_group_name, server_name, firewall_rule_name, custom_headers:nil)
begin_delete_async(resource_group_name, server_name, firewall_rule_name, custom_headers:custom_headers).value!
end | ruby | def begin_delete_with_http_info(resource_group_name, server_name, firewall_rule_name, custom_headers:nil)
begin_delete_async(resource_group_name, server_name, firewall_rule_name, custom_headers:custom_headers).value!
end | [
"def",
"begin_delete_with_http_info",
"(",
"resource_group_name",
",",
"server_name",
",",
"firewall_rule_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_delete_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"firewall_rule_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes a server firewall 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 firewall_rule_name [String] The name of the server firewall 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",
"a",
"server",
"firewall",
"rule",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_postgresql/lib/2017-12-01-preview/generated/azure_mgmt_postgresql/firewall_rules.rb#L479-L481 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_stream_analytics/lib/2016-03-01/generated/azure_mgmt_stream_analytics/streaming_jobs.rb | Azure::StreamAnalytics::Mgmt::V2016_03_01.StreamingJobs.get_with_http_info | def get_with_http_info(resource_group_name, job_name, expand:nil, custom_headers:nil)
get_async(resource_group_name, job_name, expand:expand, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, job_name, expand:nil, custom_headers:nil)
get_async(resource_group_name, job_name, expand:expand, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"job_name",
",",
"expand",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"job_name",
",",
"expand",
":",
"expand",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets details about the specified streaming job.
@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 job_name [String] The name of the streaming job.
@param expand [String] The $expand OData query parameter. This is a
comma-separated list of additional streaming job properties to include in the
response, beyond the default set returned when this parameter is absent. The
default set is all streaming job properties other than 'inputs',
'transformation', 'outputs', and 'functions'.
@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",
"details",
"about",
"the",
"specified",
"streaming",
"job",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_stream_analytics/lib/2016-03-01/generated/azure_mgmt_stream_analytics/streaming_jobs.rb#L307-L309 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_stream_analytics/lib/2016-03-01/generated/azure_mgmt_stream_analytics/streaming_jobs.rb | Azure::StreamAnalytics::Mgmt::V2016_03_01.StreamingJobs.begin_delete | def begin_delete(resource_group_name, job_name, custom_headers:nil)
response = begin_delete_async(resource_group_name, job_name, custom_headers:custom_headers).value!
nil
end | ruby | def begin_delete(resource_group_name, job_name, custom_headers:nil)
response = begin_delete_async(resource_group_name, job_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"begin_delete",
"(",
"resource_group_name",
",",
"job_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"begin_delete_async",
"(",
"resource_group_name",
",",
"job_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Deletes a streaming job.
@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 job_name [String] The name of the streaming job.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Deletes",
"a",
"streaming",
"job",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_stream_analytics/lib/2016-03-01/generated/azure_mgmt_stream_analytics/streaming_jobs.rb#L832-L835 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_storagesync/lib/2018-07-01/generated/azure_mgmt_storagesync/storage_sync_services.rb | Azure::StorageSync::Mgmt::V2018_07_01.StorageSyncServices.create_with_http_info | def create_with_http_info(resource_group_name, storage_sync_service_name, parameters, custom_headers:nil)
create_async(resource_group_name, storage_sync_service_name, parameters, custom_headers:custom_headers).value!
end | ruby | def create_with_http_info(resource_group_name, storage_sync_service_name, parameters, custom_headers:nil)
create_async(resource_group_name, storage_sync_service_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"create_with_http_info",
"(",
"resource_group_name",
",",
"storage_sync_service_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"create_async",
"(",
"resource_group_name",
",",
"storage_sync_service_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Create a new StorageSyncService.
@param resource_group_name [String] The name of the resource group. The name
is case insensitive.
@param storage_sync_service_name [String] Name of Storage Sync Service
resource.
@param parameters [StorageSyncServiceCreateParameters] Storage Sync Service
resource 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. | [
"Create",
"a",
"new",
"StorageSyncService",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_storagesync/lib/2018-07-01/generated/azure_mgmt_storagesync/storage_sync_services.rb#L161-L163 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_storagesync/lib/2018-07-01/generated/azure_mgmt_storagesync/storage_sync_services.rb | Azure::StorageSync::Mgmt::V2018_07_01.StorageSyncServices.update_with_http_info | def update_with_http_info(resource_group_name, storage_sync_service_name, parameters:nil, custom_headers:nil)
update_async(resource_group_name, storage_sync_service_name, parameters:parameters, custom_headers:custom_headers).value!
end | ruby | def update_with_http_info(resource_group_name, storage_sync_service_name, parameters:nil, custom_headers:nil)
update_async(resource_group_name, storage_sync_service_name, parameters:parameters, custom_headers:custom_headers).value!
end | [
"def",
"update_with_http_info",
"(",
"resource_group_name",
",",
"storage_sync_service_name",
",",
"parameters",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"update_async",
"(",
"resource_group_name",
",",
"storage_sync_service_name",
",",
"parameters",
":",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Patch a given StorageSyncService.
@param resource_group_name [String] The name of the resource group. The name
is case insensitive.
@param storage_sync_service_name [String] Name of Storage Sync Service
resource.
@param parameters [StorageSyncServiceUpdateParameters] Storage Sync Service
resource.
@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",
"a",
"given",
"StorageSyncService",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_storagesync/lib/2018-07-01/generated/azure_mgmt_storagesync/storage_sync_services.rb#L381-L383 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_storagesync/lib/2018-07-01/generated/azure_mgmt_storagesync/storage_sync_services.rb | Azure::StorageSync::Mgmt::V2018_07_01.StorageSyncServices.delete | def delete(resource_group_name, storage_sync_service_name, custom_headers:nil)
response = delete_async(resource_group_name, storage_sync_service_name, custom_headers:custom_headers).value!
nil
end | ruby | def delete(resource_group_name, storage_sync_service_name, custom_headers:nil)
response = delete_async(resource_group_name, storage_sync_service_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"delete",
"(",
"resource_group_name",
",",
"storage_sync_service_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_async",
"(",
"resource_group_name",
",",
"storage_sync_service_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Delete a given StorageSyncService.
@param resource_group_name [String] The name of the resource group. The name
is case insensitive.
@param storage_sync_service_name [String] Name of Storage Sync Service
resource.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Delete",
"a",
"given",
"StorageSyncService",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_storagesync/lib/2018-07-01/generated/azure_mgmt_storagesync/storage_sync_services.rb#L475-L478 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2017-10-01-preview/generated/azure_mgmt_sql/managed_database_vulnerability_assessments.rb | Azure::SQL::Mgmt::V2017_10_01_preview.ManagedDatabaseVulnerabilityAssessments.delete_with_http_info | def delete_with_http_info(resource_group_name, managed_instance_name, database_name, custom_headers:nil)
delete_async(resource_group_name, managed_instance_name, database_name, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, managed_instance_name, database_name, custom_headers:nil)
delete_async(resource_group_name, managed_instance_name, database_name, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"managed_instance_name",
",",
"database_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"managed_instance_name",
",",
"database_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Removes the database's vulnerability assessment.
@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 for which the
vulnerability assessment is defined.
@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. | [
"Removes",
"the",
"database",
"s",
"vulnerability",
"assessment",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2017-10-01-preview/generated/azure_mgmt_sql/managed_database_vulnerability_assessments.rb#L292-L294 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_api_management/lib/2019-01-01/generated/azure_mgmt_api_management/api_management_service.rb | Azure::ApiManagement::Mgmt::V2019_01_01.ApiManagementService.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, service_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, service_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"service_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"service_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates or updates an API Management service. This is long running operation
and could take several minutes to complete.
@param resource_group_name [String] The name of the resource group.
@param service_name [String] The name of the API Management service.
@param parameters [ApiManagementServiceResource] Parameters supplied to the
CreateOrUpdate API Management service 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",
"or",
"updates",
"an",
"API",
"Management",
"service",
".",
"This",
"is",
"long",
"running",
"operation",
"and",
"could",
"take",
"several",
"minutes",
"to",
"complete",
"."
] | 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/api_management_service.rb#L1032-L1034 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/product_api.rb | Azure::ApiManagement::Mgmt::V2018_01_01.ProductApi.check_entity_exists_with_http_info | def check_entity_exists_with_http_info(resource_group_name, service_name, product_id, api_id, custom_headers:nil)
check_entity_exists_async(resource_group_name, service_name, product_id, api_id, custom_headers:custom_headers).value!
end | ruby | def check_entity_exists_with_http_info(resource_group_name, service_name, product_id, api_id, custom_headers:nil)
check_entity_exists_async(resource_group_name, service_name, product_id, api_id, custom_headers:custom_headers).value!
end | [
"def",
"check_entity_exists_with_http_info",
"(",
"resource_group_name",
",",
"service_name",
",",
"product_id",
",",
"api_id",
",",
"custom_headers",
":",
"nil",
")",
"check_entity_exists_async",
"(",
"resource_group_name",
",",
"service_name",
",",
"product_id",
",",
"api_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Checks that API entity specified by identifier is associated with the Product
entity.
@param resource_group_name [String] The name of the resource group.
@param service_name [String] The name of the API Management service.
@param product_id [String] Product identifier. Must be unique in the current
API Management service instance.
@param api_id [String] API revision identifier. Must be unique in the current
API Management service instance. Non-current revision has ;rev=n as a suffix
where n is the revision number.
@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. | [
"Checks",
"that",
"API",
"entity",
"specified",
"by",
"identifier",
"is",
"associated",
"with",
"the",
"Product",
"entity",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/product_api.rb#L216-L218 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/sensitivity_labels.rb | Azure::SQL::Mgmt::V2017_03_01_preview.SensitivityLabels.get_with_http_info | def get_with_http_info(resource_group_name, server_name, database_name, schema_name, table_name, column_name, sensitivity_label_source, custom_headers:nil)
get_async(resource_group_name, server_name, database_name, schema_name, table_name, column_name, sensitivity_label_source, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, server_name, database_name, schema_name, table_name, column_name, sensitivity_label_source, custom_headers:nil)
get_async(resource_group_name, server_name, database_name, schema_name, table_name, column_name, sensitivity_label_source, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"server_name",
",",
"database_name",
",",
"schema_name",
",",
"table_name",
",",
"column_name",
",",
"sensitivity_label_source",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"database_name",
",",
"schema_name",
",",
"table_name",
",",
"column_name",
",",
"sensitivity_label_source",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the sensitivity label of a given column
@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 database_name [String] The name of the database.
@param schema_name [String] The name of the schema.
@param table_name [String] The name of the table.
@param column_name [String] The name of the column.
@param sensitivity_label_source [SensitivityLabelSource] The source of the
sensitivity label. Possible values include: 'current', 'recommended'
@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",
"sensitivity",
"label",
"of",
"a",
"given",
"column"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/sensitivity_labels.rb#L504-L506 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/streaming_policies.rb | Azure::MediaServices::Mgmt::V2018_07_01.StreamingPolicies.get_with_http_info | def get_with_http_info(resource_group_name, account_name, streaming_policy_name, custom_headers:nil)
get_async(resource_group_name, account_name, streaming_policy_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, account_name, streaming_policy_name, custom_headers:nil)
get_async(resource_group_name, account_name, streaming_policy_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"account_name",
",",
"streaming_policy_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"streaming_policy_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Get a Streaming Policy
Get the details of a Streaming Policy in the Media Services account
@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 streaming_policy_name [String] The Streaming Policy 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",
"Streaming",
"Policy"
] | 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/streaming_policies.rb#L176-L178 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/streaming_policies.rb | Azure::MediaServices::Mgmt::V2018_07_01.StreamingPolicies.create_with_http_info | def create_with_http_info(resource_group_name, account_name, streaming_policy_name, parameters, custom_headers:nil)
create_async(resource_group_name, account_name, streaming_policy_name, parameters, custom_headers:custom_headers).value!
end | ruby | def create_with_http_info(resource_group_name, account_name, streaming_policy_name, parameters, custom_headers:nil)
create_async(resource_group_name, account_name, streaming_policy_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"create_with_http_info",
"(",
"resource_group_name",
",",
"account_name",
",",
"streaming_policy_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"create_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"streaming_policy_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Create a Streaming Policy
Create a Streaming Policy in the Media Services account
@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 streaming_policy_name [String] The Streaming Policy name.
@param parameters [StreamingPolicy] The request 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. | [
"Create",
"a",
"Streaming",
"Policy"
] | 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/streaming_policies.rb#L283-L285 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/streaming_policies.rb | Azure::MediaServices::Mgmt::V2018_07_01.StreamingPolicies.delete_with_http_info | def delete_with_http_info(resource_group_name, account_name, streaming_policy_name, custom_headers:nil)
delete_async(resource_group_name, account_name, streaming_policy_name, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, account_name, streaming_policy_name, custom_headers:nil)
delete_async(resource_group_name, account_name, streaming_policy_name, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"account_name",
",",
"streaming_policy_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"streaming_policy_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Delete a Streaming Policy
Deletes a Streaming Policy in the Media Services account
@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 streaming_policy_name [String] The Streaming Policy 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",
"Streaming",
"Policy"
] | 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/streaming_policies.rb#L396-L398 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_traffic_manager/lib/2018-02-01/generated/azure_mgmt_traffic_manager/geographic_hierarchies.rb | Azure::TrafficManager::Mgmt::V2018_02_01.GeographicHierarchies.get_default | def get_default(custom_headers:nil)
response = get_default_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_default(custom_headers:nil)
response = get_default_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_default",
"(",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_default_async",
"(",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets the default Geographic Hierarchy used by the Geographic traffic routing
method.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [TrafficManagerGeographicHierarchy] operation results. | [
"Gets",
"the",
"default",
"Geographic",
"Hierarchy",
"used",
"by",
"the",
"Geographic",
"traffic",
"routing",
"method",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_traffic_manager/lib/2018-02-01/generated/azure_mgmt_traffic_manager/geographic_hierarchies.rb#L33-L36 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2017-10-01-preview/generated/azure_mgmt_sql/managed_instance_keys.rb | Azure::SQL::Mgmt::V2017_10_01_preview.ManagedInstanceKeys.list_by_instance_with_http_info | def list_by_instance_with_http_info(resource_group_name, managed_instance_name, filter:nil, custom_headers:nil)
list_by_instance_async(resource_group_name, managed_instance_name, filter:filter, custom_headers:custom_headers).value!
end | ruby | def list_by_instance_with_http_info(resource_group_name, managed_instance_name, filter:nil, custom_headers:nil)
list_by_instance_async(resource_group_name, managed_instance_name, filter:filter, custom_headers:custom_headers).value!
end | [
"def",
"list_by_instance_with_http_info",
"(",
"resource_group_name",
",",
"managed_instance_name",
",",
"filter",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"list_by_instance_async",
"(",
"resource_group_name",
",",
"managed_instance_name",
",",
"filter",
":",
"filter",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets a list of managed instance keys.
@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 filter [String] An OData filter expression that filters elements in
the collection.
@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",
"list",
"of",
"managed",
"instance",
"keys",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2017-10-01-preview/generated/azure_mgmt_sql/managed_instance_keys.rb#L60-L62 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2017-10-01-preview/generated/azure_mgmt_sql/managed_instance_keys.rb | Azure::SQL::Mgmt::V2017_10_01_preview.ManagedInstanceKeys.get_with_http_info | def get_with_http_info(resource_group_name, managed_instance_name, key_name, custom_headers:nil)
get_async(resource_group_name, managed_instance_name, key_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, managed_instance_name, key_name, custom_headers:nil)
get_async(resource_group_name, managed_instance_name, key_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"managed_instance_name",
",",
"key_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"managed_instance_name",
",",
"key_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets a managed instance key.
@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 key_name [String] The name of the managed instance key to be
retrieved.
@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",
"managed",
"instance",
"key",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2017-10-01-preview/generated/azure_mgmt_sql/managed_instance_keys.rb#L164-L166 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2017-10-01-preview/generated/azure_mgmt_sql/managed_instance_keys.rb | Azure::SQL::Mgmt::V2017_10_01_preview.ManagedInstanceKeys.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, managed_instance_name, key_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, managed_instance_name, key_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, managed_instance_name, key_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, managed_instance_name, key_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"managed_instance_name",
",",
"key_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"managed_instance_name",
",",
"key_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates or updates a managed instance key.
@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 key_name [String] The name of the managed instance key to be operated
on (updated or created).
@param parameters [ManagedInstanceKey] The requested managed instance key
resource state.
@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",
"managed",
"instance",
"key",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2017-10-01-preview/generated/azure_mgmt_sql/managed_instance_keys.rb#L371-L373 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.