repo
stringlengths 5
58
| path
stringlengths 9
168
| func_name
stringlengths 9
130
| original_string
stringlengths 66
10.5k
| language
stringclasses 1
value | code
stringlengths 66
10.5k
| code_tokens
sequence | docstring
stringlengths 8
16k
| docstring_tokens
sequence | sha
stringlengths 40
40
| url
stringlengths 94
266
| partition
stringclasses 1
value |
---|---|---|---|---|---|---|---|---|---|---|---|
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-08-01/generated/azure_mgmt_network/service_endpoint_policy_definitions.rb | Azure::Network::Mgmt::V2018_08_01.ServiceEndpointPolicyDefinitions.get_with_http_info | def get_with_http_info(resource_group_name, service_endpoint_policy_name, service_endpoint_policy_definition_name, custom_headers:nil)
get_async(resource_group_name, service_endpoint_policy_name, service_endpoint_policy_definition_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, service_endpoint_policy_name, service_endpoint_policy_definition_name, custom_headers:nil)
get_async(resource_group_name, service_endpoint_policy_name, service_endpoint_policy_definition_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"service_endpoint_policy_name",
",",
"service_endpoint_policy_definition_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"service_endpoint_policy_name",
",",
"service_endpoint_policy_definition_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Get the specified service endpoint policy definitions from service endpoint
policy.
@param resource_group_name [String] The name of the resource group.
@param service_endpoint_policy_name [String] The name of the service endpoint
policy name.
@param service_endpoint_policy_definition_name [String] The name of the
service endpoint policy definition name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Get",
"the",
"specified",
"service",
"endpoint",
"policy",
"definitions",
"from",
"service",
"endpoint",
"policy",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-08-01/generated/azure_mgmt_network/service_endpoint_policy_definitions.rb#L101-L103 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-08-01/generated/azure_mgmt_network/service_endpoint_policy_definitions.rb | Azure::Network::Mgmt::V2018_08_01.ServiceEndpointPolicyDefinitions.list_by_resource_group | def list_by_resource_group(resource_group_name, service_endpoint_policy_name, custom_headers:nil)
first_page = list_by_resource_group_as_lazy(resource_group_name, service_endpoint_policy_name, custom_headers:custom_headers)
first_page.get_all_items
end | ruby | def list_by_resource_group(resource_group_name, service_endpoint_policy_name, custom_headers:nil)
first_page = list_by_resource_group_as_lazy(resource_group_name, service_endpoint_policy_name, custom_headers:custom_headers)
first_page.get_all_items
end | [
"def",
"list_by_resource_group",
"(",
"resource_group_name",
",",
"service_endpoint_policy_name",
",",
"custom_headers",
":",
"nil",
")",
"first_page",
"=",
"list_by_resource_group_as_lazy",
"(",
"resource_group_name",
",",
"service_endpoint_policy_name",
",",
"custom_headers",
":custom_headers",
")",
"first_page",
".",
"get_all_items",
"end"
] | Gets all service endpoint policy definitions in a service end point policy.
@param resource_group_name [String] The name of the resource group.
@param service_endpoint_policy_name [String] The name of the service endpoint
policy name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array<ServiceEndpointPolicyDefinition>] operation results. | [
"Gets",
"all",
"service",
"endpoint",
"policy",
"definitions",
"in",
"a",
"service",
"end",
"point",
"policy",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-08-01/generated/azure_mgmt_network/service_endpoint_policy_definitions.rb#L239-L242 | train |
Azure/azure-sdk-for-ruby | runtime/ms_rest_azure/lib/ms_rest_azure/polling_state.rb | MsRestAzure.PollingState.get_provisioning_state | def get_provisioning_state
# On non flattened resource, we should find provisioning_state inside 'properties'
if ([email protected]? && @resource.respond_to?(:properties) && @resource.properties.respond_to?(:provisioning_state) && [email protected]_state.nil?)
@resource.properties.provisioning_state
# On flattened resource, we should find provisioning_state at the top level
elsif [email protected]? && @resource.respond_to?(:provisioning_state) && [email protected]_state.nil?
@resource.provisioning_state
else
nil
end
end | ruby | def get_provisioning_state
# On non flattened resource, we should find provisioning_state inside 'properties'
if ([email protected]? && @resource.respond_to?(:properties) && @resource.properties.respond_to?(:provisioning_state) && [email protected]_state.nil?)
@resource.properties.provisioning_state
# On flattened resource, we should find provisioning_state at the top level
elsif [email protected]? && @resource.respond_to?(:provisioning_state) && [email protected]_state.nil?
@resource.provisioning_state
else
nil
end
end | [
"def",
"get_provisioning_state",
"# On non flattened resource, we should find provisioning_state inside 'properties'",
"if",
"(",
"!",
"@resource",
".",
"nil?",
"&&",
"@resource",
".",
"respond_to?",
"(",
":properties",
")",
"&&",
"@resource",
".",
"properties",
".",
"respond_to?",
"(",
":provisioning_state",
")",
"&&",
"!",
"@resource",
".",
"properties",
".",
"provisioning_state",
".",
"nil?",
")",
"@resource",
".",
"properties",
".",
"provisioning_state",
"# On flattened resource, we should find provisioning_state at the top level",
"elsif",
"!",
"@resource",
".",
"nil?",
"&&",
"@resource",
".",
"respond_to?",
"(",
":provisioning_state",
")",
"&&",
"!",
"@resource",
".",
"provisioning_state",
".",
"nil?",
"@resource",
".",
"provisioning_state",
"else",
"nil",
"end",
"end"
] | Returns the provisioning status of the resource
@return [String] provisioning status of the resource | [
"Returns",
"the",
"provisioning",
"status",
"of",
"the",
"resource"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/runtime/ms_rest_azure/lib/ms_rest_azure/polling_state.rb#L58-L68 | train |
Azure/azure-sdk-for-ruby | runtime/ms_rest_azure/lib/ms_rest_azure/polling_state.rb | MsRestAzure.PollingState.get_delay | def get_delay
return @retry_timeout unless @retry_timeout.nil?
if !response.nil? && !response.headers['Retry-After'].nil?
return response.headers['Retry-After'].to_i
end
return AsyncOperationStatus::DEFAULT_DELAY
end | ruby | def get_delay
return @retry_timeout unless @retry_timeout.nil?
if !response.nil? && !response.headers['Retry-After'].nil?
return response.headers['Retry-After'].to_i
end
return AsyncOperationStatus::DEFAULT_DELAY
end | [
"def",
"get_delay",
"return",
"@retry_timeout",
"unless",
"@retry_timeout",
".",
"nil?",
"if",
"!",
"response",
".",
"nil?",
"&&",
"!",
"response",
".",
"headers",
"[",
"'Retry-After'",
"]",
".",
"nil?",
"return",
"response",
".",
"headers",
"[",
"'Retry-After'",
"]",
".",
"to_i",
"end",
"return",
"AsyncOperationStatus",
"::",
"DEFAULT_DELAY",
"end"
] | Returns the amount of time in seconds for long running operation polling delay.
@return [Integer] Amount of time in seconds for long running operation polling delay. | [
"Returns",
"the",
"amount",
"of",
"time",
"in",
"seconds",
"for",
"long",
"running",
"operation",
"polling",
"delay",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/runtime/ms_rest_azure/lib/ms_rest_azure/polling_state.rb#L74-L82 | train |
Azure/azure-sdk-for-ruby | runtime/ms_rest_azure/lib/ms_rest_azure/polling_state.rb | MsRestAzure.PollingState.update_response | def update_response(response)
@response = response
unless response.nil?
@azure_async_operation_header_link = response.headers['Azure-AsyncOperation'] unless response.headers['Azure-AsyncOperation'].nil?
@location_header_link = response.headers['Location'] unless response.headers['Location'].nil?
end
end | ruby | def update_response(response)
@response = response
unless response.nil?
@azure_async_operation_header_link = response.headers['Azure-AsyncOperation'] unless response.headers['Azure-AsyncOperation'].nil?
@location_header_link = response.headers['Location'] unless response.headers['Location'].nil?
end
end | [
"def",
"update_response",
"(",
"response",
")",
"@response",
"=",
"response",
"unless",
"response",
".",
"nil?",
"@azure_async_operation_header_link",
"=",
"response",
".",
"headers",
"[",
"'Azure-AsyncOperation'",
"]",
"unless",
"response",
".",
"headers",
"[",
"'Azure-AsyncOperation'",
"]",
".",
"nil?",
"@location_header_link",
"=",
"response",
".",
"headers",
"[",
"'Location'",
"]",
"unless",
"response",
".",
"headers",
"[",
"'Location'",
"]",
".",
"nil?",
"end",
"end"
] | Updates the polling state from the fields of given response object.
@param response [Net::HTTPResponse] the HTTP response. | [
"Updates",
"the",
"polling",
"state",
"from",
"the",
"fields",
"of",
"given",
"response",
"object",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/runtime/ms_rest_azure/lib/ms_rest_azure/polling_state.rb#L87-L94 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_datalake_store/lib/2016-11-01/generated/azure_mgmt_datalake_store/trusted_id_providers.rb | Azure::DataLakeStore::Mgmt::V2016_11_01.TrustedIdProviders.get_with_http_info | def get_with_http_info(resource_group_name, account_name, trusted_id_provider_name, custom_headers:nil)
get_async(resource_group_name, account_name, trusted_id_provider_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, account_name, trusted_id_provider_name, custom_headers:nil)
get_async(resource_group_name, account_name, trusted_id_provider_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"account_name",
",",
"trusted_id_provider_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"trusted_id_provider_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the specified Data Lake Store trusted identity provider.
@param resource_group_name [String] The name of the Azure resource group.
@param account_name [String] The name of the Data Lake Store account.
@param trusted_id_provider_name [String] The name of the trusted identity
provider to retrieve.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"the",
"specified",
"Data",
"Lake",
"Store",
"trusted",
"identity",
"provider",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_datalake_store/lib/2016-11-01/generated/azure_mgmt_datalake_store/trusted_id_providers.rb#L267-L269 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_datalake_store/lib/2016-11-01/generated/azure_mgmt_datalake_store/trusted_id_providers.rb | Azure::DataLakeStore::Mgmt::V2016_11_01.TrustedIdProviders.delete_with_http_info | def delete_with_http_info(resource_group_name, account_name, trusted_id_provider_name, custom_headers:nil)
delete_async(resource_group_name, account_name, trusted_id_provider_name, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, account_name, trusted_id_provider_name, custom_headers:nil)
delete_async(resource_group_name, account_name, trusted_id_provider_name, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"account_name",
",",
"trusted_id_provider_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"trusted_id_provider_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes the specified trusted identity provider from the specified Data Lake
Store account
@param resource_group_name [String] The name of the Azure resource group.
@param account_name [String] The name of the Data Lake Store account.
@param trusted_id_provider_name [String] The name of the trusted identity
provider to delete.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Deletes",
"the",
"specified",
"trusted",
"identity",
"provider",
"from",
"the",
"specified",
"Data",
"Lake",
"Store",
"account"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_datalake_store/lib/2016-11-01/generated/azure_mgmt_datalake_store/trusted_id_providers.rb#L479-L481 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_policy_insights/lib/2018-04-04/generated/azure_mgmt_policy_insights/policy_states.rb | Azure::PolicyInsights::Mgmt::V2018_04_04.PolicyStates.summarize_for_management_group | def summarize_for_management_group(management_group_name, query_options:nil, custom_headers:nil)
response = summarize_for_management_group_async(management_group_name, query_options:query_options, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def summarize_for_management_group(management_group_name, query_options:nil, custom_headers:nil)
response = summarize_for_management_group_async(management_group_name, query_options:query_options, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"summarize_for_management_group",
"(",
"management_group_name",
",",
"query_options",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"summarize_for_management_group_async",
"(",
"management_group_name",
",",
"query_options",
":query_options",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Summarizes policy states for the resources under the management group.
@param management_group_name [String] Management group name.
@param query_options [QueryOptions] Additional parameters for the operation
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [SummarizeResults] operation results. | [
"Summarizes",
"policy",
"states",
"for",
"the",
"resources",
"under",
"the",
"management",
"group",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_policy_insights/lib/2018-04-04/generated/azure_mgmt_policy_insights/policy_states.rb#L166-L169 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_policy_insights/lib/2018-04-04/generated/azure_mgmt_policy_insights/policy_states.rb | Azure::PolicyInsights::Mgmt::V2018_04_04.PolicyStates.list_query_results_for_subscription_with_http_info | def list_query_results_for_subscription_with_http_info(policy_states_resource, subscription_id, query_options:nil, custom_headers:nil)
list_query_results_for_subscription_async(policy_states_resource, subscription_id, query_options:query_options, custom_headers:custom_headers).value!
end | ruby | def list_query_results_for_subscription_with_http_info(policy_states_resource, subscription_id, query_options:nil, custom_headers:nil)
list_query_results_for_subscription_async(policy_states_resource, subscription_id, query_options:query_options, custom_headers:custom_headers).value!
end | [
"def",
"list_query_results_for_subscription_with_http_info",
"(",
"policy_states_resource",
",",
"subscription_id",
",",
"query_options",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"list_query_results_for_subscription_async",
"(",
"policy_states_resource",
",",
"subscription_id",
",",
"query_options",
":query_options",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Queries policy states for the resources under the subscription.
@param policy_states_resource [PolicyStatesResource] The virtual resource
under PolicyStates resource type. In a given time range, 'latest' represents
the latest policy state(s), whereas 'default' represents all policy state(s).
Possible values include: 'default', 'latest'
@param subscription_id [String] Microsoft Azure subscription ID.
@param query_options [QueryOptions] Additional parameters for the operation
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Queries",
"policy",
"states",
"for",
"the",
"resources",
"under",
"the",
"subscription",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_policy_insights/lib/2018-04-04/generated/azure_mgmt_policy_insights/policy_states.rb#L297-L299 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_policy_insights/lib/2018-04-04/generated/azure_mgmt_policy_insights/policy_states.rb | Azure::PolicyInsights::Mgmt::V2018_04_04.PolicyStates.summarize_for_subscription | def summarize_for_subscription(subscription_id, query_options:nil, custom_headers:nil)
response = summarize_for_subscription_async(subscription_id, query_options:query_options, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def summarize_for_subscription(subscription_id, query_options:nil, custom_headers:nil)
response = summarize_for_subscription_async(subscription_id, query_options:query_options, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"summarize_for_subscription",
"(",
"subscription_id",
",",
"query_options",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"summarize_for_subscription_async",
"(",
"subscription_id",
",",
"query_options",
":query_options",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Summarizes policy states for the resources under the subscription.
@param subscription_id [String] Microsoft Azure subscription ID.
@param query_options [QueryOptions] Additional parameters for the operation
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [SummarizeResults] operation results. | [
"Summarizes",
"policy",
"states",
"for",
"the",
"resources",
"under",
"the",
"subscription",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_policy_insights/lib/2018-04-04/generated/azure_mgmt_policy_insights/policy_states.rb#L405-L408 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_policy_insights/lib/2018-04-04/generated/azure_mgmt_policy_insights/policy_states.rb | Azure::PolicyInsights::Mgmt::V2018_04_04.PolicyStates.summarize_for_resource | def summarize_for_resource(resource_id, query_options:nil, custom_headers:nil)
response = summarize_for_resource_async(resource_id, query_options:query_options, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def summarize_for_resource(resource_id, query_options:nil, custom_headers:nil)
response = summarize_for_resource_async(resource_id, query_options:query_options, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"summarize_for_resource",
"(",
"resource_id",
",",
"query_options",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"summarize_for_resource_async",
"(",
"resource_id",
",",
"query_options",
":query_options",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Summarizes policy states for the resource.
@param resource_id [String] Resource ID.
@param query_options [QueryOptions] Additional parameters for the operation
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [SummarizeResults] operation results. | [
"Summarizes",
"policy",
"states",
"for",
"the",
"resource",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_policy_insights/lib/2018-04-04/generated/azure_mgmt_policy_insights/policy_states.rb#L890-L893 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_policy_insights/lib/2018-04-04/generated/azure_mgmt_policy_insights/policy_states.rb | Azure::PolicyInsights::Mgmt::V2018_04_04.PolicyStates.list_query_results_for_policy_set_definition | def list_query_results_for_policy_set_definition(policy_states_resource, subscription_id, policy_set_definition_name, query_options:nil, custom_headers:nil)
response = list_query_results_for_policy_set_definition_async(policy_states_resource, subscription_id, policy_set_definition_name, query_options:query_options, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_query_results_for_policy_set_definition(policy_states_resource, subscription_id, policy_set_definition_name, query_options:nil, custom_headers:nil)
response = list_query_results_for_policy_set_definition_async(policy_states_resource, subscription_id, policy_set_definition_name, query_options:query_options, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_query_results_for_policy_set_definition",
"(",
"policy_states_resource",
",",
"subscription_id",
",",
"policy_set_definition_name",
",",
"query_options",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_query_results_for_policy_set_definition_async",
"(",
"policy_states_resource",
",",
"subscription_id",
",",
"policy_set_definition_name",
",",
"query_options",
":query_options",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Queries policy states for the subscription level policy set definition.
@param policy_states_resource [PolicyStatesResource] The virtual resource
under PolicyStates resource type. In a given time range, 'latest' represents
the latest policy state(s), whereas 'default' represents all policy state(s).
Possible values include: 'default', 'latest'
@param subscription_id [String] Microsoft Azure subscription ID.
@param policy_set_definition_name [String] Policy set definition name.
@param query_options [QueryOptions] Additional parameters for the operation
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [PolicyStatesQueryResults] operation results. | [
"Queries",
"policy",
"states",
"for",
"the",
"subscription",
"level",
"policy",
"set",
"definition",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_policy_insights/lib/2018-04-04/generated/azure_mgmt_policy_insights/policy_states.rb#L1003-L1006 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_policy_insights/lib/2018-04-04/generated/azure_mgmt_policy_insights/policy_states.rb | Azure::PolicyInsights::Mgmt::V2018_04_04.PolicyStates.list_query_results_for_policy_definition | def list_query_results_for_policy_definition(policy_states_resource, subscription_id, policy_definition_name, query_options:nil, custom_headers:nil)
response = list_query_results_for_policy_definition_async(policy_states_resource, subscription_id, policy_definition_name, query_options:query_options, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_query_results_for_policy_definition(policy_states_resource, subscription_id, policy_definition_name, query_options:nil, custom_headers:nil)
response = list_query_results_for_policy_definition_async(policy_states_resource, subscription_id, policy_definition_name, query_options:query_options, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_query_results_for_policy_definition",
"(",
"policy_states_resource",
",",
"subscription_id",
",",
"policy_definition_name",
",",
"query_options",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_query_results_for_policy_definition_async",
"(",
"policy_states_resource",
",",
"subscription_id",
",",
"policy_definition_name",
",",
"query_options",
":query_options",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Queries policy states for the subscription level policy definition.
@param policy_states_resource [PolicyStatesResource] The virtual resource
under PolicyStates resource type. In a given time range, 'latest' represents
the latest policy state(s), whereas 'default' represents all policy state(s).
Possible values include: 'default', 'latest'
@param subscription_id [String] Microsoft Azure subscription ID.
@param policy_definition_name [String] Policy definition name.
@param query_options [QueryOptions] Additional parameters for the operation
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [PolicyStatesQueryResults] operation results. | [
"Queries",
"policy",
"states",
"for",
"the",
"subscription",
"level",
"policy",
"definition",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_policy_insights/lib/2018-04-04/generated/azure_mgmt_policy_insights/policy_states.rb#L1251-L1254 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_policy_insights/lib/2018-04-04/generated/azure_mgmt_policy_insights/policy_states.rb | Azure::PolicyInsights::Mgmt::V2018_04_04.PolicyStates.get_metadata | def get_metadata(scope, custom_headers:nil)
response = get_metadata_async(scope, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_metadata(scope, custom_headers:nil)
response = get_metadata_async(scope, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_metadata",
"(",
"scope",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_metadata_async",
"(",
"scope",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets OData metadata XML document.
@param scope [String] A valid scope, i.e. management group, subscription,
resource group, or resource ID. Scope used has no effect on metadata
returned.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [String] operation results. | [
"Gets",
"OData",
"metadata",
"XML",
"document",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_policy_insights/lib/2018-04-04/generated/azure_mgmt_policy_insights/policy_states.rb#L1999-L2002 | train |
Azure/azure-sdk-for-ruby | runtime/ms_rest/lib/ms_rest/deserialization_error.rb | MsRest.DeserializationError.to_json | def to_json(*a)
{exception_message: exception_message, message: @msg, stacktrace: exception_stacktrace, result: result}.to_json(*a)
end | ruby | def to_json(*a)
{exception_message: exception_message, message: @msg, stacktrace: exception_stacktrace, result: result}.to_json(*a)
end | [
"def",
"to_json",
"(",
"*",
"a",
")",
"{",
"exception_message",
":",
"exception_message",
",",
"message",
":",
"@msg",
",",
"stacktrace",
":",
"exception_stacktrace",
",",
"result",
":",
"result",
"}",
".",
"to_json",
"(",
"a",
")",
"end"
] | Creates and initialize new instance of the DeserializationError class.
@param [String] message message the human readable description of error.
@param [String] exception_message the inner exception stacktrace.
@param [String] exception_stacktrace the inner exception stacktrace.
@param [MsRest::HttpOperationResponse] the request and response | [
"Creates",
"and",
"initialize",
"new",
"instance",
"of",
"the",
"DeserializationError",
"class",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/runtime/ms_rest/lib/ms_rest/deserialization_error.rb#L34-L36 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_storage/lib/2018-07-01/generated/azure_mgmt_storage/usages.rb | Azure::Storage::Mgmt::V2018_07_01.Usages.list_by_location | def list_by_location(location, custom_headers:nil)
response = list_by_location_async(location, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_by_location(location, custom_headers:nil)
response = list_by_location_async(location, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_by_location",
"(",
"location",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_by_location_async",
"(",
"location",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets the current usage count and the limit for the resources of the location
under the subscription.
@param location [String] The location of the Azure Storage resource.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [UsageListResult] operation results. | [
"Gets",
"the",
"current",
"usage",
"count",
"and",
"the",
"limit",
"for",
"the",
"resources",
"of",
"the",
"location",
"under",
"the",
"subscription",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_storage/lib/2018-07-01/generated/azure_mgmt_storage/usages.rb#L34-L37 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/reviews.rb | Azure::CognitiveServices::ContentModerator::V1_0.Reviews.get_review | def get_review(team_name, review_id, custom_headers:nil)
response = get_review_async(team_name, review_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_review(team_name, review_id, custom_headers:nil)
response = get_review_async(team_name, review_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_review",
"(",
"team_name",
",",
"review_id",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_review_async",
"(",
"team_name",
",",
"review_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Returns review details for the review Id passed.
@param team_name [String] Your Team Name.
@param review_id [String] Id of the review.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Review] operation results. | [
"Returns",
"review",
"details",
"for",
"the",
"review",
"Id",
"passed",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/reviews.rb#L44-L47 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/reviews.rb | Azure::CognitiveServices::ContentModerator::V1_0.Reviews.get_job_details | def get_job_details(team_name, job_id, custom_headers:nil)
response = get_job_details_async(team_name, job_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_job_details(team_name, job_id, custom_headers:nil)
response = get_job_details_async(team_name, job_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_job_details",
"(",
"team_name",
",",
"job_id",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_job_details_async",
"(",
"team_name",
",",
"job_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Get the Job Details for a Job Id.
@param team_name [String] Your Team Name.
@param job_id [String] Id of the job.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Job] operation results. | [
"Get",
"the",
"Job",
"Details",
"for",
"a",
"Job",
"Id",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/reviews.rb#L135-L138 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/reviews.rb | Azure::CognitiveServices::ContentModerator::V1_0.Reviews.publish_video_review | def publish_video_review(team_name, review_id, custom_headers:nil)
response = publish_video_review_async(team_name, review_id, custom_headers:custom_headers).value!
nil
end | ruby | def publish_video_review(team_name, review_id, custom_headers:nil)
response = publish_video_review_async(team_name, review_id, custom_headers:custom_headers).value!
nil
end | [
"def",
"publish_video_review",
"(",
"team_name",
",",
"review_id",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"publish_video_review_async",
"(",
"team_name",
",",
"review_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Publish video review to make it available for review.
@param team_name [String] Your team name.
@param review_id [String] Id of the review.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Publish",
"video",
"review",
"to",
"make",
"it",
"available",
"for",
"review",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/reviews.rb#L1057-L1060 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_interfaces.rb | Azure::Network::Mgmt::V2016_12_01.NetworkInterfaces.get_with_http_info | def get_with_http_info(resource_group_name, network_interface_name, expand:nil, custom_headers:nil)
get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, network_interface_name, expand:nil, custom_headers:nil)
get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"network_interface_name",
",",
"expand",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"network_interface_name",
",",
"expand",
":",
"expand",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets information about the specified network interface.
@param resource_group_name [String] The name of the resource group.
@param network_interface_name [String] The name of the network interface.
@param expand [String] Expands referenced resources.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"information",
"about",
"the",
"specified",
"network",
"interface",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2016-12-01/generated/azure_mgmt_network/network_interfaces.rb#L392-L394 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_hdinsight/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/locations.rb | Azure::Hdinsight::Mgmt::V2015_03_01_preview.Locations.get_capabilities | def get_capabilities(location, custom_headers:nil)
response = get_capabilities_async(location, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_capabilities(location, custom_headers:nil)
response = get_capabilities_async(location, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_capabilities",
"(",
"location",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_capabilities_async",
"(",
"location",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets the capabilities for the specified location.
@param location [String] The location.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [CapabilitiesResult] operation results. | [
"Gets",
"the",
"capabilities",
"for",
"the",
"specified",
"location",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_hdinsight/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/locations.rb#L33-L36 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_hdinsight/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/locations.rb | Azure::Hdinsight::Mgmt::V2015_03_01_preview.Locations.list_usages | def list_usages(location, custom_headers:nil)
response = list_usages_async(location, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_usages(location, custom_headers:nil)
response = list_usages_async(location, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_usages",
"(",
"location",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_usages_async",
"(",
"location",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Lists the usages for the specified location.
@param location [String] The location.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [UsagesListResult] operation results. | [
"Lists",
"the",
"usages",
"for",
"the",
"specified",
"location",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_hdinsight/lib/2015-03-01-preview/generated/azure_mgmt_hdinsight/locations.rb#L121-L124 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/agent_registration_information.rb | Azure::Automation::Mgmt::V2015_10_31.AgentRegistrationInformation.regenerate_key_with_http_info | def regenerate_key_with_http_info(resource_group_name, automation_account_name, parameters, custom_headers:nil)
regenerate_key_async(resource_group_name, automation_account_name, parameters, custom_headers:custom_headers).value!
end | ruby | def regenerate_key_with_http_info(resource_group_name, automation_account_name, parameters, custom_headers:nil)
regenerate_key_async(resource_group_name, automation_account_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"regenerate_key_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"regenerate_key_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Regenerate a primary or secondary agent registration key
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param parameters [AgentRegistrationRegenerateKeyParameter] The name of the
agent registration key to be regenerated
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Regenerate",
"a",
"primary",
"or",
"secondary",
"agent",
"registration",
"key"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/agent_registration_information.rb#L148-L150 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_logic/lib/2015-02-01-preview/generated/azure_mgmt_logic/workflow_access_keys.rb | Azure::Logic::Mgmt::V2015_02_01_preview.WorkflowAccessKeys.get_with_http_info | def get_with_http_info(resource_group_name, workflow_name, access_key_name, custom_headers:nil)
get_async(resource_group_name, workflow_name, access_key_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, workflow_name, access_key_name, custom_headers:nil)
get_async(resource_group_name, workflow_name, access_key_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"workflow_name",
",",
"access_key_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"workflow_name",
",",
"access_key_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets a workflow access key.
@param resource_group_name [String] The resource group name.
@param workflow_name [String] The workflow name.
@param access_key_name [String] The workflow access key name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"a",
"workflow",
"access",
"key",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_logic/lib/2015-02-01-preview/generated/azure_mgmt_logic/workflow_access_keys.rb#L146-L148 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_privatedns/lib/2018-09-01/generated/azure_mgmt_privatedns/private_zones.rb | Azure::PrivateDns::Mgmt::V2018_09_01.PrivateZones.update | def update(resource_group_name, private_zone_name, parameters, if_match:nil, custom_headers:nil)
response = update_async(resource_group_name, private_zone_name, parameters, if_match:if_match, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def update(resource_group_name, private_zone_name, parameters, if_match:nil, custom_headers:nil)
response = update_async(resource_group_name, private_zone_name, parameters, if_match:if_match, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"update",
"(",
"resource_group_name",
",",
"private_zone_name",
",",
"parameters",
",",
"if_match",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"update_async",
"(",
"resource_group_name",
",",
"private_zone_name",
",",
"parameters",
",",
"if_match",
":if_match",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Updates a Private DNS zone. Does not modify virtual network links or DNS
records within the 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 parameters [PrivateZone] Parameters supplied to the Update operation.
@param if_match [String] The ETag of the Private DNS zone. Omit this value to
always overwrite the current zone. Specify the last-seen ETag value to
prevent accidentally overwriting any concurrent changes.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [PrivateZone] operation results. | [
"Updates",
"a",
"Private",
"DNS",
"zone",
".",
"Does",
"not",
"modify",
"virtual",
"network",
"links",
"or",
"DNS",
"records",
"within",
"the",
"zone",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_privatedns/lib/2018-09-01/generated/azure_mgmt_privatedns/private_zones.rb#L101-L104 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/views.rb | Azure::CustomerInsights::Mgmt::V2017_01_01.Views.create_or_update_with_http_info | def create_or_update_with_http_info(resource_group_name, hub_name, view_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, hub_name, view_name, parameters, custom_headers:custom_headers).value!
end | ruby | def create_or_update_with_http_info(resource_group_name, hub_name, view_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, hub_name, view_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"hub_name",
",",
"view_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"create_or_update_async",
"(",
"resource_group_name",
",",
"hub_name",
",",
"view_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates a view or updates an exisiting view in the hub.
@param resource_group_name [String] The name of the resource group.
@param hub_name [String] The name of the hub.
@param view_name [String] The name of the view.
@param parameters [ViewResourceFormat] Parameters supplied to the
CreateOrUpdate View operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Creates",
"a",
"view",
"or",
"updates",
"an",
"exisiting",
"view",
"in",
"the",
"hub",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/views.rb#L154-L156 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/views.rb | Azure::CustomerInsights::Mgmt::V2017_01_01.Views.get_with_http_info | def get_with_http_info(resource_group_name, hub_name, view_name, user_id, custom_headers:nil)
get_async(resource_group_name, hub_name, view_name, user_id, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, hub_name, view_name, user_id, custom_headers:nil)
get_async(resource_group_name, hub_name, view_name, user_id, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"hub_name",
",",
"view_name",
",",
"user_id",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"hub_name",
",",
"view_name",
",",
"user_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets a view in the hub.
@param resource_group_name [String] The name of the resource group.
@param hub_name [String] The name of the hub.
@param view_name [String] The name of the view.
@param user_id [String] The user ID. Use * to retreive hub level view.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"a",
"view",
"in",
"the",
"hub",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/views.rb#L264-L266 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_reservations/lib/2019-04-01-preview/generated/azure_mgmt_reservations/reservation_order.rb | Azure::Reservations::Mgmt::V2019_04_01_preview.ReservationOrder.calculate | def calculate(body, custom_headers:nil)
response = calculate_async(body, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def calculate(body, custom_headers:nil)
response = calculate_async(body, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"calculate",
"(",
"body",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"calculate_async",
"(",
"body",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Calculate price for a `ReservationOrder`.
Calculate price for placing a `ReservationOrder`.
@param body [PurchaseRequest] Information needed for calculate or purchase
reservation
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [CalculatePriceResponse] operation results. | [
"Calculate",
"price",
"for",
"a",
"ReservationOrder",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_reservations/lib/2019-04-01-preview/generated/azure_mgmt_reservations/reservation_order.rb#L36-L39 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/connector_mappings.rb | Azure::CustomerInsights::Mgmt::V2017_01_01.ConnectorMappings.create_or_update_with_http_info | def create_or_update_with_http_info(resource_group_name, hub_name, connector_name, mapping_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, hub_name, connector_name, mapping_name, parameters, custom_headers:custom_headers).value!
end | ruby | def create_or_update_with_http_info(resource_group_name, hub_name, connector_name, mapping_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, hub_name, connector_name, mapping_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"hub_name",
",",
"connector_name",
",",
"mapping_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"create_or_update_async",
"(",
"resource_group_name",
",",
"hub_name",
",",
"connector_name",
",",
"mapping_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates a connector mapping or updates an existing connector mapping in the
connector.
@param resource_group_name [String] The name of the resource group.
@param hub_name [String] The name of the hub.
@param connector_name [String] The name of the connector.
@param mapping_name [String] The name of the connector mapping.
@param parameters [ConnectorMappingResourceFormat] Parameters supplied to the
CreateOrUpdate Connector Mapping operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Creates",
"a",
"connector",
"mapping",
"or",
"updates",
"an",
"existing",
"connector",
"mapping",
"in",
"the",
"connector",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/connector_mappings.rb#L62-L64 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/connector_mappings.rb | Azure::CustomerInsights::Mgmt::V2017_01_01.ConnectorMappings.delete_with_http_info | def delete_with_http_info(resource_group_name, hub_name, connector_name, mapping_name, custom_headers:nil)
delete_async(resource_group_name, hub_name, connector_name, mapping_name, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, hub_name, connector_name, mapping_name, custom_headers:nil)
delete_async(resource_group_name, hub_name, connector_name, mapping_name, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"hub_name",
",",
"connector_name",
",",
"mapping_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"hub_name",
",",
"connector_name",
",",
"mapping_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes a connector mapping in the connector.
@param resource_group_name [String] The name of the resource group.
@param hub_name [String] The name of the hub.
@param connector_name [String] The name of the connector.
@param mapping_name [String] The name of the connector mapping.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Deletes",
"a",
"connector",
"mapping",
"in",
"the",
"connector",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/connector_mappings.rb#L285-L287 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_monitor/lib/2018-04-16/generated/azure_mgmt_monitor/scheduled_query_rules.rb | Azure::Monitor::Mgmt::V2018_04_16.ScheduledQueryRules.update_with_http_info | def update_with_http_info(resource_group_name, rule_name, parameters, custom_headers:nil)
update_async(resource_group_name, rule_name, parameters, custom_headers:custom_headers).value!
end | ruby | def update_with_http_info(resource_group_name, rule_name, parameters, custom_headers:nil)
update_async(resource_group_name, rule_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"update_with_http_info",
"(",
"resource_group_name",
",",
"rule_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"update_async",
"(",
"resource_group_name",
",",
"rule_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Update log search Rule.
@param resource_group_name [String] The name of the resource group.
@param rule_name [String] The name of the rule.
@param parameters [LogSearchRuleResourcePatch] The parameters of the rule to
update.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Update",
"log",
"search",
"Rule",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_monitor/lib/2018-04-16/generated/azure_mgmt_monitor/scheduled_query_rules.rb#L261-L263 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_monitor/lib/2018-04-16/generated/azure_mgmt_monitor/scheduled_query_rules.rb | Azure::Monitor::Mgmt::V2018_04_16.ScheduledQueryRules.list_by_subscription | def list_by_subscription(filter:nil, custom_headers:nil)
response = list_by_subscription_async(filter:filter, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_by_subscription(filter:nil, custom_headers:nil)
response = list_by_subscription_async(filter:filter, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_by_subscription",
"(",
"filter",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_by_subscription_async",
"(",
"filter",
":",
"filter",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | List the Log Search rules within a subscription group.
@param filter [String] The filter to apply on the operation. For more
information please see
https://msdn.microsoft.com/en-us/library/azure/dn931934.aspx
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [LogSearchRuleResourceCollection] operation results. | [
"List",
"the",
"Log",
"Search",
"rules",
"within",
"a",
"subscription",
"group",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_monitor/lib/2018-04-16/generated/azure_mgmt_monitor/scheduled_query_rules.rb#L430-L433 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_datalake_store/lib/2015-10-01-preview/generated/azure_mgmt_datalake_store/account.rb | Azure::DataLakeStore::Mgmt::V2015_10_01_preview.Account.enable_key_vault | def enable_key_vault(resource_group_name, account_name, custom_headers:nil)
response = enable_key_vault_async(resource_group_name, account_name, custom_headers:custom_headers).value!
nil
end | ruby | def enable_key_vault(resource_group_name, account_name, custom_headers:nil)
response = enable_key_vault_async(resource_group_name, account_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"enable_key_vault",
"(",
"resource_group_name",
",",
"account_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"enable_key_vault_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Attempts to enable a user managed key vault for encryption of the specified
Data Lake Store account.
@param resource_group_name [String] The name of the Azure resource group that
contains the Data Lake Store account.
@param account_name [String] The name of the Data Lake Store account to
attempt to enable the Key Vault for.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Attempts",
"to",
"enable",
"a",
"user",
"managed",
"key",
"vault",
"for",
"encryption",
"of",
"the",
"specified",
"Data",
"Lake",
"Store",
"account",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_datalake_store/lib/2015-10-01-preview/generated/azure_mgmt_datalake_store/account.rb#L685-L688 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/workflow_versions.rb | Azure::Logic::Mgmt::V2016_06_01.WorkflowVersions.get_with_http_info | def get_with_http_info(resource_group_name, workflow_name, version_id, custom_headers:nil)
get_async(resource_group_name, workflow_name, version_id, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, workflow_name, version_id, custom_headers:nil)
get_async(resource_group_name, workflow_name, version_id, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"workflow_name",
",",
"version_id",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"workflow_name",
",",
"version_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets a workflow version.
@param resource_group_name [String] The resource group name.
@param workflow_name [String] The workflow name.
@param version_id [String] The workflow versionId.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"a",
"workflow",
"version",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/workflow_versions.rb#L146-L148 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/workflow_versions.rb | Azure::Logic::Mgmt::V2016_06_01.WorkflowVersions.list_callback_url_with_http_info | def list_callback_url_with_http_info(resource_group_name, workflow_name, version_id, trigger_name, parameters:nil, custom_headers:nil)
list_callback_url_async(resource_group_name, workflow_name, version_id, trigger_name, parameters:parameters, custom_headers:custom_headers).value!
end | ruby | def list_callback_url_with_http_info(resource_group_name, workflow_name, version_id, trigger_name, parameters:nil, custom_headers:nil)
list_callback_url_async(resource_group_name, workflow_name, version_id, trigger_name, parameters:parameters, custom_headers:custom_headers).value!
end | [
"def",
"list_callback_url_with_http_info",
"(",
"resource_group_name",
",",
"workflow_name",
",",
"version_id",
",",
"trigger_name",
",",
"parameters",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"list_callback_url_async",
"(",
"resource_group_name",
",",
"workflow_name",
",",
"version_id",
",",
"trigger_name",
",",
"parameters",
":",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Get the callback url for a trigger of a workflow version.
@param resource_group_name [String] The resource group name.
@param workflow_name [String] The workflow name.
@param version_id [String] The workflow versionId.
@param trigger_name [String] The workflow trigger name.
@param parameters [GetCallbackUrlParameters] The callback URL parameters.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Get",
"the",
"callback",
"url",
"for",
"a",
"trigger",
"of",
"a",
"workflow",
"version",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/workflow_versions.rb#L246-L248 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/interactions.rb | Azure::CustomerInsights::Mgmt::V2017_01_01.Interactions.get_with_http_info | def get_with_http_info(resource_group_name, hub_name, interaction_name, locale_code:'en-us', custom_headers:nil)
get_async(resource_group_name, hub_name, interaction_name, locale_code:locale_code, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, hub_name, interaction_name, locale_code:'en-us', custom_headers:nil)
get_async(resource_group_name, hub_name, interaction_name, locale_code:locale_code, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"hub_name",
",",
"interaction_name",
",",
"locale_code",
":",
"'en-us'",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"hub_name",
",",
"interaction_name",
",",
"locale_code",
":locale_code",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets information about the specified interaction.
@param resource_group_name [String] The name of the resource group.
@param hub_name [String] The name of the hub.
@param interaction_name [String] The name of the interaction.
@param locale_code [String] Locale of interaction to retrieve, default is
en-us.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"information",
"about",
"the",
"specified",
"interaction",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/interactions.rb#L106-L108 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/interactions.rb | Azure::CustomerInsights::Mgmt::V2017_01_01.Interactions.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, hub_name, interaction_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, hub_name, interaction_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, hub_name, interaction_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, hub_name, interaction_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"hub_name",
",",
"interaction_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"hub_name",
",",
"interaction_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates an interaction or updates an existing interaction within a hub.
@param resource_group_name [String] The name of the resource group.
@param hub_name [String] The name of the hub.
@param interaction_name [String] The name of the interaction.
@param parameters [InteractionResourceFormat] Parameters supplied to the
CreateOrUpdate Interaction operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Creates",
"an",
"interaction",
"or",
"updates",
"an",
"existing",
"interaction",
"within",
"a",
"hub",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/interactions.rb#L402-L404 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_policy_insights/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/policy_events.rb | Azure::PolicyInsights::Mgmt::V2017_08_09_preview.PolicyEvents.list_query_results_for_subscription | def list_query_results_for_subscription(subscription_id, query_options:nil, custom_headers:nil)
response = list_query_results_for_subscription_async(subscription_id, query_options:query_options, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_query_results_for_subscription(subscription_id, query_options:nil, custom_headers:nil)
response = list_query_results_for_subscription_async(subscription_id, query_options:query_options, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_query_results_for_subscription",
"(",
"subscription_id",
",",
"query_options",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_query_results_for_subscription_async",
"(",
"subscription_id",
",",
"query_options",
":query_options",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Queries policy events for the resources under the subscription.
@param subscription_id [String] Microsoft Azure subscription ID.
@param query_options [QueryOptions] Additional parameters for the operation
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [PolicyEventsQueryResults] operation results. | [
"Queries",
"policy",
"events",
"for",
"the",
"resources",
"under",
"the",
"subscription",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_policy_insights/lib/2017-08-09-preview/generated/azure_mgmt_policy_insights/policy_events.rb#L154-L157 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/diagnostic_logger.rb | Azure::ApiManagement::Mgmt::V2018_01_01.DiagnosticLogger.delete_with_http_info | def delete_with_http_info(resource_group_name, service_name, diagnostic_id, loggerid, custom_headers:nil)
delete_async(resource_group_name, service_name, diagnostic_id, loggerid, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, service_name, diagnostic_id, loggerid, custom_headers:nil)
delete_async(resource_group_name, service_name, diagnostic_id, loggerid, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"service_name",
",",
"diagnostic_id",
",",
"loggerid",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"service_name",
",",
"diagnostic_id",
",",
"loggerid",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes the specified Logger from Diagnostic.
@param resource_group_name [String] The name of the resource group.
@param service_name [String] The name of the API Management service.
@param diagnostic_id [String] Diagnostic identifier. Must be unique in the
current API Management service instance.
@param loggerid [String] Logger identifier. Must be unique in the API
Management service instance.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Deletes",
"the",
"specified",
"Logger",
"from",
"Diagnostic",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/diagnostic_logger.rb#L419-L421 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_stream_analytics/lib/2016-03-01/generated/azure_mgmt_stream_analytics/subscriptions.rb | Azure::StreamAnalytics::Mgmt::V2016_03_01.Subscriptions.list_quotas | def list_quotas(location, custom_headers:nil)
response = list_quotas_async(location, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_quotas(location, custom_headers:nil)
response = list_quotas_async(location, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_quotas",
"(",
"location",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_quotas_async",
"(",
"location",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Retrieves the subscription's current quota information in a particular
region.
@param location [String] The region in which to retrieve the subscription's
quota information. You can find out which regions Azure Stream Analytics is
supported in here: https://azure.microsoft.com/en-us/regions/
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [SubscriptionQuotasListResult] operation results. | [
"Retrieves",
"the",
"subscription",
"s",
"current",
"quota",
"information",
"in",
"a",
"particular",
"region",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_stream_analytics/lib/2016-03-01/generated/azure_mgmt_stream_analytics/subscriptions.rb#L36-L39 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_recovery_services/lib/2016-06-01/generated/azure_mgmt_recovery_services/vault_extended_info_operations.rb | Azure::RecoveryServices::Mgmt::V2016_06_01.VaultExtendedInfoOperations.create_or_update_with_http_info | def create_or_update_with_http_info(resource_group_name, vault_name, resource_resource_extended_info_details, custom_headers:nil)
create_or_update_async(resource_group_name, vault_name, resource_resource_extended_info_details, custom_headers:custom_headers).value!
end | ruby | def create_or_update_with_http_info(resource_group_name, vault_name, resource_resource_extended_info_details, custom_headers:nil)
create_or_update_async(resource_group_name, vault_name, resource_resource_extended_info_details, custom_headers:custom_headers).value!
end | [
"def",
"create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"vault_name",
",",
"resource_resource_extended_info_details",
",",
"custom_headers",
":",
"nil",
")",
"create_or_update_async",
"(",
"resource_group_name",
",",
"vault_name",
",",
"resource_resource_extended_info_details",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Create vault extended info.
@param resource_group_name [String] The name of the resource group where the
recovery services vault is present.
@param vault_name [String] The name of the recovery services vault.
@param resource_resource_extended_info_details [VaultExtendedInfoResource]
Details of ResourceExtendedInfo
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Create",
"vault",
"extended",
"info",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_recovery_services/lib/2016-06-01/generated/azure_mgmt_recovery_services/vault_extended_info_operations.rb#L150-L152 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_recovery_services/lib/2016-06-01/generated/azure_mgmt_recovery_services/vault_extended_info_operations.rb | Azure::RecoveryServices::Mgmt::V2016_06_01.VaultExtendedInfoOperations.update_with_http_info | def update_with_http_info(resource_group_name, vault_name, resource_resource_extended_info_details, custom_headers:nil)
update_async(resource_group_name, vault_name, resource_resource_extended_info_details, custom_headers:custom_headers).value!
end | ruby | def update_with_http_info(resource_group_name, vault_name, resource_resource_extended_info_details, custom_headers:nil)
update_async(resource_group_name, vault_name, resource_resource_extended_info_details, custom_headers:custom_headers).value!
end | [
"def",
"update_with_http_info",
"(",
"resource_group_name",
",",
"vault_name",
",",
"resource_resource_extended_info_details",
",",
"custom_headers",
":",
"nil",
")",
"update_async",
"(",
"resource_group_name",
",",
"vault_name",
",",
"resource_resource_extended_info_details",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Update vault extended info.
@param resource_group_name [String] The name of the resource group where the
recovery services vault is present.
@param vault_name [String] The name of the recovery services vault.
@param resource_resource_extended_info_details [VaultExtendedInfoResource]
Details of ResourceExtendedInfo
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Update",
"vault",
"extended",
"info",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_recovery_services/lib/2016-06-01/generated/azure_mgmt_recovery_services/vault_extended_info_operations.rb#L259-L261 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_cdn/lib/2016-10-02/generated/azure_mgmt_cdn/cdn_management_client.rb | Azure::CDN::Mgmt::V2016_10_02.CdnManagementClient.list_operations_next | def list_operations_next(next_page_link, custom_headers:nil)
response = list_operations_next_async(next_page_link, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_operations_next(next_page_link, custom_headers:nil)
response = list_operations_next_async(next_page_link, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_operations_next",
"(",
"next_page_link",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_operations_next_async",
"(",
"next_page_link",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Lists all of the available CDN REST API operations.
@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 [OperationListResult] operation results. | [
"Lists",
"all",
"of",
"the",
"available",
"CDN",
"REST",
"API",
"operations",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_cdn/lib/2016-10-02/generated/azure_mgmt_cdn/cdn_management_client.rb#L506-L509 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/replications.rb | Azure::ContainerRegistry::Mgmt::V2017_06_01_preview.Replications.get_with_http_info | def get_with_http_info(resource_group_name, registry_name, replication_name, custom_headers:nil)
get_async(resource_group_name, registry_name, replication_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, registry_name, replication_name, custom_headers:nil)
get_async(resource_group_name, registry_name, replication_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"registry_name",
",",
"replication_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"registry_name",
",",
"replication_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the properties of the specified replication.
@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 replication_name [String] The name of the replication.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"the",
"properties",
"of",
"the",
"specified",
"replication",
"."
] | 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/replications.rb#L53-L55 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/replications.rb | Azure::ContainerRegistry::Mgmt::V2017_06_01_preview.Replications.begin_delete_with_http_info | def begin_delete_with_http_info(resource_group_name, registry_name, replication_name, custom_headers:nil)
begin_delete_async(resource_group_name, registry_name, replication_name, custom_headers:custom_headers).value!
end | ruby | def begin_delete_with_http_info(resource_group_name, registry_name, replication_name, custom_headers:nil)
begin_delete_async(resource_group_name, registry_name, replication_name, custom_headers:custom_headers).value!
end | [
"def",
"begin_delete_with_http_info",
"(",
"resource_group_name",
",",
"registry_name",
",",
"replication_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_delete_async",
"(",
"resource_group_name",
",",
"registry_name",
",",
"replication_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes a replication 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 replication_name [String] The name of the replication.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Deletes",
"a",
"replication",
"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/replications.rb#L521-L523 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/interface_endpoints.rb | Azure::Network::Mgmt::V2019_02_01.InterfaceEndpoints.get_with_http_info | def get_with_http_info(resource_group_name, interface_endpoint_name, expand:nil, custom_headers:nil)
get_async(resource_group_name, interface_endpoint_name, expand:expand, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, interface_endpoint_name, expand:nil, custom_headers:nil)
get_async(resource_group_name, interface_endpoint_name, expand:expand, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"interface_endpoint_name",
",",
"expand",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"interface_endpoint_name",
",",
"expand",
":",
"expand",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the specified interface endpoint by resource group.
@param resource_group_name [String] The name of the resource group.
@param interface_endpoint_name [String] The name of the interface endpoint.
@param expand [String] Expands referenced resources.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"the",
"specified",
"interface",
"endpoint",
"by",
"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/interface_endpoints.rb#L89-L91 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/interface_endpoints.rb | Azure::Network::Mgmt::V2019_02_01.InterfaceEndpoints.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, interface_endpoint_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, interface_endpoint_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, interface_endpoint_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, interface_endpoint_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"interface_endpoint_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"interface_endpoint_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates or updates an interface endpoint in the specified resource group.
@param resource_group_name [String] The name of the resource group.
@param interface_endpoint_name [String] The name of the interface endpoint.
@param parameters [InterfaceEndpoint] Parameters supplied to the create or
update interface endpoint operation
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Creates",
"or",
"updates",
"an",
"interface",
"endpoint",
"in",
"the",
"specified",
"resource",
"group",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/interface_endpoints.rb#L485-L487 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_labservices/lib/2018-10-15/generated/azure_mgmt_labservices/environments.rb | Azure::Labservices::Mgmt::V2018_10_15.Environments.begin_delete_with_http_info | def begin_delete_with_http_info(resource_group_name, lab_account_name, lab_name, environment_setting_name, environment_name, custom_headers:nil)
begin_delete_async(resource_group_name, lab_account_name, lab_name, environment_setting_name, environment_name, custom_headers:custom_headers).value!
end | ruby | def begin_delete_with_http_info(resource_group_name, lab_account_name, lab_name, environment_setting_name, environment_name, custom_headers:nil)
begin_delete_async(resource_group_name, lab_account_name, lab_name, environment_setting_name, environment_name, custom_headers:custom_headers).value!
end | [
"def",
"begin_delete_with_http_info",
"(",
"resource_group_name",
",",
"lab_account_name",
",",
"lab_name",
",",
"environment_setting_name",
",",
"environment_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_delete_async",
"(",
"resource_group_name",
",",
"lab_account_name",
",",
"lab_name",
",",
"environment_setting_name",
",",
"environment_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Delete environment. This operation can take a while to complete
@param resource_group_name [String] The name of the resource group.
@param lab_account_name [String] The name of the lab Account.
@param lab_name [String] The name of the lab.
@param environment_setting_name [String] The name of the environment Setting.
@param environment_name [String] The name of the environment.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Delete",
"environment",
".",
"This",
"operation",
"can",
"take",
"a",
"while",
"to",
"complete"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_labservices/lib/2018-10-15/generated/azure_mgmt_labservices/environments.rb#L801-L803 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_edgegateway/lib/2019-03-01/generated/azure_mgmt_edgegateway/roles.rb | Azure::EdgeGateway::Mgmt::V2019_03_01.Roles.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(device_name, name, role, resource_group_name, custom_headers:nil)
begin_create_or_update_async(device_name, name, role, resource_group_name, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(device_name, name, role, resource_group_name, custom_headers:nil)
begin_create_or_update_async(device_name, name, role, resource_group_name, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"device_name",
",",
"name",
",",
"role",
",",
"resource_group_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"device_name",
",",
"name",
",",
"role",
",",
"resource_group_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Create or update a role.
@param device_name [String] The device name.
@param name [String] The role name.
@param role [Role] The role properties.
@param resource_group_name [String] The resource group name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Create",
"or",
"update",
"a",
"role",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_edgegateway/lib/2019-03-01/generated/azure_mgmt_edgegateway/roles.rb#L327-L329 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_api_management/lib/2017-03-01/generated/azure_mgmt_api_management/tenant_configuration.rb | Azure::ApiManagement::Mgmt::V2017_03_01.TenantConfiguration.get_sync_state | def get_sync_state(resource_group_name, service_name, custom_headers:nil)
response = get_sync_state_async(resource_group_name, service_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_sync_state(resource_group_name, service_name, custom_headers:nil)
response = get_sync_state_async(resource_group_name, service_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_sync_state",
"(",
"resource_group_name",
",",
"service_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_sync_state_async",
"(",
"resource_group_name",
",",
"service_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets the status of the most recent synchronization between the configuration
database and the Git repository.
@param resource_group_name [String] The name of the resource group.
@param service_name [String] The name of the API Management service.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [TenantConfigurationSyncStateContract] operation results. | [
"Gets",
"the",
"status",
"of",
"the",
"most",
"recent",
"synchronization",
"between",
"the",
"configuration",
"database",
"and",
"the",
"Git",
"repository",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_api_management/lib/2017-03-01/generated/azure_mgmt_api_management/tenant_configuration.rb#L176-L179 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2018-06-01-preview/generated/azure_mgmt_sql/database_schemas.rb | Azure::SQL::Mgmt::V2018_06_01_preview.DatabaseSchemas.list_by_database_with_http_info | def list_by_database_with_http_info(resource_group_name, server_name, database_name, filter:nil, custom_headers:nil)
list_by_database_async(resource_group_name, server_name, database_name, filter:filter, custom_headers:custom_headers).value!
end | ruby | def list_by_database_with_http_info(resource_group_name, server_name, database_name, filter:nil, custom_headers:nil)
list_by_database_async(resource_group_name, server_name, database_name, filter:filter, custom_headers:custom_headers).value!
end | [
"def",
"list_by_database_with_http_info",
"(",
"resource_group_name",
",",
"server_name",
",",
"database_name",
",",
"filter",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"list_by_database_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"database_name",
",",
"filter",
":",
"filter",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | List database schemas
@param resource_group_name [String] The name of the resource group that
contains the resource. You can obtain this value from the Azure Resource
Manager API or the portal.
@param server_name [String] The name of the server.
@param database_name [String] The name of the database.
@param filter [String] An OData filter expression that filters elements in
the collection.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"List",
"database",
"schemas"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2018-06-01-preview/generated/azure_mgmt_sql/database_schemas.rb#L62-L64 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_compute/lib/2018-06-01/generated/azure_mgmt_compute/gallery_images.rb | Azure::Compute::Mgmt::V2018_06_01.GalleryImages.get_with_http_info | def get_with_http_info(resource_group_name, gallery_name, gallery_image_name, custom_headers:nil)
get_async(resource_group_name, gallery_name, gallery_image_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, gallery_name, gallery_image_name, custom_headers:nil)
get_async(resource_group_name, gallery_name, gallery_image_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"gallery_name",
",",
"gallery_image_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"gallery_name",
",",
"gallery_image_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Retrieves information about a gallery Image Definition.
@param resource_group_name [String] The name of the resource group.
@param gallery_name [String] The name of the Shared Image Gallery from which
the Image Definitions are to be retrieved.
@param gallery_image_name [String] The name of the gallery Image Definition
to be retrieved.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Retrieves",
"information",
"about",
"a",
"gallery",
"Image",
"Definition",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_compute/lib/2018-06-01/generated/azure_mgmt_compute/gallery_images.rb#L111-L113 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/images.rb | Azure::Compute::Mgmt::V2018_04_01.Images.get_with_http_info | def get_with_http_info(resource_group_name, image_name, expand:nil, custom_headers:nil)
get_async(resource_group_name, image_name, expand:expand, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, image_name, expand:nil, custom_headers:nil)
get_async(resource_group_name, image_name, expand:expand, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"image_name",
",",
"expand",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"image_name",
",",
"expand",
":",
"expand",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets an image.
@param resource_group_name [String] The name of the resource group.
@param image_name [String] The name of the image.
@param expand [String] The expand expression to apply on the operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"an",
"image",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/images.rb#L179-L181 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/images.rb | Azure::Compute::Mgmt::V2018_04_01.Images.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, image_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, image_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"image_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"image_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Create or update an image.
@param resource_group_name [String] The name of the resource group.
@param image_name [String] The name of the image.
@param parameters [Image] Parameters supplied to the Create Image operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Create",
"or",
"update",
"an",
"image",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/images.rb#L452-L454 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/images.rb | Azure::Compute::Mgmt::V2018_04_01.Images.begin_update_with_http_info | def begin_update_with_http_info(resource_group_name, image_name, parameters, custom_headers:nil)
begin_update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_update_with_http_info(resource_group_name, image_name, parameters, custom_headers:nil)
begin_update_async(resource_group_name, image_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_update_with_http_info",
"(",
"resource_group_name",
",",
"image_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_update_async",
"(",
"resource_group_name",
",",
"image_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Update an image.
@param resource_group_name [String] The name of the resource group.
@param image_name [String] The name of the image.
@param parameters [ImageUpdate] Parameters supplied to the Update Image
operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Update",
"an",
"image",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/images.rb#L567-L569 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-04-01/generated/azure_mgmt_network/express_route_cross_connections.rb | Azure::Network::Mgmt::V2018_04_01.ExpressRouteCrossConnections.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, cross_connection_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, cross_connection_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, cross_connection_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, cross_connection_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"cross_connection_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"cross_connection_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Update the specified ExpressRouteCrossConnection.
@param resource_group_name [String] The name of the resource group.
@param cross_connection_name [String] The name of the
ExpressRouteCrossConnection.
@param parameters [ExpressRouteCrossConnection] Parameters supplied to the
update express route crossConnection operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Update",
"the",
"specified",
"ExpressRouteCrossConnection",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-04-01/generated/azure_mgmt_network/express_route_cross_connections.rb#L567-L569 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-04-01/generated/azure_mgmt_network/express_route_cross_connections.rb | Azure::Network::Mgmt::V2018_04_01.ExpressRouteCrossConnections.begin_list_arp_table_with_http_info | def begin_list_arp_table_with_http_info(resource_group_name, cross_connection_name, peering_name, device_path, custom_headers:nil)
begin_list_arp_table_async(resource_group_name, cross_connection_name, peering_name, device_path, custom_headers:custom_headers).value!
end | ruby | def begin_list_arp_table_with_http_info(resource_group_name, cross_connection_name, peering_name, device_path, custom_headers:nil)
begin_list_arp_table_async(resource_group_name, cross_connection_name, peering_name, device_path, custom_headers:custom_headers).value!
end | [
"def",
"begin_list_arp_table_with_http_info",
"(",
"resource_group_name",
",",
"cross_connection_name",
",",
"peering_name",
",",
"device_path",
",",
"custom_headers",
":",
"nil",
")",
"begin_list_arp_table_async",
"(",
"resource_group_name",
",",
"cross_connection_name",
",",
"peering_name",
",",
"device_path",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the currently advertised ARP table associated with the express route
cross connection in a resource group.
@param resource_group_name [String] The name of the resource group.
@param cross_connection_name [String] The name of the
ExpressRouteCrossConnection.
@param peering_name [String] The name of the peering.
@param device_path [String] The path of the device
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"the",
"currently",
"advertised",
"ARP",
"table",
"associated",
"with",
"the",
"express",
"route",
"cross",
"connection",
"in",
"a",
"resource",
"group",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-04-01/generated/azure_mgmt_network/express_route_cross_connections.rb#L784-L786 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/ddos_protection_plans.rb | Azure::Network::Mgmt::V2019_02_01.DdosProtectionPlans.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, ddos_protection_plan_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, ddos_protection_plan_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, ddos_protection_plan_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, ddos_protection_plan_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"ddos_protection_plan_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"ddos_protection_plan_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates or updates a DDoS protection plan.
@param resource_group_name [String] The name of the resource group.
@param ddos_protection_plan_name [String] The name of the DDoS protection
plan.
@param parameters [DdosProtectionPlan] Parameters supplied to the create or
update operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Creates",
"or",
"updates",
"a",
"DDoS",
"protection",
"plan",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/ddos_protection_plans.rb#L542-L544 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/ddos_protection_plans.rb | Azure::Network::Mgmt::V2019_02_01.DdosProtectionPlans.begin_update_tags_with_http_info | def begin_update_tags_with_http_info(resource_group_name, ddos_protection_plan_name, parameters, custom_headers:nil)
begin_update_tags_async(resource_group_name, ddos_protection_plan_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_update_tags_with_http_info(resource_group_name, ddos_protection_plan_name, parameters, custom_headers:nil)
begin_update_tags_async(resource_group_name, ddos_protection_plan_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_update_tags_with_http_info",
"(",
"resource_group_name",
",",
"ddos_protection_plan_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_update_tags_async",
"(",
"resource_group_name",
",",
"ddos_protection_plan_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Update a DDoS protection plan tags
@param resource_group_name [String] The name of the resource group.
@param ddos_protection_plan_name [String] The name of the DDoS protection
plan.
@param parameters [TagsObject] Parameters supplied to the update DDoS
protection plan resource tags.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Update",
"a",
"DDoS",
"protection",
"plan",
"tags"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/ddos_protection_plans.rb#L661-L663 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/capabilities.rb | Azure::SQL::Mgmt::V2014_04_01.Capabilities.list_by_location | def list_by_location(location_id, custom_headers:nil)
response = list_by_location_async(location_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_by_location(location_id, custom_headers:nil)
response = list_by_location_async(location_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_by_location",
"(",
"location_id",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_by_location_async",
"(",
"location_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets the capabilities available for the specified location.
@param location_id [String] The location id whose capabilities are retrieved.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [LocationCapabilities] operation results. | [
"Gets",
"the",
"capabilities",
"available",
"for",
"the",
"specified",
"location",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/capabilities.rb#L36-L39 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_recovery_services_backup/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_containers.rb | Azure::RecoveryServicesBackup::Mgmt::V2016_06_01.ProtectionContainers.refresh_with_http_info | def refresh_with_http_info(vault_name, resource_group_name, fabric_name, custom_headers:nil)
refresh_async(vault_name, resource_group_name, fabric_name, custom_headers:custom_headers).value!
end | ruby | def refresh_with_http_info(vault_name, resource_group_name, fabric_name, custom_headers:nil)
refresh_async(vault_name, resource_group_name, fabric_name, custom_headers:custom_headers).value!
end | [
"def",
"refresh_with_http_info",
"(",
"vault_name",
",",
"resource_group_name",
",",
"fabric_name",
",",
"custom_headers",
":",
"nil",
")",
"refresh_async",
"(",
"vault_name",
",",
"resource_group_name",
",",
"fabric_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Discovers the containers in the subscription that can be protected in a
Recovery Services vault. This is an asynchronous operation. To learn the
status of the operation, use the GetRefreshOperationResult API.
@param vault_name [String] The name of the Recovery Services vault.
@param resource_group_name [String] The name of the resource group associated
with the Recovery Services vault.
@param fabric_name [String] The fabric name associated with the container.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Discovers",
"the",
"containers",
"in",
"the",
"subscription",
"that",
"can",
"be",
"protected",
"in",
"a",
"Recovery",
"Services",
"vault",
".",
"This",
"is",
"an",
"asynchronous",
"operation",
".",
"To",
"learn",
"the",
"status",
"of",
"the",
"operation",
"use",
"the",
"GetRefreshOperationResult",
"API",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_recovery_services_backup/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protection_containers.rb#L279-L281 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb | Azure::Network::Mgmt::V2018_07_01.VirtualNetworkGatewayConnections.get_shared_key | def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil)
response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_shared_key(resource_group_name, virtual_network_gateway_connection_name, custom_headers:nil)
response = get_shared_key_async(resource_group_name, virtual_network_gateway_connection_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_shared_key",
"(",
"resource_group_name",
",",
"virtual_network_gateway_connection_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_shared_key_async",
"(",
"resource_group_name",
",",
"virtual_network_gateway_connection_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves
information about the specified virtual network gateway connection shared key
through Network resource provider.
@param resource_group_name [String] The name of the resource group.
@param virtual_network_gateway_connection_name [String] The virtual network
gateway connection shared key name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [ConnectionSharedKey] operation results. | [
"The",
"Get",
"VirtualNetworkGatewayConnectionSharedKey",
"operation",
"retrieves",
"information",
"about",
"the",
"specified",
"virtual",
"network",
"gateway",
"connection",
"shared",
"key",
"through",
"Network",
"resource",
"provider",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb#L321-L324 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb | Azure::Network::Mgmt::V2018_07_01.VirtualNetworkGatewayConnections.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"virtual_network_gateway_connection_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"virtual_network_gateway_connection_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates or updates a virtual network gateway connection in the specified
resource group.
@param resource_group_name [String] The name of the resource group.
@param virtual_network_gateway_connection_name [String] The name of the
virtual network gateway connection.
@param parameters [VirtualNetworkGatewayConnection] Parameters supplied to
the create or update virtual network gateway connection operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Creates",
"or",
"updates",
"a",
"virtual",
"network",
"gateway",
"connection",
"in",
"the",
"specified",
"resource",
"group",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb#L586-L588 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb | Azure::Network::Mgmt::V2018_07_01.VirtualNetworkGatewayConnections.begin_update_tags_with_http_info | def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_update_tags_with_http_info(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:nil)
begin_update_tags_async(resource_group_name, virtual_network_gateway_connection_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_update_tags_with_http_info",
"(",
"resource_group_name",
",",
"virtual_network_gateway_connection_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_update_tags_async",
"(",
"resource_group_name",
",",
"virtual_network_gateway_connection_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Updates a virtual network gateway connection tags.
@param resource_group_name [String] The name of the resource group.
@param virtual_network_gateway_connection_name [String] The name of the
virtual network gateway connection.
@param parameters [TagsObject] Parameters supplied to update virtual network
gateway connection tags.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Updates",
"a",
"virtual",
"network",
"gateway",
"connection",
"tags",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/virtual_network_gateway_connections.rb#L790-L792 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/linked_services.rb | Azure::OperationalInsights::Mgmt::V2015_11_01_preview.LinkedServices.delete_with_http_info | def delete_with_http_info(resource_group_name, workspace_name, linked_service_name, custom_headers:nil)
delete_async(resource_group_name, workspace_name, linked_service_name, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, workspace_name, linked_service_name, custom_headers:nil)
delete_async(resource_group_name, workspace_name, linked_service_name, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"workspace_name",
",",
"linked_service_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"workspace_name",
",",
"linked_service_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes a linked service instance.
@param resource_group_name [String] The name of the resource group to get.
The name is case insensitive.
@param workspace_name [String] Name of the Log Analytics Workspace that
contains the linkedServices resource
@param linked_service_name [String] Name of the linked service.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Deletes",
"a",
"linked",
"service",
"instance",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/linked_services.rb#L183-L185 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/linked_services.rb | Azure::OperationalInsights::Mgmt::V2015_11_01_preview.LinkedServices.get_with_http_info | def get_with_http_info(resource_group_name, workspace_name, linked_service_name, custom_headers:nil)
get_async(resource_group_name, workspace_name, linked_service_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, workspace_name, linked_service_name, custom_headers:nil)
get_async(resource_group_name, workspace_name, linked_service_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"workspace_name",
",",
"linked_service_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"workspace_name",
",",
"linked_service_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets a linked service instance.
@param resource_group_name [String] The name of the resource group to get.
The name is case insensitive.
@param workspace_name [String] Name of the Log Analytics Workspace that
contains the linkedServices resource
@param linked_service_name [String] Name of the linked service.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"a",
"linked",
"service",
"instance",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/linked_services.rb#L278-L280 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/linked_services.rb | Azure::OperationalInsights::Mgmt::V2015_11_01_preview.LinkedServices.list_by_workspace | def list_by_workspace(resource_group_name, workspace_name, custom_headers:nil)
response = list_by_workspace_async(resource_group_name, workspace_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_by_workspace(resource_group_name, workspace_name, custom_headers:nil)
response = list_by_workspace_async(resource_group_name, workspace_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_by_workspace",
"(",
"resource_group_name",
",",
"workspace_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_by_workspace_async",
"(",
"resource_group_name",
",",
"workspace_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets the linked services instances in a workspace.
@param resource_group_name [String] The name of the resource group to get.
The name is case insensitive.
@param workspace_name [String] Name of the Log Analytics Workspace that
contains the linked services.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [LinkedServiceListResult] operation results. | [
"Gets",
"the",
"linked",
"services",
"instances",
"in",
"a",
"workspace",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/linked_services.rb#L364-L367 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/node_reports.rb | Azure::Automation::Mgmt::V2015_10_31.NodeReports.get_with_http_info | def get_with_http_info(resource_group_name, automation_account_name, node_id, report_id, custom_headers:nil)
get_async(resource_group_name, automation_account_name, node_id, report_id, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, automation_account_name, node_id, report_id, custom_headers:nil)
get_async(resource_group_name, automation_account_name, node_id, report_id, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"node_id",
",",
"report_id",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"node_id",
",",
"report_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Retrieve the Dsc node report data by node id and report id.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param node_id [String] The Dsc node id.
@param report_id [String] The report id.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Retrieve",
"the",
"Dsc",
"node",
"report",
"data",
"by",
"node",
"id",
"and",
"report",
"id",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/node_reports.rb#L155-L157 | 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_network_mappings.rb | Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10.ReplicationNetworkMappings.get_with_http_info | def get_with_http_info(fabric_name, network_name, network_mapping_name, custom_headers:nil)
get_async(fabric_name, network_name, network_mapping_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(fabric_name, network_name, network_mapping_name, custom_headers:nil)
get_async(fabric_name, network_name, network_mapping_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"fabric_name",
",",
"network_name",
",",
"network_mapping_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"fabric_name",
",",
"network_name",
",",
"network_mapping_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets network mapping by name.
Gets the details of an ASR network mapping
@param fabric_name [String] Primary fabric name.
@param network_name [String] Primary network name.
@param network_mapping_name [String] Network mapping name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"network",
"mapping",
"by",
"name",
"."
] | 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_network_mappings.rb#L247-L249 | 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_network_mappings.rb | Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10.ReplicationNetworkMappings.begin_create_with_http_info | def begin_create_with_http_info(fabric_name, network_name, network_mapping_name, input, custom_headers:nil)
begin_create_async(fabric_name, network_name, network_mapping_name, input, custom_headers:custom_headers).value!
end | ruby | def begin_create_with_http_info(fabric_name, network_name, network_mapping_name, input, custom_headers:nil)
begin_create_async(fabric_name, network_name, network_mapping_name, input, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_with_http_info",
"(",
"fabric_name",
",",
"network_name",
",",
"network_mapping_name",
",",
"input",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_async",
"(",
"fabric_name",
",",
"network_name",
",",
"network_mapping_name",
",",
"input",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates network mapping.
The operation to create an ASR network mapping.
@param fabric_name [String] Primary fabric name.
@param network_name [String] Primary network name.
@param network_mapping_name [String] Network mapping name.
@param input [CreateNetworkMappingInput] Create network mapping input.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Creates",
"network",
"mapping",
"."
] | 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_network_mappings.rb#L491-L493 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_policy/lib/2018-05-01/generated/azure_mgmt_policy/policy_definitions.rb | Azure::Policy::Mgmt::V2018_05_01.PolicyDefinitions.get_built_in | def get_built_in(policy_definition_name, custom_headers:nil)
response = get_built_in_async(policy_definition_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_built_in(policy_definition_name, custom_headers:nil)
response = get_built_in_async(policy_definition_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_built_in",
"(",
"policy_definition_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_built_in_async",
"(",
"policy_definition_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Retrieves a built-in policy definition.
This operation retrieves the built-in policy definition with the given name.
@param policy_definition_name [String] The name of the built-in policy
definition to get.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [PolicyDefinition] operation results. | [
"Retrieves",
"a",
"built",
"-",
"in",
"policy",
"definition",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_policy/lib/2018-05-01/generated/azure_mgmt_policy/policy_definitions.rb#L337-L340 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_policy/lib/2018-05-01/generated/azure_mgmt_policy/policy_definitions.rb | Azure::Policy::Mgmt::V2018_05_01.PolicyDefinitions.delete_at_management_group | def delete_at_management_group(policy_definition_name, management_group_id, custom_headers:nil)
response = delete_at_management_group_async(policy_definition_name, management_group_id, custom_headers:custom_headers).value!
nil
end | ruby | def delete_at_management_group(policy_definition_name, management_group_id, custom_headers:nil)
response = delete_at_management_group_async(policy_definition_name, management_group_id, custom_headers:custom_headers).value!
nil
end | [
"def",
"delete_at_management_group",
"(",
"policy_definition_name",
",",
"management_group_id",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_at_management_group_async",
"(",
"policy_definition_name",
",",
"management_group_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Deletes a policy definition in a management group.
This operation deletes the policy definition in the given management group
with the given name.
@param policy_definition_name [String] The name of the policy definition to
delete.
@param management_group_id [String] The ID of the management group.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Deletes",
"a",
"policy",
"definition",
"in",
"a",
"management",
"group",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_policy/lib/2018-05-01/generated/azure_mgmt_policy/policy_definitions.rb#L548-L551 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_cdn/lib/2015-06-01/generated/azure_mgmt_cdn/origins.rb | Azure::CDN::Mgmt::V2015_06_01.Origins.delete_if_exists | def delete_if_exists(origin_name, endpoint_name, profile_name, resource_group_name, custom_headers:nil)
response = delete_if_exists_async(origin_name, endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def delete_if_exists(origin_name, endpoint_name, profile_name, resource_group_name, custom_headers:nil)
response = delete_if_exists_async(origin_name, endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"delete_if_exists",
"(",
"origin_name",
",",
"endpoint_name",
",",
"profile_name",
",",
"resource_group_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_if_exists_async",
"(",
"origin_name",
",",
"endpoint_name",
",",
"profile_name",
",",
"resource_group_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Deletes an existing CDN origin within an endpoint.
@param origin_name [String] Name of the origin. Must be unique within
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_group_name [String] Name of the resource group within the
Azure subscription.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Origin] operation results. | [
"Deletes",
"an",
"existing",
"CDN",
"origin",
"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/origins.rb#L361-L364 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2018-06-01-preview/generated/azure_mgmt_sql/managed_database_schemas.rb | Azure::SQL::Mgmt::V2018_06_01_preview.ManagedDatabaseSchemas.list_by_database_as_lazy | def list_by_database_as_lazy(resource_group_name, managed_instance_name, database_name, filter:nil, custom_headers:nil)
response = list_by_database_async(resource_group_name, managed_instance_name, database_name, filter:filter, custom_headers:custom_headers).value!
unless response.nil?
page = response.body
page.next_method = Proc.new do |next_page_link|
list_by_database_next_async(next_page_link, custom_headers:custom_headers)
end
page
end
end | ruby | def list_by_database_as_lazy(resource_group_name, managed_instance_name, database_name, filter:nil, custom_headers:nil)
response = list_by_database_async(resource_group_name, managed_instance_name, database_name, filter:filter, custom_headers:custom_headers).value!
unless response.nil?
page = response.body
page.next_method = Proc.new do |next_page_link|
list_by_database_next_async(next_page_link, custom_headers:custom_headers)
end
page
end
end | [
"def",
"list_by_database_as_lazy",
"(",
"resource_group_name",
",",
"managed_instance_name",
",",
"database_name",
",",
"filter",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_by_database_async",
"(",
"resource_group_name",
",",
"managed_instance_name",
",",
"database_name",
",",
"filter",
":",
"filter",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"unless",
"response",
".",
"nil?",
"page",
"=",
"response",
".",
"body",
"page",
".",
"next_method",
"=",
"Proc",
".",
"new",
"do",
"|",
"next_page_link",
"|",
"list_by_database_next_async",
"(",
"next_page_link",
",",
"custom_headers",
":custom_headers",
")",
"end",
"page",
"end",
"end"
] | List managed database schemas
@param resource_group_name [String] The name of the resource group that
contains the resource. You can obtain this value from the Azure Resource
Manager API or the portal.
@param managed_instance_name [String] The name of the managed instance.
@param database_name [String] The name of the database.
@param filter [String] An OData filter expression that filters elements in
the collection.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [DatabaseSchemaListResult] which provide lazy access to pages of the
response. | [
"List",
"managed",
"database",
"schemas"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2018-06-01-preview/generated/azure_mgmt_sql/managed_database_schemas.rb#L345-L354 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/list_management_term_lists.rb | Azure::CognitiveServices::ContentModerator::V1_0.ListManagementTermLists.get_details | def get_details(list_id, custom_headers:nil)
response = get_details_async(list_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_details(list_id, custom_headers:nil)
response = get_details_async(list_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_details",
"(",
"list_id",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_details_async",
"(",
"list_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Returns list Id details of the term list with list Id equal to list Id
passed.
@param list_id [String] List Id of the image list.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [TermList] operation results. | [
"Returns",
"list",
"Id",
"details",
"of",
"the",
"term",
"list",
"with",
"list",
"Id",
"equal",
"to",
"list",
"Id",
"passed",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/list_management_term_lists.rb#L44-L47 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/list_management_term_lists.rb | Azure::CognitiveServices::ContentModerator::V1_0.ListManagementTermLists.delete | def delete(list_id, custom_headers:nil)
response = delete_async(list_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def delete(list_id, custom_headers:nil)
response = delete_async(list_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"delete",
"(",
"list_id",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_async",
"(",
"list_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Deletes term list with the list Id equal to list Id passed.
@param list_id [String] List Id of the image list.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [String] operation results. | [
"Deletes",
"term",
"list",
"with",
"the",
"list",
"Id",
"equal",
"to",
"list",
"Id",
"passed",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/list_management_term_lists.rb#L133-L136 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/list_management_term_lists.rb | Azure::CognitiveServices::ContentModerator::V1_0.ListManagementTermLists.create | def create(content_type, body, custom_headers:nil)
response = create_async(content_type, body, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def create(content_type, body, custom_headers:nil)
response = create_async(content_type, body, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"create",
"(",
"content_type",
",",
"body",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"create_async",
"(",
"content_type",
",",
"body",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Creates a Term List
@param content_type [String] The content type.
@param body [Body] Schema of the body.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [TermList] operation results. | [
"Creates",
"a",
"Term",
"List"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/list_management_term_lists.rb#L331-L334 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/list_management_term_lists.rb | Azure::CognitiveServices::ContentModerator::V1_0.ListManagementTermLists.get_all_term_lists | def get_all_term_lists(custom_headers:nil)
response = get_all_term_lists_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_all_term_lists(custom_headers:nil)
response = get_all_term_lists_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_all_term_lists",
"(",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_all_term_lists_async",
"(",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | gets all the Term Lists
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array] operation results. | [
"gets",
"all",
"the",
"Term",
"Lists"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/list_management_term_lists.rb#L427-L430 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/list_management_term_lists.rb | Azure::CognitiveServices::ContentModerator::V1_0.ListManagementTermLists.refresh_index_method | def refresh_index_method(list_id, language, custom_headers:nil)
response = refresh_index_method_async(list_id, language, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def refresh_index_method(list_id, language, custom_headers:nil)
response = refresh_index_method_async(list_id, language, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"refresh_index_method",
"(",
"list_id",
",",
"language",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"refresh_index_method_async",
"(",
"list_id",
",",
"language",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Refreshes the index of the list with list Id equal to list ID passed.
@param list_id [String] List Id of the image list.
@param language [String] Language of the terms.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [RefreshIndex] operation results. | [
"Refreshes",
"the",
"index",
"of",
"the",
"list",
"with",
"list",
"Id",
"equal",
"to",
"list",
"ID",
"passed",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/list_management_term_lists.rb#L527-L530 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/routes.rb | Azure::Network::Mgmt::V2018_07_01.Routes.get_with_http_info | def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil)
get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, route_table_name, route_name, custom_headers:nil)
get_async(resource_group_name, route_table_name, route_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"route_table_name",
",",
"route_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"route_table_name",
",",
"route_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the specified route from a route table.
@param resource_group_name [String] The name of the resource group.
@param route_table_name [String] The name of the route table.
@param route_name [String] The name of the route.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"the",
"specified",
"route",
"from",
"a",
"route",
"table",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/routes.rb#L91-L93 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/routes.rb | Azure::Network::Mgmt::V2018_07_01.Routes.list | def list(resource_group_name, route_table_name, custom_headers:nil)
first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers:custom_headers)
first_page.get_all_items
end | ruby | def list(resource_group_name, route_table_name, custom_headers:nil)
first_page = list_as_lazy(resource_group_name, route_table_name, custom_headers:custom_headers)
first_page.get_all_items
end | [
"def",
"list",
"(",
"resource_group_name",
",",
"route_table_name",
",",
"custom_headers",
":",
"nil",
")",
"first_page",
"=",
"list_as_lazy",
"(",
"resource_group_name",
",",
"route_table_name",
",",
"custom_headers",
":custom_headers",
")",
"first_page",
".",
"get_all_items",
"end"
] | Gets all routes in a route table.
@param resource_group_name [String] The name of the resource group.
@param route_table_name [String] The name of the route table.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array<Route>] operation results. | [
"Gets",
"all",
"routes",
"in",
"a",
"route",
"table",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/routes.rb#L218-L221 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_monitor/lib/2018-11-27-preview/generated/azure_mgmt_monitor/vminsights.rb | Azure::Monitor::Mgmt::V2018_11_27_preview.VMInsights.get_onboarding_status | def get_onboarding_status(resource_uri, custom_headers:nil)
response = get_onboarding_status_async(resource_uri, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_onboarding_status(resource_uri, custom_headers:nil)
response = get_onboarding_status_async(resource_uri, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_onboarding_status",
"(",
"resource_uri",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_onboarding_status_async",
"(",
"resource_uri",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Retrieves the VM Insights onboarding status for the specified resource or
resource scope.
@param resource_uri [String] The fully qualified Azure Resource manager
identifier of the resource, or scope, whose status to retrieve.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [VMInsightsOnboardingStatus] operation results. | [
"Retrieves",
"the",
"VM",
"Insights",
"onboarding",
"status",
"for",
"the",
"specified",
"resource",
"or",
"resource",
"scope",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_monitor/lib/2018-11-27-preview/generated/azure_mgmt_monitor/vminsights.rb#L35-L38 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/variable_operations.rb | Azure::Automation::Mgmt::V2015_10_31.VariableOperations.create_or_update_with_http_info | def create_or_update_with_http_info(resource_group_name, automation_account_name, variable_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, automation_account_name, variable_name, parameters, custom_headers:custom_headers).value!
end | ruby | def create_or_update_with_http_info(resource_group_name, automation_account_name, variable_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, automation_account_name, variable_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"variable_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"create_or_update_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"variable_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Create a variable.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param variable_name [String] The variable name.
@param parameters [VariableCreateOrUpdateParameters] The parameters supplied
to the create or update variable operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Create",
"a",
"variable",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/variable_operations.rb#L55-L57 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/variable_operations.rb | Azure::Automation::Mgmt::V2015_10_31.VariableOperations.update_with_http_info | def update_with_http_info(resource_group_name, automation_account_name, variable_name, parameters, custom_headers:nil)
update_async(resource_group_name, automation_account_name, variable_name, parameters, custom_headers:custom_headers).value!
end | ruby | def update_with_http_info(resource_group_name, automation_account_name, variable_name, parameters, custom_headers:nil)
update_async(resource_group_name, automation_account_name, variable_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"update_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"variable_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"update_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"variable_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Update a variable.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param variable_name [String] The variable name.
@param parameters [VariableUpdateParameters] The parameters supplied to the
update variable operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Update",
"a",
"variable",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/variable_operations.rb#L178-L180 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/variable_operations.rb | Azure::Automation::Mgmt::V2015_10_31.VariableOperations.get_with_http_info | def get_with_http_info(resource_group_name, automation_account_name, variable_name, custom_headers:nil)
get_async(resource_group_name, automation_account_name, variable_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, automation_account_name, variable_name, custom_headers:nil)
get_async(resource_group_name, automation_account_name, variable_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"variable_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"variable_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Retrieve the variable identified by variable name.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param variable_name [String] The name of variable.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Retrieve",
"the",
"variable",
"identified",
"by",
"variable",
"name",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/variable_operations.rb#L375-L377 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/public_ipprefixes.rb | Azure::Network::Mgmt::V2018_07_01.PublicIPPrefixes.get_with_http_info | def get_with_http_info(resource_group_name, public_ip_prefix_name, expand:nil, custom_headers:nil)
get_async(resource_group_name, public_ip_prefix_name, expand:expand, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, public_ip_prefix_name, expand:nil, custom_headers:nil)
get_async(resource_group_name, public_ip_prefix_name, expand:expand, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"public_ip_prefix_name",
",",
"expand",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"public_ip_prefix_name",
",",
"expand",
":",
"expand",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the specified public IP prefix in a specified resource group.
@param resource_group_name [String] The name of the resource group.
@param public_ip_prefix_name [String] The name of the Public IP Prefix.
@param expand [String] Expands referenced resources.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"the",
"specified",
"public",
"IP",
"prefix",
"in",
"a",
"specified",
"resource",
"group",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/public_ipprefixes.rb#L89-L91 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/public_ipprefixes.rb | Azure::Network::Mgmt::V2018_07_01.PublicIPPrefixes.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, public_ip_prefix_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, public_ip_prefix_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, public_ip_prefix_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, public_ip_prefix_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"public_ip_prefix_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"public_ip_prefix_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates or updates a static or dynamic public IP prefix.
@param resource_group_name [String] The name of the resource group.
@param public_ip_prefix_name [String] The name of the public IP prefix.
@param parameters [PublicIPPrefix] Parameters supplied to the create or
update public IP prefix operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Creates",
"or",
"updates",
"a",
"static",
"or",
"dynamic",
"public",
"IP",
"prefix",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/public_ipprefixes.rb#L531-L533 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/public_ipprefixes.rb | Azure::Network::Mgmt::V2018_07_01.PublicIPPrefixes.begin_update_tags_with_http_info | def begin_update_tags_with_http_info(resource_group_name, public_ip_prefix_name, parameters, custom_headers:nil)
begin_update_tags_async(resource_group_name, public_ip_prefix_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_update_tags_with_http_info(resource_group_name, public_ip_prefix_name, parameters, custom_headers:nil)
begin_update_tags_async(resource_group_name, public_ip_prefix_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_update_tags_with_http_info",
"(",
"resource_group_name",
",",
"public_ip_prefix_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_update_tags_async",
"(",
"resource_group_name",
",",
"public_ip_prefix_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Updates public IP prefix tags.
@param resource_group_name [String] The name of the resource group.
@param public_ip_prefix_name [String] The name of the public IP prefix.
@param parameters [TagsObject] Parameters supplied to update public IP prefix
tags.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Updates",
"public",
"IP",
"prefix",
"tags",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/public_ipprefixes.rb#L647-L649 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/load_balancer_probes.rb | Azure::Network::Mgmt::V2018_07_01.LoadBalancerProbes.get_with_http_info | def get_with_http_info(resource_group_name, load_balancer_name, probe_name, custom_headers:nil)
get_async(resource_group_name, load_balancer_name, probe_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, load_balancer_name, probe_name, custom_headers:nil)
get_async(resource_group_name, load_balancer_name, probe_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"load_balancer_name",
",",
"probe_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"load_balancer_name",
",",
"probe_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets load balancer probe.
@param resource_group_name [String] The name of the resource group.
@param load_balancer_name [String] The name of the load balancer.
@param probe_name [String] The name of the probe.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"load",
"balancer",
"probe",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/load_balancer_probes.rb#L143-L145 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb | Azure::Network::Mgmt::V2018_07_01.ExpressRouteCircuitPeerings.begin_delete_with_http_info | def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil)
begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value!
end | ruby | def begin_delete_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil)
begin_delete_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value!
end | [
"def",
"begin_delete_with_http_info",
"(",
"resource_group_name",
",",
"circuit_name",
",",
"peering_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_delete_async",
"(",
"resource_group_name",
",",
"circuit_name",
",",
"peering_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes the specified peering from 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 peering_name [String] The name of the peering.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Deletes",
"the",
"specified",
"peering",
"from",
"the",
"specified",
"express",
"route",
"circuit",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/express_route_circuit_peerings.rb#L326-L328 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_labservices/lib/2018-10-15/generated/azure_mgmt_labservices/gallery_images.rb | Azure::Labservices::Mgmt::V2018_10_15.GalleryImages.delete_with_http_info | def delete_with_http_info(resource_group_name, lab_account_name, gallery_image_name, custom_headers:nil)
delete_async(resource_group_name, lab_account_name, gallery_image_name, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, lab_account_name, gallery_image_name, custom_headers:nil)
delete_async(resource_group_name, lab_account_name, gallery_image_name, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"lab_account_name",
",",
"gallery_image_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"lab_account_name",
",",
"gallery_image_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Delete gallery image.
@param resource_group_name [String] The name of the resource group.
@param lab_account_name [String] The name of the lab Account.
@param gallery_image_name [String] The name of the gallery Image.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Delete",
"gallery",
"image",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_labservices/lib/2018-10-15/generated/azure_mgmt_labservices/gallery_images.rb#L385-L387 | train |
Azure/azure-sdk-for-ruby | runtime/ms_rest/lib/ms_rest/http_operation_request.rb | MsRest.HttpOperationRequest.build_path | def build_path
template = path_template.dup
path_params.each{ |key, value| template["{#{key}}"] = ERB::Util.url_encode(value) if template.include?("{#{key}}") } unless path_params.nil?
skip_encoding_path_params.each{ |key, value| template["{#{key}}"] = value } unless skip_encoding_path_params.nil?
path = URI.parse(template.gsub(/([^:]|\A)\/\//, '\1/'))
unless skip_encoding_query_params.nil?
path.query = [(path.query || ""), skip_encoding_query_params.reject{|_, v| v.nil?}.map{|k,v| "#{k}=#{v}"}].join('&')
end
path
end | ruby | def build_path
template = path_template.dup
path_params.each{ |key, value| template["{#{key}}"] = ERB::Util.url_encode(value) if template.include?("{#{key}}") } unless path_params.nil?
skip_encoding_path_params.each{ |key, value| template["{#{key}}"] = value } unless skip_encoding_path_params.nil?
path = URI.parse(template.gsub(/([^:]|\A)\/\//, '\1/'))
unless skip_encoding_query_params.nil?
path.query = [(path.query || ""), skip_encoding_query_params.reject{|_, v| v.nil?}.map{|k,v| "#{k}=#{v}"}].join('&')
end
path
end | [
"def",
"build_path",
"template",
"=",
"path_template",
".",
"dup",
"path_params",
".",
"each",
"{",
"|",
"key",
",",
"value",
"|",
"template",
"[",
"\"{#{key}}\"",
"]",
"=",
"ERB",
"::",
"Util",
".",
"url_encode",
"(",
"value",
")",
"if",
"template",
".",
"include?",
"(",
"\"{#{key}}\"",
")",
"}",
"unless",
"path_params",
".",
"nil?",
"skip_encoding_path_params",
".",
"each",
"{",
"|",
"key",
",",
"value",
"|",
"template",
"[",
"\"{#{key}}\"",
"]",
"=",
"value",
"}",
"unless",
"skip_encoding_path_params",
".",
"nil?",
"path",
"=",
"URI",
".",
"parse",
"(",
"template",
".",
"gsub",
"(",
"/",
"\\A",
"\\/",
"\\/",
"/",
",",
"'\\1/'",
")",
")",
"unless",
"skip_encoding_query_params",
".",
"nil?",
"path",
".",
"query",
"=",
"[",
"(",
"path",
".",
"query",
"||",
"\"\"",
")",
",",
"skip_encoding_query_params",
".",
"reject",
"{",
"|",
"_",
",",
"v",
"|",
"v",
".",
"nil?",
"}",
".",
"map",
"{",
"|",
"k",
",",
"v",
"|",
"\"#{k}=#{v}\"",
"}",
"]",
".",
"join",
"(",
"'&'",
")",
"end",
"path",
"end"
] | Creates a path from the path template and the path_params and skip_encoding_path_params
@return [URI] body the HTTP response body. | [
"Creates",
"a",
"path",
"from",
"the",
"path",
"template",
"and",
"the",
"path_params",
"and",
"skip_encoding_path_params"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/runtime/ms_rest/lib/ms_rest/http_operation_request.rb#L98-L107 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb | Azure::Web::Mgmt::V2016_03_01.WebSiteManagementClient.get_publishing_user | def get_publishing_user(custom_headers:nil)
response = get_publishing_user_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_publishing_user(custom_headers:nil)
response = get_publishing_user_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_publishing_user",
"(",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_publishing_user_async",
"(",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets publishing user
Gets publishing user
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [User] operation results. | [
"Gets",
"publishing",
"user"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb#L156-L159 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb | Azure::Web::Mgmt::V2016_03_01.WebSiteManagementClient.update_publishing_user | def update_publishing_user(user_details, custom_headers:nil)
response = update_publishing_user_async(user_details, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def update_publishing_user(user_details, custom_headers:nil)
response = update_publishing_user_async(user_details, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"update_publishing_user",
"(",
"user_details",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"update_publishing_user_async",
"(",
"user_details",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Updates publishing user
Updates publishing user
@param user_details [User] Details of publishing user
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [User] operation results. | [
"Updates",
"publishing",
"user"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb#L245-L248 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb | Azure::Web::Mgmt::V2016_03_01.WebSiteManagementClient.get_source_control | def get_source_control(source_control_type, custom_headers:nil)
response = get_source_control_async(source_control_type, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_source_control(source_control_type, custom_headers:nil)
response = get_source_control_async(source_control_type, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_source_control",
"(",
"source_control_type",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_source_control_async",
"(",
"source_control_type",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets source control token
Gets source control token
@param source_control_type [String] Type of source control
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [SourceControl] operation results. | [
"Gets",
"source",
"control",
"token"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb#L432-L435 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb | Azure::Web::Mgmt::V2016_03_01.WebSiteManagementClient.update_source_control | def update_source_control(source_control_type, request_message, custom_headers:nil)
response = update_source_control_async(source_control_type, request_message, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def update_source_control(source_control_type, request_message, custom_headers:nil)
response = update_source_control_async(source_control_type, request_message, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"update_source_control",
"(",
"source_control_type",
",",
"request_message",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"update_source_control_async",
"(",
"source_control_type",
",",
"request_message",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Updates source control token
Updates source control token
@param source_control_type [String] Type of source control
@param request_message [SourceControl] Source control token information
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [SourceControl] operation results. | [
"Updates",
"source",
"control",
"token"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb#L526-L529 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb | Azure::Web::Mgmt::V2016_03_01.WebSiteManagementClient.get_subscription_deployment_locations | def get_subscription_deployment_locations(custom_headers:nil)
response = get_subscription_deployment_locations_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_subscription_deployment_locations(custom_headers:nil)
response = get_subscription_deployment_locations_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_subscription_deployment_locations",
"(",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_subscription_deployment_locations_async",
"(",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets list of available geo regions plus ministamps
Gets list of available geo regions plus ministamps
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [DeploymentLocations] operation results. | [
"Gets",
"list",
"of",
"available",
"geo",
"regions",
"plus",
"ministamps"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb#L751-L754 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb | Azure::Web::Mgmt::V2016_03_01.WebSiteManagementClient.list_skus | def list_skus(custom_headers:nil)
response = list_skus_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_skus(custom_headers:nil)
response = list_skus_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_skus",
"(",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_skus_async",
"(",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | List all SKUs.
List all SKUs.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [SkuInfos] operation results. | [
"List",
"all",
"SKUs",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb#L1137-L1140 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb | Azure::Web::Mgmt::V2016_03_01.WebSiteManagementClient.verify_hosting_environment_vnet | def verify_hosting_environment_vnet(parameters, custom_headers:nil)
response = verify_hosting_environment_vnet_async(parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def verify_hosting_environment_vnet(parameters, custom_headers:nil)
response = verify_hosting_environment_vnet_async(parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"verify_hosting_environment_vnet",
"(",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"verify_hosting_environment_vnet_async",
"(",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Verifies if this VNET is compatible with an App Service Environment by
analyzing the Network Security Group rules.
Verifies if this VNET is compatible with an App Service Environment by
analyzing the Network Security Group rules.
@param parameters [VnetParameters] VNET information
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [VnetValidationFailureDetails] operation results. | [
"Verifies",
"if",
"this",
"VNET",
"is",
"compatible",
"with",
"an",
"App",
"Service",
"Environment",
"by",
"analyzing",
"the",
"Network",
"Security",
"Group",
"rules",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb#L1230-L1233 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb | Azure::Web::Mgmt::V2016_03_01.WebSiteManagementClient.move | def move(resource_group_name, move_resource_envelope, custom_headers:nil)
response = move_async(resource_group_name, move_resource_envelope, custom_headers:custom_headers).value!
nil
end | ruby | def move(resource_group_name, move_resource_envelope, custom_headers:nil)
response = move_async(resource_group_name, move_resource_envelope, custom_headers:custom_headers).value!
nil
end | [
"def",
"move",
"(",
"resource_group_name",
",",
"move_resource_envelope",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"move_async",
"(",
"resource_group_name",
",",
"move_resource_envelope",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Move resources between resource groups.
Move resources between resource groups.
@param resource_group_name [String] Name of the resource group to which the
resource belongs.
@param move_resource_envelope [CsmMoveResourceEnvelope] Object that
represents the resource to move.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Move",
"resources",
"between",
"resource",
"groups",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb#L1337-L1340 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.