repo stringlengths 5 58 | path stringlengths 9 168 | func_name stringlengths 9 130 | original_string stringlengths 66 10.5k | language stringclasses 1
value | code stringlengths 66 10.5k | code_tokens list | docstring stringlengths 8 16k | docstring_tokens list | sha stringlengths 40 40 | url stringlengths 94 266 | partition stringclasses 1
value |
|---|---|---|---|---|---|---|---|---|---|---|---|
amatsuda/active_decorator | lib/active_decorator/decorator.rb | ActiveDecorator.Decorator.decorate_association | def decorate_association(owner, target)
owner.is_a?(ActiveDecorator::Decorated) ? decorate(target) : target
end | ruby | def decorate_association(owner, target)
owner.is_a?(ActiveDecorator::Decorated) ? decorate(target) : target
end | [
"def",
"decorate_association",
"(",
"owner",
",",
"target",
")",
"owner",
".",
"is_a?",
"(",
"ActiveDecorator",
"::",
"Decorated",
")",
"?",
"decorate",
"(",
"target",
")",
":",
"target",
"end"
] | Decorates AR model object's association only when the object was decorated.
Returns the association instance. | [
"Decorates",
"AR",
"model",
"object",
"s",
"association",
"only",
"when",
"the",
"object",
"was",
"decorated",
".",
"Returns",
"the",
"association",
"instance",
"."
] | e7cfa764e657ea8bbb4cbe92cb220ee67ebae58e | https://github.com/amatsuda/active_decorator/blob/e7cfa764e657ea8bbb4cbe92cb220ee67ebae58e/lib/active_decorator/decorator.rb#L61-L63 | train |
amatsuda/active_decorator | lib/active_decorator/decorator.rb | ActiveDecorator.Decorator.decorator_for | def decorator_for(model_class)
return @@decorators[model_class] if @@decorators.key? model_class
decorator_name = "#{model_class.name}#{ActiveDecorator.config.decorator_suffix}"
d = Object.const_get decorator_name, false
unless Class === d
d.send :include, ActiveDecorator::Helpers
... | ruby | def decorator_for(model_class)
return @@decorators[model_class] if @@decorators.key? model_class
decorator_name = "#{model_class.name}#{ActiveDecorator.config.decorator_suffix}"
d = Object.const_get decorator_name, false
unless Class === d
d.send :include, ActiveDecorator::Helpers
... | [
"def",
"decorator_for",
"(",
"model_class",
")",
"return",
"@@decorators",
"[",
"model_class",
"]",
"if",
"@@decorators",
".",
"key?",
"model_class",
"decorator_name",
"=",
"\"#{model_class.name}#{ActiveDecorator.config.decorator_suffix}\"",
"d",
"=",
"Object",
".",
"cons... | Returns a decorator module for the given class.
Returns `nil` if no decorator module was found. | [
"Returns",
"a",
"decorator",
"module",
"for",
"the",
"given",
"class",
".",
"Returns",
"nil",
"if",
"no",
"decorator",
"module",
"was",
"found",
"."
] | e7cfa764e657ea8bbb4cbe92cb220ee67ebae58e | https://github.com/amatsuda/active_decorator/blob/e7cfa764e657ea8bbb4cbe92cb220ee67ebae58e/lib/active_decorator/decorator.rb#L68-L87 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/app_service_certificate_orders.rb | Azure::Web::Mgmt::V2015_08_01.AppServiceCertificateOrders.delete | def delete(resource_group_name, certificate_order_name, custom_headers:nil)
response = delete_async(resource_group_name, certificate_order_name, custom_headers:custom_headers).value!
nil
end | ruby | def delete(resource_group_name, certificate_order_name, custom_headers:nil)
response = delete_async(resource_group_name, certificate_order_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"delete",
"(",
"resource_group_name",
",",
"certificate_order_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_async",
"(",
"resource_group_name",
",",
"certificate_order_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
... | Delete an existing certificate order.
Delete an existing certificate order.
@param resource_group_name [String] Name of the resource group to which the
resource belongs.
@param certificate_order_name [String] Name of the certificate order.
@param custom_headers [Hash{String => String}] A hash of custom headers t... | [
"Delete",
"an",
"existing",
"certificate",
"order",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/app_service_certificate_orders.rb#L473-L476 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/app_service_certificate_orders.rb | Azure::Web::Mgmt::V2015_08_01.AppServiceCertificateOrders.resend_email | def resend_email(resource_group_name, certificate_order_name, custom_headers:nil)
response = resend_email_async(resource_group_name, certificate_order_name, custom_headers:custom_headers).value!
nil
end | ruby | def resend_email(resource_group_name, certificate_order_name, custom_headers:nil)
response = resend_email_async(resource_group_name, certificate_order_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"resend_email",
"(",
"resource_group_name",
",",
"certificate_order_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"resend_email_async",
"(",
"resource_group_name",
",",
"certificate_order_name",
",",
"custom_headers",
":custom_headers",
")",
".",
... | Resend certificate email.
Resend certificate email.
@param resource_group_name [String] Name of the resource group to which the
resource belongs.
@param certificate_order_name [String] Name of the certificate order.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to th... | [
"Resend",
"certificate",
"email",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/app_service_certificate_orders.rb#L1404-L1407 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/app_service_certificate_orders.rb | Azure::Web::Mgmt::V2015_08_01.AppServiceCertificateOrders.retrieve_certificate_actions | def retrieve_certificate_actions(resource_group_name, name, custom_headers:nil)
response = retrieve_certificate_actions_async(resource_group_name, name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def retrieve_certificate_actions(resource_group_name, name, custom_headers:nil)
response = retrieve_certificate_actions_async(resource_group_name, name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"retrieve_certificate_actions",
"(",
"resource_group_name",
",",
"name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"retrieve_certificate_actions_async",
"(",
"resource_group_name",
",",
"name",
",",
"custom_headers",
":custom_headers",
")",
".",
"v... | Retrieve the list of certificate actions.
Retrieve the list of certificate actions.
@param resource_group_name [String] Name of the resource group to which the
resource belongs.
@param name [String] Name of the certificate order.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will ... | [
"Retrieve",
"the",
"list",
"of",
"certificate",
"actions",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/app_service_certificate_orders.rb#L1810-L1813 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/app_service_certificate_orders.rb | Azure::Web::Mgmt::V2015_08_01.AppServiceCertificateOrders.retrieve_certificate_email_history | def retrieve_certificate_email_history(resource_group_name, name, custom_headers:nil)
response = retrieve_certificate_email_history_async(resource_group_name, name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def retrieve_certificate_email_history(resource_group_name, name, custom_headers:nil)
response = retrieve_certificate_email_history_async(resource_group_name, name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"retrieve_certificate_email_history",
"(",
"resource_group_name",
",",
"name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"retrieve_certificate_email_history_async",
"(",
"resource_group_name",
",",
"name",
",",
"custom_headers",
":custom_headers",
")",... | Retrieve email history.
Retrieve email history.
@param resource_group_name [String] Name of the resource group to which the
resource belongs.
@param name [String] Name of the certificate order.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@ret... | [
"Retrieve",
"email",
"history",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/app_service_certificate_orders.rb#L1930-L1933 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/app_service_certificate_orders.rb | Azure::Web::Mgmt::V2015_08_01.AppServiceCertificateOrders.list_by_resource_group_next | def list_by_resource_group_next(next_page_link, custom_headers:nil)
response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_by_resource_group_next(next_page_link, custom_headers:nil)
response = list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_by_resource_group_next",
"(",
"next_page_link",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_by_resource_group_next_async",
"(",
"next_page_link",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unle... | Get certificate orders in a resource group.
Get certificate orders in a resource group.
@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 [AppSe... | [
"Get",
"certificate",
"orders",
"in",
"a",
"resource",
"group",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_web/lib/2015-08-01/generated/azure_mgmt_web/app_service_certificate_orders.rb#L2403-L2406 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-12-01/generated/azure_mgmt_network/virtual_network_peerings.rb | Azure::Network::Mgmt::V2018_12_01.VirtualNetworkPeerings.get_with_http_info | def get_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil)
get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:nil)
get_async(resource_group_name, virtual_network_name, virtual_network_peering_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"virtual_network_name",
",",
"virtual_network_peering_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"virtual_network_name",
",",
"virtual_network_peering_name",
",",
... | Gets the specified virtual network peering.
@param resource_group_name [String] The name of the resource group.
@param virtual_network_name [String] The name of the virtual network.
@param virtual_network_peering_name [String] The name of the virtual network
peering.
@param custom_headers [Hash{String => String}]... | [
"Gets",
"the",
"specified",
"virtual",
"network",
"peering",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-12-01/generated/azure_mgmt_network/virtual_network_peerings.rb#L95-L97 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-12-01/generated/azure_mgmt_network/virtual_network_peerings.rb | Azure::Network::Mgmt::V2018_12_01.VirtualNetworkPeerings.list | def list(resource_group_name, virtual_network_name, custom_headers:nil)
first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers)
first_page.get_all_items
end | ruby | def list(resource_group_name, virtual_network_name, custom_headers:nil)
first_page = list_as_lazy(resource_group_name, virtual_network_name, custom_headers:custom_headers)
first_page.get_all_items
end | [
"def",
"list",
"(",
"resource_group_name",
",",
"virtual_network_name",
",",
"custom_headers",
":",
"nil",
")",
"first_page",
"=",
"list_as_lazy",
"(",
"resource_group_name",
",",
"virtual_network_name",
",",
"custom_headers",
":custom_headers",
")",
"first_page",
".",
... | Gets all virtual network peerings in a virtual network.
@param resource_group_name [String] The name of the resource group.
@param virtual_network_name [String] The name of the virtual network.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return... | [
"Gets",
"all",
"virtual",
"network",
"peerings",
"in",
"a",
"virtual",
"network",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-12-01/generated/azure_mgmt_network/virtual_network_peerings.rb#L223-L226 | train |
Azure/azure-sdk-for-ruby | runtime/ms_rest_azure/lib/ms_rest_azure/azure_service_client.rb | MsRestAzure.AzureServiceClient.check_for_status_code_failure | def check_for_status_code_failure(azure_response)
fail MsRest::ValidationError, 'Azure response cannot be nil' if azure_response.nil?
fail MsRest::ValidationError, 'Azure response cannot have empty response object' if azure_response.response.nil?
fail MsRest::ValidationError, 'Azure response cannot ha... | ruby | def check_for_status_code_failure(azure_response)
fail MsRest::ValidationError, 'Azure response cannot be nil' if azure_response.nil?
fail MsRest::ValidationError, 'Azure response cannot have empty response object' if azure_response.response.nil?
fail MsRest::ValidationError, 'Azure response cannot ha... | [
"def",
"check_for_status_code_failure",
"(",
"azure_response",
")",
"fail",
"MsRest",
"::",
"ValidationError",
",",
"'Azure response cannot be nil'",
"if",
"azure_response",
".",
"nil?",
"fail",
"MsRest",
"::",
"ValidationError",
",",
"'Azure response cannot have empty respon... | Verifies for unexpected polling status code
@param azure_response [MsRestAzure::AzureOperationResponse] response from Azure service. | [
"Verifies",
"for",
"unexpected",
"polling",
"status",
"code"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/runtime/ms_rest_azure/lib/ms_rest_azure/azure_service_client.rb#L122-L133 | train |
Azure/azure-sdk-for-ruby | runtime/ms_rest_azure/lib/ms_rest_azure/azure_service_client.rb | MsRestAzure.AzureServiceClient.update_state_from_get_resource_operation | def update_state_from_get_resource_operation(request, polling_state, custom_deserialization_block)
result = get_async_with_custom_deserialization(request, custom_deserialization_block)
fail AzureOperationError, 'The response from long running operation does not contain a body' if result.response.body.nil? ... | ruby | def update_state_from_get_resource_operation(request, polling_state, custom_deserialization_block)
result = get_async_with_custom_deserialization(request, custom_deserialization_block)
fail AzureOperationError, 'The response from long running operation does not contain a body' if result.response.body.nil? ... | [
"def",
"update_state_from_get_resource_operation",
"(",
"request",
",",
"polling_state",
",",
"custom_deserialization_block",
")",
"result",
"=",
"get_async_with_custom_deserialization",
"(",
"request",
",",
"custom_deserialization_block",
")",
"fail",
"AzureOperationError",
",... | Updates polling state based on location header for PUT HTTP requests.
@param request [MsRest::HttpOperationRequest] The url retrieve data from.
@param polling_state [MsRestAzure::PollingState] polling state to update.
@param custom_deserialization_block [Proc] custom deserialization method for parsing response. | [
"Updates",
"polling",
"state",
"based",
"on",
"location",
"header",
"for",
"PUT",
"HTTP",
"requests",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/runtime/ms_rest_azure/lib/ms_rest_azure/azure_service_client.rb#L141-L164 | train |
Azure/azure-sdk-for-ruby | runtime/ms_rest_azure/lib/ms_rest_azure/azure_service_client.rb | MsRestAzure.AzureServiceClient.update_state_from_location_header | def update_state_from_location_header(request, polling_state, custom_deserialization_block, final_state_via = FinalStateVia::DEFAULT)
result = get_async_with_custom_deserialization(request, custom_deserialization_block)
polling_state.update_response(result.response)
polling_state.request = result.req... | ruby | def update_state_from_location_header(request, polling_state, custom_deserialization_block, final_state_via = FinalStateVia::DEFAULT)
result = get_async_with_custom_deserialization(request, custom_deserialization_block)
polling_state.update_response(result.response)
polling_state.request = result.req... | [
"def",
"update_state_from_location_header",
"(",
"request",
",",
"polling_state",
",",
"custom_deserialization_block",
",",
"final_state_via",
"=",
"FinalStateVia",
"::",
"DEFAULT",
")",
"result",
"=",
"get_async_with_custom_deserialization",
"(",
"request",
",",
"custom_de... | Updates polling state based on location header for HTTP requests.
@param request [MsRest::HttpOperationRequest] The url retrieve data from.
@param polling_state [MsRestAzure::PollingState] polling state to update.
@param custom_deserialization_block [Proc] custom deserialization method for parsing response.
@param ... | [
"Updates",
"polling",
"state",
"based",
"on",
"location",
"header",
"for",
"HTTP",
"requests",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/runtime/ms_rest_azure/lib/ms_rest_azure/azure_service_client.rb#L173-L198 | train |
Azure/azure-sdk-for-ruby | runtime/ms_rest_azure/lib/ms_rest_azure/azure_service_client.rb | MsRestAzure.AzureServiceClient.update_state_from_azure_async_operation_header | def update_state_from_azure_async_operation_header(request, polling_state)
result = get_async_with_async_operation_deserialization(request)
fail AzureOperationError, 'The response from long running operation does not contain a body' if result.body.nil? || result.body.status.nil?
polling_state.status... | ruby | def update_state_from_azure_async_operation_header(request, polling_state)
result = get_async_with_async_operation_deserialization(request)
fail AzureOperationError, 'The response from long running operation does not contain a body' if result.body.nil? || result.body.status.nil?
polling_state.status... | [
"def",
"update_state_from_azure_async_operation_header",
"(",
"request",
",",
"polling_state",
")",
"result",
"=",
"get_async_with_async_operation_deserialization",
"(",
"request",
")",
"fail",
"AzureOperationError",
",",
"'The response from long running operation does not contain a ... | Updates polling state from Azure async operation header.
@param polling_state [MsRestAzure::PollingState] polling state. | [
"Updates",
"polling",
"state",
"from",
"Azure",
"async",
"operation",
"header",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/runtime/ms_rest_azure/lib/ms_rest_azure/azure_service_client.rb#L204-L216 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_recovery_services_site_recovery/lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/replication_alert_settings.rb | Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10.ReplicationAlertSettings.create | def create(alert_setting_name, request, custom_headers:nil)
response = create_async(alert_setting_name, request, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def create(alert_setting_name, request, custom_headers:nil)
response = create_async(alert_setting_name, request, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"create",
"(",
"alert_setting_name",
",",
"request",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"create_async",
"(",
"alert_setting_name",
",",
"request",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
... | Configures email notifications for this vault.
Create or update an email notification(alert) configuration.
@param alert_setting_name [String] The name of the email notification(alert)
configuration.
@param request [ConfigureAlertRequest] The input to configure the email
notification(alert).
@param custom_heade... | [
"Configures",
"email",
"notifications",
"for",
"this",
"vault",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_recovery_services_site_recovery/lib/2016-08-10/generated/azure_mgmt_recovery_services_site_recovery/replication_alert_settings.rb#L137-L140 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_privatedns/lib/2018-09-01/generated/azure_mgmt_privatedns/record_sets.rb | Azure::PrivateDns::Mgmt::V2018_09_01.RecordSets.create_or_update_with_http_info | def create_or_update_with_http_info(resource_group_name, private_zone_name, record_type, relative_record_set_name, parameters, if_match:nil, if_none_match:nil, custom_headers:nil)
create_or_update_async(resource_group_name, private_zone_name, record_type, relative_record_set_name, parameters, if_match:if_match, i... | ruby | def create_or_update_with_http_info(resource_group_name, private_zone_name, record_type, relative_record_set_name, parameters, if_match:nil, if_none_match:nil, custom_headers:nil)
create_or_update_async(resource_group_name, private_zone_name, record_type, relative_record_set_name, parameters, if_match:if_match, i... | [
"def",
"create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"private_zone_name",
",",
"record_type",
",",
"relative_record_set_name",
",",
"parameters",
",",
"if_match",
":",
"nil",
",",
"if_none_match",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")... | Creates or updates a record set within a Private DNS zone.
@param resource_group_name [String] The name of the resource group.
@param private_zone_name [String] The name of the Private DNS zone (without a
terminating dot).
@param record_type [RecordType] The type of DNS record in this record set.
Record sets of t... | [
"Creates",
"or",
"updates",
"a",
"record",
"set",
"within",
"a",
"Private",
"DNS",
"zone",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_privatedns/lib/2018-09-01/generated/azure_mgmt_privatedns/record_sets.rb#L79-L81 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_privatedns/lib/2018-09-01/generated/azure_mgmt_privatedns/record_sets.rb | Azure::PrivateDns::Mgmt::V2018_09_01.RecordSets.list_with_http_info | def list_with_http_info(resource_group_name, private_zone_name, top:nil, recordsetnamesuffix:nil, custom_headers:nil)
list_async(resource_group_name, private_zone_name, top:top, recordsetnamesuffix:recordsetnamesuffix, custom_headers:custom_headers).value!
end | ruby | def list_with_http_info(resource_group_name, private_zone_name, top:nil, recordsetnamesuffix:nil, custom_headers:nil)
list_async(resource_group_name, private_zone_name, top:top, recordsetnamesuffix:recordsetnamesuffix, custom_headers:custom_headers).value!
end | [
"def",
"list_with_http_info",
"(",
"resource_group_name",
",",
"private_zone_name",
",",
"top",
":",
"nil",
",",
"recordsetnamesuffix",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"list_async",
"(",
"resource_group_name",
",",
"private_zone_name",
",",
"top"... | Lists all record sets in a Private DNS zone.
@param resource_group_name [String] The name of the resource group.
@param private_zone_name [String] The name of the Private DNS zone (without a
terminating dot).
@param top [Integer] The maximum number of record sets to return. If not
specified, returns up to 100 rec... | [
"Lists",
"all",
"record",
"sets",
"in",
"a",
"Private",
"DNS",
"zone",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_privatedns/lib/2018-09-01/generated/azure_mgmt_privatedns/record_sets.rb#L711-L713 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_postgresql/lib/2017-12-01-preview/generated/azure_mgmt_postgresql/configurations.rb | Azure::Postgresql::Mgmt::V2017_12_01_preview.Configurations.get_with_http_info | def get_with_http_info(resource_group_name, server_name, configuration_name, custom_headers:nil)
get_async(resource_group_name, server_name, configuration_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, server_name, configuration_name, custom_headers:nil)
get_async(resource_group_name, server_name, configuration_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"server_name",
",",
"configuration_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"configuration_name",
",",
"custom_headers",
":custom_headers"... | Gets information about a configuration of server.
@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 configuration_name [String] The n... | [
"Gets",
"information",
"about",
"a",
"configuration",
"of",
"server",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_postgresql/lib/2017-12-01-preview/generated/azure_mgmt_postgresql/configurations.rb#L110-L112 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_storagesync/lib/2018-07-01/generated/azure_mgmt_storagesync/server_endpoints.rb | Azure::StorageSync::Mgmt::V2018_07_01.ServerEndpoints.get_with_http_info | def get_with_http_info(resource_group_name, storage_sync_service_name, sync_group_name, server_endpoint_name, custom_headers:nil)
get_async(resource_group_name, storage_sync_service_name, sync_group_name, server_endpoint_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, storage_sync_service_name, sync_group_name, server_endpoint_name, custom_headers:nil)
get_async(resource_group_name, storage_sync_service_name, sync_group_name, server_endpoint_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"storage_sync_service_name",
",",
"sync_group_name",
",",
"server_endpoint_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"storage_sync_service_name",
",",
"sync_grou... | Get a ServerEndpoint.
@param resource_group_name [String] The name of the resource group. The name
is case insensitive.
@param storage_sync_service_name [String] Name of Storage Sync Service
resource.
@param sync_group_name [String] Name of Sync Group resource.
@param server_endpoint_name [String] Name of Server... | [
"Get",
"a",
"ServerEndpoint",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_storagesync/lib/2018-07-01/generated/azure_mgmt_storagesync/server_endpoints.rb#L165-L167 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_storagesync/lib/2018-07-01/generated/azure_mgmt_storagesync/server_endpoints.rb | Azure::StorageSync::Mgmt::V2018_07_01.ServerEndpoints.begin_delete_with_http_info | def begin_delete_with_http_info(resource_group_name, storage_sync_service_name, sync_group_name, server_endpoint_name, custom_headers:nil)
begin_delete_async(resource_group_name, storage_sync_service_name, sync_group_name, server_endpoint_name, custom_headers:custom_headers).value!
end | ruby | def begin_delete_with_http_info(resource_group_name, storage_sync_service_name, sync_group_name, server_endpoint_name, custom_headers:nil)
begin_delete_async(resource_group_name, storage_sync_service_name, sync_group_name, server_endpoint_name, custom_headers:custom_headers).value!
end | [
"def",
"begin_delete_with_http_info",
"(",
"resource_group_name",
",",
"storage_sync_service_name",
",",
"sync_group_name",
",",
"server_endpoint_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_delete_async",
"(",
"resource_group_name",
",",
"storage_sync_service_name",
... | Delete a given ServerEndpoint.
@param resource_group_name [String] The name of the resource group. The name
is case insensitive.
@param storage_sync_service_name [String] Name of Storage Sync Service
resource.
@param sync_group_name [String] Name of Sync Group resource.
@param server_endpoint_name [String] Name ... | [
"Delete",
"a",
"given",
"ServerEndpoint",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_storagesync/lib/2018-07-01/generated/azure_mgmt_storagesync/server_endpoints.rb#L725-L727 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb | Azure::CognitiveServices::ComputerVision::V2_0.ComputerVisionClient.make_request_with_http_info | def make_request_with_http_info(method, path, options = {})
result = make_request_async(method, path, options).value!
result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
result
end | ruby | def make_request_with_http_info(method, path, options = {})
result = make_request_async(method, path, options).value!
result.body = result.response.body.to_s.empty? ? nil : JSON.load(result.response.body)
result
end | [
"def",
"make_request_with_http_info",
"(",
"method",
",",
"path",
",",
"options",
"=",
"{",
"}",
")",
"result",
"=",
"make_request_async",
"(",
"method",
",",
"path",
",",
"options",
")",
".",
"value!",
"result",
".",
"body",
"=",
"result",
".",
"response"... | Makes a request and returns the operation response.
@param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
@param path [String] the path, relative to {base_url}.
@param options [Hash{String=>String}] specifying any request options like :body.
@return [MsRestAzure::AzureOperation... | [
"Makes",
"a",
"request",
"and",
"returns",
"the",
"operation",
"response",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb#L85-L89 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb | Azure::CognitiveServices::ComputerVision::V2_0.ComputerVisionClient.make_request_async | def make_request_async(method, path, options = {})
fail ArgumentError, 'method is nil' if method.nil?
fail ArgumentError, 'path is nil' if path.nil?
request_url = options[:base_url] || @base_url
if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
@request_headers['Con... | ruby | def make_request_async(method, path, options = {})
fail ArgumentError, 'method is nil' if method.nil?
fail ArgumentError, 'path is nil' if path.nil?
request_url = options[:base_url] || @base_url
if(!options[:headers].nil? && !options[:headers]['Content-Type'].nil?)
@request_headers['Con... | [
"def",
"make_request_async",
"(",
"method",
",",
"path",
",",
"options",
"=",
"{",
"}",
")",
"fail",
"ArgumentError",
",",
"'method is nil'",
"if",
"method",
".",
"nil?",
"fail",
"ArgumentError",
",",
"'path is nil'",
"if",
"path",
".",
"nil?",
"request_url",
... | Makes a request asynchronously.
@param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
@param path [String] the path, relative to {base_url}.
@param options [Hash{String=>String}] specifying any request options like :body.
@return [Concurrent::Promise] Promise object which holds... | [
"Makes",
"a",
"request",
"asynchronously",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb#L98-L113 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb | Azure::CognitiveServices::ComputerVision::V2_0.ComputerVisionClient.get_text_operation_result | def get_text_operation_result(operation_id, custom_headers:nil)
response = get_text_operation_result_async(operation_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_text_operation_result(operation_id, custom_headers:nil)
response = get_text_operation_result_async(operation_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_text_operation_result",
"(",
"operation_id",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_text_operation_result_async",
"(",
"operation_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"... | This interface is used for getting text operation result. The URL to this
interface should be retrieved from 'Operation-Location' field returned from
Recognize Text interface.
@param operation_id [String] Id of the text operation returned in the
response of the 'Recognize Text'
@param custom_headers [Hash{String ... | [
"This",
"interface",
"is",
"used",
"for",
"getting",
"text",
"operation",
"result",
".",
"The",
"URL",
"to",
"this",
"interface",
"should",
"be",
"retrieved",
"from",
"Operation",
"-",
"Location",
"field",
"returned",
"from",
"Recognize",
"Text",
"interface",
... | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb#L1491-L1494 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb | Azure::CognitiveServices::ComputerVision::V2_0.ComputerVisionClient.get_read_operation_result | def get_read_operation_result(operation_id, custom_headers:nil)
response = get_read_operation_result_async(operation_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_read_operation_result(operation_id, custom_headers:nil)
response = get_read_operation_result_async(operation_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_read_operation_result",
"(",
"operation_id",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_read_operation_result_async",
"(",
"operation_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"... | This interface is used for getting OCR results of Read operation. The URL to
this interface should be retrieved from "Operation-Location" field returned
from Batch Read File interface.
@param operation_id [String] Id of read operation returned in the response of
the "Batch Read File" interface.
@param custom_head... | [
"This",
"interface",
"is",
"used",
"for",
"getting",
"OCR",
"results",
"of",
"Read",
"operation",
".",
"The",
"URL",
"to",
"this",
"interface",
"should",
"be",
"retrieved",
"from",
"Operation",
"-",
"Location",
"field",
"returned",
"from",
"Batch",
"Read",
"... | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_computervision/lib/2.0/generated/azure_cognitiveservices_computervision/computer_vision_client.rb#L1696-L1699 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_redis/lib/2017-02-01/generated/azure_mgmt_redis/redis.rb | Azure::Redis::Mgmt::V2017_02_01.Redis.update_with_http_info | def update_with_http_info(resource_group_name, name, parameters, custom_headers:nil)
update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value!
end | ruby | def update_with_http_info(resource_group_name, name, parameters, custom_headers:nil)
update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"update_with_http_info",
"(",
"resource_group_name",
",",
"name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"update_async",
"(",
"resource_group_name",
",",
"name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value... | Update an existing Redis cache.
@param resource_group_name [String] The name of the resource group.
@param name [String] The name of the Redis cache.
@param parameters [RedisUpdateParameters] Parameters supplied to the Update
Redis operation.
@param custom_headers [Hash{String => String}] A hash of custom headers... | [
"Update",
"an",
"existing",
"Redis",
"cache",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_redis/lib/2017-02-01/generated/azure_mgmt_redis/redis.rb#L100-L102 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_redis/lib/2017-02-01/generated/azure_mgmt_redis/redis.rb | Azure::Redis::Mgmt::V2017_02_01.Redis.list_keys | def list_keys(resource_group_name, name, custom_headers:nil)
response = list_keys_async(resource_group_name, name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_keys(resource_group_name, name, custom_headers:nil)
response = list_keys_async(resource_group_name, name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_keys",
"(",
"resource_group_name",
",",
"name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_keys_async",
"(",
"resource_group_name",
",",
"name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",... | Retrieve a Redis cache's access keys. This operation requires write
permission to the cache resource.
@param resource_group_name [String] The name of the resource group.
@param name [String] The name of the Redis cache.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to ... | [
"Retrieve",
"a",
"Redis",
"cache",
"s",
"access",
"keys",
".",
"This",
"operation",
"requires",
"write",
"permission",
"to",
"the",
"cache",
"resource",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_redis/lib/2017-02-01/generated/azure_mgmt_redis/redis.rb#L490-L493 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_redis/lib/2017-02-01/generated/azure_mgmt_redis/firewall_rules.rb | Azure::Redis::Mgmt::V2017_02_01.FirewallRules.create_or_update_with_http_info | def create_or_update_with_http_info(resource_group_name, cache_name, rule_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, cache_name, rule_name, parameters, custom_headers:custom_headers).value!
end | ruby | def create_or_update_with_http_info(resource_group_name, cache_name, rule_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, cache_name, rule_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"cache_name",
",",
"rule_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"create_or_update_async",
"(",
"resource_group_name",
",",
"cache_name",
",",
"rule_name",
",",
"paramet... | Create or update a redis cache firewall rule
@param resource_group_name [String] The name of the resource group.
@param cache_name [String] The name of the Redis cache.
@param rule_name [String] The name of the firewall rule.
@param parameters [RedisFirewallRule] Parameters supplied to the create or
update redis ... | [
"Create",
"or",
"update",
"a",
"redis",
"cache",
"firewall",
"rule"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_redis/lib/2017-02-01/generated/azure_mgmt_redis/firewall_rules.rb#L147-L149 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_redis/lib/2017-02-01/generated/azure_mgmt_redis/firewall_rules.rb | Azure::Redis::Mgmt::V2017_02_01.FirewallRules.get_with_http_info | def get_with_http_info(resource_group_name, cache_name, rule_name, custom_headers:nil)
get_async(resource_group_name, cache_name, rule_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, cache_name, rule_name, custom_headers:nil)
get_async(resource_group_name, cache_name, rule_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"cache_name",
",",
"rule_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"cache_name",
",",
"rule_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"v... | Gets a single firewall rule in a specified redis cache.
@param resource_group_name [String] The name of the resource group.
@param cache_name [String] The name of the Redis cache.
@param rule_name [String] The name of the firewall rule.
@param custom_headers [Hash{String => String}] A hash of custom headers that
... | [
"Gets",
"a",
"single",
"firewall",
"rule",
"in",
"a",
"specified",
"redis",
"cache",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_redis/lib/2017-02-01/generated/azure_mgmt_redis/firewall_rules.rb#L263-L265 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_redis/lib/2017-02-01/generated/azure_mgmt_redis/firewall_rules.rb | Azure::Redis::Mgmt::V2017_02_01.FirewallRules.delete_with_http_info | def delete_with_http_info(resource_group_name, cache_name, rule_name, custom_headers:nil)
delete_async(resource_group_name, cache_name, rule_name, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, cache_name, rule_name, custom_headers:nil)
delete_async(resource_group_name, cache_name, rule_name, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"cache_name",
",",
"rule_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"cache_name",
",",
"rule_name",
",",
"custom_headers",
":custom_headers",
")",
"."... | Deletes a single firewall rule in a specified redis cache.
@param resource_group_name [String] The name of the resource group.
@param cache_name [String] The name of the Redis cache.
@param rule_name [String] The name of the firewall rule.
@param custom_headers [Hash{String => String}] A hash of custom headers tha... | [
"Deletes",
"a",
"single",
"firewall",
"rule",
"in",
"a",
"specified",
"redis",
"cache",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_redis/lib/2017-02-01/generated/azure_mgmt_redis/firewall_rules.rb#L358-L360 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_cdn/lib/2015-06-01/generated/azure_mgmt_cdn/custom_domains.rb | Azure::CDN::Mgmt::V2015_06_01.CustomDomains.begin_delete_if_exists | def begin_delete_if_exists(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers:nil)
response = begin_delete_if_exists_async(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def begin_delete_if_exists(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers:nil)
response = begin_delete_if_exists_async(custom_domain_name, endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"begin_delete_if_exists",
"(",
"custom_domain_name",
",",
"endpoint_name",
",",
"profile_name",
",",
"resource_group_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"begin_delete_if_exists_async",
"(",
"custom_domain_name",
",",
"endpoint_name",
","... | Deletes an existing CDN custom domain within an endpoint.
@param custom_domain_name [String] Name of the custom domain within an
endpoint.
@param endpoint_name [String] Name of the endpoint within the CDN profile.
@param profile_name [String] Name of the CDN profile within the resource
group.
@param resource_gro... | [
"Deletes",
"an",
"existing",
"CDN",
"custom",
"domain",
"within",
"an",
"endpoint",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_cdn/lib/2015-06-01/generated/azure_mgmt_cdn/custom_domains.rb#L624-L627 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_dns/lib/2017-09-01/generated/azure_mgmt_dns/record_sets.rb | Azure::Dns::Mgmt::V2017_09_01.RecordSets.update_with_http_info | def update_with_http_info(resource_group_name, zone_name, relative_record_set_name, record_type, parameters, if_match:nil, custom_headers:nil)
update_async(resource_group_name, zone_name, relative_record_set_name, record_type, parameters, if_match:if_match, custom_headers:custom_headers).value!
end | ruby | def update_with_http_info(resource_group_name, zone_name, relative_record_set_name, record_type, parameters, if_match:nil, custom_headers:nil)
update_async(resource_group_name, zone_name, relative_record_set_name, record_type, parameters, if_match:if_match, custom_headers:custom_headers).value!
end | [
"def",
"update_with_http_info",
"(",
"resource_group_name",
",",
"zone_name",
",",
"relative_record_set_name",
",",
"record_type",
",",
"parameters",
",",
"if_match",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"update_async",
"(",
"resource_group_name",
",",
... | Updates a record set within a DNS zone.
@param resource_group_name [String] The name of the resource group. The name
is case insensitive.
@param zone_name [String] The name of the DNS zone (without a terminating
dot).
@param relative_record_set_name [String] The name of the record set, relative
to the name of th... | [
"Updates",
"a",
"record",
"set",
"within",
"a",
"DNS",
"zone",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_dns/lib/2017-09-01/generated/azure_mgmt_dns/record_sets.rb#L71-L73 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_dns/lib/2017-09-01/generated/azure_mgmt_dns/record_sets.rb | Azure::Dns::Mgmt::V2017_09_01.RecordSets.delete_with_http_info | def delete_with_http_info(resource_group_name, zone_name, relative_record_set_name, record_type, if_match:nil, custom_headers:nil)
delete_async(resource_group_name, zone_name, relative_record_set_name, record_type, if_match:if_match, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, zone_name, relative_record_set_name, record_type, if_match:nil, custom_headers:nil)
delete_async(resource_group_name, zone_name, relative_record_set_name, record_type, if_match:if_match, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"zone_name",
",",
"relative_record_set_name",
",",
"record_type",
",",
"if_match",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"zone_name",
",",
... | Deletes a record set from a DNS zone. This operation cannot be undone.
@param resource_group_name [String] The name of the resource group. The name
is case insensitive.
@param zone_name [String] The name of the DNS zone (without a terminating
dot).
@param relative_record_set_name [String] The name of the record s... | [
"Deletes",
"a",
"record",
"set",
"from",
"a",
"DNS",
"zone",
".",
"This",
"operation",
"cannot",
"be",
"undone",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_dns/lib/2017-09-01/generated/azure_mgmt_dns/record_sets.rb#L380-L382 | train |
Azure/azure-sdk-for-ruby | runtime/ms_rest/lib/ms_rest/retry_policy_middleware.rb | MsRest.RetryPolicyMiddleware.call | def call(request_env)
request_body = request_env[:body]
begin
request_env[:body] = request_body
@app.call(request_env).on_complete do |response_env|
status_code = response_env.status
if @times > 0 && (status_code == 408 || (status_code >= 500 && status_code != 501 && s... | ruby | def call(request_env)
request_body = request_env[:body]
begin
request_env[:body] = request_body
@app.call(request_env).on_complete do |response_env|
status_code = response_env.status
if @times > 0 && (status_code == 408 || (status_code >= 500 && status_code != 501 && s... | [
"def",
"call",
"(",
"request_env",
")",
"request_body",
"=",
"request_env",
"[",
":body",
"]",
"begin",
"request_env",
"[",
":body",
"]",
"=",
"request_body",
"@app",
".",
"call",
"(",
"request_env",
")",
".",
"on_complete",
"do",
"|",
"response_env",
"|",
... | Initializes a new instance of the RetryPolicyMiddleware class.
Performs request and response processing. | [
"Initializes",
"a",
"new",
"instance",
"of",
"the",
"RetryPolicyMiddleware",
"class",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/runtime/ms_rest/lib/ms_rest/retry_policy_middleware.rb#L23-L42 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_compute/lib/2016-04-30-preview/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb | Azure::Compute::Mgmt::V2016_04_30_preview.VirtualMachineScaleSets.list_all_next | def list_all_next(next_page_link, custom_headers:nil)
response = list_all_next_async(next_page_link, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_all_next(next_page_link, custom_headers:nil)
response = list_all_next_async(next_page_link, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_all_next",
"(",
"next_page_link",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_all_next_async",
"(",
"next_page_link",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
... | Gets a list of all VM Scale Sets in the subscription, regardless of the
associated resource group. Use nextLink property in the response to get the
next page of VM Scale Sets. Do this till nextLink is null to fetch all the VM
Scale Sets.
@param next_page_link [String] The NextLink from the previous successful call... | [
"Gets",
"a",
"list",
"of",
"all",
"VM",
"Scale",
"Sets",
"in",
"the",
"subscription",
"regardless",
"of",
"the",
"associated",
"resource",
"group",
".",
"Use",
"nextLink",
"property",
"in",
"the",
"response",
"to",
"get",
"the",
"next",
"page",
"of",
"VM",... | 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_machine_scale_sets.rb#L2080-L2083 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-10-01/generated/azure_mgmt_network/packet_captures.rb | Azure::Network::Mgmt::V2018_10_01.PacketCaptures.get_with_http_info | def get_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil)
get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil)
get_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"network_watcher_name",
",",
"packet_capture_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"network_watcher_name",
",",
"packet_capture_name",
",",
"custom_headers",... | Gets a packet capture session by name.
@param resource_group_name [String] The name of the resource group.
@param network_watcher_name [String] The name of the network watcher.
@param packet_capture_name [String] The name of the packet capture session.
@param custom_headers [Hash{String => String}] A hash of custo... | [
"Gets",
"a",
"packet",
"capture",
"session",
"by",
"name",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-10-01/generated/azure_mgmt_network/packet_captures.rb#L99-L101 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-10-01/generated/azure_mgmt_network/packet_captures.rb | Azure::Network::Mgmt::V2018_10_01.PacketCaptures.begin_delete_with_http_info | def begin_delete_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil)
begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value!
end | ruby | def begin_delete_with_http_info(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:nil)
begin_delete_async(resource_group_name, network_watcher_name, packet_capture_name, custom_headers:custom_headers).value!
end | [
"def",
"begin_delete_with_http_info",
"(",
"resource_group_name",
",",
"network_watcher_name",
",",
"packet_capture_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_delete_async",
"(",
"resource_group_name",
",",
"network_watcher_name",
",",
"packet_capture_name",
",",
... | Deletes the specified packet capture session.
@param resource_group_name [String] The name of the resource group.
@param network_watcher_name [String] The name of the network watcher.
@param packet_capture_name [String] The name of the packet capture session.
@param custom_headers [Hash{String => String}] A hash o... | [
"Deletes",
"the",
"specified",
"packet",
"capture",
"session",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-10-01/generated/azure_mgmt_network/packet_captures.rb#L527-L529 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_service_bus/lib/2015-08-01/generated/azure_mgmt_service_bus/namespaces.rb | Azure::ServiceBus::Mgmt::V2015_08_01.Namespaces.update_with_http_info | def update_with_http_info(resource_group_name, namespace_name, parameters, custom_headers:nil)
update_async(resource_group_name, namespace_name, parameters, custom_headers:custom_headers).value!
end | ruby | def update_with_http_info(resource_group_name, namespace_name, parameters, custom_headers:nil)
update_async(resource_group_name, namespace_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"update_with_http_info",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"update_async",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
... | Updates a service namespace. Once created, this namespace's resource manifest
is immutable. This operation is idempotent.
@param resource_group_name [String] Name of the Resource group within the
Azure subscription.
@param namespace_name [String] The namespace name
@param parameters [NamespaceUpdateParameters] Pa... | [
"Updates",
"a",
"service",
"namespace",
".",
"Once",
"created",
"this",
"namespace",
"s",
"resource",
"manifest",
"is",
"immutable",
".",
"This",
"operation",
"is",
"idempotent",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_service_bus/lib/2015-08-01/generated/azure_mgmt_service_bus/namespaces.rb#L524-L526 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_service_bus/lib/2015-08-01/generated/azure_mgmt_service_bus/namespaces.rb | Azure::ServiceBus::Mgmt::V2015_08_01.Namespaces.delete_authorization_rule | def delete_authorization_rule(resource_group_name, namespace_name, authorization_rule_name, custom_headers:nil)
response = delete_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers:custom_headers).value!
nil
end | ruby | def delete_authorization_rule(resource_group_name, namespace_name, authorization_rule_name, custom_headers:nil)
response = delete_authorization_rule_async(resource_group_name, namespace_name, authorization_rule_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"delete_authorization_rule",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"authorization_rule_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_authorization_rule_async",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"author... | Deletes a namespace authorization rule.
@param resource_group_name [String] Name of the Resource group within the
Azure subscription.
@param namespace_name [String] The namespace name
@param authorization_rule_name [String] The authorization rule name.
@param custom_headers [Hash{String => String}] A hash of cust... | [
"Deletes",
"a",
"namespace",
"authorization",
"rule",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_service_bus/lib/2015-08-01/generated/azure_mgmt_service_bus/namespaces.rb#L846-L849 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_service_bus/lib/2015-08-01/generated/azure_mgmt_service_bus/namespaces.rb | Azure::ServiceBus::Mgmt::V2015_08_01.Namespaces.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, namespace_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, namespace_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, namespace_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, namespace_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"parameters",
",",
"custom_h... | Creates or updates a service namespace. Once created, this namespace's
resource manifest is immutable. This operation is idempotent.
@param resource_group_name [String] Name of the Resource group within the
Azure subscription.
@param namespace_name [String] The namespace name.
@param parameters [NamespaceCreateOr... | [
"Creates",
"or",
"updates",
"a",
"service",
"namespace",
".",
"Once",
"created",
"this",
"namespace",
"s",
"resource",
"manifest",
"is",
"immutable",
".",
"This",
"operation",
"is",
"idempotent",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_service_bus/lib/2015-08-01/generated/azure_mgmt_service_bus/namespaces.rb#L1291-L1293 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_service_bus/lib/2015-08-01/generated/azure_mgmt_service_bus/namespaces.rb | Azure::ServiceBus::Mgmt::V2015_08_01.Namespaces.begin_delete | def begin_delete(resource_group_name, namespace_name, custom_headers:nil)
response = begin_delete_async(resource_group_name, namespace_name, custom_headers:custom_headers).value!
nil
end | ruby | def begin_delete(resource_group_name, namespace_name, custom_headers:nil)
response = begin_delete_async(resource_group_name, namespace_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"begin_delete",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"begin_delete_async",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"n... | Deletes an existing namespace. This operation also removes all associated
resources under the namespace.
@param resource_group_name [String] Name of the Resource group within the
Azure subscription.
@param namespace_name [String] The namespace name
@param custom_headers [Hash{String => String}] A hash of custom h... | [
"Deletes",
"an",
"existing",
"namespace",
".",
"This",
"operation",
"also",
"removes",
"all",
"associated",
"resources",
"under",
"the",
"namespace",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_service_bus/lib/2015-08-01/generated/azure_mgmt_service_bus/namespaces.rb#L1393-L1396 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_service_bus/lib/2015-08-01/generated/azure_mgmt_service_bus/namespaces.rb | Azure::ServiceBus::Mgmt::V2015_08_01.Namespaces.list_by_subscription_next | def list_by_subscription_next(next_page_link, custom_headers:nil)
response = list_by_subscription_next_async(next_page_link, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_by_subscription_next(next_page_link, custom_headers:nil)
response = list_by_subscription_next_async(next_page_link, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_by_subscription_next",
"(",
"next_page_link",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_by_subscription_next_async",
"(",
"next_page_link",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",... | Gets all the available namespaces within the subscription, irrespective of
the resource groups.
@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... | [
"Gets",
"all",
"the",
"available",
"namespaces",
"within",
"the",
"subscription",
"irrespective",
"of",
"the",
"resource",
"groups",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_service_bus/lib/2015-08-01/generated/azure_mgmt_service_bus/namespaces.rb#L1484-L1487 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/versions.rb | Azure::CognitiveServices::LuisAuthoring::V2_0.Versions.clone_with_http_info | def clone_with_http_info(app_id, version_id, version_clone_object, custom_headers:nil)
clone_async(app_id, version_id, version_clone_object, custom_headers:custom_headers).value!
end | ruby | def clone_with_http_info(app_id, version_id, version_clone_object, custom_headers:nil)
clone_async(app_id, version_id, version_clone_object, custom_headers:custom_headers).value!
end | [
"def",
"clone_with_http_info",
"(",
"app_id",
",",
"version_id",
",",
"version_clone_object",
",",
"custom_headers",
":",
"nil",
")",
"clone_async",
"(",
"app_id",
",",
"version_id",
",",
"version_clone_object",
",",
"custom_headers",
":custom_headers",
")",
".",
"v... | Creates a new version from the selected version.
@param app_id The application ID.
@param version_id [String] The version ID.
@param version_clone_object [TaskUpdateObject] A model containing the new
version ID.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTT... | [
"Creates",
"a",
"new",
"version",
"from",
"the",
"selected",
"version",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/versions.rb#L53-L55 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/versions.rb | Azure::CognitiveServices::LuisAuthoring::V2_0.Versions.list | def list(app_id, skip:0, take:100, custom_headers:nil)
response = list_async(app_id, skip:skip, take:take, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list(app_id, skip:0, take:100, custom_headers:nil)
response = list_async(app_id, skip:skip, take:take, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list",
"(",
"app_id",
",",
"skip",
":",
"0",
",",
"take",
":",
"100",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_async",
"(",
"app_id",
",",
"skip",
":",
"skip",
",",
"take",
":",
"take",
",",
"custom_headers",
":custom_head... | Gets a list of versions for this application ID.
@param app_id The application ID.
@param skip [Integer] The number of entries to skip. Default value is 0.
@param take [Integer] The number of entries to return. Maximum page size is
500. Default is 100.
@param custom_headers [Hash{String => String}] A hash of cust... | [
"Gets",
"a",
"list",
"of",
"versions",
"for",
"this",
"application",
"ID",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/versions.rb#L148-L151 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/versions.rb | Azure::CognitiveServices::LuisAuthoring::V2_0.Versions.export | def export(app_id, version_id, custom_headers:nil)
response = export_async(app_id, version_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def export(app_id, version_id, custom_headers:nil)
response = export_async(app_id, version_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"export",
"(",
"app_id",
",",
"version_id",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"export_async",
"(",
"app_id",
",",
"version_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"resp... | Exports a LUIS application to JSON format.
@param app_id The application ID.
@param version_id [String] The version ID.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [LuisApp] operation results. | [
"Exports",
"a",
"LUIS",
"application",
"to",
"JSON",
"format",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/versions.rb#L552-L555 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_storage/lib/2018-07-01/generated/azure_mgmt_storage/blob_containers.rb | Azure::Storage::Mgmt::V2018_07_01.BlobContainers.update_with_http_info | def update_with_http_info(resource_group_name, account_name, container_name, blob_container, custom_headers:nil)
update_async(resource_group_name, account_name, container_name, blob_container, custom_headers:custom_headers).value!
end | ruby | def update_with_http_info(resource_group_name, account_name, container_name, blob_container, custom_headers:nil)
update_async(resource_group_name, account_name, container_name, blob_container, custom_headers:custom_headers).value!
end | [
"def",
"update_with_http_info",
"(",
"resource_group_name",
",",
"account_name",
",",
"container_name",
",",
"blob_container",
",",
"custom_headers",
":",
"nil",
")",
"update_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"container_name",
",",
"blob_cont... | Updates container properties as specified in request body. Properties not
mentioned in the request will be unchanged. Update fails if the specified
container doesn't already exist.
@param resource_group_name [String] The name of the resource group within the
user's subscription. The name is case insensitive.
@par... | [
"Updates",
"container",
"properties",
"as",
"specified",
"in",
"request",
"body",
".",
"Properties",
"not",
"mentioned",
"in",
"the",
"request",
"will",
"be",
"unchanged",
".",
"Update",
"fails",
"if",
"the",
"specified",
"container",
"doesn",
"t",
"already",
... | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_storage/lib/2018-07-01/generated/azure_mgmt_storage/blob_containers.rb#L333-L335 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_storage/lib/2018-07-01/generated/azure_mgmt_storage/blob_containers.rb | Azure::Storage::Mgmt::V2018_07_01.BlobContainers.get_with_http_info | def get_with_http_info(resource_group_name, account_name, container_name, custom_headers:nil)
get_async(resource_group_name, account_name, container_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, account_name, container_name, custom_headers:nil)
get_async(resource_group_name, account_name, container_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"account_name",
",",
"container_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"container_name",
",",
"custom_headers",
":custom_headers",
")... | Gets properties of a specified container.
@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... | [
"Gets",
"properties",
"of",
"a",
"specified",
"container",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_storage/lib/2018-07-01/generated/azure_mgmt_storage/blob_containers.rb#L471-L473 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_storage/lib/2018-07-01/generated/azure_mgmt_storage/blob_containers.rb | Azure::Storage::Mgmt::V2018_07_01.BlobContainers.delete_with_http_info | def delete_with_http_info(resource_group_name, account_name, container_name, custom_headers:nil)
delete_async(resource_group_name, account_name, container_name, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, account_name, container_name, custom_headers:nil)
delete_async(resource_group_name, account_name, container_name, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"account_name",
",",
"container_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"container_name",
",",
"custom_headers",
":custom_headers"... | Deletes specified container under its 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 a... | [
"Deletes",
"specified",
"container",
"under",
"its",
"account",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_storage/lib/2018-07-01/generated/azure_mgmt_storage/blob_containers.rb#L596-L598 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/network_interfaces.rb | Azure::Network::Mgmt::V2015_05_01_preview.NetworkInterfaces.begin_delete | def begin_delete(resource_group_name, network_interface_name, custom_headers:nil)
response = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value!
nil
end | ruby | def begin_delete(resource_group_name, network_interface_name, custom_headers:nil)
response = begin_delete_async(resource_group_name, network_interface_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"begin_delete",
"(",
"resource_group_name",
",",
"network_interface_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"begin_delete_async",
"(",
"resource_group_name",
",",
"network_interface_name",
",",
"custom_headers",
":custom_headers",
")",
".",
... | The delete networkInterface operation deletes the specified networkInterface.
@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 t... | [
"The",
"delete",
"networkInterface",
"operation",
"deletes",
"the",
"specified",
"networkInterface",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/network_interfaces.rb#L696-L699 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_event_hub/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/namespaces.rb | Azure::EventHub::Mgmt::V2018_01_01_preview.Namespaces.get_network_rule_set | def get_network_rule_set(resource_group_name, namespace_name, custom_headers:nil)
response = get_network_rule_set_async(resource_group_name, namespace_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_network_rule_set(resource_group_name, namespace_name, custom_headers:nil)
response = get_network_rule_set_async(resource_group_name, namespace_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_network_rule_set",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_network_rule_set_async",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"custom_headers",
":custom_headers",
")",
".",
... | Gets NetworkRuleSet for a Namespace.
@param resource_group_name [String] Name of the resource group within the
Azure subscription.
@param namespace_name [String] The Namespace name
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [NetworkRul... | [
"Gets",
"NetworkRuleSet",
"for",
"a",
"Namespace",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_event_hub/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/namespaces.rb#L1468-L1471 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/express_route_circuits.rb | Azure::Network::Mgmt::V2019_02_01.ExpressRouteCircuits.get_stats | def get_stats(resource_group_name, circuit_name, custom_headers:nil)
response = get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_stats(resource_group_name, circuit_name, custom_headers:nil)
response = get_stats_async(resource_group_name, circuit_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_stats",
"(",
"resource_group_name",
",",
"circuit_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_stats_async",
"(",
"resource_group_name",
",",
"circuit_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
... | Gets all the stats from an express route circuit in a resource group.
@param resource_group_name [String] The name of the resource group.
@param circuit_name [String] The name of the express route circuit.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP reques... | [
"Gets",
"all",
"the",
"stats",
"from",
"an",
"express",
"route",
"circuit",
"in",
"a",
"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/express_route_circuits.rb#L397-L400 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/express_route_circuits.rb | Azure::Network::Mgmt::V2019_02_01.ExpressRouteCircuits.begin_delete | def begin_delete(resource_group_name, circuit_name, custom_headers:nil)
response = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value!
nil
end | ruby | def begin_delete(resource_group_name, circuit_name, custom_headers:nil)
response = begin_delete_async(resource_group_name, circuit_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"begin_delete",
"(",
"resource_group_name",
",",
"circuit_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"begin_delete_async",
"(",
"resource_group_name",
",",
"circuit_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",... | Deletes the specified express route circuit.
@param resource_group_name [String] The name of the resource group.
@param circuit_name [String] The name of the express route circuit.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Deletes",
"the",
"specified",
"express",
"route",
"circuit",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/express_route_circuits.rb#L756-L759 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/express_route_circuits.rb | Azure::Network::Mgmt::V2019_02_01.ExpressRouteCircuits.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, circuit_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"circuit_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"circuit_name",
",",
"parameters",
",",
"custom_heade... | Creates or updates an express route circuit.
@param resource_group_name [String] The name of the resource group.
@param circuit_name [String] The name of the circuit.
@param parameters [ExpressRouteCircuit] Parameters supplied to the create or
update express route circuit operation.
@param custom_headers [Hash{St... | [
"Creates",
"or",
"updates",
"an",
"express",
"route",
"circuit",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/express_route_circuits.rb#L857-L859 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/express_route_circuits.rb | Azure::Network::Mgmt::V2019_02_01.ExpressRouteCircuits.begin_update_tags_with_http_info | def begin_update_tags_with_http_info(resource_group_name, circuit_name, parameters, custom_headers:nil)
begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_update_tags_with_http_info(resource_group_name, circuit_name, parameters, custom_headers:nil)
begin_update_tags_async(resource_group_name, circuit_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_update_tags_with_http_info",
"(",
"resource_group_name",
",",
"circuit_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_update_tags_async",
"(",
"resource_group_name",
",",
"circuit_name",
",",
"parameters",
",",
"custom_headers",
":c... | Updates an express route circuit tags.
@param resource_group_name [String] The name of the resource group.
@param circuit_name [String] The name of the circuit.
@param parameters [TagsObject] Parameters supplied to update express route
circuit tags.
@param custom_headers [Hash{String => String}] A hash of custom ... | [
"Updates",
"an",
"express",
"route",
"circuit",
"tags",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/express_route_circuits.rb#L973-L975 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/express_route_circuits.rb | Azure::Network::Mgmt::V2019_02_01.ExpressRouteCircuits.begin_list_routes_table_with_http_info | def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil)
begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value!
end | ruby | def begin_list_routes_table_with_http_info(resource_group_name, circuit_name, peering_name, device_path, custom_headers:nil)
begin_list_routes_table_async(resource_group_name, circuit_name, peering_name, device_path, custom_headers:custom_headers).value!
end | [
"def",
"begin_list_routes_table_with_http_info",
"(",
"resource_group_name",
",",
"circuit_name",
",",
"peering_name",
",",
"device_path",
",",
"custom_headers",
":",
"nil",
")",
"begin_list_routes_table_async",
"(",
"resource_group_name",
",",
"circuit_name",
",",
"peering... | Gets the currently advertised routes table associated with the express route
circuit in a resource group.
@param resource_group_name [String] The name of the resource group.
@param circuit_name [String] The name of the express route circuit.
@param peering_name [String] The name of the peering.
@param device_path... | [
"Gets",
"the",
"currently",
"advertised",
"routes",
"table",
"associated",
"with",
"the",
"express",
"route",
"circuit",
"in",
"a",
"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/express_route_circuits.rb#L1184-L1186 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-08-01/generated/azure_mgmt_network/express_route_connections.rb | Azure::Network::Mgmt::V2018_08_01.ExpressRouteConnections.get_with_http_info | def get_with_http_info(resource_group_name, express_route_gateway_name, connection_name, custom_headers:nil)
get_async(resource_group_name, express_route_gateway_name, connection_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, express_route_gateway_name, connection_name, custom_headers:nil)
get_async(resource_group_name, express_route_gateway_name, connection_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"express_route_gateway_name",
",",
"connection_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"express_route_gateway_name",
",",
"connection_name",
",",
"custom_heade... | Gets the specified ExpressRouteConnection.
@param resource_group_name [String] The name of the resource group.
@param express_route_gateway_name [String] The name of the ExpressRoute
gateway.
@param connection_name [String] The name of the ExpressRoute connection.
@param custom_headers [Hash{String => String}] A ... | [
"Gets",
"the",
"specified",
"ExpressRouteConnection",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-08-01/generated/azure_mgmt_network/express_route_connections.rb#L104-L106 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/workflow_trigger_histories.rb | Azure::Logic::Mgmt::V2016_06_01.WorkflowTriggerHistories.get_with_http_info | def get_with_http_info(resource_group_name, workflow_name, trigger_name, history_name, custom_headers:nil)
get_async(resource_group_name, workflow_name, trigger_name, history_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, workflow_name, trigger_name, history_name, custom_headers:nil)
get_async(resource_group_name, workflow_name, trigger_name, history_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"workflow_name",
",",
"trigger_name",
",",
"history_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"workflow_name",
",",
"trigger_name",
",",
"history_name",
",... | Gets a workflow trigger history.
@param resource_group_name [String] The resource group name.
@param workflow_name [String] The workflow name.
@param trigger_name [String] The workflow trigger name.
@param history_name [String] The workflow trigger history name. Corresponds
to the run name for triggers that resul... | [
"Gets",
"a",
"workflow",
"trigger",
"history",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/workflow_trigger_histories.rb#L160-L162 | train |
Azure/azure-sdk-for-ruby | data/azure_service_fabric/lib/6.2.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb | Azure::ServiceFabric::V6_2_0_9.ServiceFabricClientAPIs.get_cluster_manifest | def get_cluster_manifest(timeout:60, custom_headers:nil)
response = get_cluster_manifest_async(timeout:timeout, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_cluster_manifest(timeout:60, custom_headers:nil)
response = get_cluster_manifest_async(timeout:timeout, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_cluster_manifest",
"(",
"timeout",
":",
"60",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_cluster_manifest_async",
"(",
"timeout",
":",
"timeout",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
... | Get the Service Fabric cluster manifest.
Get the Service Fabric cluster manifest. The cluster manifest contains
properties of the cluster that include different node types on the cluster,
security configurations, fault and upgrade domain topologies, etc.
These properties are specified as part of the ClusterConfig... | [
"Get",
"the",
"Service",
"Fabric",
"cluster",
"manifest",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_service_fabric/lib/6.2.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb#L135-L138 | train |
Azure/azure-sdk-for-ruby | data/azure_service_fabric/lib/6.2.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb | Azure::ServiceFabric::V6_2_0_9.ServiceFabricClientAPIs.get_cluster_upgrade_progress | def get_cluster_upgrade_progress(timeout:60, custom_headers:nil)
response = get_cluster_upgrade_progress_async(timeout:timeout, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_cluster_upgrade_progress(timeout:60, custom_headers:nil)
response = get_cluster_upgrade_progress_async(timeout:timeout, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_cluster_upgrade_progress",
"(",
"timeout",
":",
"60",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_cluster_upgrade_progress_async",
"(",
"timeout",
":",
"timeout",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
... | Gets the progress of the current cluster upgrade.
Gets the current progress of the ongoing cluster upgrade. If no upgrade is
currently in progress, gets the last state of the previous cluster upgrade.
@param timeout [Integer] The server timeout for performing the operation in
seconds. This timeout specifies the t... | [
"Gets",
"the",
"progress",
"of",
"the",
"current",
"cluster",
"upgrade",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_service_fabric/lib/6.2.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb#L1802-L1805 | train |
Azure/azure-sdk-for-ruby | data/azure_service_fabric/lib/6.2.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb | Azure::ServiceFabric::V6_2_0_9.ServiceFabricClientAPIs.get_cluster_configuration_upgrade_status | def get_cluster_configuration_upgrade_status(timeout:60, custom_headers:nil)
response = get_cluster_configuration_upgrade_status_async(timeout:timeout, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_cluster_configuration_upgrade_status(timeout:60, custom_headers:nil)
response = get_cluster_configuration_upgrade_status_async(timeout:timeout, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_cluster_configuration_upgrade_status",
"(",
"timeout",
":",
"60",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_cluster_configuration_upgrade_status_async",
"(",
"timeout",
":",
"timeout",
",",
"custom_headers",
":custom_headers",
")",
".",
"... | Get the cluster configuration upgrade status of a Service Fabric standalone
cluster.
Get the cluster configuration upgrade status details of a Service Fabric
standalone cluster.
@param timeout [Integer] The server timeout for performing the operation in
seconds. This timeout specifies the time duration that the ... | [
"Get",
"the",
"cluster",
"configuration",
"upgrade",
"status",
"of",
"a",
"Service",
"Fabric",
"standalone",
"cluster",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_service_fabric/lib/6.2.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb#L2026-L2029 | train |
Azure/azure-sdk-for-ruby | data/azure_service_fabric/lib/6.2.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb | Azure::ServiceFabric::V6_2_0_9.ServiceFabricClientAPIs.get_upgrade_orchestration_service_state | def get_upgrade_orchestration_service_state(timeout:60, custom_headers:nil)
response = get_upgrade_orchestration_service_state_async(timeout:timeout, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_upgrade_orchestration_service_state(timeout:60, custom_headers:nil)
response = get_upgrade_orchestration_service_state_async(timeout:timeout, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_upgrade_orchestration_service_state",
"(",
"timeout",
":",
"60",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_upgrade_orchestration_service_state_async",
"(",
"timeout",
":",
"timeout",
",",
"custom_headers",
":custom_headers",
")",
".",
"va... | Get the service state of Service Fabric Upgrade Orchestration Service.
Get the service state of Service Fabric Upgrade Orchestration Service. This
API is internally used for support purposes.
@param timeout [Integer] The server timeout for performing the operation in
seconds. This timeout specifies the time durat... | [
"Get",
"the",
"service",
"state",
"of",
"Service",
"Fabric",
"Upgrade",
"Orchestration",
"Service",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_service_fabric/lib/6.2.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb#L2133-L2136 | train |
Azure/azure-sdk-for-ruby | data/azure_service_fabric/lib/6.2.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb | Azure::ServiceFabric::V6_2_0_9.ServiceFabricClientAPIs.get_aad_metadata | def get_aad_metadata(timeout:60, custom_headers:nil)
response = get_aad_metadata_async(timeout:timeout, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_aad_metadata(timeout:60, custom_headers:nil)
response = get_aad_metadata_async(timeout:timeout, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_aad_metadata",
"(",
"timeout",
":",
"60",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_aad_metadata_async",
"(",
"timeout",
":",
"timeout",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unles... | Gets the Azure Active Directory metadata used for secured connection to
cluster.
Gets the Azure Active Directory metadata used for secured connection to
cluster.
This API is not supposed to be called separately. It provides information
needed to set up an Azure Active Directory secured connection with a Service
... | [
"Gets",
"the",
"Azure",
"Active",
"Directory",
"metadata",
"used",
"for",
"secured",
"connection",
"to",
"cluster",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_service_fabric/lib/6.2.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb#L3106-L3109 | train |
Azure/azure-sdk-for-ruby | data/azure_service_fabric/lib/6.2.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb | Azure::ServiceFabric::V6_2_0_9.ServiceFabricClientAPIs.create_repair_task | def create_repair_task(repair_task, custom_headers:nil)
response = create_repair_task_async(repair_task, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def create_repair_task(repair_task, custom_headers:nil)
response = create_repair_task_async(repair_task, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"create_repair_task",
"(",
"repair_task",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"create_repair_task_async",
"(",
"repair_task",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
"."... | Creates a new repair task.
For clusters that have the Repair Manager Service configured,
this API provides a way to create repair tasks that run automatically or
manually.
For repair tasks that run automatically, an appropriate repair executor
must be running for each repair action to run automatically.
These ar... | [
"Creates",
"a",
"new",
"repair",
"task",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_service_fabric/lib/6.2.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb#L13643-L13646 | train |
Azure/azure-sdk-for-ruby | data/azure_service_fabric/lib/6.2.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb | Azure::ServiceFabric::V6_2_0_9.ServiceFabricClientAPIs.cancel_repair_task | def cancel_repair_task(repair_task_cancel_description, custom_headers:nil)
response = cancel_repair_task_async(repair_task_cancel_description, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def cancel_repair_task(repair_task_cancel_description, custom_headers:nil)
response = cancel_repair_task_async(repair_task_cancel_description, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"cancel_repair_task",
"(",
"repair_task_cancel_description",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"cancel_repair_task_async",
"(",
"repair_task_cancel_description",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"... | Requests the cancellation of the given repair task.
This API supports the Service Fabric platform; it is not meant to be used
directly from your code.
@param repair_task_cancel_description [RepairTaskCancelDescription] Describes
the repair task to be cancelled.
@param custom_headers [Hash{String => String}] A ha... | [
"Requests",
"the",
"cancellation",
"of",
"the",
"given",
"repair",
"task",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_service_fabric/lib/6.2.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb#L13776-L13779 | train |
Azure/azure-sdk-for-ruby | data/azure_service_fabric/lib/6.2.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb | Azure::ServiceFabric::V6_2_0_9.ServiceFabricClientAPIs.force_approve_repair_task | def force_approve_repair_task(repair_task_approve_description, custom_headers:nil)
response = force_approve_repair_task_async(repair_task_approve_description, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def force_approve_repair_task(repair_task_approve_description, custom_headers:nil)
response = force_approve_repair_task_async(repair_task_approve_description, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"force_approve_repair_task",
"(",
"repair_task_approve_description",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"force_approve_repair_task_async",
"(",
"repair_task_approve_description",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"respo... | Forces the approval of the given repair task.
This API supports the Service Fabric platform; it is not meant to be used
directly from your code.
@param repair_task_approve_description [RepairTaskApproveDescription]
Describes the repair task to be approved.
@param custom_headers [Hash{String => String}] A hash of... | [
"Forces",
"the",
"approval",
"of",
"the",
"given",
"repair",
"task",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_service_fabric/lib/6.2.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb#L14118-L14121 | train |
Azure/azure-sdk-for-ruby | data/azure_service_fabric/lib/6.2.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb | Azure::ServiceFabric::V6_2_0_9.ServiceFabricClientAPIs.update_repair_task_health_policy | def update_repair_task_health_policy(repair_task_update_health_policy_description, custom_headers:nil)
response = update_repair_task_health_policy_async(repair_task_update_health_policy_description, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def update_repair_task_health_policy(repair_task_update_health_policy_description, custom_headers:nil)
response = update_repair_task_health_policy_async(repair_task_update_health_policy_description, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"update_repair_task_health_policy",
"(",
"repair_task_update_health_policy_description",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"update_repair_task_health_policy_async",
"(",
"repair_task_update_health_policy_description",
",",
"custom_headers",
":custom_head... | Updates the health policy of the given repair task.
This API supports the Service Fabric platform; it is not meant to be used
directly from your code.
@param repair_task_update_health_policy_description
[RepairTaskUpdateHealthPolicyDescription] Describes the repair task healthy
policy to be updated.
@param cust... | [
"Updates",
"the",
"health",
"policy",
"of",
"the",
"given",
"repair",
"task",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_service_fabric/lib/6.2.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb#L14224-L14227 | train |
Azure/azure-sdk-for-ruby | data/azure_service_fabric/lib/6.2.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb | Azure::ServiceFabric::V6_2_0_9.ServiceFabricClientAPIs.update_repair_execution_state | def update_repair_execution_state(repair_task, custom_headers:nil)
response = update_repair_execution_state_async(repair_task, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def update_repair_execution_state(repair_task, custom_headers:nil)
response = update_repair_execution_state_async(repair_task, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"update_repair_execution_state",
"(",
"repair_task",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"update_repair_execution_state_async",
"(",
"repair_task",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless... | Updates the execution state of a repair task.
This API supports the Service Fabric platform; it is not meant to be used
directly from your code.
@param repair_task [RepairTask] Describes the repair task to be created or
updated.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will b... | [
"Updates",
"the",
"execution",
"state",
"of",
"a",
"repair",
"task",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_service_fabric/lib/6.2.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb#L14331-L14334 | train |
Azure/azure-sdk-for-ruby | data/azure_service_fabric/lib/6.2.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb | Azure::ServiceFabric::V6_2_0_9.ServiceFabricClientAPIs.get_chaos | def get_chaos(timeout:60, custom_headers:nil)
response = get_chaos_async(timeout:timeout, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_chaos(timeout:60, custom_headers:nil)
response = get_chaos_async(timeout:timeout, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_chaos",
"(",
"timeout",
":",
"60",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_chaos_async",
"(",
"timeout",
":",
"timeout",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"respons... | Get the status of Chaos.
Get the status of Chaos indicating whether or not Chaos is running, the Chaos
parameters used for running Chaos and the status of the Chaos Schedule.
@param timeout [Integer] The server timeout for performing the operation in
seconds. This timeout specifies the time duration that the clie... | [
"Get",
"the",
"status",
"of",
"Chaos",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_service_fabric/lib/6.2.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb#L18423-L18426 | train |
Azure/azure-sdk-for-ruby | data/azure_service_fabric/lib/6.2.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb | Azure::ServiceFabric::V6_2_0_9.ServiceFabricClientAPIs.get_chaos_schedule | def get_chaos_schedule(custom_headers:nil)
response = get_chaos_schedule_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_chaos_schedule(custom_headers:nil)
response = get_chaos_schedule_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_chaos_schedule",
"(",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_chaos_schedule_async",
"(",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Get the Chaos Schedule defining when and how to run Chaos.
Gets the version of the Chaos Schedule in use and the Chaos Schedule that
defines when and how to run Chaos.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [ChaosScheduleDescriptio... | [
"Get",
"the",
"Chaos",
"Schedule",
"defining",
"when",
"and",
"how",
"to",
"run",
"Chaos",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_service_fabric/lib/6.2.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb#L18959-L18962 | train |
Azure/azure-sdk-for-ruby | data/azure_service_fabric/lib/6.2.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb | Azure::ServiceFabric::V6_2_0_9.ServiceFabricClientAPIs.get_image_store_root_content | def get_image_store_root_content(timeout:60, custom_headers:nil)
response = get_image_store_root_content_async(timeout:timeout, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_image_store_root_content(timeout:60, custom_headers:nil)
response = get_image_store_root_content_async(timeout:timeout, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_image_store_root_content",
"(",
"timeout",
":",
"60",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_image_store_root_content_async",
"(",
"timeout",
":",
"timeout",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
... | Gets the content information at the root of the image store.
Returns the information about the image store content at the root of the
image store.
@param timeout [Integer] The server timeout for performing the operation in
seconds. This timeout specifies the time duration that the client is willing
to wait for t... | [
"Gets",
"the",
"content",
"information",
"at",
"the",
"root",
"of",
"the",
"image",
"store",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_service_fabric/lib/6.2.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb#L19516-L19519 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_storagesync/lib/2018-07-01/generated/azure_mgmt_storagesync/registered_servers.rb | Azure::StorageSync::Mgmt::V2018_07_01.RegisteredServers.list_by_storage_sync_service | def list_by_storage_sync_service(resource_group_name, storage_sync_service_name, custom_headers:nil)
response = list_by_storage_sync_service_async(resource_group_name, storage_sync_service_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_by_storage_sync_service(resource_group_name, storage_sync_service_name, custom_headers:nil)
response = list_by_storage_sync_service_async(resource_group_name, storage_sync_service_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_by_storage_sync_service",
"(",
"resource_group_name",
",",
"storage_sync_service_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_by_storage_sync_service_async",
"(",
"resource_group_name",
",",
"storage_sync_service_name",
",",
"custom_headers... | Get a given registered server list.
@param resource_group_name [String] The name of the resource group. The name
is case insensitive.
@param storage_sync_service_name [String] Name of Storage Sync Service
resource.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the ... | [
"Get",
"a",
"given",
"registered",
"server",
"list",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_storagesync/lib/2018-07-01/generated/azure_mgmt_storagesync/registered_servers.rb#L36-L39 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_storagesync/lib/2018-07-01/generated/azure_mgmt_storagesync/registered_servers.rb | Azure::StorageSync::Mgmt::V2018_07_01.RegisteredServers.get_with_http_info | def get_with_http_info(resource_group_name, storage_sync_service_name, server_id, custom_headers:nil)
get_async(resource_group_name, storage_sync_service_name, server_id, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, storage_sync_service_name, server_id, custom_headers:nil)
get_async(resource_group_name, storage_sync_service_name, server_id, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"storage_sync_service_name",
",",
"server_id",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"storage_sync_service_name",
",",
"server_id",
",",
"custom_headers",
":custo... | Get a given registered server.
@param resource_group_name [String] The name of the resource group. The name
is case insensitive.
@param storage_sync_service_name [String] Name of Storage Sync Service
resource.
@param server_id [String] GUID identifying the on-premises server.
@param custom_headers [Hash{String =... | [
"Get",
"a",
"given",
"registered",
"server",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_storagesync/lib/2018-07-01/generated/azure_mgmt_storagesync/registered_servers.rb#L158-L160 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_stor_simple8000_series/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/backup_schedules.rb | Azure::StorSimple8000Series::Mgmt::V2017_06_01.BackupSchedules.begin_create_or_update | def begin_create_or_update(device_name, backup_policy_name, backup_schedule_name, parameters, resource_group_name, manager_name, custom_headers:nil)
response = begin_create_or_update_async(device_name, backup_policy_name, backup_schedule_name, parameters, resource_group_name, manager_name, custom_headers:custom_h... | ruby | def begin_create_or_update(device_name, backup_policy_name, backup_schedule_name, parameters, resource_group_name, manager_name, custom_headers:nil)
response = begin_create_or_update_async(device_name, backup_policy_name, backup_schedule_name, parameters, resource_group_name, manager_name, custom_headers:custom_h... | [
"def",
"begin_create_or_update",
"(",
"device_name",
",",
"backup_policy_name",
",",
"backup_schedule_name",
",",
"parameters",
",",
"resource_group_name",
",",
"manager_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"begin_create_or_update_async",
"(",
... | Creates or updates the backup schedule.
@param device_name [String] The device name
@param backup_policy_name [String] The backup policy name.
@param backup_schedule_name [String] The backup schedule name.
@param parameters [BackupSchedule] The backup schedule.
@param resource_group_name [String] The resource gro... | [
"Creates",
"or",
"updates",
"the",
"backup",
"schedule",
"."
] | 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/backup_schedules.rb#L343-L346 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/managed_instances.rb | Azure::SQL::Mgmt::V2015_05_01_preview.ManagedInstances.begin_delete | def begin_delete(resource_group_name, managed_instance_name, custom_headers:nil)
response = begin_delete_async(resource_group_name, managed_instance_name, custom_headers:custom_headers).value!
nil
end | ruby | def begin_delete(resource_group_name, managed_instance_name, custom_headers:nil)
response = begin_delete_async(resource_group_name, managed_instance_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"begin_delete",
"(",
"resource_group_name",
",",
"managed_instance_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"begin_delete_async",
"(",
"resource_group_name",
",",
"managed_instance_name",
",",
"custom_headers",
":custom_headers",
")",
".",
... | Deletes a managed instance.
@param resource_group_name [String] The name of the resource group that
contains the resource. You can obtain this value from the Azure Resource
Manager API or the portal.
@param managed_instance_name [String] The name of the managed instance.
@param custom_headers [Hash{String => Stri... | [
"Deletes",
"a",
"managed",
"instance",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/managed_instances.rb#L676-L679 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/webhooks.rb | Azure::ContainerRegistry::Mgmt::V2017_06_01_preview.Webhooks.get_with_http_info | def get_with_http_info(resource_group_name, registry_name, webhook_name, custom_headers:nil)
get_async(resource_group_name, registry_name, webhook_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, registry_name, webhook_name, custom_headers:nil)
get_async(resource_group_name, registry_name, webhook_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"registry_name",
",",
"webhook_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"registry_name",
",",
"webhook_name",
",",
"custom_headers",
":custom_headers",
")",... | Gets the properties of the specified webhook.
@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 webhook_name [String] The name of the webhook.
@param custom_headers [Hash{String => St... | [
"Gets",
"the",
"properties",
"of",
"the",
"specified",
"webhook",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/webhooks.rb#L53-L55 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/webhooks.rb | Azure::ContainerRegistry::Mgmt::V2017_06_01_preview.Webhooks.list | def list(resource_group_name, registry_name, custom_headers:nil)
first_page = list_as_lazy(resource_group_name, registry_name, custom_headers:custom_headers)
first_page.get_all_items
end | ruby | def list(resource_group_name, registry_name, custom_headers:nil)
first_page = list_as_lazy(resource_group_name, registry_name, custom_headers:custom_headers)
first_page.get_all_items
end | [
"def",
"list",
"(",
"resource_group_name",
",",
"registry_name",
",",
"custom_headers",
":",
"nil",
")",
"first_page",
"=",
"list_as_lazy",
"(",
"resource_group_name",
",",
"registry_name",
",",
"custom_headers",
":custom_headers",
")",
"first_page",
".",
"get_all_ite... | Lists all the webhooks for the specified container registry.
@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 custom_headers [Hash{String => String}] A hash of custom headers that
wi... | [
"Lists",
"all",
"the",
"webhooks",
"for",
"the",
"specified",
"container",
"registry",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/webhooks.rb#L282-L285 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/webhooks.rb | Azure::ContainerRegistry::Mgmt::V2017_06_01_preview.Webhooks.begin_delete_with_http_info | def begin_delete_with_http_info(resource_group_name, registry_name, webhook_name, custom_headers:nil)
begin_delete_async(resource_group_name, registry_name, webhook_name, custom_headers:custom_headers).value!
end | ruby | def begin_delete_with_http_info(resource_group_name, registry_name, webhook_name, custom_headers:nil)
begin_delete_async(resource_group_name, registry_name, webhook_name, custom_headers:custom_headers).value!
end | [
"def",
"begin_delete_with_http_info",
"(",
"resource_group_name",
",",
"registry_name",
",",
"webhook_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_delete_async",
"(",
"resource_group_name",
",",
"registry_name",
",",
"webhook_name",
",",
"custom_headers",
":custo... | Deletes a webhook from a container registry.
@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 webhook_name [String] The name of the webhook.
@param custom_headers [Hash{String => Str... | [
"Deletes",
"a",
"webhook",
"from",
"a",
"container",
"registry",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/webhooks.rb#L841-L843 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/inbound_nat_rules.rb | Azure::Network::Mgmt::V2018_01_01.InboundNatRules.list | def list(resource_group_name, load_balancer_name, custom_headers:nil)
first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers)
first_page.get_all_items
end | ruby | def list(resource_group_name, load_balancer_name, custom_headers:nil)
first_page = list_as_lazy(resource_group_name, load_balancer_name, custom_headers:custom_headers)
first_page.get_all_items
end | [
"def",
"list",
"(",
"resource_group_name",
",",
"load_balancer_name",
",",
"custom_headers",
":",
"nil",
")",
"first_page",
"=",
"list_as_lazy",
"(",
"resource_group_name",
",",
"load_balancer_name",
",",
"custom_headers",
":custom_headers",
")",
"first_page",
".",
"g... | Gets all the inbound nat rules in 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 custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array<I... | [
"Gets",
"all",
"the",
"inbound",
"nat",
"rules",
"in",
"a",
"load",
"balancer",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/inbound_nat_rules.rb#L34-L37 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/inbound_nat_rules.rb | Azure::Network::Mgmt::V2018_01_01.InboundNatRules.get_with_http_info | def get_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:nil, custom_headers:nil)
get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:expand, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:nil, custom_headers:nil)
get_async(resource_group_name, load_balancer_name, inbound_nat_rule_name, expand:expand, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"load_balancer_name",
",",
"inbound_nat_rule_name",
",",
"expand",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"load_balancer_name",
",",
"inbound_nat_rul... | Gets the specified load balancer inbound nat rule.
@param resource_group_name [String] The name of the resource group.
@param load_balancer_name [String] The name of the load balancer.
@param inbound_nat_rule_name [String] The name of the inbound nat rule.
@param expand [String] Expands referenced resources.
@par... | [
"Gets",
"the",
"specified",
"load",
"balancer",
"inbound",
"nat",
"rule",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-01-01/generated/azure_mgmt_network/inbound_nat_rules.rb#L185-L187 | train |
Azure/azure-sdk-for-ruby | data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb | Azure::KeyVault::V2016_10_01.KeyVaultClient.delete_key | def delete_key(vault_base_url, key_name, custom_headers:nil)
response = delete_key_async(vault_base_url, key_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def delete_key(vault_base_url, key_name, custom_headers:nil)
response = delete_key_async(vault_base_url, key_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"delete_key",
"(",
"vault_base_url",
",",
"key_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_key_async",
"(",
"vault_base_url",
",",
"key_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",... | Deletes a key of any type from storage in Azure Key Vault.
The delete key operation cannot be used to remove individual versions of a
key. This operation removes the cryptographic material associated with the
key, which means the key is not usable for Sign/Verify, Wrap/Unwrap or
Encrypt/Decrypt operations. This op... | [
"Deletes",
"a",
"key",
"of",
"any",
"type",
"from",
"storage",
"in",
"Azure",
"Key",
"Vault",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb#L441-L444 | train |
Azure/azure-sdk-for-ruby | data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb | Azure::KeyVault::V2016_10_01.KeyVaultClient.backup_key | def backup_key(vault_base_url, key_name, custom_headers:nil)
response = backup_key_async(vault_base_url, key_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def backup_key(vault_base_url, key_name, custom_headers:nil)
response = backup_key_async(vault_base_url, key_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"backup_key",
"(",
"vault_base_url",
",",
"key_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"backup_key_async",
"(",
"vault_base_url",
",",
"key_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",... | Requests that a backup of the specified key be downloaded to the client.
The Key Backup operation exports a key from Azure Key Vault in a protected
form. Note that this operation does NOT return key material in a form that
can be used outside the Azure Key Vault system, the returned key material is
either protecte... | [
"Requests",
"that",
"a",
"backup",
"of",
"the",
"specified",
"key",
"be",
"downloaded",
"to",
"the",
"client",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb#L1046-L1049 | train |
Azure/azure-sdk-for-ruby | data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb | Azure::KeyVault::V2016_10_01.KeyVaultClient.restore_key | def restore_key(vault_base_url, key_bundle_backup, custom_headers:nil)
response = restore_key_async(vault_base_url, key_bundle_backup, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def restore_key(vault_base_url, key_bundle_backup, custom_headers:nil)
response = restore_key_async(vault_base_url, key_bundle_backup, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"restore_key",
"(",
"vault_base_url",
",",
"key_bundle_backup",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"restore_key_async",
"(",
"vault_base_url",
",",
"key_bundle_backup",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"respons... | Restores a backed up key to a vault.
Imports a previously backed up key into Azure Key Vault, restoring the key,
its key identifier, attributes and access control policies. The RESTORE
operation may be used to import a previously backed up key. Individual
versions of a key cannot be restored. The key is restored i... | [
"Restores",
"a",
"backed",
"up",
"key",
"to",
"a",
"vault",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb#L1183-L1186 | train |
Azure/azure-sdk-for-ruby | data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb | Azure::KeyVault::V2016_10_01.KeyVaultClient.get_deleted_key | def get_deleted_key(vault_base_url, key_name, custom_headers:nil)
response = get_deleted_key_async(vault_base_url, key_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_deleted_key(vault_base_url, key_name, custom_headers:nil)
response = get_deleted_key_async(vault_base_url, key_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_deleted_key",
"(",
"vault_base_url",
",",
"key_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_deleted_key_async",
"(",
"vault_base_url",
",",
"key_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",... | Gets the public part of a deleted key.
The Get Deleted Key operation is applicable for soft-delete enabled vaults.
While the operation can be invoked on any vault, it will return an error if
invoked on a non soft-delete enabled vault. This operation requires the
keys/get permission.
@param vault_base_url [String... | [
"Gets",
"the",
"public",
"part",
"of",
"a",
"deleted",
"key",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb#L2339-L2342 | train |
Azure/azure-sdk-for-ruby | data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb | Azure::KeyVault::V2016_10_01.KeyVaultClient.purge_deleted_key | def purge_deleted_key(vault_base_url, key_name, custom_headers:nil)
response = purge_deleted_key_async(vault_base_url, key_name, custom_headers:custom_headers).value!
nil
end | ruby | def purge_deleted_key(vault_base_url, key_name, custom_headers:nil)
response = purge_deleted_key_async(vault_base_url, key_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"purge_deleted_key",
"(",
"vault_base_url",
",",
"key_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"purge_deleted_key_async",
"(",
"vault_base_url",
",",
"key_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"... | Permanently deletes the specified key.
The Purge Deleted Key operation is applicable for soft-delete enabled vaults.
While the operation can be invoked on any vault, it will return an error if
invoked on a non soft-delete enabled vault. This operation requires the
keys/purge permission.
@param vault_base_url [St... | [
"Permanently",
"deletes",
"the",
"specified",
"key",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb#L2448-L2451 | train |
Azure/azure-sdk-for-ruby | data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb | Azure::KeyVault::V2016_10_01.KeyVaultClient.recover_deleted_key | def recover_deleted_key(vault_base_url, key_name, custom_headers:nil)
response = recover_deleted_key_async(vault_base_url, key_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def recover_deleted_key(vault_base_url, key_name, custom_headers:nil)
response = recover_deleted_key_async(vault_base_url, key_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"recover_deleted_key",
"(",
"vault_base_url",
",",
"key_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"recover_deleted_key_async",
"(",
"vault_base_url",
",",
"key_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response"... | Recovers the deleted key to its latest version.
The Recover Deleted Key operation is applicable for deleted keys in
soft-delete enabled vaults. It recovers the deleted key back to its latest
version under /keys. An attempt to recover an non-deleted key will return an
error. Consider this the inverse of the delete ... | [
"Recovers",
"the",
"deleted",
"key",
"to",
"its",
"latest",
"version",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb#L2549-L2552 | train |
Azure/azure-sdk-for-ruby | data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb | Azure::KeyVault::V2016_10_01.KeyVaultClient.delete_secret | def delete_secret(vault_base_url, secret_name, custom_headers:nil)
response = delete_secret_async(vault_base_url, secret_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def delete_secret(vault_base_url, secret_name, custom_headers:nil)
response = delete_secret_async(vault_base_url, secret_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"delete_secret",
"(",
"vault_base_url",
",",
"secret_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_secret_async",
"(",
"vault_base_url",
",",
"secret_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".... | Deletes a secret from a specified key vault.
The DELETE operation applies to any secret stored in Azure Key Vault. DELETE
cannot be applied to an individual version of a secret. This operation
requires the secrets/delete permission.
@param vault_base_url [String] The vault name, for example
https://myvault.vault... | [
"Deletes",
"a",
"secret",
"from",
"a",
"specified",
"key",
"vault",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb#L2798-L2801 | train |
Azure/azure-sdk-for-ruby | data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb | Azure::KeyVault::V2016_10_01.KeyVaultClient.get_deleted_secret | def get_deleted_secret(vault_base_url, secret_name, custom_headers:nil)
response = get_deleted_secret_async(vault_base_url, secret_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_deleted_secret(vault_base_url, secret_name, custom_headers:nil)
response = get_deleted_secret_async(vault_base_url, secret_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_deleted_secret",
"(",
"vault_base_url",
",",
"secret_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_deleted_secret_async",
"(",
"vault_base_url",
",",
"secret_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"respo... | Gets the specified deleted secret.
The Get Deleted Secret operation returns the specified deleted secret along
with its attributes. This operation requires the secrets/get permission.
@param vault_base_url [String] The vault name, for example
https://myvault.vault.azure.net.
@param secret_name [String] The name ... | [
"Gets",
"the",
"specified",
"deleted",
"secret",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb#L3492-L3495 | train |
Azure/azure-sdk-for-ruby | data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb | Azure::KeyVault::V2016_10_01.KeyVaultClient.purge_deleted_secret | def purge_deleted_secret(vault_base_url, secret_name, custom_headers:nil)
response = purge_deleted_secret_async(vault_base_url, secret_name, custom_headers:custom_headers).value!
nil
end | ruby | def purge_deleted_secret(vault_base_url, secret_name, custom_headers:nil)
response = purge_deleted_secret_async(vault_base_url, secret_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"purge_deleted_secret",
"(",
"vault_base_url",
",",
"secret_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"purge_deleted_secret_async",
"(",
"vault_base_url",
",",
"secret_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"n... | Permanently deletes the specified secret.
The purge deleted secret operation removes the secret permanently, without
the possibility of recovery. This operation can only be enabled on a
soft-delete enabled vault. This operation requires the secrets/purge
permission.
@param vault_base_url [String] The vault name,... | [
"Permanently",
"deletes",
"the",
"specified",
"secret",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb#L3597-L3600 | train |
Azure/azure-sdk-for-ruby | data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb | Azure::KeyVault::V2016_10_01.KeyVaultClient.recover_deleted_secret | def recover_deleted_secret(vault_base_url, secret_name, custom_headers:nil)
response = recover_deleted_secret_async(vault_base_url, secret_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def recover_deleted_secret(vault_base_url, secret_name, custom_headers:nil)
response = recover_deleted_secret_async(vault_base_url, secret_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"recover_deleted_secret",
"(",
"vault_base_url",
",",
"secret_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"recover_deleted_secret_async",
"(",
"vault_base_url",
",",
"secret_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
... | Recovers the deleted secret to the latest version.
Recovers the deleted secret in the specified vault. This operation can only
be performed on a soft-delete enabled vault. This operation requires the
secrets/recover permission.
@param vault_base_url [String] The vault name, for example
https://myvault.vault.azur... | [
"Recovers",
"the",
"deleted",
"secret",
"to",
"the",
"latest",
"version",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb#L3696-L3699 | train |
Azure/azure-sdk-for-ruby | data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb | Azure::KeyVault::V2016_10_01.KeyVaultClient.backup_secret | def backup_secret(vault_base_url, secret_name, custom_headers:nil)
response = backup_secret_async(vault_base_url, secret_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def backup_secret(vault_base_url, secret_name, custom_headers:nil)
response = backup_secret_async(vault_base_url, secret_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"backup_secret",
"(",
"vault_base_url",
",",
"secret_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"backup_secret_async",
"(",
"vault_base_url",
",",
"secret_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".... | Backs up the specified secret.
Requests that a backup of the specified secret be downloaded to the client.
All versions of the secret will be downloaded. This operation requires the
secrets/backup permission.
@param vault_base_url [String] The vault name, for example
https://myvault.vault.azure.net.
@param secr... | [
"Backs",
"up",
"the",
"specified",
"secret",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb#L3803-L3806 | train |
Azure/azure-sdk-for-ruby | data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb | Azure::KeyVault::V2016_10_01.KeyVaultClient.restore_secret | def restore_secret(vault_base_url, secret_bundle_backup, custom_headers:nil)
response = restore_secret_async(vault_base_url, secret_bundle_backup, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def restore_secret(vault_base_url, secret_bundle_backup, custom_headers:nil)
response = restore_secret_async(vault_base_url, secret_bundle_backup, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"restore_secret",
"(",
"vault_base_url",
",",
"secret_bundle_backup",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"restore_secret_async",
"(",
"vault_base_url",
",",
"secret_bundle_backup",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!"... | Restores a backed up secret to a vault.
Restores a backed up secret, and all its versions, to a vault. This operation
requires the secrets/restore permission.
@param vault_base_url [String] The vault name, for example
https://myvault.vault.azure.net.
@param secret_bundle_backup The backup blob associated with a ... | [
"Restores",
"a",
"backed",
"up",
"secret",
"to",
"a",
"vault",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb#L3909-L3912 | train |
Azure/azure-sdk-for-ruby | data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb | Azure::KeyVault::V2016_10_01.KeyVaultClient.delete_certificate | def delete_certificate(vault_base_url, certificate_name, custom_headers:nil)
response = delete_certificate_async(vault_base_url, certificate_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def delete_certificate(vault_base_url, certificate_name, custom_headers:nil)
response = delete_certificate_async(vault_base_url, certificate_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"delete_certificate",
"(",
"vault_base_url",
",",
"certificate_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_certificate_async",
"(",
"vault_base_url",
",",
"certificate_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!"... | Deletes a certificate from a specified key vault.
Deletes all versions of a certificate object along with its associated
policy. Delete certificate cannot be used to remove individual versions of a
certificate object. This operation requires the certificates/delete
permission.
@param vault_base_url [String] The ... | [
"Deletes",
"a",
"certificate",
"from",
"a",
"specified",
"key",
"vault",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb#L4135-L4138 | train |
Azure/azure-sdk-for-ruby | data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb | Azure::KeyVault::V2016_10_01.KeyVaultClient.set_certificate_contacts | def set_certificate_contacts(vault_base_url, contacts, custom_headers:nil)
response = set_certificate_contacts_async(vault_base_url, contacts, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def set_certificate_contacts(vault_base_url, contacts, custom_headers:nil)
response = set_certificate_contacts_async(vault_base_url, contacts, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"set_certificate_contacts",
"(",
"vault_base_url",
",",
"contacts",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"set_certificate_contacts_async",
"(",
"vault_base_url",
",",
"contacts",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
... | Sets the certificate contacts for the specified key vault.
Sets the certificate contacts for the specified key vault. This operation
requires the certificates/managecontacts permission.
@param vault_base_url [String] The vault name, for example
https://myvault.vault.azure.net.
@param contacts [Contacts] The cont... | [
"Sets",
"the",
"certificate",
"contacts",
"for",
"the",
"specified",
"key",
"vault",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb#L4243-L4246 | train |
Azure/azure-sdk-for-ruby | data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb | Azure::KeyVault::V2016_10_01.KeyVaultClient.get_certificate_contacts | def get_certificate_contacts(vault_base_url, custom_headers:nil)
response = get_certificate_contacts_async(vault_base_url, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_certificate_contacts(vault_base_url, custom_headers:nil)
response = get_certificate_contacts_async(vault_base_url, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_certificate_contacts",
"(",
"vault_base_url",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_certificate_contacts_async",
"(",
"vault_base_url",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
... | Lists the certificate contacts for a specified key vault.
The GetCertificateContacts operation returns the set of certificate contact
resources in the specified key vault. This operation requires the
certificates/managecontacts permission.
@param vault_base_url [String] The vault name, for example
https://myvaul... | [
"Lists",
"the",
"certificate",
"contacts",
"for",
"a",
"specified",
"key",
"vault",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb#L4353-L4356 | train |
Azure/azure-sdk-for-ruby | data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb | Azure::KeyVault::V2016_10_01.KeyVaultClient.delete_certificate_contacts | def delete_certificate_contacts(vault_base_url, custom_headers:nil)
response = delete_certificate_contacts_async(vault_base_url, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def delete_certificate_contacts(vault_base_url, custom_headers:nil)
response = delete_certificate_contacts_async(vault_base_url, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"delete_certificate_contacts",
"(",
"vault_base_url",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_certificate_contacts_async",
"(",
"vault_base_url",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unle... | Deletes the certificate contacts for a specified key vault.
Deletes the certificate contacts for a specified key vault certificate. This
operation requires the certificates/managecontacts permission.
@param vault_base_url [String] The vault name, for example
https://myvault.vault.azure.net.
@param custom_headers... | [
"Deletes",
"the",
"certificate",
"contacts",
"for",
"a",
"specified",
"key",
"vault",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb#L4454-L4457 | train |
Azure/azure-sdk-for-ruby | data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb | Azure::KeyVault::V2016_10_01.KeyVaultClient.get_certificate_issuer | def get_certificate_issuer(vault_base_url, issuer_name, custom_headers:nil)
response = get_certificate_issuer_async(vault_base_url, issuer_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_certificate_issuer(vault_base_url, issuer_name, custom_headers:nil)
response = get_certificate_issuer_async(vault_base_url, issuer_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_certificate_issuer",
"(",
"vault_base_url",
",",
"issuer_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_certificate_issuer_async",
"(",
"vault_base_url",
",",
"issuer_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
... | Lists the specified certificate issuer.
The GetCertificateIssuer operation returns the specified certificate issuer
resources in the specified key vault. This operation requires the
certificates/manageissuers/getissuers permission.
@param vault_base_url [String] The vault name, for example
https://myvault.vault.... | [
"Lists",
"the",
"specified",
"certificate",
"issuer",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb#L4941-L4944 | train |
Azure/azure-sdk-for-ruby | data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb | Azure::KeyVault::V2016_10_01.KeyVaultClient.delete_certificate_issuer | def delete_certificate_issuer(vault_base_url, issuer_name, custom_headers:nil)
response = delete_certificate_issuer_async(vault_base_url, issuer_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def delete_certificate_issuer(vault_base_url, issuer_name, custom_headers:nil)
response = delete_certificate_issuer_async(vault_base_url, issuer_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"delete_certificate_issuer",
"(",
"vault_base_url",
",",
"issuer_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_certificate_issuer_async",
"(",
"vault_base_url",
",",
"issuer_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"val... | Deletes the specified certificate issuer.
The DeleteCertificateIssuer operation permanently removes the specified
certificate issuer from the vault. This operation requires the
certificates/manageissuers/deleteissuers permission.
@param vault_base_url [String] The vault name, for example
https://myvault.vault.az... | [
"Deletes",
"the",
"specified",
"certificate",
"issuer",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb#L5048-L5051 | train |
Azure/azure-sdk-for-ruby | data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb | Azure::KeyVault::V2016_10_01.KeyVaultClient.get_certificate_policy | def get_certificate_policy(vault_base_url, certificate_name, custom_headers:nil)
response = get_certificate_policy_async(vault_base_url, certificate_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_certificate_policy(vault_base_url, certificate_name, custom_headers:nil)
response = get_certificate_policy_async(vault_base_url, certificate_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_certificate_policy",
"(",
"vault_base_url",
",",
"certificate_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_certificate_policy_async",
"(",
"vault_base_url",
",",
"certificate_name",
",",
"custom_headers",
":custom_headers",
")",
".",
... | Lists the policy for a certificate.
The GetCertificatePolicy operation returns the specified certificate policy
resources in the specified key vault. This operation requires the
certificates/get permission.
@param vault_base_url [String] The vault name, for example
https://myvault.vault.azure.net.
@param certif... | [
"Lists",
"the",
"policy",
"for",
"a",
"certificate",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb#L5570-L5573 | train |
Azure/azure-sdk-for-ruby | data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb | Azure::KeyVault::V2016_10_01.KeyVaultClient.get_certificate_operation | def get_certificate_operation(vault_base_url, certificate_name, custom_headers:nil)
response = get_certificate_operation_async(vault_base_url, certificate_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_certificate_operation(vault_base_url, certificate_name, custom_headers:nil)
response = get_certificate_operation_async(vault_base_url, certificate_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_certificate_operation",
"(",
"vault_base_url",
",",
"certificate_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_certificate_operation_async",
"(",
"vault_base_url",
",",
"certificate_name",
",",
"custom_headers",
":custom_headers",
")",
"... | Gets the creation operation of a certificate.
Gets the creation operation associated with a specified certificate. This
operation requires the certificates/get permission.
@param vault_base_url [String] The vault name, for example
https://myvault.vault.azure.net.
@param certificate_name [String] The name of the ... | [
"Gets",
"the",
"creation",
"operation",
"of",
"a",
"certificate",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb#L6174-L6177 | train |
Azure/azure-sdk-for-ruby | data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb | Azure::KeyVault::V2016_10_01.KeyVaultClient.delete_certificate_operation | def delete_certificate_operation(vault_base_url, certificate_name, custom_headers:nil)
response = delete_certificate_operation_async(vault_base_url, certificate_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def delete_certificate_operation(vault_base_url, certificate_name, custom_headers:nil)
response = delete_certificate_operation_async(vault_base_url, certificate_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"delete_certificate_operation",
"(",
"vault_base_url",
",",
"certificate_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_certificate_operation_async",
"(",
"vault_base_url",
",",
"certificate_name",
",",
"custom_headers",
":custom_headers",
")... | Deletes the creation operation for a specific certificate.
Deletes the creation operation for a specified certificate that is in the
process of being created. The certificate is no longer created. This
operation requires the certificates/update permission.
@param vault_base_url [String] The vault name, for exampl... | [
"Deletes",
"the",
"creation",
"operation",
"for",
"a",
"specific",
"certificate",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb#L6279-L6282 | train |
Azure/azure-sdk-for-ruby | data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb | Azure::KeyVault::V2016_10_01.KeyVaultClient.get_deleted_certificate | def get_deleted_certificate(vault_base_url, certificate_name, custom_headers:nil)
response = get_deleted_certificate_async(vault_base_url, certificate_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_deleted_certificate(vault_base_url, certificate_name, custom_headers:nil)
response = get_deleted_certificate_async(vault_base_url, certificate_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_deleted_certificate",
"(",
"vault_base_url",
",",
"certificate_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_deleted_certificate_async",
"(",
"vault_base_url",
",",
"certificate_name",
",",
"custom_headers",
":custom_headers",
")",
".",
... | Retrieves information about the specified deleted certificate.
The GetDeletedCertificate operation retrieves the deleted certificate
information plus its attributes, such as retention interval, scheduled
permanent deletion and the current deletion recovery level. This operation
requires the certificates/get permis... | [
"Retrieves",
"information",
"about",
"the",
"specified",
"deleted",
"certificate",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb#L6648-L6651 | train |
Azure/azure-sdk-for-ruby | data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb | Azure::KeyVault::V2016_10_01.KeyVaultClient.purge_deleted_certificate | def purge_deleted_certificate(vault_base_url, certificate_name, custom_headers:nil)
response = purge_deleted_certificate_async(vault_base_url, certificate_name, custom_headers:custom_headers).value!
nil
end | ruby | def purge_deleted_certificate(vault_base_url, certificate_name, custom_headers:nil)
response = purge_deleted_certificate_async(vault_base_url, certificate_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"purge_deleted_certificate",
"(",
"vault_base_url",
",",
"certificate_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"purge_deleted_certificate_async",
"(",
"vault_base_url",
",",
"certificate_name",
",",
"custom_headers",
":custom_headers",
")",
"... | Permanently deletes the specified deleted certificate.
The PurgeDeletedCertificate operation performs an irreversible deletion of
the specified certificate, without possibility for recovery. The operation is
not available if the recovery level does not specify 'Purgeable'. This
operation requires the certificate/p... | [
"Permanently",
"deletes",
"the",
"specified",
"deleted",
"certificate",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_key_vault/lib/2016-10-01/generated/azure_key_vault/key_vault_client.rb#L6757-L6760 | train |
Subsets and Splits
SQL Console for semeru/code-text-ruby
Retrieves 20,000 non-null code samples labeled as Ruby, providing a basic overview of the dataset but without deeper analysis.