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_sql/lib/2014-04-01/generated/azure_mgmt_sql/databases.rb | Azure::SQL::Mgmt::V2014_04_01.Databases.delete_with_http_info | def delete_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil)
delete_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil)
delete_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"server_name",
",",
"database_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"database_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes a database.
@param resource_group_name [String] The name of the resource group that
contains the resource. You can obtain this value from the Azure Resource
Manager API or the portal.
@param server_name [String] The name of the server.
@param database_name [String] The name of the database to be deleted.
@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",
"database",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/databases.rb#L251-L253 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/databases.rb | Azure::SQL::Mgmt::V2014_04_01.Databases.list_metric_definitions_with_http_info | def list_metric_definitions_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil)
list_metric_definitions_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value!
end | ruby | def list_metric_definitions_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil)
list_metric_definitions_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value!
end | [
"def",
"list_metric_definitions_with_http_info",
"(",
"resource_group_name",
",",
"server_name",
",",
"database_name",
",",
"custom_headers",
":",
"nil",
")",
"list_metric_definitions_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"database_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Returns database metric definitions.
@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 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",
"database",
"metric",
"definitions",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/databases.rb#L1259-L1261 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/databases.rb | Azure::SQL::Mgmt::V2014_04_01.Databases.begin_resume_with_http_info | def begin_resume_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil)
begin_resume_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value!
end | ruby | def begin_resume_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil)
begin_resume_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value!
end | [
"def",
"begin_resume_with_http_info",
"(",
"resource_group_name",
",",
"server_name",
",",
"database_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_resume_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"database_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Resumes a data warehouse.
@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 data warehouse to resume.
@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. | [
"Resumes",
"a",
"data",
"warehouse",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/databases.rb#L1451-L1453 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/email_template.rb | Azure::ApiManagement::Mgmt::V2018_01_01.EmailTemplate.get_with_http_info | def get_with_http_info(resource_group_name, service_name, template_name, custom_headers:nil)
get_async(resource_group_name, service_name, template_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, service_name, template_name, custom_headers:nil)
get_async(resource_group_name, service_name, template_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"service_name",
",",
"template_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"service_name",
",",
"template_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the details of the email template 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 template_name [TemplateName] Email Template Name Identifier. Possible
values include: 'applicationApprovedNotificationMessage',
'accountClosedDeveloper',
'quotaLimitApproachingDeveloperNotificationMessage',
'newDeveloperNotificationMessage', 'emailChangeIdentityDefault',
'inviteUserNotificationMessage', 'newCommentNotificationMessage',
'confirmSignUpIdentityDefault', 'newIssueNotificationMessage',
'purchaseDeveloperNotificationMessage', 'passwordResetIdentityDefault',
'passwordResetByAdminNotificationMessage',
'rejectDeveloperNotificationMessage', 'requestDeveloperNotificationMessage'
@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",
"email",
"template",
"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/email_template.rb#L290-L292 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/email_template.rb | Azure::ApiManagement::Mgmt::V2018_01_01.EmailTemplate.list_by_service_next | def list_by_service_next(next_page_link, custom_headers:nil)
response = list_by_service_next_async(next_page_link, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_by_service_next(next_page_link, custom_headers:nil)
response = list_by_service_next_async(next_page_link, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_by_service_next",
"(",
"next_page_link",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_by_service_next_async",
"(",
"next_page_link",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Lists a collection of properties defined within a service instance.
@param next_page_link [String] The NextLink from the previous successful call
to List operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [EmailTemplateCollection] operation results. | [
"Lists",
"a",
"collection",
"of",
"properties",
"defined",
"within",
"a",
"service",
"instance",
"."
] | 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/email_template.rb#L793-L796 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_stor_simple8000_series/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/volume_containers.rb | Azure::StorSimple8000Series::Mgmt::V2017_06_01.VolumeContainers.get_with_http_info | def get_with_http_info(device_name, volume_container_name, resource_group_name, manager_name, custom_headers:nil)
get_async(device_name, volume_container_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(device_name, volume_container_name, resource_group_name, manager_name, custom_headers:nil)
get_async(device_name, volume_container_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"device_name",
",",
"volume_container_name",
",",
"resource_group_name",
",",
"manager_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"device_name",
",",
"volume_container_name",
",",
"resource_group_name",
",",
"manager_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the properties of the specified volume container name.
@param device_name [String] The device name
@param volume_container_name [String] The name of the volume container.
@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. | [
"Gets",
"the",
"properties",
"of",
"the",
"specified",
"volume",
"container",
"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/volume_containers.rb#L151-L153 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_stor_simple8000_series/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/volume_containers.rb | Azure::StorSimple8000Series::Mgmt::V2017_06_01.VolumeContainers.list_metric_definition | def list_metric_definition(device_name, volume_container_name, resource_group_name, manager_name, custom_headers:nil)
response = list_metric_definition_async(device_name, volume_container_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_metric_definition(device_name, volume_container_name, resource_group_name, manager_name, custom_headers:nil)
response = list_metric_definition_async(device_name, volume_container_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_metric_definition",
"(",
"device_name",
",",
"volume_container_name",
",",
"resource_group_name",
",",
"manager_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_metric_definition_async",
"(",
"device_name",
",",
"volume_container_name",
",",
"resource_group_name",
",",
"manager_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets the metric definitions for the specified volume container.
@param device_name [String] The device name
@param volume_container_name [String] The volume container name.
@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 [MetricDefinitionList] operation results. | [
"Gets",
"the",
"metric",
"definitions",
"for",
"the",
"specified",
"volume",
"container",
"."
] | 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/volume_containers.rb#L435-L438 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_stor_simple8000_series/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/volume_containers.rb | Azure::StorSimple8000Series::Mgmt::V2017_06_01.VolumeContainers.begin_delete_with_http_info | def begin_delete_with_http_info(device_name, volume_container_name, resource_group_name, manager_name, custom_headers:nil)
begin_delete_async(device_name, volume_container_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
end | ruby | def begin_delete_with_http_info(device_name, volume_container_name, resource_group_name, manager_name, custom_headers:nil)
begin_delete_async(device_name, volume_container_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
end | [
"def",
"begin_delete_with_http_info",
"(",
"device_name",
",",
"volume_container_name",
",",
"resource_group_name",
",",
"manager_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_delete_async",
"(",
"device_name",
",",
"volume_container_name",
",",
"resource_group_name",
",",
"manager_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes the volume container.
@param device_name [String] The device name
@param volume_container_name [String] The name of the volume container.
@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. | [
"Deletes",
"the",
"volume",
"container",
"."
] | 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/volume_containers.rb#L669-L671 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/application_security_groups.rb | Azure::Network::Mgmt::V2019_02_01.ApplicationSecurityGroups.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, application_security_group_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, application_security_group_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"application_security_group_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"application_security_group_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates or updates an application security group.
@param resource_group_name [String] The name of the resource group.
@param application_security_group_name [String] The name of the application
security group.
@param parameters [ApplicationSecurityGroup] Parameters supplied to the
create or update ApplicationSecurityGroup 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",
"application",
"security",
"group",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/application_security_groups.rb#L542-L544 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/application_security_groups.rb | Azure::Network::Mgmt::V2019_02_01.ApplicationSecurityGroups.begin_update_tags_with_http_info | def begin_update_tags_with_http_info(resource_group_name, application_security_group_name, parameters, custom_headers:nil)
begin_update_tags_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_update_tags_with_http_info(resource_group_name, application_security_group_name, parameters, custom_headers:nil)
begin_update_tags_async(resource_group_name, application_security_group_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_update_tags_with_http_info",
"(",
"resource_group_name",
",",
"application_security_group_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_update_tags_async",
"(",
"resource_group_name",
",",
"application_security_group_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Updates an application security group's tags.
@param resource_group_name [String] The name of the resource group.
@param application_security_group_name [String] The name of the application
security group.
@param parameters [TagsObject] Parameters supplied to update application
security group tags.
@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",
"application",
"security",
"group",
"s",
"tags",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/application_security_groups.rb#L661-L663 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/network_interface_load_balancers.rb | Azure::Network::Mgmt::V2018_07_01.NetworkInterfaceLoadBalancers.list | def list(resource_group_name, network_interface_name, custom_headers:nil)
first_page = list_as_lazy(resource_group_name, network_interface_name, custom_headers:custom_headers)
first_page.get_all_items
end | ruby | def list(resource_group_name, network_interface_name, custom_headers:nil)
first_page = list_as_lazy(resource_group_name, network_interface_name, custom_headers:custom_headers)
first_page.get_all_items
end | [
"def",
"list",
"(",
"resource_group_name",
",",
"network_interface_name",
",",
"custom_headers",
":",
"nil",
")",
"first_page",
"=",
"list_as_lazy",
"(",
"resource_group_name",
",",
"network_interface_name",
",",
"custom_headers",
":custom_headers",
")",
"first_page",
".",
"get_all_items",
"end"
] | List all load balancers in a network interface.
@param resource_group_name [String] The name of the resource group.
@param network_interface_name [String] The name of the network interface.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array<LoadBalancer>] operation results. | [
"List",
"all",
"load",
"balancers",
"in",
"a",
"network",
"interface",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/network_interface_load_balancers.rb#L34-L37 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/job_operations.rb | Azure::Automation::Mgmt::V2015_10_31.JobOperations.create_with_http_info | def create_with_http_info(resource_group_name, automation_account_name, job_id, parameters, custom_headers:nil)
create_async(resource_group_name, automation_account_name, job_id, parameters, custom_headers:custom_headers).value!
end | ruby | def create_with_http_info(resource_group_name, automation_account_name, job_id, parameters, custom_headers:nil)
create_async(resource_group_name, automation_account_name, job_id, parameters, custom_headers:custom_headers).value!
end | [
"def",
"create_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"job_id",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"create_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"job_id",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Create a job of the runbook.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param job_id The job id.
@param parameters [JobCreateParameters] The parameters supplied to the create
job 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",
"job",
"of",
"the",
"runbook",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/job_operations.rb#L542-L544 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb | Azure::Compute::Mgmt::V2017_12_01.VirtualMachineScaleSetVMs.get_with_http_info | def get_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil)
get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil)
get_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"vm_scale_set_name",
",",
"instance_id",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"vm_scale_set_name",
",",
"instance_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets a virtual machine from a VM scale set.
@param resource_group_name [String] The name of the resource group.
@param vm_scale_set_name [String] The name of the VM scale set.
@param instance_id [String] The instance ID of the virtual machine.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"a",
"virtual",
"machine",
"from",
"a",
"VM",
"scale",
"set",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb#L282-L284 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb | Azure::Compute::Mgmt::V2017_12_01.VirtualMachineScaleSetVMs.begin_delete_with_http_info | def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil)
begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value!
end | ruby | def begin_delete_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil)
begin_delete_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value!
end | [
"def",
"begin_delete_with_http_info",
"(",
"resource_group_name",
",",
"vm_scale_set_name",
",",
"instance_id",
",",
"custom_headers",
":",
"nil",
")",
"begin_delete_async",
"(",
"resource_group_name",
",",
"vm_scale_set_name",
",",
"instance_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes a virtual machine from a VM scale set.
@param resource_group_name [String] The name of the resource group.
@param vm_scale_set_name [String] The name of the VM scale set.
@param instance_id [String] The instance ID of the virtual machine.
@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",
"virtual",
"machine",
"from",
"a",
"VM",
"scale",
"set",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb#L1223-L1225 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb | Azure::Compute::Mgmt::V2017_12_01.VirtualMachineScaleSetVMs.begin_start_with_http_info | def begin_start_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil)
begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value!
end | ruby | def begin_start_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil)
begin_start_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value!
end | [
"def",
"begin_start_with_http_info",
"(",
"resource_group_name",
",",
"vm_scale_set_name",
",",
"instance_id",
",",
"custom_headers",
":",
"nil",
")",
"begin_start_async",
"(",
"resource_group_name",
",",
"vm_scale_set_name",
",",
"instance_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Starts a virtual machine in a VM scale set.
@param resource_group_name [String] The name of the resource group.
@param vm_scale_set_name [String] The name of the VM scale set.
@param instance_id [String] The instance ID of the virtual machine.
@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. | [
"Starts",
"a",
"virtual",
"machine",
"in",
"a",
"VM",
"scale",
"set",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb#L1517-L1519 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb | Azure::Compute::Mgmt::V2017_12_01.VirtualMachineScaleSetVMs.begin_redeploy_with_http_info | def begin_redeploy_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil)
begin_redeploy_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value!
end | ruby | def begin_redeploy_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil)
begin_redeploy_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value!
end | [
"def",
"begin_redeploy_with_http_info",
"(",
"resource_group_name",
",",
"vm_scale_set_name",
",",
"instance_id",
",",
"custom_headers",
":",
"nil",
")",
"begin_redeploy_async",
"(",
"resource_group_name",
",",
"vm_scale_set_name",
",",
"instance_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Redeploys a virtual machine in a VM scale set.
@param resource_group_name [String] The name of the resource group.
@param vm_scale_set_name [String] The name of the VM scale set.
@param instance_id [String] The instance ID of the virtual machine.
@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. | [
"Redeploys",
"a",
"virtual",
"machine",
"in",
"a",
"VM",
"scale",
"set",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb#L1613-L1615 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb | Azure::Compute::Mgmt::V2017_12_01.VirtualMachineScaleSetVMs.begin_perform_maintenance_with_http_info | def begin_perform_maintenance_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil)
begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value!
end | ruby | def begin_perform_maintenance_with_http_info(resource_group_name, vm_scale_set_name, instance_id, custom_headers:nil)
begin_perform_maintenance_async(resource_group_name, vm_scale_set_name, instance_id, custom_headers:custom_headers).value!
end | [
"def",
"begin_perform_maintenance_with_http_info",
"(",
"resource_group_name",
",",
"vm_scale_set_name",
",",
"instance_id",
",",
"custom_headers",
":",
"nil",
")",
"begin_perform_maintenance_async",
"(",
"resource_group_name",
",",
"vm_scale_set_name",
",",
"instance_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Performs maintenance on a virtual machine in a VM scale set.
@param resource_group_name [String] The name of the resource group.
@param vm_scale_set_name [String] The name of the VM scale set.
@param instance_id [String] The instance ID of the virtual machine.
@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. | [
"Performs",
"maintenance",
"on",
"a",
"virtual",
"machine",
"in",
"a",
"VM",
"scale",
"set",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machine_scale_set_vms.rb#L1709-L1711 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/job_schedule_operations.rb | Azure::Automation::Mgmt::V2015_10_31.JobScheduleOperations.get_with_http_info | def get_with_http_info(resource_group_name, automation_account_name, job_schedule_id, custom_headers:nil)
get_async(resource_group_name, automation_account_name, job_schedule_id, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, automation_account_name, job_schedule_id, custom_headers:nil)
get_async(resource_group_name, automation_account_name, job_schedule_id, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"job_schedule_id",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"job_schedule_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Retrieve the job schedule identified by job 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 job_schedule_id The job 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",
"job",
"schedule",
"identified",
"by",
"job",
"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/job_schedule_operations.rb#L139-L141 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/job_schedule_operations.rb | Azure::Automation::Mgmt::V2015_10_31.JobScheduleOperations.create_with_http_info | def create_with_http_info(resource_group_name, automation_account_name, job_schedule_id, parameters, custom_headers:nil)
create_async(resource_group_name, automation_account_name, job_schedule_id, parameters, custom_headers:custom_headers).value!
end | ruby | def create_with_http_info(resource_group_name, automation_account_name, job_schedule_id, parameters, custom_headers:nil)
create_async(resource_group_name, automation_account_name, job_schedule_id, parameters, custom_headers:custom_headers).value!
end | [
"def",
"create_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"job_schedule_id",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"create_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"job_schedule_id",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Create a job schedule.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param job_schedule_id The job schedule name.
@param parameters [JobScheduleCreateParameters] The parameters supplied to
the create job 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",
"job",
"schedule",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/job_schedule_operations.rb#L242-L244 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_container_registry/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/build_tasks.rb | Azure::ContainerRegistry::Mgmt::V2018_02_01_preview.BuildTasks.get_with_http_info | def get_with_http_info(resource_group_name, registry_name, build_task_name, custom_headers:nil)
get_async(resource_group_name, registry_name, build_task_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, registry_name, build_task_name, custom_headers:nil)
get_async(resource_group_name, registry_name, build_task_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"registry_name",
",",
"build_task_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"registry_name",
",",
"build_task_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Get the properties of a specified build task.
@param resource_group_name [String] The name of the resource group to which
the container registry belongs.
@param registry_name [String] The name of the container registry.
@param build_task_name [String] The name of the container registry build
task.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Get",
"the",
"properties",
"of",
"a",
"specified",
"build",
"task",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_container_registry/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/build_tasks.rb#L162-L164 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/storage_insights.rb | Azure::OperationalInsights::Mgmt::V2015_03_20.StorageInsights.get_with_http_info | def get_with_http_info(resource_group_name, workspace_name, storage_insight_name, custom_headers:nil)
get_async(resource_group_name, workspace_name, storage_insight_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, workspace_name, storage_insight_name, custom_headers:nil)
get_async(resource_group_name, workspace_name, storage_insight_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"workspace_name",
",",
"storage_insight_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"workspace_name",
",",
"storage_insight_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets a storage insight instance.
@param resource_group_name [String] The name of the resource group to get.
The name is case insensitive.
@param workspace_name [String] Log Analytics Workspace name that contains the
storageInsightsConfigs resource
@param storage_insight_name [String] Name of the storageInsightsConfigs
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. | [
"Gets",
"a",
"storage",
"insight",
"instance",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/storage_insights.rb#L189-L191 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/storage_insights.rb | Azure::OperationalInsights::Mgmt::V2015_03_20.StorageInsights.delete_with_http_info | def delete_with_http_info(resource_group_name, workspace_name, storage_insight_name, custom_headers:nil)
delete_async(resource_group_name, workspace_name, storage_insight_name, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, workspace_name, storage_insight_name, custom_headers:nil)
delete_async(resource_group_name, workspace_name, storage_insight_name, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"workspace_name",
",",
"storage_insight_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"workspace_name",
",",
"storage_insight_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes a storageInsightsConfigs resource
@param resource_group_name [String] The name of the resource group to get.
The name is case insensitive.
@param workspace_name [String] Log Analytics Workspace name that contains the
storageInsightsConfigs resource
@param storage_insight_name [String] Name of the storageInsightsConfigs
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. | [
"Deletes",
"a",
"storageInsightsConfigs",
"resource"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/storage_insights.rb#L296-L298 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_recovery_services_backup/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/operation.rb | Azure::RecoveryServicesBackup::Mgmt::V2017_07_01.Operation.validate_with_http_info | def validate_with_http_info(vault_name, resource_group_name, parameters, custom_headers:nil)
validate_async(vault_name, resource_group_name, parameters, custom_headers:custom_headers).value!
end | ruby | def validate_with_http_info(vault_name, resource_group_name, parameters, custom_headers:nil)
validate_async(vault_name, resource_group_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"validate_with_http_info",
"(",
"vault_name",
",",
"resource_group_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"validate_async",
"(",
"vault_name",
",",
"resource_group_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Validate operation for specified backed up item. This is a synchronous
operation.
@param vault_name [String] The name of the recovery services vault.
@param resource_group_name [String] The name of the resource group where the
recovery services vault is present.
@param parameters [ValidateOperationRequest] resource validate operation
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. | [
"Validate",
"operation",
"for",
"specified",
"backed",
"up",
"item",
".",
"This",
"is",
"a",
"synchronous",
"operation",
"."
] | 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/operation.rb#L61-L63 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_labservices/lib/2018-10-15/generated/azure_mgmt_labservices/global_users.rb | Azure::Labservices::Mgmt::V2018_10_15.GlobalUsers.get_operation_batch_status | def get_operation_batch_status(user_name, operation_batch_status_payload, custom_headers:nil)
response = get_operation_batch_status_async(user_name, operation_batch_status_payload, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_operation_batch_status(user_name, operation_batch_status_payload, custom_headers:nil)
response = get_operation_batch_status_async(user_name, operation_batch_status_payload, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_operation_batch_status",
"(",
"user_name",
",",
"operation_batch_status_payload",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_operation_batch_status_async",
"(",
"user_name",
",",
"operation_batch_status_payload",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Get batch operation status
@param user_name [String] The name of the user.
@param operation_batch_status_payload [OperationBatchStatusPayload] Payload
to get the status of an operation
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [OperationBatchStatusResponse] operation results. | [
"Get",
"batch",
"operation",
"status"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_labservices/lib/2018-10-15/generated/azure_mgmt_labservices/global_users.rb#L145-L148 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_labservices/lib/2018-10-15/generated/azure_mgmt_labservices/global_users.rb | Azure::Labservices::Mgmt::V2018_10_15.GlobalUsers.get_operation_status | def get_operation_status(user_name, operation_status_payload, custom_headers:nil)
response = get_operation_status_async(user_name, operation_status_payload, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_operation_status(user_name, operation_status_payload, custom_headers:nil)
response = get_operation_status_async(user_name, operation_status_payload, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_operation_status",
"(",
"user_name",
",",
"operation_status_payload",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_operation_status_async",
"(",
"user_name",
",",
"operation_status_payload",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets the status of long running operation
@param user_name [String] The name of the user.
@param operation_status_payload [OperationStatusPayload] Payload to get the
status of an operation
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [OperationStatusResponse] operation results. | [
"Gets",
"the",
"status",
"of",
"long",
"running",
"operation"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_labservices/lib/2018-10-15/generated/azure_mgmt_labservices/global_users.rb#L246-L249 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_labservices/lib/2018-10-15/generated/azure_mgmt_labservices/global_users.rb | Azure::Labservices::Mgmt::V2018_10_15.GlobalUsers.get_personal_preferences | def get_personal_preferences(user_name, personal_preferences_operations_payload, custom_headers:nil)
response = get_personal_preferences_async(user_name, personal_preferences_operations_payload, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_personal_preferences(user_name, personal_preferences_operations_payload, custom_headers:nil)
response = get_personal_preferences_async(user_name, personal_preferences_operations_payload, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_personal_preferences",
"(",
"user_name",
",",
"personal_preferences_operations_payload",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_personal_preferences_async",
"(",
"user_name",
",",
"personal_preferences_operations_payload",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Get personal preferences for a user
@param user_name [String] The name of the user.
@param personal_preferences_operations_payload
[PersonalPreferencesOperationsPayload] Represents payload for any Environment
operations like get, start, stop, connect
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [GetPersonalPreferencesResponse] operation results. | [
"Get",
"personal",
"preferences",
"for",
"a",
"user"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_labservices/lib/2018-10-15/generated/azure_mgmt_labservices/global_users.rb#L348-L351 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_labservices/lib/2018-10-15/generated/azure_mgmt_labservices/global_users.rb | Azure::Labservices::Mgmt::V2018_10_15.GlobalUsers.list_environments | def list_environments(user_name, list_environments_payload, custom_headers:nil)
response = list_environments_async(user_name, list_environments_payload, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_environments(user_name, list_environments_payload, custom_headers:nil)
response = list_environments_async(user_name, list_environments_payload, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_environments",
"(",
"user_name",
",",
"list_environments_payload",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_environments_async",
"(",
"user_name",
",",
"list_environments_payload",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | List Environments for the user
@param user_name [String] The name of the user.
@param list_environments_payload [ListEnvironmentsPayload] Represents the
payload to list environments owned by a user
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [ListEnvironmentsResponse] operation results. | [
"List",
"Environments",
"for",
"the",
"user"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_labservices/lib/2018-10-15/generated/azure_mgmt_labservices/global_users.rb#L451-L454 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_labservices/lib/2018-10-15/generated/azure_mgmt_labservices/global_users.rb | Azure::Labservices::Mgmt::V2018_10_15.GlobalUsers.list_labs | def list_labs(user_name, custom_headers:nil)
response = list_labs_async(user_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_labs(user_name, custom_headers:nil)
response = list_labs_async(user_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_labs",
"(",
"user_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_labs_async",
"(",
"user_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | List labs for the user.
@param user_name [String] The name of the user.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [ListLabsResponse] operation results. | [
"List",
"labs",
"for",
"the",
"user",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_labservices/lib/2018-10-15/generated/azure_mgmt_labservices/global_users.rb#L550-L553 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_labservices/lib/2018-10-15/generated/azure_mgmt_labservices/global_users.rb | Azure::Labservices::Mgmt::V2018_10_15.GlobalUsers.register | def register(user_name, register_payload, custom_headers:nil)
response = register_async(user_name, register_payload, custom_headers:custom_headers).value!
nil
end | ruby | def register(user_name, register_payload, custom_headers:nil)
response = register_async(user_name, register_payload, custom_headers:custom_headers).value!
nil
end | [
"def",
"register",
"(",
"user_name",
",",
"register_payload",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"register_async",
"(",
"user_name",
",",
"register_payload",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Register a user to a managed lab
@param user_name [String] The name of the user.
@param register_payload [RegisterPayload] Represents payload for Register
action.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Register",
"a",
"user",
"to",
"a",
"managed",
"lab"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_labservices/lib/2018-10-15/generated/azure_mgmt_labservices/global_users.rb#L638-L641 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/network_profiles.rb | Azure::Network::Mgmt::V2019_02_01.NetworkProfiles.delete | def delete(resource_group_name, network_profile_name, custom_headers:nil)
response = delete_async(resource_group_name, network_profile_name, custom_headers:custom_headers).value!
nil
end | ruby | def delete(resource_group_name, network_profile_name, custom_headers:nil)
response = delete_async(resource_group_name, network_profile_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"delete",
"(",
"resource_group_name",
",",
"network_profile_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_async",
"(",
"resource_group_name",
",",
"network_profile_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Deletes the specified network profile.
@param resource_group_name [String] The name of the resource group.
@param network_profile_name [String] The name of the NetworkProfile.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Deletes",
"the",
"specified",
"network",
"profile",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/network_profiles.rb#L32-L35 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/network_profiles.rb | Azure::Network::Mgmt::V2019_02_01.NetworkProfiles.get_with_http_info | def get_with_http_info(resource_group_name, network_profile_name, expand:nil, custom_headers:nil)
get_async(resource_group_name, network_profile_name, expand:expand, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, network_profile_name, expand:nil, custom_headers:nil)
get_async(resource_group_name, network_profile_name, expand:expand, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"network_profile_name",
",",
"expand",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"network_profile_name",
",",
"expand",
":",
"expand",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the specified network profile in a specified resource group.
@param resource_group_name [String] The name of the resource group.
@param network_profile_name [String] The name of the public IP prefix.
@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",
"network",
"profile",
"in",
"a",
"specified",
"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/network_profiles.rb#L89-L91 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/usages.rb | Azure::Automation::Mgmt::V2015_10_31.Usages.list_by_automation_account | def list_by_automation_account(resource_group_name, automation_account_name, custom_headers:nil)
response = list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_by_automation_account(resource_group_name, automation_account_name, custom_headers:nil)
response = list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_by_automation_account",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_by_automation_account_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Retrieve the usage for the account id.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [UsageListResult] operation results. | [
"Retrieve",
"the",
"usage",
"for",
"the",
"account",
"id",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/usages.rb#L34-L37 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2017-10-01-preview/generated/azure_mgmt_sql/elastic_pools.rb | Azure::SQL::Mgmt::V2017_10_01_preview.ElasticPools.get_with_http_info | def get_with_http_info(resource_group_name, server_name, elastic_pool_name, custom_headers:nil)
get_async(resource_group_name, server_name, elastic_pool_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, server_name, elastic_pool_name, custom_headers:nil)
get_async(resource_group_name, server_name, elastic_pool_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"server_name",
",",
"elastic_pool_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"elastic_pool_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets an 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 elastic_pool_name [String] The name of the elastic pool.
@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",
"an",
"elastic",
"pool",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2017-10-01-preview/generated/azure_mgmt_sql/elastic_pools.rb#L159-L161 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2017-10-01-preview/generated/azure_mgmt_sql/elastic_pools.rb | Azure::SQL::Mgmt::V2017_10_01_preview.ElasticPools.begin_delete_with_http_info | def begin_delete_with_http_info(resource_group_name, server_name, elastic_pool_name, custom_headers:nil)
begin_delete_async(resource_group_name, server_name, elastic_pool_name, custom_headers:custom_headers).value!
end | ruby | def begin_delete_with_http_info(resource_group_name, server_name, elastic_pool_name, custom_headers:nil)
begin_delete_async(resource_group_name, server_name, elastic_pool_name, custom_headers:custom_headers).value!
end | [
"def",
"begin_delete_with_http_info",
"(",
"resource_group_name",
",",
"server_name",
",",
"elastic_pool_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_delete_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"elastic_pool_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes an 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 elastic_pool_name [String] The name of the elastic pool.
@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",
"an",
"elastic",
"pool",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2017-10-01-preview/generated/azure_mgmt_sql/elastic_pools.rb#L527-L529 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_service_bus/lib/2017-04-01/generated/azure_mgmt_service_bus/rules.rb | Azure::ServiceBus::Mgmt::V2017_04_01.Rules.get_with_http_info | def get_with_http_info(resource_group_name, namespace_name, topic_name, subscription_name, rule_name, custom_headers:nil)
get_async(resource_group_name, namespace_name, topic_name, subscription_name, rule_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, namespace_name, topic_name, subscription_name, rule_name, custom_headers:nil)
get_async(resource_group_name, namespace_name, topic_name, subscription_name, rule_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"topic_name",
",",
"subscription_name",
",",
"rule_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"topic_name",
",",
"subscription_name",
",",
"rule_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Retrieves the description for the specified rule.
@param resource_group_name [String] Name of the Resource group within the
Azure subscription.
@param namespace_name [String] The namespace name
@param topic_name [String] The topic name.
@param subscription_name [String] The subscription name.
@param rule_name [String] The rule 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. | [
"Retrieves",
"the",
"description",
"for",
"the",
"specified",
"rule",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_service_bus/lib/2017-04-01/generated/azure_mgmt_service_bus/rules.rb#L421-L423 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/partners.rb | Azure::Logic::Mgmt::V2016_06_01.Partners.get_with_http_info | def get_with_http_info(resource_group_name, integration_account_name, partner_name, custom_headers:nil)
get_async(resource_group_name, integration_account_name, partner_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, integration_account_name, partner_name, custom_headers:nil)
get_async(resource_group_name, integration_account_name, partner_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"integration_account_name",
",",
"partner_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"integration_account_name",
",",
"partner_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets an integration account partner.
@param resource_group_name [String] The resource group name.
@param integration_account_name [String] The integration account name.
@param partner_name [String] The integration account partner 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",
"an",
"integration",
"account",
"partner",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/partners.rb#L152-L154 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/public_ipaddresses.rb | Azure::Network::Mgmt::V2018_07_01.PublicIPAddresses.get_with_http_info | def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil)
get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, public_ip_address_name, expand:nil, custom_headers:nil)
get_async(resource_group_name, public_ip_address_name, expand:expand, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"public_ip_address_name",
",",
"expand",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"public_ip_address_name",
",",
"expand",
":",
"expand",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the specified public IP address in a specified resource group.
@param resource_group_name [String] The name of the resource group.
@param public_ip_address_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",
"public",
"IP",
"address",
"in",
"a",
"specified",
"resource",
"group",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/public_ipaddresses.rb#L89-L91 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/public_ipaddresses.rb | Azure::Network::Mgmt::V2018_07_01.PublicIPAddresses.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, public_ip_address_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, public_ip_address_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"public_ip_address_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"public_ip_address_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates or updates a static or dynamic public IP address.
@param resource_group_name [String] The name of the resource group.
@param public_ip_address_name [String] The name of the public IP address.
@param parameters [PublicIPAddress] Parameters supplied to the create or
update public IP address 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",
"a",
"static",
"or",
"dynamic",
"public",
"IP",
"address",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/public_ipaddresses.rb#L531-L533 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_service_fabric/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/cluster_versions.rb | Azure::ServiceFabric::Mgmt::V2017_07_01_preview.ClusterVersions.get_by_environment_with_http_info | def get_by_environment_with_http_info(location, environment, api_version, subscription_id, cluster_version, custom_headers:nil)
get_by_environment_async(location, environment, api_version, subscription_id, cluster_version, custom_headers:custom_headers).value!
end | ruby | def get_by_environment_with_http_info(location, environment, api_version, subscription_id, cluster_version, custom_headers:nil)
get_by_environment_async(location, environment, api_version, subscription_id, cluster_version, custom_headers:custom_headers).value!
end | [
"def",
"get_by_environment_with_http_info",
"(",
"location",
",",
"environment",
",",
"api_version",
",",
"subscription_id",
",",
"cluster_version",
",",
"custom_headers",
":",
"nil",
")",
"get_by_environment_async",
"(",
"location",
",",
"environment",
",",
"api_version",
",",
"subscription_id",
",",
"cluster_version",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Get cluster code versions by environment
Get cluster code versions by environment
@param location [String] The location for the cluster code versions, this is
different from cluster location
@param environment [Enum] Cluster operating system, the default means all.
Possible values include: 'Windows', 'Linux'
@param api_version [String] The version of the API.
@param subscription_id [String] The customer subscription identifier
@param cluster_version [String] The cluster code version
@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",
"cluster",
"code",
"versions",
"by",
"environment"
] | 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/cluster_versions.rb#L175-L177 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_service_fabric/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/cluster_versions.rb | Azure::ServiceFabric::Mgmt::V2017_07_01_preview.ClusterVersions.list_with_http_info | def list_with_http_info(location, api_version, subscription_id, custom_headers:nil)
list_async(location, api_version, subscription_id, custom_headers:custom_headers).value!
end | ruby | def list_with_http_info(location, api_version, subscription_id, custom_headers:nil)
list_async(location, api_version, subscription_id, custom_headers:custom_headers).value!
end | [
"def",
"list_with_http_info",
"(",
"location",
",",
"api_version",
",",
"subscription_id",
",",
"custom_headers",
":",
"nil",
")",
"list_async",
"(",
"location",
",",
"api_version",
",",
"subscription_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | List cluster code versions by location
List cluster code versions by location
@param location [String] The location for the cluster code versions, this is
different from cluster location
@param api_version [String] The version of the API.
@param subscription_id [String] The customer subscription identifier
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"List",
"cluster",
"code",
"versions",
"by",
"location"
] | 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/cluster_versions.rb#L286-L288 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_authorization/lib/2018-09-01-preview/generated/azure_mgmt_authorization/role_assignments.rb | Azure::Authorization::Mgmt::V2018_09_01_preview.RoleAssignments.create_with_http_info | def create_with_http_info(scope, role_assignment_name, parameters, custom_headers:nil)
create_async(scope, role_assignment_name, parameters, custom_headers:custom_headers).value!
end | ruby | def create_with_http_info(scope, role_assignment_name, parameters, custom_headers:nil)
create_async(scope, role_assignment_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"create_with_http_info",
"(",
"scope",
",",
"role_assignment_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"create_async",
"(",
"scope",
",",
"role_assignment_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates a role assignment.
@param scope [String] The scope of the role assignment to create. The scope
can be any REST resource instance. For example, use
'/subscriptions/{subscription-id}/' for a subscription,
'/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}' for a
resource group, and
'/subscriptions/{subscription-id}/resourceGroups/{resource-group-name}/providers/{resource-provider}/{resource-type}/{resource-name}'
for a resource.
@param role_assignment_name [String] The name of the role assignment to
create. It can be any valid GUID.
@param parameters [RoleAssignmentCreateParameters] Parameters for the role
assignment.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Creates",
"a",
"role",
"assignment",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_authorization/lib/2018-09-01-preview/generated/azure_mgmt_authorization/role_assignments.rb#L388-L390 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_authorization/lib/2018-09-01-preview/generated/azure_mgmt_authorization/role_assignments.rb | Azure::Authorization::Mgmt::V2018_09_01_preview.RoleAssignments.get | def get(scope, role_assignment_name, custom_headers:nil)
response = get_async(scope, role_assignment_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get(scope, role_assignment_name, custom_headers:nil)
response = get_async(scope, role_assignment_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get",
"(",
"scope",
",",
"role_assignment_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_async",
"(",
"scope",
",",
"role_assignment_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Get the specified role assignment.
@param scope [String] The scope of the role assignment.
@param role_assignment_name [String] The name of the role assignment to get.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [RoleAssignment] operation results. | [
"Get",
"the",
"specified",
"role",
"assignment",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_authorization/lib/2018-09-01-preview/generated/azure_mgmt_authorization/role_assignments.rb#L482-L485 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_authorization/lib/2018-09-01-preview/generated/azure_mgmt_authorization/role_assignments.rb | Azure::Authorization::Mgmt::V2018_09_01_preview.RoleAssignments.list_for_resource_next | def list_for_resource_next(next_page_link, custom_headers:nil)
response = list_for_resource_next_async(next_page_link, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_for_resource_next(next_page_link, custom_headers:nil)
response = list_for_resource_next_async(next_page_link, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_for_resource_next",
"(",
"next_page_link",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_for_resource_next_async",
"(",
"next_page_link",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets role assignments for a resource.
@param next_page_link [String] The NextLink from the previous successful call
to List operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [RoleAssignmentListResult] operation results. | [
"Gets",
"role",
"assignments",
"for",
"a",
"resource",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_authorization/lib/2018-09-01-preview/generated/azure_mgmt_authorization/role_assignments.rb#L1044-L1047 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/vpn_connections.rb | Azure::Network::Mgmt::V2019_02_01.VpnConnections.get_with_http_info | def get_with_http_info(resource_group_name, gateway_name, connection_name, custom_headers:nil)
get_async(resource_group_name, gateway_name, connection_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, gateway_name, connection_name, custom_headers:nil)
get_async(resource_group_name, gateway_name, connection_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"gateway_name",
",",
"connection_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"gateway_name",
",",
"connection_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Retrieves the details of a vpn connection.
@param resource_group_name [String] The resource group name of the
VpnGateway.
@param gateway_name [String] The name of the gateway.
@param connection_name [String] The name of the vpn connection.
@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",
"the",
"details",
"of",
"a",
"vpn",
"connection",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/vpn_connections.rb#L53-L55 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_resources/lib/2016-02-01/generated/azure_mgmt_resources/resource_groups.rb | Azure::Resources::Mgmt::V2016_02_01.ResourceGroups.check_existence | def check_existence(resource_group_name, custom_headers:nil)
response = check_existence_async(resource_group_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def check_existence(resource_group_name, custom_headers:nil)
response = check_existence_async(resource_group_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"check_existence",
"(",
"resource_group_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"check_existence_async",
"(",
"resource_group_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Checks whether resource group exists.
@param resource_group_name [String] The name of the resource group to check.
The name is case insensitive.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Boolean] operation results. | [
"Checks",
"whether",
"resource",
"group",
"exists",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_resources/lib/2016-02-01/generated/azure_mgmt_resources/resource_groups.rb#L140-L143 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_resources/lib/2016-02-01/generated/azure_mgmt_resources/resource_groups.rb | Azure::Resources::Mgmt::V2016_02_01.ResourceGroups.export_template | def export_template(resource_group_name, parameters, custom_headers:nil)
response = export_template_async(resource_group_name, parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def export_template(resource_group_name, parameters, custom_headers:nil)
response = export_template_async(resource_group_name, parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"export_template",
"(",
"resource_group_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"export_template_async",
"(",
"resource_group_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Captures the specified resource group as a template.
@param resource_group_name [String] The name of the resource group to be
created or updated.
@param parameters [ExportTemplateRequest] Parameters supplied to the export
template resource group operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [ResourceGroupExportResult] operation results. | [
"Captures",
"the",
"specified",
"resource",
"group",
"as",
"a",
"template",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_resources/lib/2016-02-01/generated/azure_mgmt_resources/resource_groups.rb#L594-L597 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_service_fabric/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/version.rb | Azure::ServiceFabric::Mgmt::V2017_07_01_preview.Version.list_with_http_info | def list_with_http_info(subscription_id, resource_group_name, cluster_name, application_type_name, api_version, custom_headers:nil)
list_async(subscription_id, resource_group_name, cluster_name, application_type_name, api_version, custom_headers:custom_headers).value!
end | ruby | def list_with_http_info(subscription_id, resource_group_name, cluster_name, application_type_name, api_version, custom_headers:nil)
list_async(subscription_id, resource_group_name, cluster_name, application_type_name, api_version, custom_headers:custom_headers).value!
end | [
"def",
"list_with_http_info",
"(",
"subscription_id",
",",
"resource_group_name",
",",
"cluster_name",
",",
"application_type_name",
",",
"api_version",
",",
"custom_headers",
":",
"nil",
")",
"list_async",
"(",
"subscription_id",
",",
"resource_group_name",
",",
"cluster_name",
",",
"application_type_name",
",",
"api_version",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Returns all versions for the specified application type.
@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",
"all",
"versions",
"for",
"the",
"specified",
"application",
"type",
"."
] | 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/version.rb#L268-L270 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_service_fabric/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/version.rb | Azure::ServiceFabric::Mgmt::V2017_07_01_preview.Version.begin_put_with_http_info | def begin_put_with_http_info(subscription_id, resource_group_name, cluster_name, application_type_name, version, api_version, parameters, custom_headers:nil)
begin_put_async(subscription_id, resource_group_name, cluster_name, application_type_name, version, api_version, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_put_with_http_info(subscription_id, resource_group_name, cluster_name, application_type_name, version, api_version, parameters, custom_headers:nil)
begin_put_async(subscription_id, resource_group_name, cluster_name, application_type_name, version, api_version, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_put_with_http_info",
"(",
"subscription_id",
",",
"resource_group_name",
",",
"cluster_name",
",",
"application_type_name",
",",
"version",
",",
"api_version",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_put_async",
"(",
"subscription_id",
",",
"resource_group_name",
",",
"cluster_name",
",",
"application_type_name",
",",
"version",
",",
"api_version",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Provisions an application type version 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 version [String] The application type version.
@param api_version [String] The version of the API.
@param parameters [VersionResource] The application type version 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. | [
"Provisions",
"an",
"application",
"type",
"version",
"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/version.rb#L377-L379 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/route_filter_rules.rb | Azure::Network::Mgmt::V2018_07_01.RouteFilterRules.get_with_http_info | def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers:nil)
get_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, route_filter_name, rule_name, custom_headers:nil)
get_async(resource_group_name, route_filter_name, rule_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"route_filter_name",
",",
"rule_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"route_filter_name",
",",
"rule_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the specified rule from a route filter.
@param resource_group_name [String] The name of the resource group.
@param route_filter_name [String] The name of the route filter.
@param rule_name [String] The name of the rule.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"the",
"specified",
"rule",
"from",
"a",
"route",
"filter",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/route_filter_rules.rb#L91-L93 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_stream_analytics/lib/2016-03-01/generated/azure_mgmt_stream_analytics/transformations.rb | Azure::StreamAnalytics::Mgmt::V2016_03_01.Transformations.get_with_http_info | def get_with_http_info(resource_group_name, job_name, transformation_name, custom_headers:nil)
get_async(resource_group_name, job_name, transformation_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, job_name, transformation_name, custom_headers:nil)
get_async(resource_group_name, job_name, transformation_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"job_name",
",",
"transformation_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"job_name",
",",
"transformation_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets details about the specified transformation.
@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 transformation_name [String] The name of the transformation.
@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",
"transformation",
"."
] | 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/transformations.rb#L354-L356 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/webhook_operations.rb | Azure::Automation::Mgmt::V2015_10_31.WebhookOperations.generate_uri | def generate_uri(resource_group_name, automation_account_name, custom_headers:nil)
response = generate_uri_async(resource_group_name, automation_account_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def generate_uri(resource_group_name, automation_account_name, custom_headers:nil)
response = generate_uri_async(resource_group_name, automation_account_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"generate_uri",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"generate_uri_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Generates a Uri for use in creating a webhook.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [String] operation results. | [
"Generates",
"a",
"Uri",
"for",
"use",
"in",
"creating",
"a",
"webhook",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/webhook_operations.rb#L34-L37 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/webhook_operations.rb | Azure::Automation::Mgmt::V2015_10_31.WebhookOperations.get_with_http_info | def get_with_http_info(resource_group_name, automation_account_name, webhook_name, custom_headers:nil)
get_async(resource_group_name, automation_account_name, webhook_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, automation_account_name, webhook_name, custom_headers:nil)
get_async(resource_group_name, automation_account_name, webhook_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"webhook_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"webhook_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Retrieve the webhook identified by webhook name.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param webhook_name [String] The webhook 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",
"webhook",
"identified",
"by",
"webhook",
"name",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/webhook_operations.rb#L241-L243 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/webhook_operations.rb | Azure::Automation::Mgmt::V2015_10_31.WebhookOperations.create_or_update_with_http_info | def create_or_update_with_http_info(resource_group_name, automation_account_name, webhook_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, automation_account_name, webhook_name, parameters, custom_headers:custom_headers).value!
end | ruby | def create_or_update_with_http_info(resource_group_name, automation_account_name, webhook_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, automation_account_name, webhook_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"webhook_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"create_or_update_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"webhook_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Create the webhook identified by webhook name.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param webhook_name [String] The webhook name.
@param parameters [WebhookCreateOrUpdateParameters] The create or update
parameters for webhook.
@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",
"the",
"webhook",
"identified",
"by",
"webhook",
"name",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/webhook_operations.rb#L344-L346 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/webhook_operations.rb | Azure::Automation::Mgmt::V2015_10_31.WebhookOperations.update_with_http_info | def update_with_http_info(resource_group_name, automation_account_name, webhook_name, parameters, custom_headers:nil)
update_async(resource_group_name, automation_account_name, webhook_name, parameters, custom_headers:custom_headers).value!
end | ruby | def update_with_http_info(resource_group_name, automation_account_name, webhook_name, parameters, custom_headers:nil)
update_async(resource_group_name, automation_account_name, webhook_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"update_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"webhook_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"update_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"webhook_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Update the webhook identified by webhook name.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param webhook_name [String] The webhook name.
@param parameters [WebhookUpdateParameters] The update parameters for
webhook.
@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",
"webhook",
"identified",
"by",
"webhook",
"name",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/webhook_operations.rb#L467-L469 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_edgegateway/lib/2019-03-01/generated/azure_mgmt_edgegateway/triggers.rb | Azure::EdgeGateway::Mgmt::V2019_03_01.Triggers.get_with_http_info | def get_with_http_info(device_name, name, resource_group_name, custom_headers:nil)
get_async(device_name, name, resource_group_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(device_name, name, resource_group_name, custom_headers:nil)
get_async(device_name, name, resource_group_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"device_name",
",",
"name",
",",
"resource_group_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"device_name",
",",
"name",
",",
"resource_group_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Get a specific trigger by name.
@param device_name [String] The device name.
@param name [String] The trigger name.
@param resource_group_name [String] The resource group name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Get",
"a",
"specific",
"trigger",
"by",
"name",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_edgegateway/lib/2019-03-01/generated/azure_mgmt_edgegateway/triggers.rb#L149-L151 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_edgegateway/lib/2019-03-01/generated/azure_mgmt_edgegateway/triggers.rb | Azure::EdgeGateway::Mgmt::V2019_03_01.Triggers.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(device_name, name, trigger, resource_group_name, custom_headers:nil)
begin_create_or_update_async(device_name, name, trigger, resource_group_name, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(device_name, name, trigger, resource_group_name, custom_headers:nil)
begin_create_or_update_async(device_name, name, trigger, resource_group_name, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"device_name",
",",
"name",
",",
"trigger",
",",
"resource_group_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"device_name",
",",
"name",
",",
"trigger",
",",
"resource_group_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates or updates a trigger.
@param device_name [String] Creates or updates a trigger
@param name [String] The trigger name.
@param trigger [Trigger] The trigger.
@param resource_group_name [String] The resource group name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Creates",
"or",
"updates",
"a",
"trigger",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_edgegateway/lib/2019-03-01/generated/azure_mgmt_edgegateway/triggers.rb#L333-L335 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2017-10-01-preview/generated/azure_mgmt_sql/database_vulnerability_assessment_scans.rb | Azure::SQL::Mgmt::V2017_10_01_preview.DatabaseVulnerabilityAssessmentScans.list_by_database_next | def list_by_database_next(next_page_link, custom_headers:nil)
response = list_by_database_next_async(next_page_link, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_by_database_next(next_page_link, custom_headers:nil)
response = list_by_database_next_async(next_page_link, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_by_database_next",
"(",
"next_page_link",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_by_database_next_async",
"(",
"next_page_link",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Lists the vulnerability assessment scans of a database.
@param next_page_link [String] The NextLink from the previous successful call
to List operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [VulnerabilityAssessmentScanRecordListResult] operation results. | [
"Lists",
"the",
"vulnerability",
"assessment",
"scans",
"of",
"a",
"database",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2017-10-01-preview/generated/azure_mgmt_sql/database_vulnerability_assessment_scans.rb#L517-L520 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/express_route_cross_connection_peerings.rb | Azure::Network::Mgmt::V2018_07_01.ExpressRouteCrossConnectionPeerings.list | def list(resource_group_name, cross_connection_name, custom_headers:nil)
first_page = list_as_lazy(resource_group_name, cross_connection_name, custom_headers:custom_headers)
first_page.get_all_items
end | ruby | def list(resource_group_name, cross_connection_name, custom_headers:nil)
first_page = list_as_lazy(resource_group_name, cross_connection_name, custom_headers:custom_headers)
first_page.get_all_items
end | [
"def",
"list",
"(",
"resource_group_name",
",",
"cross_connection_name",
",",
"custom_headers",
":",
"nil",
")",
"first_page",
"=",
"list_as_lazy",
"(",
"resource_group_name",
",",
"cross_connection_name",
",",
"custom_headers",
":custom_headers",
")",
"first_page",
".",
"get_all_items",
"end"
] | Gets all peerings in a specified ExpressRouteCrossConnection.
@param resource_group_name [String] The name of the resource group.
@param cross_connection_name [String] The name of the
ExpressRouteCrossConnection.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array<ExpressRouteCrossConnectionPeering>] operation results. | [
"Gets",
"all",
"peerings",
"in",
"a",
"specified",
"ExpressRouteCrossConnection",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/express_route_cross_connection_peerings.rb#L35-L38 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/express_route_cross_connection_peerings.rb | Azure::Network::Mgmt::V2018_07_01.ExpressRouteCrossConnectionPeerings.get_with_http_info | def get_with_http_info(resource_group_name, cross_connection_name, peering_name, custom_headers:nil)
get_async(resource_group_name, cross_connection_name, peering_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, cross_connection_name, peering_name, custom_headers:nil)
get_async(resource_group_name, cross_connection_name, peering_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"cross_connection_name",
",",
"peering_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"cross_connection_name",
",",
"peering_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the specified peering for the ExpressRouteCrossConnection.
@param resource_group_name [String] The name of the resource group.
@param cross_connection_name [String] The name of the
ExpressRouteCrossConnection.
@param peering_name [String] The name of the peering.
@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",
"peering",
"for",
"the",
"ExpressRouteCrossConnection",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/express_route_cross_connection_peerings.rb#L190-L192 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_stream_analytics/lib/2016-03-01/generated/azure_mgmt_stream_analytics/outputs.rb | Azure::StreamAnalytics::Mgmt::V2016_03_01.Outputs.delete_with_http_info | def delete_with_http_info(resource_group_name, job_name, output_name, custom_headers:nil)
delete_async(resource_group_name, job_name, output_name, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, job_name, output_name, custom_headers:nil)
delete_async(resource_group_name, job_name, output_name, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"job_name",
",",
"output_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"job_name",
",",
"output_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes an output from the 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 output_name [String] The name of the output.
@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",
"an",
"output",
"from",
"the",
"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/outputs.rb#L344-L346 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_stream_analytics/lib/2016-03-01/generated/azure_mgmt_stream_analytics/outputs.rb | Azure::StreamAnalytics::Mgmt::V2016_03_01.Outputs.get_with_http_info | def get_with_http_info(resource_group_name, job_name, output_name, custom_headers:nil)
get_async(resource_group_name, job_name, output_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, job_name, output_name, custom_headers:nil)
get_async(resource_group_name, job_name, output_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"job_name",
",",
"output_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"job_name",
",",
"output_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets details about the specified output.
@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 output_name [String] The name of the output.
@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",
"output",
"."
] | 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/outputs.rb#L436-L438 | 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_protection_containers.rb | Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10.ReplicationProtectionContainers.begin_create_with_http_info | def begin_create_with_http_info(fabric_name, protection_container_name, creation_input, custom_headers:nil)
begin_create_async(fabric_name, protection_container_name, creation_input, custom_headers:custom_headers).value!
end | ruby | def begin_create_with_http_info(fabric_name, protection_container_name, creation_input, custom_headers:nil)
begin_create_async(fabric_name, protection_container_name, creation_input, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_with_http_info",
"(",
"fabric_name",
",",
"protection_container_name",
",",
"creation_input",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_async",
"(",
"fabric_name",
",",
"protection_container_name",
",",
"creation_input",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Create a protection container.
Operation to create a protection container.
@param fabric_name [String] Unique fabric ARM name.
@param protection_container_name [String] Unique protection container ARM
name.
@param creation_input [CreateProtectionContainerInput] Creation input.
@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",
"protection",
"container",
"."
] | 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_protection_containers.rb#L534-L536 | 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_protectable_items.rb | Azure::RecoveryServicesSiteRecovery::Mgmt::V2018_01_10.ReplicationProtectableItems.get_with_http_info | def get_with_http_info(fabric_name, protection_container_name, protectable_item_name, custom_headers:nil)
get_async(fabric_name, protection_container_name, protectable_item_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(fabric_name, protection_container_name, protectable_item_name, custom_headers:nil)
get_async(fabric_name, protection_container_name, protectable_item_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"fabric_name",
",",
"protection_container_name",
",",
"protectable_item_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"fabric_name",
",",
"protection_container_name",
",",
"protectable_item_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the details of a protectable item.
The operation to get the details of a protectable item.
@param fabric_name [String] Fabric name.
@param protection_container_name [String] Protection container name.
@param protectable_item_name [String] Protectable 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",
"protectable",
"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_protectable_items.rb#L158-L160 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_advisor/lib/2017-04-19/generated/azure_mgmt_advisor/configurations.rb | Azure::Advisor::Mgmt::V2017_04_19.Configurations.list_by_resource_group | def list_by_resource_group(resource_group, custom_headers:nil)
response = list_by_resource_group_async(resource_group, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_by_resource_group(resource_group, custom_headers:nil)
response = list_by_resource_group_async(resource_group, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_by_resource_group",
"(",
"resource_group",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_by_resource_group_async",
"(",
"resource_group",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Retrieve Azure Advisor configurations.
@param resource_group [String] The name of the Azure resource group.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [ConfigurationListResult] operation results. | [
"Retrieve",
"Azure",
"Advisor",
"configurations",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_advisor/lib/2017-04-19/generated/azure_mgmt_advisor/configurations.rb#L233-L236 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/topic_types.rb | Azure::EventGrid::Mgmt::V2018_01_01.TopicTypes.list_event_types | def list_event_types(topic_type_name, custom_headers:nil)
response = list_event_types_async(topic_type_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_event_types(topic_type_name, custom_headers:nil)
response = list_event_types_async(topic_type_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_event_types",
"(",
"topic_type_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_event_types_async",
"(",
"topic_type_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | List event types
List event types for a topic type
@param topic_type_name [String] Name of the topic type
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [EventTypesListResult] operation results. | [
"List",
"event",
"types"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/topic_types.rb#L216-L219 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/load_balancers.rb | Azure::Network::Mgmt::V2018_07_01.LoadBalancers.begin_delete | def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil)
response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value!
nil
end | ruby | def begin_delete(resource_group_name, load_balancer_name, custom_headers:nil)
response = begin_delete_async(resource_group_name, load_balancer_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"begin_delete",
"(",
"resource_group_name",
",",
"load_balancer_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"begin_delete_async",
"(",
"resource_group_name",
",",
"load_balancer_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Deletes the specified load balancer.
@param resource_group_name [String] The name of the resource group.
@param load_balancer_name [String] The name of the load balancer.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Deletes",
"the",
"specified",
"load",
"balancer",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/load_balancers.rb#L430-L433 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/load_balancers.rb | Azure::Network::Mgmt::V2018_07_01.LoadBalancers.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"load_balancer_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"load_balancer_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates or updates a load balancer.
@param resource_group_name [String] The name of the resource group.
@param load_balancer_name [String] The name of the load balancer.
@param parameters [LoadBalancer] Parameters supplied to the create or update
load balancer 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",
"a",
"load",
"balancer",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/load_balancers.rb#L531-L533 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/load_balancers.rb | Azure::Network::Mgmt::V2018_07_01.LoadBalancers.begin_update_tags_with_http_info | def begin_update_tags_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers:nil)
begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_update_tags_with_http_info(resource_group_name, load_balancer_name, parameters, custom_headers:nil)
begin_update_tags_async(resource_group_name, load_balancer_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_update_tags_with_http_info",
"(",
"resource_group_name",
",",
"load_balancer_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_update_tags_async",
"(",
"resource_group_name",
",",
"load_balancer_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Updates a load balancer tags.
@param resource_group_name [String] The name of the resource group.
@param load_balancer_name [String] The name of the load balancer.
@param parameters [TagsObject] Parameters supplied to update load balancer
tags.
@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",
"a",
"load",
"balancer",
"tags",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/load_balancers.rb#L647-L649 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_management_client.rb | Azure::Network::Mgmt::V2016_12_01.NetworkManagementClient.check_dns_name_availability | def check_dns_name_availability(location, domain_name_label:nil, custom_headers:nil)
response = check_dns_name_availability_async(location, domain_name_label:domain_name_label, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def check_dns_name_availability(location, domain_name_label:nil, custom_headers:nil)
response = check_dns_name_availability_async(location, domain_name_label:domain_name_label, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"check_dns_name_availability",
"(",
"location",
",",
"domain_name_label",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"check_dns_name_availability_async",
"(",
"location",
",",
"domain_name_label",
":domain_name_label",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Checks whether a domain name in the cloudapp.net zone is available for use.
@param location [String] The location of the domain name.
@param domain_name_label [String] The domain name to be verified. It must
conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [DnsNameAvailabilityResult] operation results. | [
"Checks",
"whether",
"a",
"domain",
"name",
"in",
"the",
"cloudapp",
".",
"net",
"zone",
"is",
"available",
"for",
"use",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_management_client.rb#L227-L230 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/hybrid_runbook_worker_group_operations.rb | Azure::Automation::Mgmt::V2015_10_31.HybridRunbookWorkerGroupOperations.get_with_http_info | def get_with_http_info(resource_group_name, automation_account_name, hybrid_runbook_worker_group_name, custom_headers:nil)
get_async(resource_group_name, automation_account_name, hybrid_runbook_worker_group_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, automation_account_name, hybrid_runbook_worker_group_name, custom_headers:nil)
get_async(resource_group_name, automation_account_name, hybrid_runbook_worker_group_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"hybrid_runbook_worker_group_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"hybrid_runbook_worker_group_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Retrieve a hybrid runbook worker group.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param hybrid_runbook_worker_group_name [String] The hybrid runbook worker
group 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",
"a",
"hybrid",
"runbook",
"worker",
"group",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/hybrid_runbook_worker_group_operations.rb#L144-L146 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/hybrid_runbook_worker_group_operations.rb | Azure::Automation::Mgmt::V2015_10_31.HybridRunbookWorkerGroupOperations.update_with_http_info | def update_with_http_info(resource_group_name, automation_account_name, hybrid_runbook_worker_group_name, parameters, custom_headers:nil)
update_async(resource_group_name, automation_account_name, hybrid_runbook_worker_group_name, parameters, custom_headers:custom_headers).value!
end | ruby | def update_with_http_info(resource_group_name, automation_account_name, hybrid_runbook_worker_group_name, parameters, custom_headers:nil)
update_async(resource_group_name, automation_account_name, hybrid_runbook_worker_group_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"update_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"hybrid_runbook_worker_group_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"update_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"hybrid_runbook_worker_group_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Update a hybrid runbook worker group.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param hybrid_runbook_worker_group_name [String] The hybrid runbook worker
group name
@param parameters [HybridRunbookWorkerGroupUpdateParameters] The hybrid
runbook worker 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. | [
"Update",
"a",
"hybrid",
"runbook",
"worker",
"group",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/hybrid_runbook_worker_group_operations.rb#L250-L252 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_anomalydetector/lib/1.0/generated/azure_cognitiveservices_anomalydetector/anomaly_detector_client.rb | Azure::CognitiveServices::AnomalyDetector::V1_0.AnomalyDetectorClient.entire_detect | def entire_detect(body, custom_headers:nil)
response = entire_detect_async(body, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def entire_detect(body, custom_headers:nil)
response = entire_detect_async(body, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"entire_detect",
"(",
"body",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"entire_detect_async",
"(",
"body",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Detect anomalies for the entire series in batch.
This operation generates a model using an entire series, each point is
detected with the same model. With this method, points before and after a
certain point are used to determine whether it is an anomaly. The entire
detection can give user an overall status of the time series.
@param body [Request] Time series points and period if needed. Advanced model
parameters can also be set in the request.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [EntireDetectResponse] operation results. | [
"Detect",
"anomalies",
"for",
"the",
"entire",
"series",
"in",
"batch",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_anomalydetector/lib/1.0/generated/azure_cognitiveservices_anomalydetector/anomaly_detector_client.rb#L131-L134 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_anomalydetector/lib/1.0/generated/azure_cognitiveservices_anomalydetector/anomaly_detector_client.rb | Azure::CognitiveServices::AnomalyDetector::V1_0.AnomalyDetectorClient.last_detect | def last_detect(body, custom_headers:nil)
response = last_detect_async(body, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def last_detect(body, custom_headers:nil)
response = last_detect_async(body, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"last_detect",
"(",
"body",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"last_detect_async",
"(",
"body",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Detect anomaly status of the latest point in time series.
This operation generates a model using points before the latest one. With
this method, only historical points are used to determine whether the target
point is an anomaly. The latest point detecting operation matches the
scenario of real-time monitoring of business metrics.
@param body [Request] Time series points and period if needed. Advanced model
parameters can also be set in the request.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [LastDetectResponse] operation results. | [
"Detect",
"anomaly",
"status",
"of",
"the",
"latest",
"point",
"in",
"time",
"series",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_anomalydetector/lib/1.0/generated/azure_cognitiveservices_anomalydetector/anomaly_detector_client.rb#L242-L245 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb | Azure::Network::Mgmt::V2018_07_01.NetworkInterfaceIPConfigurations.get_with_http_info | def get_with_http_info(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:nil)
get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:nil)
get_async(resource_group_name, network_interface_name, ip_configuration_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"network_interface_name",
",",
"ip_configuration_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"network_interface_name",
",",
"ip_configuration_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the specified network interface ip configuration.
@param resource_group_name [String] The name of the resource group.
@param network_interface_name [String] The name of the network interface.
@param ip_configuration_name [String] The name of the ip 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. | [
"Gets",
"the",
"specified",
"network",
"interface",
"ip",
"configuration",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/network_interface_ipconfigurations.rb#L143-L145 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/network_management_client.rb | Azure::Network::Mgmt::V2019_02_01.NetworkManagementClient.supported_security_providers | def supported_security_providers(resource_group_name, virtual_wanname, custom_headers:nil)
response = supported_security_providers_async(resource_group_name, virtual_wanname, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def supported_security_providers(resource_group_name, virtual_wanname, custom_headers:nil)
response = supported_security_providers_async(resource_group_name, virtual_wanname, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"supported_security_providers",
"(",
"resource_group_name",
",",
"virtual_wanname",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"supported_security_providers_async",
"(",
"resource_group_name",
",",
"virtual_wanname",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gives the supported security providers for the virtual wan.
@param resource_group_name [String] The resource group name.
@param virtual_wanname [String] The name of the VirtualWAN for which
supported security providers are needed.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [VirtualWanSecurityProviders] operation results. | [
"Gives",
"the",
"supported",
"security",
"providers",
"for",
"the",
"virtual",
"wan",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/network_management_client.rb#L524-L527 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/media_service_operations.rb | Azure::MediaServices::Mgmt::V2015_10_01.MediaServiceOperations.delete | def delete(resource_group_name, media_service_name, custom_headers:nil)
response = delete_async(resource_group_name, media_service_name, custom_headers:custom_headers).value!
nil
end | ruby | def delete(resource_group_name, media_service_name, custom_headers:nil)
response = delete_async(resource_group_name, media_service_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"delete",
"(",
"resource_group_name",
",",
"media_service_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_async",
"(",
"resource_group_name",
",",
"media_service_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Deletes a Media Service.
@param resource_group_name [String] Name of the resource group within the
Azure subscription.
@param media_service_name [String] Name of the Media Service.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Deletes",
"a",
"Media",
"Service",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/media_service_operations.rb#L436-L439 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/media_service_operations.rb | Azure::MediaServices::Mgmt::V2015_10_01.MediaServiceOperations.update_with_http_info | def update_with_http_info(resource_group_name, media_service_name, parameters, custom_headers:nil)
update_async(resource_group_name, media_service_name, parameters, custom_headers:custom_headers).value!
end | ruby | def update_with_http_info(resource_group_name, media_service_name, parameters, custom_headers:nil)
update_async(resource_group_name, media_service_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"update_with_http_info",
"(",
"resource_group_name",
",",
"media_service_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"update_async",
"(",
"resource_group_name",
",",
"media_service_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Updates a Media Service.
@param resource_group_name [String] Name of the resource group within the
Azure subscription.
@param media_service_name [String] Name of the Media Service.
@param parameters [MediaService] Media Service properties needed for update.
@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",
"a",
"Media",
"Service",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/media_service_operations.rb#L542-L544 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/media_service_operations.rb | Azure::MediaServices::Mgmt::V2015_10_01.MediaServiceOperations.regenerate_key_with_http_info | def regenerate_key_with_http_info(resource_group_name, media_service_name, parameters, custom_headers:nil)
regenerate_key_async(resource_group_name, media_service_name, parameters, custom_headers:custom_headers).value!
end | ruby | def regenerate_key_with_http_info(resource_group_name, media_service_name, parameters, custom_headers:nil)
regenerate_key_async(resource_group_name, media_service_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"regenerate_key_with_http_info",
"(",
"resource_group_name",
",",
"media_service_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"regenerate_key_async",
"(",
"resource_group_name",
",",
"media_service_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Regenerates a primary or secondary key for a Media Service.
@param resource_group_name [String] Name of the resource group within the
Azure subscription.
@param media_service_name [String] Name of the Media Service.
@param parameters [RegenerateKeyInput] Properties needed to regenerate the
Media Service key.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Regenerates",
"a",
"primary",
"or",
"secondary",
"key",
"for",
"a",
"Media",
"Service",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_media_services/lib/2015-10-01/generated/azure_mgmt_media_services/media_service_operations.rb#L653-L655 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machines.rb | Azure::Compute::Mgmt::V2016_04_30_preview.VirtualMachines.list_available_sizes | def list_available_sizes(resource_group_name, vm_name, custom_headers:nil)
response = list_available_sizes_async(resource_group_name, vm_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_available_sizes(resource_group_name, vm_name, custom_headers:nil)
response = list_available_sizes_async(resource_group_name, vm_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_available_sizes",
"(",
"resource_group_name",
",",
"vm_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_available_sizes_async",
"(",
"resource_group_name",
",",
"vm_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Lists all available virtual machine sizes to which the specified virtual
machine can be resized.
@param resource_group_name [String] The name of the resource group.
@param vm_name [String] The name of the virtual machine.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [VirtualMachineSizeListResult] operation results. | [
"Lists",
"all",
"available",
"virtual",
"machine",
"sizes",
"to",
"which",
"the",
"specified",
"virtual",
"machine",
"can",
"be",
"resized",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machines.rb#L725-L728 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machines.rb | Azure::Compute::Mgmt::V2016_04_30_preview.VirtualMachines.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, vm_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, vm_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"vm_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"vm_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | The operation to create or update a virtual machine.
@param resource_group_name [String] The name of the resource group.
@param vm_name [String] The name of the virtual machine.
@param parameters [VirtualMachine] Parameters supplied to the Create Virtual
Machine 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. | [
"The",
"operation",
"to",
"create",
"or",
"update",
"a",
"virtual",
"machine",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machines.rb#L1117-L1119 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/virtual_network_gateways.rb | Azure::Network::Mgmt::V2016_12_01.VirtualNetworkGateways.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"virtual_network_gateway_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"virtual_network_gateway_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates or updates a virtual network gateway in the specified resource group.
@param resource_group_name [String] The name of the resource group.
@param virtual_network_gateway_name [String] The name of the virtual network
gateway.
@param parameters [VirtualNetworkGateway] Parameters supplied to create or
update virtual network gateway 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",
"a",
"virtual",
"network",
"gateway",
"in",
"the",
"specified",
"resource",
"group",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/virtual_network_gateways.rb#L632-L634 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/live_events.rb | Azure::MediaServices::Mgmt::V2018_07_01.LiveEvents.begin_update_with_http_info | def begin_update_with_http_info(resource_group_name, account_name, live_event_name, parameters, custom_headers:nil)
begin_update_async(resource_group_name, account_name, live_event_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_update_with_http_info(resource_group_name, account_name, live_event_name, parameters, custom_headers:nil)
begin_update_async(resource_group_name, account_name, live_event_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_update_with_http_info",
"(",
"resource_group_name",
",",
"account_name",
",",
"live_event_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_update_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"live_event_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Updates a existing Live Event.
@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 live_event_name [String] The name of the Live Event.
@param parameters [LiveEvent] Live Event properties needed for creation.
@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",
"a",
"existing",
"Live",
"Event",
"."
] | 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/live_events.rb#L679-L681 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/diagnostic.rb | Azure::ApiManagement::Mgmt::V2018_01_01.Diagnostic.get_with_http_info | def get_with_http_info(resource_group_name, service_name, diagnostic_id, custom_headers:nil)
get_async(resource_group_name, service_name, diagnostic_id, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, service_name, diagnostic_id, custom_headers:nil)
get_async(resource_group_name, service_name, diagnostic_id, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"service_name",
",",
"diagnostic_id",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"service_name",
",",
"diagnostic_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the details of the Diagnostic 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 diagnostic_id [String] Diagnostic identifier. Must be unique in the
current API Management service instance.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"the",
"details",
"of",
"the",
"Diagnostic",
"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/diagnostic.rb#L265-L267 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/virtual_network_gateways.rb | Azure::Network::Mgmt::V2018_07_01.VirtualNetworkGateways.generate_vpn_profile_with_http_info | def generate_vpn_profile_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
end | ruby | def generate_vpn_profile_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
generate_vpn_profile_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"generate_vpn_profile_with_http_info",
"(",
"resource_group_name",
",",
"virtual_network_gateway_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"generate_vpn_profile_async",
"(",
"resource_group_name",
",",
"virtual_network_gateway_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Generates VPN profile for P2S client of the virtual network gateway in the
specified resource group. Used for IKEV2 and radius based authentication.
@param resource_group_name [String] The name of the resource group.
@param virtual_network_gateway_name [String] The name of the virtual network
gateway.
@param parameters [VpnClientParameters] Parameters supplied to the generate
virtual network gateway VPN client package 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. | [
"Generates",
"VPN",
"profile",
"for",
"P2S",
"client",
"of",
"the",
"virtual",
"network",
"gateway",
"in",
"the",
"specified",
"resource",
"group",
".",
"Used",
"for",
"IKEV2",
"and",
"radius",
"based",
"authentication",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/virtual_network_gateways.rb#L576-L578 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/virtual_network_gateways.rb | Azure::Network::Mgmt::V2018_07_01.VirtualNetworkGateways.supported_vpn_devices | def supported_vpn_devices(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
response = supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def supported_vpn_devices(resource_group_name, virtual_network_gateway_name, custom_headers:nil)
response = supported_vpn_devices_async(resource_group_name, virtual_network_gateway_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"supported_vpn_devices",
"(",
"resource_group_name",
",",
"virtual_network_gateway_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"supported_vpn_devices_async",
"(",
"resource_group_name",
",",
"virtual_network_gateway_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets a xml format representation for supported vpn devices.
@param resource_group_name [String] The name of the resource group.
@param virtual_network_gateway_name [String] The name of the virtual network
gateway.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [String] operation results. | [
"Gets",
"a",
"xml",
"format",
"representation",
"for",
"supported",
"vpn",
"devices",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/virtual_network_gateways.rb#L772-L775 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/virtual_network_gateways.rb | Azure::Network::Mgmt::V2018_07_01.VirtualNetworkGateways.begin_update_tags_with_http_info | def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:nil)
begin_update_tags_async(resource_group_name, virtual_network_gateway_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_update_tags_with_http_info",
"(",
"resource_group_name",
",",
"virtual_network_gateway_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_update_tags_async",
"(",
"resource_group_name",
",",
"virtual_network_gateway_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Updates a virtual network gateway tags.
@param resource_group_name [String] The name of the resource group.
@param virtual_network_gateway_name [String] The name of the virtual network
gateway.
@param parameters [TagsObject] Parameters supplied to update virtual network
gateway tags.
@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",
"a",
"virtual",
"network",
"gateway",
"tags",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/virtual_network_gateways.rb#L1406-L1408 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_service_fabric/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/clusters.rb | Azure::ServiceFabric::Mgmt::V2017_07_01_preview.Clusters.delete_with_http_info | def delete_with_http_info(resource_group_name, cluster_name, api_version, subscription_id, custom_headers:nil)
delete_async(resource_group_name, cluster_name, api_version, subscription_id, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, cluster_name, api_version, subscription_id, custom_headers:nil)
delete_async(resource_group_name, cluster_name, api_version, subscription_id, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"cluster_name",
",",
"api_version",
",",
"subscription_id",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"cluster_name",
",",
"api_version",
",",
"subscription_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Delete cluster resource
Delete cluster resource
@param resource_group_name [String] The name of the resource group.
@param cluster_name [String] The name of the cluster resource
@param api_version [String] The version of the API.
@param subscription_id [String] The customer subscription identifier
@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",
"cluster",
"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/clusters.rb#L109-L111 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_service_fabric/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/clusters.rb | Azure::ServiceFabric::Mgmt::V2017_07_01_preview.Clusters.begin_create_with_http_info | def begin_create_with_http_info(resource_group_name, cluster_name, api_version, subscription_id, parameters, custom_headers:nil)
begin_create_async(resource_group_name, cluster_name, api_version, subscription_id, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_with_http_info(resource_group_name, cluster_name, api_version, subscription_id, parameters, custom_headers:nil)
begin_create_async(resource_group_name, cluster_name, api_version, subscription_id, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_with_http_info",
"(",
"resource_group_name",
",",
"cluster_name",
",",
"api_version",
",",
"subscription_id",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_async",
"(",
"resource_group_name",
",",
"cluster_name",
",",
"api_version",
",",
"subscription_id",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Create a ServiceFabric cluster
Create cluster resource
@param resource_group_name [String] The name of the resource group.
@param cluster_name [String] The name of the cluster resource
@param api_version [String] The version of the API.
@param subscription_id [String] The customer subscription identifier
@param parameters [Cluster] The cluster 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. | [
"Create",
"a",
"ServiceFabric",
"cluster"
] | 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/clusters.rb#L572-L574 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_service_fabric/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/clusters.rb | Azure::ServiceFabric::Mgmt::V2017_07_01_preview.Clusters.begin_update_with_http_info | def begin_update_with_http_info(resource_group_name, cluster_name, api_version, subscription_id, parameters, custom_headers:nil)
begin_update_async(resource_group_name, cluster_name, api_version, subscription_id, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_update_with_http_info(resource_group_name, cluster_name, api_version, subscription_id, parameters, custom_headers:nil)
begin_update_async(resource_group_name, cluster_name, api_version, subscription_id, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_update_with_http_info",
"(",
"resource_group_name",
",",
"cluster_name",
",",
"api_version",
",",
"subscription_id",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_update_async",
"(",
"resource_group_name",
",",
"cluster_name",
",",
"api_version",
",",
"subscription_id",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Update cluster configuration
Update cluster configuration
@param resource_group_name [String] The name of the resource group.
@param cluster_name [String] The name of the cluster resource
@param api_version [String] The version of the API.
@param subscription_id [String] The customer subscription identifier
@param parameters [ClusterUpdateParameters] The parameters which contains the
property value and property name which used to update the cluster
configuration.
@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",
"cluster",
"configuration"
] | 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/clusters.rb#L694-L696 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/workflow_run_action_repetitions.rb | Azure::Logic::Mgmt::V2016_06_01.WorkflowRunActionRepetitions.get_with_http_info | def get_with_http_info(resource_group_name, workflow_name, run_name, action_name, repetition_name, custom_headers:nil)
get_async(resource_group_name, workflow_name, run_name, action_name, repetition_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, workflow_name, run_name, action_name, repetition_name, custom_headers:nil)
get_async(resource_group_name, workflow_name, run_name, action_name, repetition_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"workflow_name",
",",
"run_name",
",",
"action_name",
",",
"repetition_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"workflow_name",
",",
"run_name",
",",
"action_name",
",",
"repetition_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Get a workflow run action repetition.
@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 repetition_name [String] The workflow repetition.
@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",
"workflow",
"run",
"action",
"repetition",
"."
] | 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_repetitions.rb#L155-L157 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_cdn/lib/2017-10-12/generated/azure_mgmt_cdn/cdn_management_client.rb | Azure::CDN::Mgmt::V2017_10_12.CdnManagementClient.validate_probe | def validate_probe(validate_probe_input, custom_headers:nil)
response = validate_probe_async(validate_probe_input, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def validate_probe(validate_probe_input, custom_headers:nil)
response = validate_probe_async(validate_probe_input, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"validate_probe",
"(",
"validate_probe_input",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"validate_probe_async",
"(",
"validate_probe_input",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Check if the probe path is a valid path and the file can be accessed. Probe
path is the path to a file hosted on the origin server to help accelerate the
delivery of dynamic content via the CDN endpoint. This path is relative to
the origin path specified in the endpoint configuration.
@param validate_probe_input [ValidateProbeInput] Input to check.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [ValidateProbeOutput] operation results. | [
"Check",
"if",
"the",
"probe",
"path",
"is",
"a",
"valid",
"path",
"and",
"the",
"file",
"can",
"be",
"accessed",
".",
"Probe",
"path",
"is",
"the",
"path",
"to",
"a",
"file",
"hosted",
"on",
"the",
"origin",
"server",
"to",
"help",
"accelerate",
"the",
"delivery",
"of",
"dynamic",
"content",
"via",
"the",
"CDN",
"endpoint",
".",
"This",
"path",
"is",
"relative",
"to",
"the",
"origin",
"path",
"specified",
"in",
"the",
"endpoint",
"configuration",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_cdn/lib/2017-10-12/generated/azure_mgmt_cdn/cdn_management_client.rb#L357-L360 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_key_vault/lib/2018-02-14/generated/azure_mgmt_key_vault/vaults.rb | Azure::KeyVault::Mgmt::V2018_02_14.Vaults.update_with_http_info | def update_with_http_info(resource_group_name, vault_name, parameters, custom_headers:nil)
update_async(resource_group_name, vault_name, parameters, custom_headers:custom_headers).value!
end | ruby | def update_with_http_info(resource_group_name, vault_name, parameters, custom_headers:nil)
update_async(resource_group_name, vault_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"update_with_http_info",
"(",
"resource_group_name",
",",
"vault_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"update_async",
"(",
"resource_group_name",
",",
"vault_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Update a key vault in the specified subscription.
@param resource_group_name [String] The name of the Resource Group to which
the server belongs.
@param vault_name [String] Name of the vault
@param parameters [VaultPatchParameters] Parameters to patch the vault
@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",
"key",
"vault",
"in",
"the",
"specified",
"subscription",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_key_vault/lib/2018-02-14/generated/azure_mgmt_key_vault/vaults.rb#L102-L104 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_key_vault/lib/2018-02-14/generated/azure_mgmt_key_vault/vaults.rb | Azure::KeyVault::Mgmt::V2018_02_14.Vaults.list_by_subscription | def list_by_subscription(top:nil, custom_headers:nil)
first_page = list_by_subscription_as_lazy(top:top, custom_headers:custom_headers)
first_page.get_all_items
end | ruby | def list_by_subscription(top:nil, custom_headers:nil)
first_page = list_by_subscription_as_lazy(top:top, custom_headers:custom_headers)
first_page.get_all_items
end | [
"def",
"list_by_subscription",
"(",
"top",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"first_page",
"=",
"list_by_subscription_as_lazy",
"(",
"top",
":",
"top",
",",
"custom_headers",
":custom_headers",
")",
"first_page",
".",
"get_all_items",
"end"
] | The List operation gets information about the vaults associated with the
subscription.
@param top [Integer] Maximum number of results to return.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array<Vault>] operation results. | [
"The",
"List",
"operation",
"gets",
"information",
"about",
"the",
"vaults",
"associated",
"with",
"the",
"subscription",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_key_vault/lib/2018-02-14/generated/azure_mgmt_key_vault/vaults.rb#L603-L606 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_key_vault/lib/2018-02-14/generated/azure_mgmt_key_vault/vaults.rb | Azure::KeyVault::Mgmt::V2018_02_14.Vaults.get_deleted | def get_deleted(vault_name, location, custom_headers:nil)
response = get_deleted_async(vault_name, location, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_deleted(vault_name, location, custom_headers:nil)
response = get_deleted_async(vault_name, location, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_deleted",
"(",
"vault_name",
",",
"location",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_deleted_async",
"(",
"vault_name",
",",
"location",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets the deleted Azure key vault.
@param vault_name [String] The name of the vault.
@param location [String] The location of the deleted vault.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [DeletedVault] operation results. | [
"Gets",
"the",
"deleted",
"Azure",
"key",
"vault",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_key_vault/lib/2018-02-14/generated/azure_mgmt_key_vault/vaults.rb#L777-L780 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_key_vault/lib/2018-02-14/generated/azure_mgmt_key_vault/vaults.rb | Azure::KeyVault::Mgmt::V2018_02_14.Vaults.check_name_availability | def check_name_availability(vault_name, custom_headers:nil)
response = check_name_availability_async(vault_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def check_name_availability(vault_name, custom_headers:nil)
response = check_name_availability_async(vault_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"check_name_availability",
"(",
"vault_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"check_name_availability_async",
"(",
"vault_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Checks that the vault name is valid and is not already in use.
@param vault_name [VaultCheckNameAvailabilityParameters] The name of the
vault.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [CheckNameAvailabilityResult] operation results. | [
"Checks",
"that",
"the",
"vault",
"name",
"is",
"valid",
"and",
"is",
"not",
"already",
"in",
"use",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_key_vault/lib/2018-02-14/generated/azure_mgmt_key_vault/vaults.rb#L999-L1002 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_key_vault/lib/2018-02-14/generated/azure_mgmt_key_vault/vaults.rb | Azure::KeyVault::Mgmt::V2018_02_14.Vaults.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, vault_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, vault_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, vault_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, vault_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"vault_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"vault_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Create or update a key vault in the specified subscription.
@param resource_group_name [String] The name of the Resource Group to which
the server belongs.
@param vault_name [String] Name of the vault
@param parameters [VaultCreateOrUpdateParameters] Parameters to create or
update the vault
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Create",
"or",
"update",
"a",
"key",
"vault",
"in",
"the",
"specified",
"subscription",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_key_vault/lib/2018-02-14/generated/azure_mgmt_key_vault/vaults.rb#L1118-L1120 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_recovery_services_backup/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/feature_support.rb | Azure::RecoveryServicesBackup::Mgmt::V2017_07_01.FeatureSupport.validate | def validate(azure_region, parameters, custom_headers:nil)
response = validate_async(azure_region, parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def validate(azure_region, parameters, custom_headers:nil)
response = validate_async(azure_region, parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"validate",
"(",
"azure_region",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"validate_async",
"(",
"azure_region",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | It will validate if given feature with resource properties is supported in
service
@param azure_region [String] Azure region to hit Api
@param parameters [FeatureSupportRequest] Feature support request object
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [AzureVMResourceFeatureSupportResponse] operation results. | [
"It",
"will",
"validate",
"if",
"given",
"feature",
"with",
"resource",
"properties",
"is",
"supported",
"in",
"service"
] | 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/feature_support.rb#L39-L42 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_storage/lib/2018-11-01/generated/azure_mgmt_storage/storage_accounts.rb | Azure::Storage::Mgmt::V2018_11_01.StorageAccounts.check_name_availability | def check_name_availability(account_name, custom_headers:nil)
response = check_name_availability_async(account_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def check_name_availability(account_name, custom_headers:nil)
response = check_name_availability_async(account_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"check_name_availability",
"(",
"account_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"check_name_availability_async",
"(",
"account_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Checks that the storage account name is valid and is not already in use.
@param account_name [StorageAccountCheckNameAvailabilityParameters] The name
of the storage account within the specified resource group. Storage account
names must be between 3 and 24 characters in length and use numbers and
lower-case letters only.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [CheckNameAvailabilityResult] operation results. | [
"Checks",
"that",
"the",
"storage",
"account",
"name",
"is",
"valid",
"and",
"is",
"not",
"already",
"in",
"use",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_storage/lib/2018-11-01/generated/azure_mgmt_storage/storage_accounts.rb#L36-L39 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_storage/lib/2018-11-01/generated/azure_mgmt_storage/storage_accounts.rb | Azure::Storage::Mgmt::V2018_11_01.StorageAccounts.regenerate_key_with_http_info | def regenerate_key_with_http_info(resource_group_name, account_name, regenerate_key, custom_headers:nil)
regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers:custom_headers).value!
end | ruby | def regenerate_key_with_http_info(resource_group_name, account_name, regenerate_key, custom_headers:nil)
regenerate_key_async(resource_group_name, account_name, regenerate_key, custom_headers:custom_headers).value!
end | [
"def",
"regenerate_key_with_http_info",
"(",
"resource_group_name",
",",
"account_name",
",",
"regenerate_key",
",",
"custom_headers",
":",
"nil",
")",
"regenerate_key_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"regenerate_key",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Regenerates one of the access keys for the specified storage account.
@param resource_group_name [String] The name of the resource group within the
user's subscription. The name is case insensitive.
@param account_name [String] The name of the storage account within the
specified resource group. Storage account names must be between 3 and 24
characters in length and use numbers and lower-case letters only.
@param regenerate_key [StorageAccountRegenerateKeyParameters] Specifies name
of the key which should be regenerated -- key1 or key2.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Regenerates",
"one",
"of",
"the",
"access",
"keys",
"for",
"the",
"specified",
"storage",
"account",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_storage/lib/2018-11-01/generated/azure_mgmt_storage/storage_accounts.rb#L886-L888 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_storage/lib/2018-11-01/generated/azure_mgmt_storage/storage_accounts.rb | Azure::Storage::Mgmt::V2018_11_01.StorageAccounts.revoke_user_delegation_keys | def revoke_user_delegation_keys(resource_group_name, account_name, custom_headers:nil)
response = revoke_user_delegation_keys_async(resource_group_name, account_name, custom_headers:custom_headers).value!
nil
end | ruby | def revoke_user_delegation_keys(resource_group_name, account_name, custom_headers:nil)
response = revoke_user_delegation_keys_async(resource_group_name, account_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"revoke_user_delegation_keys",
"(",
"resource_group_name",
",",
"account_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"revoke_user_delegation_keys_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Revoke user delegation keys.
@param resource_group_name [String] The name of the resource group within the
user's subscription. The name is case insensitive.
@param account_name [String] The name of the storage account within the
specified resource group. Storage account names must be between 3 and 24
characters in length and use numbers and lower-case letters only.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Revoke",
"user",
"delegation",
"keys",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_storage/lib/2018-11-01/generated/azure_mgmt_storage/storage_accounts.rb#L1276-L1279 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.