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_relay/lib/2016-07-01/generated/azure_mgmt_relay/hybrid_connections.rb | Azure::Relay::Mgmt::V2016_07_01.HybridConnections.delete_with_http_info | def delete_with_http_info(resource_group_name, namespace_name, hybrid_connection_name, custom_headers:nil)
delete_async(resource_group_name, namespace_name, hybrid_connection_name, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, namespace_name, hybrid_connection_name, custom_headers:nil)
delete_async(resource_group_name, namespace_name, hybrid_connection_name, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"hybrid_connection_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"hybrid_connection_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes a HybridConnection .
@param resource_group_name [String] Name of the Resource group within the
Azure subscription.
@param namespace_name [String] The Namespace Name
@param hybrid_connection_name [String] The hybrid connection name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Deletes",
"a",
"HybridConnection",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_relay/lib/2016-07-01/generated/azure_mgmt_relay/hybrid_connections.rb#L271-L273 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_relay/lib/2016-07-01/generated/azure_mgmt_relay/hybrid_connections.rb | Azure::Relay::Mgmt::V2016_07_01.HybridConnections.get_with_http_info | def get_with_http_info(resource_group_name, namespace_name, hybrid_connection_name, custom_headers:nil)
get_async(resource_group_name, namespace_name, hybrid_connection_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, namespace_name, hybrid_connection_name, custom_headers:nil)
get_async(resource_group_name, namespace_name, hybrid_connection_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"hybrid_connection_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"hybrid_connection_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Returns the description for the specified HybridConnection.
@param resource_group_name [String] Name of the Resource group within the
Azure subscription.
@param namespace_name [String] The Namespace Name
@param hybrid_connection_name [String] The hybrid connection name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Returns",
"the",
"description",
"for",
"the",
"specified",
"HybridConnection",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_relay/lib/2016-07-01/generated/azure_mgmt_relay/hybrid_connections.rb#L366-L368 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_relay/lib/2016-07-01/generated/azure_mgmt_relay/hybrid_connections.rb | Azure::Relay::Mgmt::V2016_07_01.HybridConnections.delete_authorization_rule_with_http_info | def delete_authorization_rule_with_http_info(resource_group_name, namespace_name, hybrid_connection_name, authorization_rule_name, custom_headers:nil)
delete_authorization_rule_async(resource_group_name, namespace_name, hybrid_connection_name, authorization_rule_name, custom_headers:custom_headers).value!
end | ruby | def delete_authorization_rule_with_http_info(resource_group_name, namespace_name, hybrid_connection_name, authorization_rule_name, custom_headers:nil)
delete_authorization_rule_async(resource_group_name, namespace_name, hybrid_connection_name, authorization_rule_name, custom_headers:custom_headers).value!
end | [
"def",
"delete_authorization_rule_with_http_info",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"hybrid_connection_name",
",",
"authorization_rule_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_authorization_rule_async",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"hybrid_connection_name",
",",
"authorization_rule_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes a HybridConnection authorization rule
@param resource_group_name [String] Name of the Resource group within the
Azure subscription.
@param namespace_name [String] The Namespace Name
@param hybrid_connection_name [String] The hybrid connection name.
@param authorization_rule_name [String] The authorizationRule name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Deletes",
"a",
"HybridConnection",
"authorization",
"rule"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_relay/lib/2016-07-01/generated/azure_mgmt_relay/hybrid_connections.rb#L804-L806 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_monitor/lib/2017-04-01/generated/azure_mgmt_monitor/activity_log_alerts.rb | Azure::Monitor::Mgmt::V2017_04_01.ActivityLogAlerts.delete | def delete(resource_group_name, activity_log_alert_name, custom_headers:nil)
response = delete_async(resource_group_name, activity_log_alert_name, custom_headers:custom_headers).value!
nil
end | ruby | def delete(resource_group_name, activity_log_alert_name, custom_headers:nil)
response = delete_async(resource_group_name, activity_log_alert_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"delete",
"(",
"resource_group_name",
",",
"activity_log_alert_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_async",
"(",
"resource_group_name",
",",
"activity_log_alert_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Delete an activity log alert.
@param resource_group_name [String] The name of the resource group.
@param activity_log_alert_name [String] The name of the activity log alert.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Delete",
"an",
"activity",
"log",
"alert",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_monitor/lib/2017-04-01/generated/azure_mgmt_monitor/activity_log_alerts.rb#L241-L244 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_monitor/lib/2017-04-01/generated/azure_mgmt_monitor/activity_log_alerts.rb | Azure::Monitor::Mgmt::V2017_04_01.ActivityLogAlerts.list_by_subscription_id | def list_by_subscription_id(custom_headers:nil)
response = list_by_subscription_id_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_by_subscription_id(custom_headers:nil)
response = list_by_subscription_id_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_by_subscription_id",
"(",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_by_subscription_id_async",
"(",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Get a list of all activity log alerts in a subscription.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [ActivityLogAlertList] operation results. | [
"Get",
"a",
"list",
"of",
"all",
"activity",
"log",
"alerts",
"in",
"a",
"subscription",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_monitor/lib/2017-04-01/generated/azure_mgmt_monitor/activity_log_alerts.rb#L430-L433 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_container_service/lib/2019-02-01/generated/azure_mgmt_container_service/agent_pools.rb | Azure::ContainerService::Mgmt::V2019_02_01.AgentPools.list | def list(resource_group_name, managed_cluster_name, custom_headers:nil)
first_page = list_as_lazy(resource_group_name, managed_cluster_name, custom_headers:custom_headers)
first_page.get_all_items
end | ruby | def list(resource_group_name, managed_cluster_name, custom_headers:nil)
first_page = list_as_lazy(resource_group_name, managed_cluster_name, custom_headers:custom_headers)
first_page.get_all_items
end | [
"def",
"list",
"(",
"resource_group_name",
",",
"managed_cluster_name",
",",
"custom_headers",
":",
"nil",
")",
"first_page",
"=",
"list_as_lazy",
"(",
"resource_group_name",
",",
"managed_cluster_name",
",",
"custom_headers",
":custom_headers",
")",
"first_page",
".",
"get_all_items",
"end"
] | Gets a list of agent pools in the specified managed cluster.
Gets a list of agent pools in the specified managed cluster. The operation
returns properties of each agent pool.
@param resource_group_name [String] The name of the resource group.
@param managed_cluster_name [String] The name of the managed cluster
resource.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array<AgentPool>] operation results. | [
"Gets",
"a",
"list",
"of",
"agent",
"pools",
"in",
"the",
"specified",
"managed",
"cluster",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_container_service/lib/2019-02-01/generated/azure_mgmt_container_service/agent_pools.rb#L38-L41 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_container_service/lib/2019-02-01/generated/azure_mgmt_container_service/agent_pools.rb | Azure::ContainerService::Mgmt::V2019_02_01.AgentPools.get_with_http_info | def get_with_http_info(resource_group_name, managed_cluster_name, agent_pool_name, custom_headers:nil)
get_async(resource_group_name, managed_cluster_name, agent_pool_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, managed_cluster_name, agent_pool_name, custom_headers:nil)
get_async(resource_group_name, managed_cluster_name, agent_pool_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"managed_cluster_name",
",",
"agent_pool_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"managed_cluster_name",
",",
"agent_pool_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the agent pool.
Gets the details of the agent pool by managed cluster and resource group.
@param resource_group_name [String] The name of the resource group.
@param managed_cluster_name [String] The name of the managed cluster
resource.
@param agent_pool_name [String] The name of the agent pool.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"the",
"agent",
"pool",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_container_service/lib/2019-02-01/generated/azure_mgmt_container_service/agent_pools.rb#L162-L164 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_event_grid/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/topics.rb | Azure::EventGrid::Mgmt::V2019_02_01_preview.Topics.regenerate_key_with_http_info | def regenerate_key_with_http_info(resource_group_name, topic_name, regenerate_key_request, custom_headers:nil)
regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers:custom_headers).value!
end | ruby | def regenerate_key_with_http_info(resource_group_name, topic_name, regenerate_key_request, custom_headers:nil)
regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers:custom_headers).value!
end | [
"def",
"regenerate_key_with_http_info",
"(",
"resource_group_name",
",",
"topic_name",
",",
"regenerate_key_request",
",",
"custom_headers",
":",
"nil",
")",
"regenerate_key_async",
"(",
"resource_group_name",
",",
"topic_name",
",",
"regenerate_key_request",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Regenerate key for a topic
Regenerate a shared access key for a topic
@param resource_group_name [String] The name of the resource group within the
user's subscription.
@param topic_name [String] Name of the topic
@param regenerate_key_request [TopicRegenerateKeyRequest] Request body to
regenerate key
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Regenerate",
"key",
"for",
"a",
"topic"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_event_grid/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/topics.rb#L600-L602 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_event_grid/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/topics.rb | Azure::EventGrid::Mgmt::V2019_02_01_preview.Topics.list_by_subscription_as_lazy | def list_by_subscription_as_lazy(filter:nil, top:nil, custom_headers:nil)
response = list_by_subscription_async(filter:filter, top:top, custom_headers:custom_headers).value!
unless response.nil?
page = response.body
page.next_method = Proc.new do |next_page_link|
list_by_subscription_next_async(next_page_link, custom_headers:custom_headers)
end
page
end
end | ruby | def list_by_subscription_as_lazy(filter:nil, top:nil, custom_headers:nil)
response = list_by_subscription_async(filter:filter, top:top, custom_headers:custom_headers).value!
unless response.nil?
page = response.body
page.next_method = Proc.new do |next_page_link|
list_by_subscription_next_async(next_page_link, custom_headers:custom_headers)
end
page
end
end | [
"def",
"list_by_subscription_as_lazy",
"(",
"filter",
":",
"nil",
",",
"top",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_by_subscription_async",
"(",
"filter",
":",
"filter",
",",
"top",
":",
"top",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"unless",
"response",
".",
"nil?",
"page",
"=",
"response",
".",
"body",
"page",
".",
"next_method",
"=",
"Proc",
".",
"new",
"do",
"|",
"next_page_link",
"|",
"list_by_subscription_next_async",
"(",
"next_page_link",
",",
"custom_headers",
":custom_headers",
")",
"end",
"page",
"end",
"end"
] | List topics under an Azure subscription
List all the topics under an Azure subscription
@param filter [String] Filter the results using OData syntax.
@param top [Integer] The number of results to return.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [TopicsListResult] which provide lazy access to pages of the
response. | [
"List",
"topics",
"under",
"an",
"Azure",
"subscription"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_event_grid/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/topics.rb#L1307-L1316 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_event_grid/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/topics.rb | Azure::EventGrid::Mgmt::V2019_02_01_preview.Topics.list_by_resource_group_as_lazy | def list_by_resource_group_as_lazy(resource_group_name, filter:nil, top:nil, custom_headers:nil)
response = list_by_resource_group_async(resource_group_name, filter:filter, top:top, custom_headers:custom_headers).value!
unless response.nil?
page = response.body
page.next_method = Proc.new do |next_page_link|
list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers)
end
page
end
end | ruby | def list_by_resource_group_as_lazy(resource_group_name, filter:nil, top:nil, custom_headers:nil)
response = list_by_resource_group_async(resource_group_name, filter:filter, top:top, custom_headers:custom_headers).value!
unless response.nil?
page = response.body
page.next_method = Proc.new do |next_page_link|
list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers)
end
page
end
end | [
"def",
"list_by_resource_group_as_lazy",
"(",
"resource_group_name",
",",
"filter",
":",
"nil",
",",
"top",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_by_resource_group_async",
"(",
"resource_group_name",
",",
"filter",
":",
"filter",
",",
"top",
":",
"top",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"unless",
"response",
".",
"nil?",
"page",
"=",
"response",
".",
"body",
"page",
".",
"next_method",
"=",
"Proc",
".",
"new",
"do",
"|",
"next_page_link",
"|",
"list_by_resource_group_next_async",
"(",
"next_page_link",
",",
"custom_headers",
":custom_headers",
")",
"end",
"page",
"end",
"end"
] | List topics under a resource group
List all the topics under a resource group
@param resource_group_name [String] The name of the resource group within the
user's subscription.
@param filter [String] Filter the results using OData syntax.
@param top [Integer] The number of results to return.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [TopicsListResult] which provide lazy access to pages of the
response. | [
"List",
"topics",
"under",
"a",
"resource",
"group"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_event_grid/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/topics.rb#L1333-L1342 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/service_endpoint_policies.rb | Azure::Network::Mgmt::V2018_07_01.ServiceEndpointPolicies.delete | def delete(resource_group_name, service_endpoint_policy_name, custom_headers:nil)
response = delete_async(resource_group_name, service_endpoint_policy_name, custom_headers:custom_headers).value!
nil
end | ruby | def delete(resource_group_name, service_endpoint_policy_name, custom_headers:nil)
response = delete_async(resource_group_name, service_endpoint_policy_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"delete",
"(",
"resource_group_name",
",",
"service_endpoint_policy_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_async",
"(",
"resource_group_name",
",",
"service_endpoint_policy_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Deletes the specified 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.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Deletes",
"the",
"specified",
"service",
"endpoint",
"policy",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/service_endpoint_policies.rb#L33-L36 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/service_endpoint_policies.rb | Azure::Network::Mgmt::V2018_07_01.ServiceEndpointPolicies.get_with_http_info | def get_with_http_info(resource_group_name, service_endpoint_policy_name, expand:nil, custom_headers:nil)
get_async(resource_group_name, service_endpoint_policy_name, expand:expand, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, service_endpoint_policy_name, expand:nil, custom_headers:nil)
get_async(resource_group_name, service_endpoint_policy_name, expand:expand, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"service_endpoint_policy_name",
",",
"expand",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"service_endpoint_policy_name",
",",
"expand",
":",
"expand",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the specified service Endpoint Policies in a specified resource group.
@param resource_group_name [String] The name of the resource group.
@param service_endpoint_policy_name [String] The name of the service endpoint
policy.
@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",
"service",
"Endpoint",
"Policies",
"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/service_endpoint_policies.rb#L93-L95 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/service_endpoint_policies.rb | Azure::Network::Mgmt::V2018_07_01.ServiceEndpointPolicies.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, service_endpoint_policy_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, service_endpoint_policy_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, service_endpoint_policy_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, service_endpoint_policy_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"service_endpoint_policy_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"service_endpoint_policy_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates or updates a service Endpoint Policies.
@param resource_group_name [String] The name of the resource group.
@param service_endpoint_policy_name [String] The name of the service endpoint
policy.
@param parameters [ServiceEndpointPolicy] Parameters supplied to the create
or update service endpoint policy 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",
"service",
"Endpoint",
"Policies",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/service_endpoint_policies.rb#L545-L547 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/service_endpoint_policies.rb | Azure::Network::Mgmt::V2018_07_01.ServiceEndpointPolicies.begin_update_with_http_info | def begin_update_with_http_info(resource_group_name, service_endpoint_policy_name, parameters, custom_headers:nil)
begin_update_async(resource_group_name, service_endpoint_policy_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_update_with_http_info(resource_group_name, service_endpoint_policy_name, parameters, custom_headers:nil)
begin_update_async(resource_group_name, service_endpoint_policy_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_update_with_http_info",
"(",
"resource_group_name",
",",
"service_endpoint_policy_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_update_async",
"(",
"resource_group_name",
",",
"service_endpoint_policy_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Updates service Endpoint Policies.
@param resource_group_name [String] The name of the resource group.
@param service_endpoint_policy_name [String] The name of the service endpoint
policy.
@param parameters [TagsObject] Parameters supplied to update service endpoint
policy 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",
"service",
"Endpoint",
"Policies",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/service_endpoint_policies.rb#L664-L666 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_websearch/lib/1.0/generated/azure_cognitiveservices_websearch/web.rb | Azure::CognitiveServices::WebSearch::V1_0.Web.search | def search(query, accept_language:nil, pragma:nil, user_agent:nil, client_id:nil, client_ip:nil, location:nil, answer_count:nil, country_code:nil, count:nil, freshness:nil, market:'en-us', offset:nil, promote:nil, response_filter:nil, safe_search:nil, set_lang:nil, text_decorations:nil, text_format:nil, custom_headers:nil)
response = search_async(query, accept_language:accept_language, pragma:pragma, user_agent:user_agent, client_id:client_id, client_ip:client_ip, location:location, answer_count:answer_count, country_code:country_code, count:count, freshness:freshness, market:market, offset:offset, promote:promote, response_filter:response_filter, safe_search:safe_search, set_lang:set_lang, text_decorations:text_decorations, text_format:text_format, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def search(query, accept_language:nil, pragma:nil, user_agent:nil, client_id:nil, client_ip:nil, location:nil, answer_count:nil, country_code:nil, count:nil, freshness:nil, market:'en-us', offset:nil, promote:nil, response_filter:nil, safe_search:nil, set_lang:nil, text_decorations:nil, text_format:nil, custom_headers:nil)
response = search_async(query, accept_language:accept_language, pragma:pragma, user_agent:user_agent, client_id:client_id, client_ip:client_ip, location:location, answer_count:answer_count, country_code:country_code, count:count, freshness:freshness, market:market, offset:offset, promote:promote, response_filter:response_filter, safe_search:safe_search, set_lang:set_lang, text_decorations:text_decorations, text_format:text_format, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"search",
"(",
"query",
",",
"accept_language",
":",
"nil",
",",
"pragma",
":",
"nil",
",",
"user_agent",
":",
"nil",
",",
"client_id",
":",
"nil",
",",
"client_ip",
":",
"nil",
",",
"location",
":",
"nil",
",",
"answer_count",
":",
"nil",
",",
"country_code",
":",
"nil",
",",
"count",
":",
"nil",
",",
"freshness",
":",
"nil",
",",
"market",
":",
"'en-us'",
",",
"offset",
":",
"nil",
",",
"promote",
":",
"nil",
",",
"response_filter",
":",
"nil",
",",
"safe_search",
":",
"nil",
",",
"set_lang",
":",
"nil",
",",
"text_decorations",
":",
"nil",
",",
"text_format",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"search_async",
"(",
"query",
",",
"accept_language",
":accept_language",
",",
"pragma",
":",
"pragma",
",",
"user_agent",
":user_agent",
",",
"client_id",
":client_id",
",",
"client_ip",
":client_ip",
",",
"location",
":",
"location",
",",
"answer_count",
":answer_count",
",",
"country_code",
":country_code",
",",
"count",
":",
"count",
",",
"freshness",
":",
"freshness",
",",
"market",
":",
"market",
",",
"offset",
":",
"offset",
",",
"promote",
":",
"promote",
",",
"response_filter",
":response_filter",
",",
"safe_search",
":safe_search",
",",
"set_lang",
":set_lang",
",",
"text_decorations",
":text_decorations",
",",
"text_format",
":text_format",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | The Web Search API lets you send a search query to Bing and get back search
results that include links to webpages, images, and more.
@param query [String] The user's search query term. The term may not be
empty. The term may contain Bing Advanced Operators. For example, to limit
results to a specific domain, use the site: operator.
@param accept_language [String] A comma-delimited list of one or more
languages to use for user interface strings. The list is in decreasing order
of preference. For additional information, including expected format, see
[RFC2616](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html). This
header and the setLang query parameter are mutually exclusive; do not specify
both. If you set this header, you must also specify the cc query parameter.
Bing will use the first supported language it finds from the list, and
combine that language with the cc parameter value to determine the market to
return results for. If the list does not include a supported language, Bing
will find the closest language and market that supports the request, and may
use an aggregated or default market for the results instead of a specified
one. You should use this header and the cc query parameter only if you
specify multiple languages; otherwise, you should use the mkt and setLang
query parameters. A user interface string is a string that's used as a label
in a user interface. There are very few user interface strings in the JSON
response objects. Any links in the response objects to Bing.com properties
will apply the specified language.
@param pragma [String] By default, Bing returns cached content, if available.
To prevent Bing from returning cached content, set the Pragma header to
no-cache (for example, Pragma: no-cache).
@param user_agent [String] The user agent originating the request. Bing uses
the user agent to provide mobile users with an optimized experience. Although
optional, you are strongly encouraged to always specify this header. The
user-agent should be the same string that any commonly used browser would
send. For information about user agents, see [RFC
2616](http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html).
@param client_id [String] Bing uses this header to provide users with
consistent behavior across Bing API calls. Bing often flights new features
and improvements, and it uses the client ID as a key for assigning traffic on
different flights. If you do not use the same client ID for a user across
multiple requests, then Bing may assign the user to multiple conflicting
flights. Being assigned to multiple conflicting flights can lead to an
inconsistent user experience. For example, if the second request has a
different flight assignment than the first, the experience may be unexpected.
Also, Bing can use the client ID to tailor web results to that client ID’s
search history, providing a richer experience for the user. Bing also uses
this header to help improve result rankings by analyzing the activity
generated by a client ID. The relevance improvements help with better quality
of results delivered by Bing APIs and in turn enables higher click-through
rates for the API consumer. IMPORTANT: Although optional, you should consider
this header required. Persisting the client ID across multiple requests for
the same end user and device combination enables 1) the API consumer to
receive a consistent user experience, and 2) higher click-through rates via
better quality of results from the Bing APIs. Each user that uses your
application on the device must have a unique, Bing generated client ID. If
you do not include this header in the request, Bing generates an ID and
returns it in the X-MSEdge-ClientID response header. The only time that you
should NOT include this header in a request is the first time the user uses
your app on that device. Use the client ID for each Bing API request that
your app makes for this user on the device. Persist the client ID. To persist
the ID in a browser app, use a persistent HTTP cookie to ensure the ID is
used across all sessions. Do not use a session cookie. For other apps such as
mobile apps, use the device's persistent storage to persist the ID. The next
time the user uses your app on that device, get the client ID that you
persisted. Bing responses may or may not include this header. If the response
includes this header, capture the client ID and use it for all subsequent
Bing requests for the user on that device. If you include the
X-MSEdge-ClientID, you must not include cookies in the request.
@param client_ip [String] The IPv4 or IPv6 address of the client device. The
IP address is used to discover the user's location. Bing uses the location
information to determine safe search behavior. Although optional, you are
encouraged to always specify this header and the X-Search-Location header. Do
not obfuscate the address (for example, by changing the last octet to 0).
Obfuscating the address results in the location not being anywhere near the
device's actual location, which may result in Bing serving erroneous results.
@param location [String] A semicolon-delimited list of key/value pairs that
describe the client's geographical location. Bing uses the location
information to determine safe search behavior and to return relevant local
content. Specify the key/value pair as <key>:<value>. The following are the
keys that you use to specify the user's location. lat (required): The
latitude of the client's location, in degrees. The latitude must be greater
than or equal to -90.0 and less than or equal to +90.0. Negative values
indicate southern latitudes and positive values indicate northern latitudes.
long (required): The longitude of the client's location, in degrees. The
longitude must be greater than or equal to -180.0 and less than or equal to
+180.0. Negative values indicate western longitudes and positive values
indicate eastern longitudes. re (required): The radius, in meters, which
specifies the horizontal accuracy of the coordinates. Pass the value returned
by the device's location service. Typical values might be 22m for GPS/Wi-Fi,
380m for cell tower triangulation, and 18,000m for reverse IP lookup. ts
(optional): The UTC UNIX timestamp of when the client was at the location.
(The UNIX timestamp is the number of seconds since January 1, 1970.) head
(optional): The client's relative heading or direction of travel. Specify the
direction of travel as degrees from 0 through 360, counting clockwise
relative to true north. Specify this key only if the sp key is nonzero. sp
(optional): The horizontal velocity (speed), in meters per second, that the
client device is traveling. alt (optional): The altitude of the client
device, in meters. are (optional): The radius, in meters, that specifies the
vertical accuracy of the coordinates. Specify this key only if you specify
the alt key. Although many of the keys are optional, the more information
that you provide, the more accurate the location results are. Although
optional, you are encouraged to always specify the user's geographical
location. Providing the location is especially important if the client's IP
address does not accurately reflect the user's physical location (for
example, if the client uses VPN). For optimal results, you should include
this header and the X-MSEdge-ClientIP header, but at a minimum, you should
include this header.
@param answer_count [Integer] The number of answers that you want the
response to include. The answers that Bing returns are based on ranking. For
example, if Bing returns webpages, images, videos, and relatedSearches for a
request and you set this parameter to two (2), the response includes webpages
and images.If you included the responseFilter query parameter in the same
request and set it to webpages and news, the response would include only
webpages.
@param country_code [String] A 2-character country code of the country where
the results come from. This API supports only the United States market. If
you specify this query parameter, it must be set to us. If you set this
parameter, you must also specify the Accept-Language header. Bing uses the
first supported language it finds from the languages list, and combine that
language with the country code that you specify to determine the market to
return results for. If the languages list does not include a supported
language, Bing finds the closest language and market that supports the
request, or it may use an aggregated or default market for the results
instead of a specified one. You should use this query parameter and the
Accept-Language query parameter only if you specify multiple languages;
otherwise, you should use the mkt and setLang query parameters. This
parameter and the mkt query parameter are mutually exclusive—do not specify
both.
@param count [Integer] The number of search results to return in the
response. The default is 10 and the maximum value is 50. The actual number
delivered may be less than requested.Use this parameter along with the offset
parameter to page results.For example, if your user interface displays 10
search results per page, set count to 10 and offset to 0 to get the first
page of results. For each subsequent page, increment offset by 10 (for
example, 0, 10, 20). It is possible for multiple pages to include some
overlap in results.
@param freshness [Freshness] Filter search results by the following age
values: Day—Return webpages that Bing discovered within the last 24 hours.
Week—Return webpages that Bing discovered within the last 7 days.
Month—Return webpages that discovered within the last 30 days. This filter
applies only to webpage results and not to the other results such as news and
images. Possible values include: 'Day', 'Week', 'Month'
@param market [String] The market where the results come from. Typically, mkt
is the country where the user is making the request from. However, it could
be a different country if the user is not located in a country where Bing
delivers results. The market must be in the form <language code>-<country
code>. For example, en-US. The string is case insensitive. If known, you are
encouraged to always specify the market. Specifying the market helps Bing
route the request and return an appropriate and optimal response. If you
specify a market that is not listed in Market Codes, Bing uses a best fit
market code based on an internal mapping that is subject to change. This
parameter and the cc query parameter are mutually exclusive—do not specify
both.
@param offset [Integer] The zero-based offset that indicates the number of
search results to skip before returning results. The default is 0. The offset
should be less than (totalEstimatedMatches - count). Use this parameter along
with the count parameter to page results. For example, if your user interface
displays 10 search results per page, set count to 10 and offset to 0 to get
the first page of results. For each subsequent page, increment offset by 10
(for example, 0, 10, 20). it is possible for multiple pages to include some
overlap in results.
@param promote [Array<AnswerType>] A comma-delimited list of answers that you
want the response to include regardless of their ranking. For example, if you
set answerCount) to two (2) so Bing returns the top two ranked answers, but
you also want the response to include news, you'd set promote to news. If the
top ranked answers are webpages, images, videos, and relatedSearches, the
response includes webpages and images because news is not a ranked answer.
But if you set promote to video, Bing would promote the video answer into the
response and return webpages, images, and videos. The answers that you want
to promote do not count against the answerCount limit. For example, if the
ranked answers are news, images, and videos, and you set answerCount to 1 and
promote to news, the response contains news and images. Or, if the ranked
answers are videos, images, and news, the response contains videos and news.
Possible values are Computation, Images, News, RelatedSearches,
SpellSuggestions, TimeZone, Videos, Webpages. Use only if you specify
answerCount.
@param response_filter [Array<AnswerType>] A comma-delimited list of answers
to include in the response. If you do not specify this parameter, the
response includes all search answers for which there's relevant data.
Possible filter values are Computation, Images, News, RelatedSearches,
SpellSuggestions, TimeZone, Videos, Webpages. Although you may use this
filter to get a single answer, you should instead use the answer-specific
endpoint in order to get richer results. For example, to receive only images,
send the request to one of the Image Search API endpoints. The
RelatedSearches and SpellSuggestions answers do not support a separate
endpoint like the Image Search API does (only the Web Search API returns
them). To include answers that would otherwise be excluded because of
ranking, see the promote query parameter.
@param safe_search [SafeSearch] A filter used to filter adult content. Off:
Return webpages with adult text, images, or videos. Moderate: Return webpages
with adult text, but not adult images or videos. Strict: Do not return
webpages with adult text, images, or videos. The default is Moderate. If the
request comes from a market that Bing's adult policy requires that safeSearch
is set to Strict, Bing ignores the safeSearch value and uses Strict. If you
use the site: query operator, there is the chance that the response may
contain adult content regardless of what the safeSearch query parameter is
set to. Use site: only if you are aware of the content on the site and your
scenario supports the possibility of adult content. Possible values include:
'Off', 'Moderate', 'Strict'
@param set_lang [String] The language to use for user interface strings.
Specify the language using the ISO 639-1 2-letter language code. For example,
the language code for English is EN. The default is EN (English). Although
optional, you should always specify the language. Typically, you set setLang
to the same language specified by mkt unless the user wants the user
interface strings displayed in a different language. This parameter and the
Accept-Language header are mutually exclusive; do not specify both. A user
interface string is a string that's used as a label in a user interface.
There are few user interface strings in the JSON response objects. Also, any
links to Bing.com properties in the response objects apply the specified
language.
@param text_decorations [Boolean] A Boolean value that determines whether
display strings should contain decoration markers such as hit highlighting
characters. If true, the strings may include markers. The default is false.
To specify whether to use Unicode characters or HTML tags as the markers, see
the textFormat query parameter.
@param text_format [TextFormat] The type of markers to use for text
decorations (see the textDecorations query parameter). Possible values are
Raw—Use Unicode characters to mark content that needs special formatting. The
Unicode characters are in the range E000 through E019. For example, Bing uses
E000 and E001 to mark the beginning and end of query terms for hit
highlighting. HTML—Use HTML tags to mark content that needs special
formatting. For example, use <b> tags to highlight query terms in display
strings. The default is Raw. For display strings that contain escapable HTML
characters such as <, >, and &, if textFormat is set to HTML, Bing escapes
the characters as appropriate (for example, < is escaped to <). Possible
values include: 'Raw', 'Html'
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [SearchResponse] operation results. | [
"The",
"Web",
"Search",
"API",
"lets",
"you",
"send",
"a",
"search",
"query",
"to",
"Bing",
"and",
"get",
"back",
"search",
"results",
"that",
"include",
"links",
"to",
"webpages",
"images",
"and",
"more",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_websearch/lib/1.0/generated/azure_cognitiveservices_websearch/web.rb#L253-L256 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_kusto/lib/2017-09-07-privatepreview/generated/azure_mgmt_kusto/databases.rb | Azure::Kusto::Mgmt::V2018_09_07_privatepreview.Databases.list_by_cluster | def list_by_cluster(resource_group_name, cluster_name, custom_headers:nil)
response = list_by_cluster_async(resource_group_name, cluster_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_by_cluster(resource_group_name, cluster_name, custom_headers:nil)
response = list_by_cluster_async(resource_group_name, cluster_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_by_cluster",
"(",
"resource_group_name",
",",
"cluster_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_by_cluster_async",
"(",
"resource_group_name",
",",
"cluster_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Returns the list of databases of the given Kusto cluster.
@param resource_group_name [String] The name of the resource group containing
the Kusto cluster.
@param cluster_name [String] The name of the Kusto cluster.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [DatabaseListResult] operation results. | [
"Returns",
"the",
"list",
"of",
"databases",
"of",
"the",
"given",
"Kusto",
"cluster",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_kusto/lib/2017-09-07-privatepreview/generated/azure_mgmt_kusto/databases.rb#L143-L146 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_kusto/lib/2017-09-07-privatepreview/generated/azure_mgmt_kusto/databases.rb | Azure::Kusto::Mgmt::V2018_09_07_privatepreview.Databases.begin_update_with_http_info | def begin_update_with_http_info(resource_group_name, cluster_name, database_name, parameters, custom_headers:nil)
begin_update_async(resource_group_name, cluster_name, database_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_update_with_http_info(resource_group_name, cluster_name, database_name, parameters, custom_headers:nil)
begin_update_async(resource_group_name, cluster_name, database_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_update_with_http_info",
"(",
"resource_group_name",
",",
"cluster_name",
",",
"database_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_update_async",
"(",
"resource_group_name",
",",
"cluster_name",
",",
"database_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Updates a database.
@param resource_group_name [String] The name of the resource group containing
the Kusto cluster.
@param cluster_name [String] The name of the Kusto cluster.
@param database_name [String] The name of the database in the Kusto cluster.
@param parameters [DatabaseUpdate] The database parameters supplied to the
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. | [
"Updates",
"a",
"database",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_kusto/lib/2017-09-07-privatepreview/generated/azure_mgmt_kusto/databases.rb#L952-L954 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_stor_simple8000_series/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/storage_account_credentials.rb | Azure::StorSimple8000Series::Mgmt::V2017_06_01.StorageAccountCredentials.list_by_manager | def list_by_manager(resource_group_name, manager_name, custom_headers:nil)
response = list_by_manager_async(resource_group_name, manager_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_by_manager(resource_group_name, manager_name, custom_headers:nil)
response = list_by_manager_async(resource_group_name, manager_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_by_manager",
"(",
"resource_group_name",
",",
"manager_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_by_manager_async",
"(",
"resource_group_name",
",",
"manager_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets all the storage account credentials in a manager.
@param resource_group_name [String] The resource group name
@param manager_name [String] The manager name
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [StorageAccountCredentialList] operation results. | [
"Gets",
"all",
"the",
"storage",
"account",
"credentials",
"in",
"a",
"manager",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_stor_simple8000_series/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/storage_account_credentials.rb#L34-L37 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_stor_simple8000_series/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/storage_account_credentials.rb | Azure::StorSimple8000Series::Mgmt::V2017_06_01.StorageAccountCredentials.get_with_http_info | def get_with_http_info(storage_account_credential_name, resource_group_name, manager_name, custom_headers:nil)
get_async(storage_account_credential_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(storage_account_credential_name, resource_group_name, manager_name, custom_headers:nil)
get_async(storage_account_credential_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"storage_account_credential_name",
",",
"resource_group_name",
",",
"manager_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"storage_account_credential_name",
",",
"resource_group_name",
",",
"manager_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the properties of the specified storage account credential name.
@param storage_account_credential_name [String] The name of storage account
credential to be fetched.
@param resource_group_name [String] The resource group name
@param manager_name [String] The manager name
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"the",
"properties",
"of",
"the",
"specified",
"storage",
"account",
"credential",
"name",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_stor_simple8000_series/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/storage_account_credentials.rb#L147-L149 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2018-02-01/generated/azure_mgmt_web/recommendations.rb | Azure::Web::Mgmt::V2018_02_01.Recommendations.list_with_http_info | def list_with_http_info(featured:nil, filter:nil, custom_headers:nil)
list_async(featured:featured, filter:filter, custom_headers:custom_headers).value!
end | ruby | def list_with_http_info(featured:nil, filter:nil, custom_headers:nil)
list_async(featured:featured, filter:filter, custom_headers:custom_headers).value!
end | [
"def",
"list_with_http_info",
"(",
"featured",
":",
"nil",
",",
"filter",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"list_async",
"(",
"featured",
":",
"featured",
",",
"filter",
":",
"filter",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | List all recommendations for a subscription.
List all recommendations for a subscription.
@param featured [Boolean] Specify <code>true</code> to return only the most
critical recommendations. The default is <code>false</code>, which returns
all recommendations.
@param filter [String] Filter is specified by using OData syntax. Example:
$filter=channel eq 'Api' or channel eq 'Notification' and startTime eq
2014-01-01T00:00:00Z and endTime eq 2014-12-31T23:59:59Z and timeGrain eq
duration'[PT1H|PT1M|P1D]
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"List",
"all",
"recommendations",
"for",
"a",
"subscription",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_web/lib/2018-02-01/generated/azure_mgmt_web/recommendations.rb#L63-L65 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2018-02-01/generated/azure_mgmt_web/recommendations.rb | Azure::Web::Mgmt::V2018_02_01.Recommendations.disable_all_for_web_app | def disable_all_for_web_app(resource_group_name, site_name, custom_headers:nil)
response = disable_all_for_web_app_async(resource_group_name, site_name, custom_headers:custom_headers).value!
nil
end | ruby | def disable_all_for_web_app(resource_group_name, site_name, custom_headers:nil)
response = disable_all_for_web_app_async(resource_group_name, site_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"disable_all_for_web_app",
"(",
"resource_group_name",
",",
"site_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"disable_all_for_web_app_async",
"(",
"resource_group_name",
",",
"site_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Disable all recommendations for an app.
Disable all recommendations for an app.
@param resource_group_name [String] Name of the resource group to which the
resource belongs.
@param site_name [String] Name of the app.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Disable",
"all",
"recommendations",
"for",
"an",
"app",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_web/lib/2018-02-01/generated/azure_mgmt_web/recommendations.rb#L565-L568 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2018-02-01/generated/azure_mgmt_web/recommendations.rb | Azure::Web::Mgmt::V2018_02_01.Recommendations.reset_all_filters_for_web_app | def reset_all_filters_for_web_app(resource_group_name, site_name, custom_headers:nil)
response = reset_all_filters_for_web_app_async(resource_group_name, site_name, custom_headers:custom_headers).value!
nil
end | ruby | def reset_all_filters_for_web_app(resource_group_name, site_name, custom_headers:nil)
response = reset_all_filters_for_web_app_async(resource_group_name, site_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"reset_all_filters_for_web_app",
"(",
"resource_group_name",
",",
"site_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"reset_all_filters_for_web_app_async",
"(",
"resource_group_name",
",",
"site_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Reset all recommendation opt-out settings for an app.
Reset all recommendation opt-out settings for an app.
@param resource_group_name [String] Name of the resource group to which the
resource belongs.
@param site_name [String] Name of the app.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Reset",
"all",
"recommendation",
"opt",
"-",
"out",
"settings",
"for",
"an",
"app",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_web/lib/2018-02-01/generated/azure_mgmt_web/recommendations.rb#L658-L661 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/runbook_operations.rb | Azure::Automation::Mgmt::V2015_10_31.RunbookOperations.get_content_with_http_info | def get_content_with_http_info(resource_group_name, automation_account_name, runbook_name, custom_headers:nil)
get_content_async(resource_group_name, automation_account_name, runbook_name, custom_headers:custom_headers).value!
end | ruby | def get_content_with_http_info(resource_group_name, automation_account_name, runbook_name, custom_headers:nil)
get_content_async(resource_group_name, automation_account_name, runbook_name, custom_headers:custom_headers).value!
end | [
"def",
"get_content_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"runbook_name",
",",
"custom_headers",
":",
"nil",
")",
"get_content_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"runbook_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Retrieve the content of runbook identified by runbook name.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param runbook_name [String] The runbook name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Retrieve",
"the",
"content",
"of",
"runbook",
"identified",
"by",
"runbook",
"name",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/runbook_operations.rb#L51-L53 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/runbook_operations.rb | Azure::Automation::Mgmt::V2015_10_31.RunbookOperations.get_with_http_info | def get_with_http_info(resource_group_name, automation_account_name, runbook_name, custom_headers:nil)
get_async(resource_group_name, automation_account_name, runbook_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, automation_account_name, runbook_name, custom_headers:nil)
get_async(resource_group_name, automation_account_name, runbook_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"runbook_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"runbook_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Retrieve the runbook identified by runbook name.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param runbook_name [String] The runbook name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Retrieve",
"the",
"runbook",
"identified",
"by",
"runbook",
"name",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/runbook_operations.rb#L157-L159 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/runbook_operations.rb | Azure::Automation::Mgmt::V2015_10_31.RunbookOperations.create_or_update_with_http_info | def create_or_update_with_http_info(resource_group_name, automation_account_name, runbook_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, automation_account_name, runbook_name, parameters, custom_headers:custom_headers).value!
end | ruby | def create_or_update_with_http_info(resource_group_name, automation_account_name, runbook_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, automation_account_name, runbook_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"runbook_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"create_or_update_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"runbook_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Create the runbook identified by runbook name.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param runbook_name [String] The runbook name.
@param parameters [RunbookCreateOrUpdateParameters] The create or update
parameters for runbook. Provide either content link for a published runbook
or draft, not both.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Create",
"the",
"runbook",
"identified",
"by",
"runbook",
"name",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/runbook_operations.rb#L262-L264 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/runbook_operations.rb | Azure::Automation::Mgmt::V2015_10_31.RunbookOperations.update_with_http_info | def update_with_http_info(resource_group_name, automation_account_name, runbook_name, parameters, custom_headers:nil)
update_async(resource_group_name, automation_account_name, runbook_name, parameters, custom_headers:custom_headers).value!
end | ruby | def update_with_http_info(resource_group_name, automation_account_name, runbook_name, parameters, custom_headers:nil)
update_async(resource_group_name, automation_account_name, runbook_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"update_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"runbook_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"update_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"runbook_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Update the runbook identified by runbook name.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param runbook_name [String] The runbook name.
@param parameters [RunbookUpdateParameters] The update parameters for
runbook.
@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",
"runbook",
"identified",
"by",
"runbook",
"name",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/runbook_operations.rb#L386-L388 | 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_storage_classification_mappings.rb | Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10.ReplicationStorageClassificationMappings.get_with_http_info | def get_with_http_info(fabric_name, storage_classification_name, storage_classification_mapping_name, custom_headers:nil)
get_async(fabric_name, storage_classification_name, storage_classification_mapping_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(fabric_name, storage_classification_name, storage_classification_mapping_name, custom_headers:nil)
get_async(fabric_name, storage_classification_name, storage_classification_mapping_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"fabric_name",
",",
"storage_classification_name",
",",
"storage_classification_mapping_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"fabric_name",
",",
"storage_classification_name",
",",
"storage_classification_mapping_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the details of a storage classification mapping.
Gets the details of the specified storage classification mapping.
@param fabric_name [String] Fabric name.
@param storage_classification_name [String] Storage classification name.
@param storage_classification_mapping_name [String] Storage classification
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",
"the",
"details",
"of",
"a",
"storage",
"classification",
"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_storage_classification_mappings.rb#L57-L59 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/examples.rb | Azure::CognitiveServices::LuisAuthoring::V2_0.Examples.delete_with_http_info | def delete_with_http_info(app_id, version_id, example_id, custom_headers:nil)
delete_async(app_id, version_id, example_id, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(app_id, version_id, example_id, custom_headers:nil)
delete_async(app_id, version_id, example_id, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"app_id",
",",
"version_id",
",",
"example_id",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"app_id",
",",
"version_id",
",",
"example_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes the labeled example utterances with the specified ID from a version
of the application.
@param app_id The application ID.
@param version_id [String] The version ID.
@param example_id [Integer] The example 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. | [
"Deletes",
"the",
"labeled",
"example",
"utterances",
"with",
"the",
"specified",
"ID",
"from",
"a",
"version",
"of",
"the",
"application",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/examples.rb#L441-L443 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_authorization/lib/2015-07-01/generated/azure_mgmt_authorization/permissions.rb | Azure::Authorization::Mgmt::V2015_07_01.Permissions.list_for_resource_group_as_lazy | def list_for_resource_group_as_lazy(resource_group_name, custom_headers:nil)
response = list_for_resource_group_async(resource_group_name, custom_headers:custom_headers).value!
unless response.nil?
page = response.body
page.next_method = Proc.new do |next_page_link|
list_for_resource_group_next_async(next_page_link, custom_headers:custom_headers)
end
page
end
end | ruby | def list_for_resource_group_as_lazy(resource_group_name, custom_headers:nil)
response = list_for_resource_group_async(resource_group_name, custom_headers:custom_headers).value!
unless response.nil?
page = response.body
page.next_method = Proc.new do |next_page_link|
list_for_resource_group_next_async(next_page_link, custom_headers:custom_headers)
end
page
end
end | [
"def",
"list_for_resource_group_as_lazy",
"(",
"resource_group_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_for_resource_group_async",
"(",
"resource_group_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"unless",
"response",
".",
"nil?",
"page",
"=",
"response",
".",
"body",
"page",
".",
"next_method",
"=",
"Proc",
".",
"new",
"do",
"|",
"next_page_link",
"|",
"list_for_resource_group_next_async",
"(",
"next_page_link",
",",
"custom_headers",
":custom_headers",
")",
"end",
"page",
"end",
"end"
] | Gets all permissions the caller has for a resource group.
@param resource_group_name [String] The name of the resource group to get the
permissions for. The name is case insensitive.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [PermissionGetResult] which provide lazy access to pages of the
response. | [
"Gets",
"all",
"permissions",
"the",
"caller",
"has",
"for",
"a",
"resource",
"group",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_authorization/lib/2015-07-01/generated/azure_mgmt_authorization/permissions.rb#L420-L429 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_container_service/lib/2019-02-01/generated/azure_mgmt_container_service/managed_clusters.rb | Azure::ContainerService::Mgmt::V2019_02_01.ManagedClusters.get_upgrade_profile | def get_upgrade_profile(resource_group_name, resource_name, custom_headers:nil)
response = get_upgrade_profile_async(resource_group_name, resource_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_upgrade_profile(resource_group_name, resource_name, custom_headers:nil)
response = get_upgrade_profile_async(resource_group_name, resource_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_upgrade_profile",
"(",
"resource_group_name",
",",
"resource_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_upgrade_profile_async",
"(",
"resource_group_name",
",",
"resource_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets upgrade profile for a managed cluster.
Gets the details of the upgrade profile for a managed cluster with a
specified resource group and name.
@param resource_group_name [String] The name of the resource group.
@param resource_name [String] The name of the managed cluster resource.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [ManagedClusterUpgradeProfile] operation results. | [
"Gets",
"upgrade",
"profile",
"for",
"a",
"managed",
"cluster",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_container_service/lib/2019-02-01/generated/azure_mgmt_container_service/managed_clusters.rb#L228-L231 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_container_service/lib/2019-02-01/generated/azure_mgmt_container_service/managed_clusters.rb | Azure::ContainerService::Mgmt::V2019_02_01.ManagedClusters.list_cluster_admin_credentials | def list_cluster_admin_credentials(resource_group_name, resource_name, custom_headers:nil)
response = list_cluster_admin_credentials_async(resource_group_name, resource_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_cluster_admin_credentials(resource_group_name, resource_name, custom_headers:nil)
response = list_cluster_admin_credentials_async(resource_group_name, resource_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_cluster_admin_credentials",
"(",
"resource_group_name",
",",
"resource_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_cluster_admin_credentials_async",
"(",
"resource_group_name",
",",
"resource_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets cluster admin credential of a managed cluster.
Gets cluster admin credential of the managed cluster with a specified
resource group and name.
@param resource_group_name [String] The name of the resource group.
@param resource_name [String] The name of the managed cluster resource.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [CredentialResults] operation results. | [
"Gets",
"cluster",
"admin",
"credential",
"of",
"a",
"managed",
"cluster",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_container_service/lib/2019-02-01/generated/azure_mgmt_container_service/managed_clusters.rb#L439-L442 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_container_service/lib/2019-02-01/generated/azure_mgmt_container_service/managed_clusters.rb | Azure::ContainerService::Mgmt::V2019_02_01.ManagedClusters.list_cluster_user_credentials | def list_cluster_user_credentials(resource_group_name, resource_name, custom_headers:nil)
response = list_cluster_user_credentials_async(resource_group_name, resource_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_cluster_user_credentials(resource_group_name, resource_name, custom_headers:nil)
response = list_cluster_user_credentials_async(resource_group_name, resource_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_cluster_user_credentials",
"(",
"resource_group_name",
",",
"resource_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_cluster_user_credentials_async",
"(",
"resource_group_name",
",",
"resource_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets cluster user credential of a managed cluster.
Gets cluster user credential of the managed cluster with a specified resource
group and name.
@param resource_group_name [String] The name of the resource group.
@param resource_name [String] The name of the managed cluster resource.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [CredentialResults] operation results. | [
"Gets",
"cluster",
"user",
"credential",
"of",
"a",
"managed",
"cluster",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_container_service/lib/2019-02-01/generated/azure_mgmt_container_service/managed_clusters.rb#L541-L544 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_container_service/lib/2019-02-01/generated/azure_mgmt_container_service/managed_clusters.rb | Azure::ContainerService::Mgmt::V2019_02_01.ManagedClusters.begin_update_tags_with_http_info | def begin_update_tags_with_http_info(resource_group_name, resource_name, parameters, custom_headers:nil)
begin_update_tags_async(resource_group_name, resource_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_update_tags_with_http_info(resource_group_name, resource_name, parameters, custom_headers:nil)
begin_update_tags_async(resource_group_name, resource_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_update_tags_with_http_info",
"(",
"resource_group_name",
",",
"resource_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_update_tags_async",
"(",
"resource_group_name",
",",
"resource_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Updates tags on a managed cluster.
Updates a managed cluster with the specified tags.
@param resource_group_name [String] The name of the resource group.
@param resource_name [String] The name of the managed cluster resource.
@param parameters [TagsObject] Parameters supplied to the Update Managed
Cluster Tags 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. | [
"Updates",
"tags",
"on",
"a",
"managed",
"cluster",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_container_service/lib/2019-02-01/generated/azure_mgmt_container_service/managed_clusters.rb#L1116-L1118 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_container_service/lib/2017-07-01/generated/azure_mgmt_container_service/container_services.rb | Azure::ContainerService::Mgmt::V2017_07_01.ContainerServices.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, container_service_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, container_service_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, container_service_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"container_service_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"container_service_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates or updates a container service.
Creates or updates a container service with the specified configuration of
orchestrator, masters, and agents.
@param resource_group_name [String] The name of the resource group.
@param container_service_name [String] The name of the container service in
the specified subscription and resource group.
@param parameters [ContainerService] Parameters supplied to the Create or
Update a Container Service operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Creates",
"or",
"updates",
"a",
"container",
"service",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_container_service/lib/2017-07-01/generated/azure_mgmt_container_service/container_services.rb#L467-L469 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/workflow_runs.rb | Azure::Logic::Mgmt::V2016_06_01.WorkflowRuns.list | def list(resource_group_name, workflow_name, top:nil, filter:nil, custom_headers:nil)
first_page = list_as_lazy(resource_group_name, workflow_name, top:top, filter:filter, custom_headers:custom_headers)
first_page.get_all_items
end | ruby | def list(resource_group_name, workflow_name, top:nil, filter:nil, custom_headers:nil)
first_page = list_as_lazy(resource_group_name, workflow_name, top:top, filter:filter, custom_headers:custom_headers)
first_page.get_all_items
end | [
"def",
"list",
"(",
"resource_group_name",
",",
"workflow_name",
",",
"top",
":",
"nil",
",",
"filter",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"first_page",
"=",
"list_as_lazy",
"(",
"resource_group_name",
",",
"workflow_name",
",",
"top",
":",
"top",
",",
"filter",
":",
"filter",
",",
"custom_headers",
":custom_headers",
")",
"first_page",
".",
"get_all_items",
"end"
] | Gets a list of workflow runs.
@param resource_group_name [String] The resource group name.
@param workflow_name [String] The workflow name.
@param top [Integer] The number of items to be included in the result.
@param filter [String] The filter to apply on the operation. Options for
filters include: Status, StartTime, and ClientTrackingId.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array<WorkflowRun>] operation results. | [
"Gets",
"a",
"list",
"of",
"workflow",
"runs",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/workflow_runs.rb#L37-L40 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/workflow_runs.rb | Azure::Logic::Mgmt::V2016_06_01.WorkflowRuns.get_with_http_info | def get_with_http_info(resource_group_name, workflow_name, run_name, custom_headers:nil)
get_async(resource_group_name, workflow_name, run_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, workflow_name, run_name, custom_headers:nil)
get_async(resource_group_name, workflow_name, run_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"workflow_name",
",",
"run_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"workflow_name",
",",
"run_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets a workflow run.
@param resource_group_name [String] The resource group name.
@param workflow_name [String] The workflow name.
@param run_name [String] The workflow run name.
@param 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",
"run",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/workflow_runs.rb#L152-L154 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/group.rb | Azure::ApiManagement::Mgmt::V2018_01_01.Group.get_with_http_info | def get_with_http_info(resource_group_name, service_name, group_id, custom_headers:nil)
get_async(resource_group_name, service_name, group_id, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, service_name, group_id, custom_headers:nil)
get_async(resource_group_name, service_name, group_id, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"service_name",
",",
"group_id",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"service_name",
",",
"group_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the details of the group specified by its identifier.
@param resource_group_name [String] The name of the resource group.
@param service_name [String] The name of the API Management service.
@param group_id [String] Group identifier. Must be unique in the current API
Management service instance.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"the",
"details",
"of",
"the",
"group",
"specified",
"by",
"its",
"identifier",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/group.rb#L286-L288 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/available_resource_group_delegations.rb | Azure::Network::Mgmt::V2019_02_01.AvailableResourceGroupDelegations.list | def list(location, resource_group_name, custom_headers:nil)
first_page = list_as_lazy(location, resource_group_name, custom_headers:custom_headers)
first_page.get_all_items
end | ruby | def list(location, resource_group_name, custom_headers:nil)
first_page = list_as_lazy(location, resource_group_name, custom_headers:custom_headers)
first_page.get_all_items
end | [
"def",
"list",
"(",
"location",
",",
"resource_group_name",
",",
"custom_headers",
":",
"nil",
")",
"first_page",
"=",
"list_as_lazy",
"(",
"location",
",",
"resource_group_name",
",",
"custom_headers",
":custom_headers",
")",
"first_page",
".",
"get_all_items",
"end"
] | Gets all of the available subnet delegations for this resource group in this
region.
@param location [String] The location of the domain name.
@param resource_group_name [String] The name of the resource group.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array<AvailableDelegation>] operation results. | [
"Gets",
"all",
"of",
"the",
"available",
"subnet",
"delegations",
"for",
"this",
"resource",
"group",
"in",
"this",
"region",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/available_resource_group_delegations.rb#L35-L38 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/virtual_machine_images.rb | Azure::Compute::Mgmt::V2018_04_01.VirtualMachineImages.list_offers | def list_offers(location, publisher_name, custom_headers:nil)
response = list_offers_async(location, publisher_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_offers(location, publisher_name, custom_headers:nil)
response = list_offers_async(location, publisher_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_offers",
"(",
"location",
",",
"publisher_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_offers_async",
"(",
"location",
",",
"publisher_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets a list of virtual machine image offers for the specified location and
publisher.
@param location [String] The name of a supported Azure region.
@param publisher_name [String] A valid image publisher.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array] operation results. | [
"Gets",
"a",
"list",
"of",
"virtual",
"machine",
"image",
"offers",
"for",
"the",
"specified",
"location",
"and",
"publisher",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/virtual_machine_images.rb#L267-L270 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/virtual_machine_images.rb | Azure::Compute::Mgmt::V2018_04_01.VirtualMachineImages.list_publishers | def list_publishers(location, custom_headers:nil)
response = list_publishers_async(location, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_publishers(location, custom_headers:nil)
response = list_publishers_async(location, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_publishers",
"(",
"location",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_publishers_async",
"(",
"location",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets a list of virtual machine image publishers for the specified Azure
location.
@param location [String] The name of a supported Azure region.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array] operation results. | [
"Gets",
"a",
"list",
"of",
"virtual",
"machine",
"image",
"publishers",
"for",
"the",
"specified",
"Azure",
"location",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/virtual_machine_images.rb#L377-L380 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_policy_insights/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb | Azure::PolicyInsights::Mgmt::V2018_07_01_preview.Remediations.cancel_at_management_group | def cancel_at_management_group(management_group_id, remediation_name, custom_headers:nil)
response = cancel_at_management_group_async(management_group_id, remediation_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def cancel_at_management_group(management_group_id, remediation_name, custom_headers:nil)
response = cancel_at_management_group_async(management_group_id, remediation_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"cancel_at_management_group",
"(",
"management_group_id",
",",
"remediation_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"cancel_at_management_group_async",
"(",
"management_group_id",
",",
"remediation_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Cancels a remediation at management group scope.
@param management_group_id [String] Management group ID.
@param remediation_name [String] The name of the remediation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Remediation] operation results. | [
"Cancels",
"a",
"remediation",
"at",
"management",
"group",
"scope",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_policy_insights/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb#L133-L136 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_policy_insights/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb | Azure::PolicyInsights::Mgmt::V2018_07_01_preview.Remediations.create_or_update_at_management_group_with_http_info | def create_or_update_at_management_group_with_http_info(management_group_id, remediation_name, parameters, custom_headers:nil)
create_or_update_at_management_group_async(management_group_id, remediation_name, parameters, custom_headers:custom_headers).value!
end | ruby | def create_or_update_at_management_group_with_http_info(management_group_id, remediation_name, parameters, custom_headers:nil)
create_or_update_at_management_group_async(management_group_id, remediation_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"create_or_update_at_management_group_with_http_info",
"(",
"management_group_id",
",",
"remediation_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"create_or_update_at_management_group_async",
"(",
"management_group_id",
",",
"remediation_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates or updates a remediation at management group scope.
@param management_group_id [String] Management group ID.
@param remediation_name [String] The name of the remediation.
@param parameters [Remediation] The remediation parameters.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Creates",
"or",
"updates",
"a",
"remediation",
"at",
"management",
"group",
"scope",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_policy_insights/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb#L341-L343 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_policy_insights/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb | Azure::PolicyInsights::Mgmt::V2018_07_01_preview.Remediations.get_at_management_group | def get_at_management_group(management_group_id, remediation_name, custom_headers:nil)
response = get_at_management_group_async(management_group_id, remediation_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_at_management_group(management_group_id, remediation_name, custom_headers:nil)
response = get_at_management_group_async(management_group_id, remediation_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_at_management_group",
"(",
"management_group_id",
",",
"remediation_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_at_management_group_async",
"(",
"management_group_id",
",",
"remediation_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets an existing remediation at management group scope.
@param management_group_id [String] Management group ID.
@param remediation_name [String] The name of the remediation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Remediation] operation results. | [
"Gets",
"an",
"existing",
"remediation",
"at",
"management",
"group",
"scope",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_policy_insights/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb#L437-L440 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_policy_insights/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb | Azure::PolicyInsights::Mgmt::V2018_07_01_preview.Remediations.delete_at_management_group | def delete_at_management_group(management_group_id, remediation_name, custom_headers:nil)
response = delete_at_management_group_async(management_group_id, remediation_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def delete_at_management_group(management_group_id, remediation_name, custom_headers:nil)
response = delete_at_management_group_async(management_group_id, remediation_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"delete_at_management_group",
"(",
"management_group_id",
",",
"remediation_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_at_management_group_async",
"(",
"management_group_id",
",",
"remediation_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Deletes an existing remediation at management group scope.
@param management_group_id [String] Management group ID.
@param remediation_name [String] The name of the remediation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Remediation] operation results. | [
"Deletes",
"an",
"existing",
"remediation",
"at",
"management",
"group",
"scope",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_policy_insights/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb#L529-L532 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_policy_insights/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb | Azure::PolicyInsights::Mgmt::V2018_07_01_preview.Remediations.cancel_at_subscription | def cancel_at_subscription(remediation_name, custom_headers:nil)
response = cancel_at_subscription_async(remediation_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def cancel_at_subscription(remediation_name, custom_headers:nil)
response = cancel_at_subscription_async(remediation_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"cancel_at_subscription",
"(",
"remediation_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"cancel_at_subscription_async",
"(",
"remediation_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Cancels a remediation at subscription scope.
@param remediation_name [String] The name of the remediation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Remediation] operation results. | [
"Cancels",
"a",
"remediation",
"at",
"subscription",
"scope",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_policy_insights/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb#L715-L718 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_policy_insights/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb | Azure::PolicyInsights::Mgmt::V2018_07_01_preview.Remediations.create_or_update_at_subscription | def create_or_update_at_subscription(remediation_name, parameters, custom_headers:nil)
response = create_or_update_at_subscription_async(remediation_name, parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def create_or_update_at_subscription(remediation_name, parameters, custom_headers:nil)
response = create_or_update_at_subscription_async(remediation_name, parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"create_or_update_at_subscription",
"(",
"remediation_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"create_or_update_at_subscription_async",
"(",
"remediation_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Creates or updates a remediation at subscription scope.
@param remediation_name [String] The name of the remediation.
@param parameters [Remediation] The remediation parameters.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Remediation] operation results. | [
"Creates",
"or",
"updates",
"a",
"remediation",
"at",
"subscription",
"scope",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_policy_insights/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb#L899-L902 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_policy_insights/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb | Azure::PolicyInsights::Mgmt::V2018_07_01_preview.Remediations.get_at_subscription | def get_at_subscription(remediation_name, custom_headers:nil)
response = get_at_subscription_async(remediation_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_at_subscription(remediation_name, custom_headers:nil)
response = get_at_subscription_async(remediation_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_at_subscription",
"(",
"remediation_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_at_subscription_async",
"(",
"remediation_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets an existing remediation at subscription scope.
@param remediation_name [String] The name of the remediation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Remediation] operation results. | [
"Gets",
"an",
"existing",
"remediation",
"at",
"subscription",
"scope",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_policy_insights/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb#L1007-L1010 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_policy_insights/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb | Azure::PolicyInsights::Mgmt::V2018_07_01_preview.Remediations.delete_at_subscription | def delete_at_subscription(remediation_name, custom_headers:nil)
response = delete_at_subscription_async(remediation_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def delete_at_subscription(remediation_name, custom_headers:nil)
response = delete_at_subscription_async(remediation_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"delete_at_subscription",
"(",
"remediation_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_at_subscription_async",
"(",
"remediation_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Deletes an existing remediation at subscription scope.
@param remediation_name [String] The name of the remediation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Remediation] operation results. | [
"Deletes",
"an",
"existing",
"remediation",
"at",
"subscription",
"scope",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_policy_insights/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb#L1095-L1098 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_policy_insights/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb | Azure::PolicyInsights::Mgmt::V2018_07_01_preview.Remediations.cancel_at_resource_group | def cancel_at_resource_group(resource_group_name, remediation_name, custom_headers:nil)
response = cancel_at_resource_group_async(resource_group_name, remediation_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def cancel_at_resource_group(resource_group_name, remediation_name, custom_headers:nil)
response = cancel_at_resource_group_async(resource_group_name, remediation_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"cancel_at_resource_group",
"(",
"resource_group_name",
",",
"remediation_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"cancel_at_resource_group_async",
"(",
"resource_group_name",
",",
"remediation_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Cancels a remediation at resource group scope.
@param resource_group_name [String] Resource group name.
@param remediation_name [String] The name of the remediation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Remediation] operation results. | [
"Cancels",
"a",
"remediation",
"at",
"resource",
"group",
"scope",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_policy_insights/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb#L1283-L1286 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_policy_insights/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb | Azure::PolicyInsights::Mgmt::V2018_07_01_preview.Remediations.get_at_resource_group | def get_at_resource_group(resource_group_name, remediation_name, custom_headers:nil)
response = get_at_resource_group_async(resource_group_name, remediation_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_at_resource_group(resource_group_name, remediation_name, custom_headers:nil)
response = get_at_resource_group_async(resource_group_name, remediation_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_at_resource_group",
"(",
"resource_group_name",
",",
"remediation_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_at_resource_group_async",
"(",
"resource_group_name",
",",
"remediation_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets an existing remediation at resource group scope.
@param resource_group_name [String] Resource group name.
@param remediation_name [String] The name of the remediation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Remediation] operation results. | [
"Gets",
"an",
"existing",
"remediation",
"at",
"resource",
"group",
"scope",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_policy_insights/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb#L1587-L1590 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_policy_insights/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb | Azure::PolicyInsights::Mgmt::V2018_07_01_preview.Remediations.delete_at_resource_group | def delete_at_resource_group(resource_group_name, remediation_name, custom_headers:nil)
response = delete_at_resource_group_async(resource_group_name, remediation_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def delete_at_resource_group(resource_group_name, remediation_name, custom_headers:nil)
response = delete_at_resource_group_async(resource_group_name, remediation_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"delete_at_resource_group",
"(",
"resource_group_name",
",",
"remediation_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_at_resource_group_async",
"(",
"resource_group_name",
",",
"remediation_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Deletes an existing remediation at resource group scope.
@param resource_group_name [String] Resource group name.
@param remediation_name [String] The name of the remediation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Remediation] operation results. | [
"Deletes",
"an",
"existing",
"remediation",
"at",
"resource",
"group",
"scope",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_policy_insights/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb#L1679-L1682 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_policy_insights/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb | Azure::PolicyInsights::Mgmt::V2018_07_01_preview.Remediations.cancel_at_resource | def cancel_at_resource(resource_id, remediation_name, custom_headers:nil)
response = cancel_at_resource_async(resource_id, remediation_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def cancel_at_resource(resource_id, remediation_name, custom_headers:nil)
response = cancel_at_resource_async(resource_id, remediation_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"cancel_at_resource",
"(",
"resource_id",
",",
"remediation_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"cancel_at_resource_async",
"(",
"resource_id",
",",
"remediation_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Cancel a remediation at resource scope.
@param resource_id [String] Resource ID.
@param remediation_name [String] The name of the remediation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Remediation] operation results. | [
"Cancel",
"a",
"remediation",
"at",
"resource",
"scope",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_policy_insights/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb#L1870-L1873 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_policy_insights/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb | Azure::PolicyInsights::Mgmt::V2018_07_01_preview.Remediations.get_at_resource | def get_at_resource(resource_id, remediation_name, custom_headers:nil)
response = get_at_resource_async(resource_id, remediation_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_at_resource(resource_id, remediation_name, custom_headers:nil)
response = get_at_resource_async(resource_id, remediation_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_at_resource",
"(",
"resource_id",
",",
"remediation_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_at_resource_async",
"(",
"resource_id",
",",
"remediation_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets an existing remediation at resource scope.
@param resource_id [String] Resource ID.
@param remediation_name [String] The name of the remediation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Remediation] operation results. | [
"Gets",
"an",
"existing",
"remediation",
"at",
"resource",
"scope",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_policy_insights/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb#L2173-L2176 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_policy_insights/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb | Azure::PolicyInsights::Mgmt::V2018_07_01_preview.Remediations.delete_at_resource | def delete_at_resource(resource_id, remediation_name, custom_headers:nil)
response = delete_at_resource_async(resource_id, remediation_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def delete_at_resource(resource_id, remediation_name, custom_headers:nil)
response = delete_at_resource_async(resource_id, remediation_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"delete_at_resource",
"(",
"resource_id",
",",
"remediation_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_at_resource_async",
"(",
"resource_id",
",",
"remediation_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Deletes an existing remediation at individual resource scope.
@param resource_id [String] Resource ID.
@param remediation_name [String] The name of the remediation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Remediation] operation results. | [
"Deletes",
"an",
"existing",
"remediation",
"at",
"individual",
"resource",
"scope",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_policy_insights/lib/2018-07-01-preview/generated/azure_mgmt_policy_insights/remediations.rb#L2265-L2268 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/registries.rb | Azure::ContainerRegistry::Mgmt::V2016_06_27_preview.Registries.check_name_availability | def check_name_availability(registry_name_check_request, custom_headers:nil)
response = check_name_availability_async(registry_name_check_request, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def check_name_availability(registry_name_check_request, custom_headers:nil)
response = check_name_availability_async(registry_name_check_request, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"check_name_availability",
"(",
"registry_name_check_request",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"check_name_availability_async",
"(",
"registry_name_check_request",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Checks whether the container registry name is available for use. The name
must contain only alphanumeric characters, be globally unique, and between 5
and 60 characters in length.
@param registry_name_check_request [RegistryNameCheckRequest] The object
containing information for the availability request.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [RegistryNameStatus] operation results. | [
"Checks",
"whether",
"the",
"container",
"registry",
"name",
"is",
"available",
"for",
"use",
".",
"The",
"name",
"must",
"contain",
"only",
"alphanumeric",
"characters",
"be",
"globally",
"unique",
"and",
"between",
"5",
"and",
"60",
"characters",
"in",
"length",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/registries.rb#L36-L39 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/registries.rb | Azure::ContainerRegistry::Mgmt::V2016_06_27_preview.Registries.get_credentials | def get_credentials(resource_group_name, registry_name, custom_headers:nil)
response = get_credentials_async(resource_group_name, registry_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_credentials(resource_group_name, registry_name, custom_headers:nil)
response = get_credentials_async(resource_group_name, registry_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_credentials",
"(",
"resource_group_name",
",",
"registry_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_credentials_async",
"(",
"resource_group_name",
",",
"registry_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets the administrator login credentials for the specified container
registry.
@param resource_group_name [String] The name of the resource group to which
the container registry belongs.
@param registry_name [String] The name of the container registry.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [RegistryCredentials] operation results. | [
"Gets",
"the",
"administrator",
"login",
"credentials",
"for",
"the",
"specified",
"container",
"registry",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/registries.rb#L718-L721 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/registries.rb | Azure::ContainerRegistry::Mgmt::V2016_06_27_preview.Registries.regenerate_credentials | def regenerate_credentials(resource_group_name, registry_name, custom_headers:nil)
response = regenerate_credentials_async(resource_group_name, registry_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def regenerate_credentials(resource_group_name, registry_name, custom_headers:nil)
response = regenerate_credentials_async(resource_group_name, registry_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"regenerate_credentials",
"(",
"resource_group_name",
",",
"registry_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"regenerate_credentials_async",
"(",
"resource_group_name",
",",
"registry_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Regenerates the administrator login credentials for the specified container
registry.
@param resource_group_name [String] The name of the resource group to which
the container registry belongs.
@param registry_name [String] The name of the container registry.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [RegistryCredentials] operation results. | [
"Regenerates",
"the",
"administrator",
"login",
"credentials",
"for",
"the",
"specified",
"container",
"registry",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_container_registry/lib/2016-06-27-preview/generated/azure_mgmt_container_registry/registries.rb#L816-L819 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_resources/lib/2016-02-01/generated/azure_mgmt_resources/tags.rb | Azure::Resources::Mgmt::V2016_02_01.Tags.delete_value | def delete_value(tag_name, tag_value, custom_headers:nil)
response = delete_value_async(tag_name, tag_value, custom_headers:custom_headers).value!
nil
end | ruby | def delete_value(tag_name, tag_value, custom_headers:nil)
response = delete_value_async(tag_name, tag_value, custom_headers:custom_headers).value!
nil
end | [
"def",
"delete_value",
"(",
"tag_name",
",",
"tag_value",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_value_async",
"(",
"tag_name",
",",
"tag_value",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Delete a subscription resource tag value.
@param tag_name [String] The name of the tag.
@param tag_value [String] The value of the tag.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Delete",
"a",
"subscription",
"resource",
"tag",
"value",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_resources/lib/2016-02-01/generated/azure_mgmt_resources/tags.rb#L33-L36 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_resources/lib/2016-02-01/generated/azure_mgmt_resources/tags.rb | Azure::Resources::Mgmt::V2016_02_01.Tags.create_or_update_value | def create_or_update_value(tag_name, tag_value, custom_headers:nil)
response = create_or_update_value_async(tag_name, tag_value, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def create_or_update_value(tag_name, tag_value, custom_headers:nil)
response = create_or_update_value_async(tag_name, tag_value, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"create_or_update_value",
"(",
"tag_name",
",",
"tag_value",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"create_or_update_value_async",
"(",
"tag_name",
",",
"tag_value",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Create a subscription resource tag value.
@param tag_name [String] The name of the tag.
@param tag_value [String] The value of the tag.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [TagValue] operation results. | [
"Create",
"a",
"subscription",
"resource",
"tag",
"value",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_resources/lib/2016-02-01/generated/azure_mgmt_resources/tags.rb#L115-L118 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_resources/lib/2016-02-01/generated/azure_mgmt_resources/tags.rb | Azure::Resources::Mgmt::V2016_02_01.Tags.create_or_update | def create_or_update(tag_name, custom_headers:nil)
response = create_or_update_async(tag_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def create_or_update(tag_name, custom_headers:nil)
response = create_or_update_async(tag_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"create_or_update",
"(",
"tag_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"create_or_update_async",
"(",
"tag_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Create a subscription resource tag.
@param tag_name [String] The name of the tag.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [TagDetails] operation results. | [
"Create",
"a",
"subscription",
"resource",
"tag",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_resources/lib/2016-02-01/generated/azure_mgmt_resources/tags.rb#L216-L219 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/dsc_compilation_job_operations.rb | Azure::Automation::Mgmt::V2015_10_31.DscCompilationJobOperations.get_with_http_info | def get_with_http_info(resource_group_name, automation_account_name, compilation_job_id, custom_headers:nil)
get_async(resource_group_name, automation_account_name, compilation_job_id, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, automation_account_name, compilation_job_id, custom_headers:nil)
get_async(resource_group_name, automation_account_name, compilation_job_id, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"compilation_job_id",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"compilation_job_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Retrieve the Dsc configuration compilation job identified by job id.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param compilation_job_id The Dsc configuration compilation job 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",
"configuration",
"compilation",
"job",
"identified",
"by",
"job",
"id",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/dsc_compilation_job_operations.rb#L164-L166 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/registries.rb | Azure::ContainerRegistry::Mgmt::V2017_06_01_preview.Registries.list_credentials | def list_credentials(resource_group_name, registry_name, custom_headers:nil)
response = list_credentials_async(resource_group_name, registry_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_credentials(resource_group_name, registry_name, custom_headers:nil)
response = list_credentials_async(resource_group_name, registry_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_credentials",
"(",
"resource_group_name",
",",
"registry_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_credentials_async",
"(",
"resource_group_name",
",",
"registry_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Lists the login credentials for the specified container registry.
@param resource_group_name [String] The name of the resource group to which
the container registry belongs.
@param registry_name [String] The name of the container registry.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [RegistryListCredentialsResult] operation results. | [
"Lists",
"the",
"login",
"credentials",
"for",
"the",
"specified",
"container",
"registry",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_container_registry/lib/2017-06-01-preview/generated/azure_mgmt_container_registry/registries.rb#L546-L549 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_event_hub/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/clusters.rb | Azure::EventHub::Mgmt::V2018_01_01_preview.Clusters.list_available_clusters | def list_available_clusters(custom_headers:nil)
response = list_available_clusters_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_available_clusters(custom_headers:nil)
response = list_available_clusters_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_available_clusters",
"(",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_available_clusters_async",
"(",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | List the quantity of available pre-provisioned Event Hubs Clusters, indexed
by Azure region.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [AvailableClustersList] operation results. | [
"List",
"the",
"quantity",
"of",
"available",
"pre",
"-",
"provisioned",
"Event",
"Hubs",
"Clusters",
"indexed",
"by",
"Azure",
"region",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_event_hub/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/clusters.rb#L34-L37 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_event_hub/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/clusters.rb | Azure::EventHub::Mgmt::V2018_01_01_preview.Clusters.list_namespaces | def list_namespaces(resource_group_name, cluster_name, custom_headers:nil)
response = list_namespaces_async(resource_group_name, cluster_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_namespaces(resource_group_name, cluster_name, custom_headers:nil)
response = list_namespaces_async(resource_group_name, cluster_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_namespaces",
"(",
"resource_group_name",
",",
"cluster_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_namespaces_async",
"(",
"resource_group_name",
",",
"cluster_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | List all Event Hubs Namespace IDs in an Event Hubs Dedicated Cluster.
@param resource_group_name [String] Name of the resource group within the
Azure subscription.
@param cluster_name [String] The name of the Event Hubs Cluster.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [EHNamespaceIdListResult] operation results. | [
"List",
"all",
"Event",
"Hubs",
"Namespace",
"IDs",
"in",
"an",
"Event",
"Hubs",
"Dedicated",
"Cluster",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_event_hub/lib/2018-01-01-preview/generated/azure_mgmt_event_hub/clusters.rb#L448-L451 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/container_groups.rb | Azure::ContainerInstance::Mgmt::V2018_06_01.ContainerGroups.stop | def stop(resource_group_name, container_group_name, custom_headers:nil)
response = stop_async(resource_group_name, container_group_name, custom_headers:custom_headers).value!
nil
end | ruby | def stop(resource_group_name, container_group_name, custom_headers:nil)
response = stop_async(resource_group_name, container_group_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"stop",
"(",
"resource_group_name",
",",
"container_group_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"stop_async",
"(",
"resource_group_name",
",",
"container_group_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Stops all containers in a container group.
Stops all containers in a contaienr group. Compute resources will be
deallocated and billing will stop.
@param resource_group_name [String] The name of the resource group.
@param container_group_name [String] The name of the container group.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Stops",
"all",
"containers",
"in",
"a",
"container",
"group",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_container_instance/lib/2018-06-01/generated/azure_mgmt_container_instance/container_groups.rb#L653-L656 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/workflow_triggers.rb | Azure::Logic::Mgmt::V2016_06_01.WorkflowTriggers.list_callback_url_with_http_info | def list_callback_url_with_http_info(resource_group_name, workflow_name, trigger_name, custom_headers:nil)
list_callback_url_async(resource_group_name, workflow_name, trigger_name, custom_headers:custom_headers).value!
end | ruby | def list_callback_url_with_http_info(resource_group_name, workflow_name, trigger_name, custom_headers:nil)
list_callback_url_async(resource_group_name, workflow_name, trigger_name, custom_headers:custom_headers).value!
end | [
"def",
"list_callback_url_with_http_info",
"(",
"resource_group_name",
",",
"workflow_name",
",",
"trigger_name",
",",
"custom_headers",
":",
"nil",
")",
"list_callback_url_async",
"(",
"resource_group_name",
",",
"workflow_name",
",",
"trigger_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Get the callback URL for a workflow trigger.
@param resource_group_name [String] The resource group name.
@param workflow_name [String] The workflow name.
@param trigger_name [String] The workflow trigger name.
@param 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",
"workflow",
"trigger",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/workflow_triggers.rb#L611-L613 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/event_subscriptions.rb | Azure::EventGrid::Mgmt::V2018_01_01.EventSubscriptions.get_full_url | def get_full_url(scope, event_subscription_name, custom_headers:nil)
response = get_full_url_async(scope, event_subscription_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_full_url(scope, event_subscription_name, custom_headers:nil)
response = get_full_url_async(scope, event_subscription_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_full_url",
"(",
"scope",
",",
"event_subscription_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_full_url_async",
"(",
"scope",
",",
"event_subscription_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Get full URL of an event subscription
Get the full endpoint URL for an event subscription
@param scope [String] The scope of the event subscription. The scope can be a
subscription, or a resource group, or a top level resource belonging to a
resource provider namespace, or an EventGrid topic. For example, use
'/subscriptions/{subscriptionId}/' for a subscription,
'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}' for a
resource group, and
'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}'
for a resource, and
'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/topics/{topicName}'
for an EventGrid topic.
@param event_subscription_name [String] Name of the event subscription
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [EventSubscriptionFullUrl] operation results. | [
"Get",
"full",
"URL",
"of",
"an",
"event",
"subscription"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_event_grid/lib/2018-01-01/generated/azure_mgmt_event_grid/event_subscriptions.rb#L369-L372 | train |
Azure/azure-sdk-for-ruby | data/azure_graph_rbac/lib/1.6/generated/azure_graph_rbac/service_principals.rb | Azure::GraphRbac::V1_6.ServicePrincipals.list_owners | def list_owners(object_id, custom_headers:nil)
response = list_owners_async(object_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_owners(object_id, custom_headers:nil)
response = list_owners_async(object_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_owners",
"(",
"object_id",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_owners_async",
"(",
"object_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Directory objects that are owners of this service principal.
The owners are a set of non-admin users who are allowed to modify this
object.
@param object_id [String] The object ID of the service principal for which to
get owners.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [DirectoryObjectListResult] operation results. | [
"Directory",
"objects",
"that",
"are",
"owners",
"of",
"this",
"service",
"principal",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_graph_rbac/lib/1.6/generated/azure_graph_rbac/service_principals.rb#L387-L390 | train |
Azure/azure-sdk-for-ruby | data/azure_graph_rbac/lib/1.6/generated/azure_graph_rbac/service_principals.rb | Azure::GraphRbac::V1_6.ServicePrincipals.list_key_credentials | def list_key_credentials(object_id, custom_headers:nil)
response = list_key_credentials_async(object_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_key_credentials(object_id, custom_headers:nil)
response = list_key_credentials_async(object_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_key_credentials",
"(",
"object_id",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_key_credentials_async",
"(",
"object_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Get the keyCredentials associated with the specified service principal.
@param object_id [String] The object ID of the service principal for which to
get keyCredentials.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [KeyCredentialListResult] operation results. | [
"Get",
"the",
"keyCredentials",
"associated",
"with",
"the",
"specified",
"service",
"principal",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_graph_rbac/lib/1.6/generated/azure_graph_rbac/service_principals.rb#L484-L487 | train |
Azure/azure-sdk-for-ruby | data/azure_graph_rbac/lib/1.6/generated/azure_graph_rbac/service_principals.rb | Azure::GraphRbac::V1_6.ServicePrincipals.update_key_credentials | def update_key_credentials(object_id, parameters, custom_headers:nil)
response = update_key_credentials_async(object_id, parameters, custom_headers:custom_headers).value!
nil
end | ruby | def update_key_credentials(object_id, parameters, custom_headers:nil)
response = update_key_credentials_async(object_id, parameters, custom_headers:custom_headers).value!
nil
end | [
"def",
"update_key_credentials",
"(",
"object_id",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"update_key_credentials_async",
"(",
"object_id",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Update the keyCredentials associated with a service principal.
@param object_id [String] The object ID for which to get service principal
information.
@param parameters [KeyCredentialsUpdateParameters] Parameters to update the
keyCredentials of an existing service principal.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Update",
"the",
"keyCredentials",
"associated",
"with",
"a",
"service",
"principal",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_graph_rbac/lib/1.6/generated/azure_graph_rbac/service_principals.rb#L576-L579 | train |
Azure/azure-sdk-for-ruby | data/azure_graph_rbac/lib/1.6/generated/azure_graph_rbac/service_principals.rb | Azure::GraphRbac::V1_6.ServicePrincipals.list_password_credentials | def list_password_credentials(object_id, custom_headers:nil)
response = list_password_credentials_async(object_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_password_credentials(object_id, custom_headers:nil)
response = list_password_credentials_async(object_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_password_credentials",
"(",
"object_id",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_password_credentials_async",
"(",
"object_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets the passwordCredentials associated with a service principal.
@param object_id [String] The object ID of the service principal.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [PasswordCredentialListResult] operation results. | [
"Gets",
"the",
"passwordCredentials",
"associated",
"with",
"a",
"service",
"principal",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_graph_rbac/lib/1.6/generated/azure_graph_rbac/service_principals.rb#L668-L671 | train |
Azure/azure-sdk-for-ruby | data/azure_graph_rbac/lib/1.6/generated/azure_graph_rbac/service_principals.rb | Azure::GraphRbac::V1_6.ServicePrincipals.update_password_credentials | def update_password_credentials(object_id, parameters, custom_headers:nil)
response = update_password_credentials_async(object_id, parameters, custom_headers:custom_headers).value!
nil
end | ruby | def update_password_credentials(object_id, parameters, custom_headers:nil)
response = update_password_credentials_async(object_id, parameters, custom_headers:custom_headers).value!
nil
end | [
"def",
"update_password_credentials",
"(",
"object_id",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"update_password_credentials_async",
"(",
"object_id",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Updates the passwordCredentials associated with a service principal.
@param object_id [String] The object ID of the service principal.
@param parameters [PasswordCredentialsUpdateParameters] Parameters to update
the passwordCredentials of an existing service principal.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Updates",
"the",
"passwordCredentials",
"associated",
"with",
"a",
"service",
"principal",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_graph_rbac/lib/1.6/generated/azure_graph_rbac/service_principals.rb#L757-L760 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_postgresql/lib/2017-12-01-preview/generated/azure_mgmt_postgresql/check_name_availability.rb | Azure::Postgresql::Mgmt::V2017_12_01_preview.CheckNameAvailability.execute | def execute(name_availability_request, custom_headers:nil)
response = execute_async(name_availability_request, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def execute(name_availability_request, custom_headers:nil)
response = execute_async(name_availability_request, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"execute",
"(",
"name_availability_request",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"execute_async",
"(",
"name_availability_request",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Check the availability of name for resource
@param name_availability_request [NameAvailabilityRequest] The required
parameters for checking if resource name is available.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [NameAvailability] operation results. | [
"Check",
"the",
"availability",
"of",
"name",
"for",
"resource"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_postgresql/lib/2017-12-01-preview/generated/azure_mgmt_postgresql/check_name_availability.rb#L37-L40 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_machine_learning_services/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/machine_learning_compute.rb | Azure::MachineLearningServices::Mgmt::V2018_03_01_preview.MachineLearningCompute.list_by_workspace_with_http_info | def list_by_workspace_with_http_info(resource_group_name, workspace_name, skiptoken:nil, custom_headers:nil)
list_by_workspace_async(resource_group_name, workspace_name, skiptoken:skiptoken, custom_headers:custom_headers).value!
end | ruby | def list_by_workspace_with_http_info(resource_group_name, workspace_name, skiptoken:nil, custom_headers:nil)
list_by_workspace_async(resource_group_name, workspace_name, skiptoken:skiptoken, custom_headers:custom_headers).value!
end | [
"def",
"list_by_workspace_with_http_info",
"(",
"resource_group_name",
",",
"workspace_name",
",",
"skiptoken",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"list_by_workspace_async",
"(",
"resource_group_name",
",",
"workspace_name",
",",
"skiptoken",
":",
"skiptoken",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets computes in specified workspace.
@param resource_group_name [String] Name of the resource group in which
workspace is located.
@param workspace_name [String] Name of Azure Machine Learning workspace.
@param skiptoken [String] Continuation token for pagination.
@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",
"computes",
"in",
"specified",
"workspace",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_machine_learning_services/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/machine_learning_compute.rb#L54-L56 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_machine_learning_services/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/machine_learning_compute.rb | Azure::MachineLearningServices::Mgmt::V2018_03_01_preview.MachineLearningCompute.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, workspace_name, compute_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, workspace_name, compute_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, workspace_name, compute_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, workspace_name, compute_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"workspace_name",
",",
"compute_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"workspace_name",
",",
"compute_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates or updates compute. This call will overwrite a compute if it exists.
This is a nonrecoverable operation. If your intent is to create a new
compute, do a GET first to verify that it does not exist yet.
@param resource_group_name [String] Name of the resource group in which
workspace is located.
@param workspace_name [String] Name of Azure Machine Learning workspace.
@param compute_name [String] Name of the Azure Machine Learning compute.
@param parameters [ComputeResource] Payload with Machine Learning compute
definition.
@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",
"compute",
".",
"This",
"call",
"will",
"overwrite",
"a",
"compute",
"if",
"it",
"exists",
".",
"This",
"is",
"a",
"nonrecoverable",
"operation",
".",
"If",
"your",
"intent",
"is",
"to",
"create",
"a",
"new",
"compute",
"do",
"a",
"GET",
"first",
"to",
"verify",
"that",
"it",
"does",
"not",
"exist",
"yet",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_machine_learning_services/lib/2018-03-01-preview/generated/azure_mgmt_machine_learning_services/machine_learning_compute.rb#L500-L502 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_service_bus/lib/2015-08-01/generated/azure_mgmt_service_bus/queues.rb | Azure::ServiceBus::Mgmt::V2015_08_01.Queues.delete_with_http_info | def delete_with_http_info(resource_group_name, namespace_name, queue_name, custom_headers:nil)
delete_async(resource_group_name, namespace_name, queue_name, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, namespace_name, queue_name, custom_headers:nil)
delete_async(resource_group_name, namespace_name, queue_name, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"queue_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"queue_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes a queue from the specified namespace in a resource group.
@param resource_group_name [String] Name of the Resource group within the
Azure subscription.
@param namespace_name [String] The namespace name
@param queue_name [String] The queue name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Deletes",
"a",
"queue",
"from",
"the",
"specified",
"namespace",
"in",
"a",
"resource",
"group",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_service_bus/lib/2015-08-01/generated/azure_mgmt_service_bus/queues.rb#L270-L272 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_service_bus/lib/2015-08-01/generated/azure_mgmt_service_bus/queues.rb | Azure::ServiceBus::Mgmt::V2015_08_01.Queues.get_with_http_info | def get_with_http_info(resource_group_name, namespace_name, queue_name, custom_headers:nil)
get_async(resource_group_name, namespace_name, queue_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, namespace_name, queue_name, custom_headers:nil)
get_async(resource_group_name, namespace_name, queue_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"queue_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"queue_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Returns a description for the specified queue.
@param resource_group_name [String] Name of the Resource group within the
Azure subscription.
@param namespace_name [String] The namespace name
@param queue_name [String] The queue name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Returns",
"a",
"description",
"for",
"the",
"specified",
"queue",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_service_bus/lib/2015-08-01/generated/azure_mgmt_service_bus/queues.rb#L365-L367 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_service_bus/lib/2015-08-01/generated/azure_mgmt_service_bus/queues.rb | Azure::ServiceBus::Mgmt::V2015_08_01.Queues.list_authorization_rules_with_http_info | def list_authorization_rules_with_http_info(resource_group_name, namespace_name, queue_name, custom_headers:nil)
list_authorization_rules_async(resource_group_name, namespace_name, queue_name, custom_headers:custom_headers).value!
end | ruby | def list_authorization_rules_with_http_info(resource_group_name, namespace_name, queue_name, custom_headers:nil)
list_authorization_rules_async(resource_group_name, namespace_name, queue_name, custom_headers:custom_headers).value!
end | [
"def",
"list_authorization_rules_with_http_info",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"queue_name",
",",
"custom_headers",
":",
"nil",
")",
"list_authorization_rules_async",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"queue_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets all authorization rules for a queue.
@param resource_group_name [String] Name of the Resource group within the
Azure subscription.
@param namespace_name [String] The namespace name
@param queue_name [String] The queue 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",
"all",
"authorization",
"rules",
"for",
"a",
"queue",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_service_bus/lib/2015-08-01/generated/azure_mgmt_service_bus/queues.rb#L470-L472 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_service_bus/lib/2015-08-01/generated/azure_mgmt_service_bus/queues.rb | Azure::ServiceBus::Mgmt::V2015_08_01.Queues.list_keys | def list_keys(resource_group_name, namespace_name, queue_name, authorization_rule_name, custom_headers:nil)
response = list_keys_async(resource_group_name, namespace_name, queue_name, authorization_rule_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_keys(resource_group_name, namespace_name, queue_name, authorization_rule_name, custom_headers:nil)
response = list_keys_async(resource_group_name, namespace_name, queue_name, authorization_rule_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_keys",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"queue_name",
",",
"authorization_rule_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_keys_async",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"queue_name",
",",
"authorization_rule_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Primary and secondary connection strings to the queue.
@param resource_group_name [String] Name of the Resource group within the
Azure subscription.
@param namespace_name [String] The namespace name
@param queue_name [String] The queue name.
@param authorization_rule_name [String] The authorization rule name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [ResourceListKeys] operation results. | [
"Primary",
"and",
"secondary",
"connection",
"strings",
"to",
"the",
"queue",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_service_bus/lib/2015-08-01/generated/azure_mgmt_service_bus/queues.rb#L1006-L1009 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_service_bus/lib/2015-08-01/generated/azure_mgmt_service_bus/queues.rb | Azure::ServiceBus::Mgmt::V2015_08_01.Queues.list_all_as_lazy | def list_all_as_lazy(resource_group_name, namespace_name, custom_headers:nil)
response = list_all_async(resource_group_name, namespace_name, custom_headers:custom_headers).value!
unless response.nil?
page = response.body
page.next_method = Proc.new do |next_page_link|
list_all_next_async(next_page_link, custom_headers:custom_headers)
end
page
end
end | ruby | def list_all_as_lazy(resource_group_name, namespace_name, custom_headers:nil)
response = list_all_async(resource_group_name, namespace_name, custom_headers:custom_headers).value!
unless response.nil?
page = response.body
page.next_method = Proc.new do |next_page_link|
list_all_next_async(next_page_link, custom_headers:custom_headers)
end
page
end
end | [
"def",
"list_all_as_lazy",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_all_async",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"unless",
"response",
".",
"nil?",
"page",
"=",
"response",
".",
"body",
"page",
".",
"next_method",
"=",
"Proc",
".",
"new",
"do",
"|",
"next_page_link",
"|",
"list_all_next_async",
"(",
"next_page_link",
",",
"custom_headers",
":custom_headers",
")",
"end",
"page",
"end",
"end"
] | Gets the queues within a namespace.
@param resource_group_name [String] Name of the Resource group within the
Azure subscription.
@param namespace_name [String] The namespace name
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [QueueListResult] which provide lazy access to pages of the response. | [
"Gets",
"the",
"queues",
"within",
"a",
"namespace",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_service_bus/lib/2015-08-01/generated/azure_mgmt_service_bus/queues.rb#L1416-L1425 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machines.rb | Azure::Compute::Mgmt::V2017_12_01.VirtualMachines.instance_view | def instance_view(resource_group_name, vm_name, custom_headers:nil)
response = instance_view_async(resource_group_name, vm_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def instance_view(resource_group_name, vm_name, custom_headers:nil)
response = instance_view_async(resource_group_name, vm_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"instance_view",
"(",
"resource_group_name",
",",
"vm_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"instance_view_async",
"(",
"resource_group_name",
",",
"vm_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Retrieves information about the run-time state of a virtual machine.
@param resource_group_name [String] The name of the resource group.
@param vm_name [String] The name of the virtual machine.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [VirtualMachineInstanceView] operation results. | [
"Retrieves",
"information",
"about",
"the",
"run",
"-",
"time",
"state",
"of",
"a",
"virtual",
"machine",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machines.rb#L509-L512 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machines.rb | Azure::Compute::Mgmt::V2017_12_01.VirtualMachines.begin_update_with_http_info | def begin_update_with_http_info(resource_group_name, vm_name, parameters, custom_headers:nil)
begin_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_update_with_http_info(resource_group_name, vm_name, parameters, custom_headers:nil)
begin_update_async(resource_group_name, vm_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_update_with_http_info",
"(",
"resource_group_name",
",",
"vm_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_update_async",
"(",
"resource_group_name",
",",
"vm_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | The operation to update a virtual machine.
@param resource_group_name [String] The name of the resource group.
@param vm_name [String] The name of the virtual machine.
@param parameters [VirtualMachineUpdate] Parameters supplied to the Update
Virtual Machine operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"The",
"operation",
"to",
"update",
"a",
"virtual",
"machine",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machines.rb#L1554-L1556 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machines.rb | Azure::Compute::Mgmt::V2017_12_01.VirtualMachines.list_by_location_as_lazy | def list_by_location_as_lazy(location, custom_headers:nil)
response = list_by_location_async(location, custom_headers:custom_headers).value!
unless response.nil?
page = response.body
page.next_method = Proc.new do |next_page_link|
list_by_location_next_async(next_page_link, custom_headers:custom_headers)
end
page
end
end | ruby | def list_by_location_as_lazy(location, custom_headers:nil)
response = list_by_location_async(location, custom_headers:custom_headers).value!
unless response.nil?
page = response.body
page.next_method = Proc.new do |next_page_link|
list_by_location_next_async(next_page_link, custom_headers:custom_headers)
end
page
end
end | [
"def",
"list_by_location_as_lazy",
"(",
"location",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_by_location_async",
"(",
"location",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"unless",
"response",
".",
"nil?",
"page",
"=",
"response",
".",
"body",
"page",
".",
"next_method",
"=",
"Proc",
".",
"new",
"do",
"|",
"next_page_link",
"|",
"list_by_location_next_async",
"(",
"next_page_link",
",",
"custom_headers",
":custom_headers",
")",
"end",
"page",
"end",
"end"
] | Gets all the virtual machines under the specified subscription for the
specified location.
@param location [String] The location for which virtual machines under the
subscription are queried.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [VirtualMachineListResult] which provide lazy access to pages of the
response. | [
"Gets",
"all",
"the",
"virtual",
"machines",
"under",
"the",
"specified",
"subscription",
"for",
"the",
"specified",
"location",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_compute/lib/2017-12-01/generated/azure_mgmt_compute/virtual_machines.rb#L2780-L2789 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/server_azure_adadministrators.rb | Azure::SQL::Mgmt::V2014_04_01.ServerAzureADAdministrators.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, server_name, properties, custom_headers:nil)
begin_create_or_update_async(resource_group_name, server_name, properties, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, server_name, properties, custom_headers:nil)
begin_create_or_update_async(resource_group_name, server_name, properties, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"server_name",
",",
"properties",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"properties",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates a new Server Active Directory Administrator or updates an existing
server Active Directory Administrator.
@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 properties [ServerAzureADAdministrator] The required parameters for
creating or updating an Active Directory Administrator.
@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",
"new",
"Server",
"Active",
"Directory",
"Administrator",
"or",
"updates",
"an",
"existing",
"server",
"Active",
"Directory",
"Administrator",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/server_azure_adadministrators.rb#L356-L358 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_api_management/lib/2019-01-01/generated/azure_mgmt_api_management/cache.rb | Azure::ApiManagement::Mgmt::V2019_01_01.Cache.get_with_http_info | def get_with_http_info(resource_group_name, service_name, cache_id, custom_headers:nil)
get_async(resource_group_name, service_name, cache_id, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, service_name, cache_id, custom_headers:nil)
get_async(resource_group_name, service_name, cache_id, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"service_name",
",",
"cache_id",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"service_name",
",",
"cache_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the details of the Cache specified by its identifier.
@param resource_group_name [String] The name of the resource group.
@param service_name [String] The name of the API Management service.
@param cache_id [String] Identifier of the Cache entity. Cache identifier
(should be either 'default' or valid Azure region identifier).
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"the",
"details",
"of",
"the",
"Cache",
"specified",
"by",
"its",
"identifier",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_api_management/lib/2019-01-01/generated/azure_mgmt_api_management/cache.rb#L253-L255 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_recovery_services_backup/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/protection_intent_operations.rb | Azure::RecoveryServicesBackup::Mgmt::V2017_07_01.ProtectionIntentOperations.create_or_update_with_http_info | def create_or_update_with_http_info(vault_name, resource_group_name, fabric_name, intent_object_name, parameters, custom_headers:nil)
create_or_update_async(vault_name, resource_group_name, fabric_name, intent_object_name, parameters, custom_headers:custom_headers).value!
end | ruby | def create_or_update_with_http_info(vault_name, resource_group_name, fabric_name, intent_object_name, parameters, custom_headers:nil)
create_or_update_async(vault_name, resource_group_name, fabric_name, intent_object_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"create_or_update_with_http_info",
"(",
"vault_name",
",",
"resource_group_name",
",",
"fabric_name",
",",
"intent_object_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"create_or_update_async",
"(",
"vault_name",
",",
"resource_group_name",
",",
"fabric_name",
",",
"intent_object_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Create Intent for Enabling backup of an item. This is a synchronous
operation.
@param vault_name [String] The name of the recovery services vault.
@param resource_group_name [String] The name of the resource group where the
recovery services vault is present.
@param fabric_name [String] Fabric name associated with the backup item.
@param intent_object_name [String] Intent object name.
@param parameters [ProtectionIntentResource] resource backed up item
@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",
"Intent",
"for",
"Enabling",
"backup",
"of",
"an",
"item",
".",
"This",
"is",
"a",
"synchronous",
"operation",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_recovery_services_backup/lib/2017-07-01/generated/azure_mgmt_recovery_services_backup/protection_intent_operations.rb#L174-L176 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_stor_simple8000_series/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/device_settings.rb | Azure::StorSimple8000Series::Mgmt::V2017_06_01.DeviceSettings.get_network_settings_with_http_info | def get_network_settings_with_http_info(device_name, resource_group_name, manager_name, custom_headers:nil)
get_network_settings_async(device_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
end | ruby | def get_network_settings_with_http_info(device_name, resource_group_name, manager_name, custom_headers:nil)
get_network_settings_async(device_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
end | [
"def",
"get_network_settings_with_http_info",
"(",
"device_name",
",",
"resource_group_name",
",",
"manager_name",
",",
"custom_headers",
":",
"nil",
")",
"get_network_settings_async",
"(",
"device_name",
",",
"resource_group_name",
",",
"manager_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the network settings of the specified device.
@param device_name [String] The device name
@param resource_group_name [String] The resource group name
@param manager_name [String] The manager name
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"the",
"network",
"settings",
"of",
"the",
"specified",
"device",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_stor_simple8000_series/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/device_settings.rb#L195-L197 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/user.rb | Azure::ApiManagement::Mgmt::V2018_01_01.User.get_identity | def get_identity(resource_group_name, service_name, custom_headers:nil)
response = get_identity_async(resource_group_name, service_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_identity(resource_group_name, service_name, custom_headers:nil)
response = get_identity_async(resource_group_name, service_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_identity",
"(",
"resource_group_name",
",",
"service_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_identity_async",
"(",
"resource_group_name",
",",
"service_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Returns calling user identity information.
@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 [CurrentUserIdentity] operation results. | [
"Returns",
"calling",
"user",
"identity",
"information",
"."
] | 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/user.rb#L34-L37 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/product_policy.rb | Azure::ApiManagement::Mgmt::V2018_01_01.ProductPolicy.get_entity_tag_with_http_info | def get_entity_tag_with_http_info(resource_group_name, service_name, product_id, custom_headers:nil)
get_entity_tag_async(resource_group_name, service_name, product_id, custom_headers:custom_headers).value!
end | ruby | def get_entity_tag_with_http_info(resource_group_name, service_name, product_id, custom_headers:nil)
get_entity_tag_async(resource_group_name, service_name, product_id, custom_headers:custom_headers).value!
end | [
"def",
"get_entity_tag_with_http_info",
"(",
"resource_group_name",
",",
"service_name",
",",
"product_id",
",",
"custom_headers",
":",
"nil",
")",
"get_entity_tag_async",
"(",
"resource_group_name",
",",
"service_name",
",",
"product_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Get the ETag of the policy configuration at the Product level.
@param resource_group_name [String] The name of the resource group.
@param service_name [String] The name of the API Management service.
@param product_id [String] Product identifier. Must be unique in the current
API Management service instance.
@param 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",
"ETag",
"of",
"the",
"policy",
"configuration",
"at",
"the",
"Product",
"level",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/product_policy.rb#L157-L159 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_monitor/lib/2015-04-01/generated/azure_mgmt_monitor/autoscale_settings.rb | Azure::Monitor::Mgmt::V2015_04_01.AutoscaleSettings.create_or_update_with_http_info | def create_or_update_with_http_info(resource_group_name, autoscale_setting_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, autoscale_setting_name, parameters, custom_headers:custom_headers).value!
end | ruby | def create_or_update_with_http_info(resource_group_name, autoscale_setting_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, autoscale_setting_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"autoscale_setting_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"create_or_update_async",
"(",
"resource_group_name",
",",
"autoscale_setting_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates or updates an autoscale setting.
@param resource_group_name [String] The name of the resource group.
@param autoscale_setting_name [String] The autoscale setting name.
@param parameters [AutoscaleSettingResource] Parameters supplied to 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. | [
"Creates",
"or",
"updates",
"an",
"autoscale",
"setting",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_monitor/lib/2015-04-01/generated/azure_mgmt_monitor/autoscale_settings.rb#L141-L143 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_monitor/lib/2015-04-01/generated/azure_mgmt_monitor/autoscale_settings.rb | Azure::Monitor::Mgmt::V2015_04_01.AutoscaleSettings.delete | def delete(resource_group_name, autoscale_setting_name, custom_headers:nil)
response = delete_async(resource_group_name, autoscale_setting_name, custom_headers:custom_headers).value!
nil
end | ruby | def delete(resource_group_name, autoscale_setting_name, custom_headers:nil)
response = delete_async(resource_group_name, autoscale_setting_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"delete",
"(",
"resource_group_name",
",",
"autoscale_setting_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_async",
"(",
"resource_group_name",
",",
"autoscale_setting_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Deletes and autoscale setting
@param resource_group_name [String] The name of the resource group.
@param autoscale_setting_name [String] The autoscale setting name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Deletes",
"and",
"autoscale",
"setting"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_monitor/lib/2015-04-01/generated/azure_mgmt_monitor/autoscale_settings.rb#L237-L240 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/server_keys.rb | Azure::SQL::Mgmt::V2015_05_01_preview.ServerKeys.get_with_http_info | def get_with_http_info(resource_group_name, server_name, key_name, custom_headers:nil)
get_async(resource_group_name, server_name, key_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, server_name, key_name, custom_headers:nil)
get_async(resource_group_name, server_name, key_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"server_name",
",",
"key_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"key_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets a server key.
@param resource_group_name [String] The name of the resource group that
contains the resource. You can obtain this value from the Azure Resource
Manager API or the portal.
@param server_name [String] The name of the server.
@param key_name [String] The name of the server key to be retrieved.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"a",
"server",
"key",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/server_keys.rb#L156-L158 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-12-01/generated/azure_mgmt_network/p2s_vpn_gateways.rb | Azure::Network::Mgmt::V2018_12_01.P2sVpnGateways.delete | def delete(resource_group_name, gateway_name, custom_headers:nil)
response = delete_async(resource_group_name, gateway_name, custom_headers:custom_headers).value!
nil
end | ruby | def delete(resource_group_name, gateway_name, custom_headers:nil)
response = delete_async(resource_group_name, gateway_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"delete",
"(",
"resource_group_name",
",",
"gateway_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_async",
"(",
"resource_group_name",
",",
"gateway_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Deletes a virtual wan p2s vpn gateway.
@param resource_group_name [String] The resource group name of the
P2SVpnGateway.
@param gateway_name [String] The name of the gateway.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Deletes",
"a",
"virtual",
"wan",
"p2s",
"vpn",
"gateway",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-12-01/generated/azure_mgmt_network/p2s_vpn_gateways.rb#L225-L228 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/connectors.rb | Azure::CustomerInsights::Mgmt::V2017_01_01.Connectors.get_with_http_info | def get_with_http_info(resource_group_name, hub_name, connector_name, custom_headers:nil)
get_async(resource_group_name, hub_name, connector_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, hub_name, connector_name, custom_headers:nil)
get_async(resource_group_name, hub_name, connector_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"hub_name",
",",
"connector_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"hub_name",
",",
"connector_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets a connector in the hub.
@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 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",
"connector",
"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/connectors.rb#L102-L104 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/connectors.rb | Azure::CustomerInsights::Mgmt::V2017_01_01.Connectors.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, hub_name, connector_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, hub_name, connector_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, hub_name, connector_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, hub_name, connector_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"hub_name",
",",
"connector_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"hub_name",
",",
"connector_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates a connector or updates an existing connector in the hub.
@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 parameters [ConnectorResourceFormat] Parameters supplied to the
CreateOrUpdate Connector 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",
"or",
"updates",
"an",
"existing",
"connector",
"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/connectors.rb#L334-L336 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/connectors.rb | Azure::CustomerInsights::Mgmt::V2017_01_01.Connectors.begin_delete_with_http_info | def begin_delete_with_http_info(resource_group_name, hub_name, connector_name, custom_headers:nil)
begin_delete_async(resource_group_name, hub_name, connector_name, custom_headers:custom_headers).value!
end | ruby | def begin_delete_with_http_info(resource_group_name, hub_name, connector_name, custom_headers:nil)
begin_delete_async(resource_group_name, hub_name, connector_name, custom_headers:custom_headers).value!
end | [
"def",
"begin_delete_with_http_info",
"(",
"resource_group_name",
",",
"hub_name",
",",
"connector_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_delete_async",
"(",
"resource_group_name",
",",
"hub_name",
",",
"connector_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes a connector in the hub.
@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 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",
"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/connectors.rb#L442-L444 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_container_registry/lib/2018-09-01/generated/azure_mgmt_container_registry/tasks.rb | Azure::ContainerRegistry::Mgmt::V2018_09_01.Tasks.get_with_http_info | def get_with_http_info(resource_group_name, registry_name, task_name, custom_headers:nil)
get_async(resource_group_name, registry_name, task_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, registry_name, task_name, custom_headers:nil)
get_async(resource_group_name, registry_name, task_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"registry_name",
",",
"task_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"registry_name",
",",
"task_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Get the properties of a specified task.
@param resource_group_name [String] The name of the resource group to which
the container registry belongs.
@param registry_name [String] The name of the container registry.
@param task_name [String] The name of the container registry task.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Get",
"the",
"properties",
"of",
"a",
"specified",
"task",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_container_registry/lib/2018-09-01/generated/azure_mgmt_container_registry/tasks.rb#L152-L154 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_batch/lib/2017-09-01/generated/azure_mgmt_batch/certificate_operations.rb | Azure::Batch::Mgmt::V2017_09_01.CertificateOperations.get_with_http_info | def get_with_http_info(resource_group_name, account_name, certificate_name, custom_headers:nil)
get_async(resource_group_name, account_name, certificate_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, account_name, certificate_name, custom_headers:nil)
get_async(resource_group_name, account_name, certificate_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"account_name",
",",
"certificate_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"certificate_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets information about the specified certificate.
@param resource_group_name [String] The name of the resource group that
contains the Batch account.
@param account_name [String] The name of the Batch account.
@param certificate_name [String] The identifier for the certificate. This
must be made up of algorithm and thumbprint separated by a dash, and must
match the certificate data in the request. For example SHA1-a3d1c5.
@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",
"certificate",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_batch/lib/2017-09-01/generated/azure_mgmt_batch/certificate_operations.rb#L428-L430 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_batch/lib/2017-09-01/generated/azure_mgmt_batch/certificate_operations.rb | Azure::Batch::Mgmt::V2017_09_01.CertificateOperations.begin_delete_with_http_info | def begin_delete_with_http_info(resource_group_name, account_name, certificate_name, custom_headers:nil)
begin_delete_async(resource_group_name, account_name, certificate_name, custom_headers:custom_headers).value!
end | ruby | def begin_delete_with_http_info(resource_group_name, account_name, certificate_name, custom_headers:nil)
begin_delete_async(resource_group_name, account_name, certificate_name, custom_headers:custom_headers).value!
end | [
"def",
"begin_delete_with_http_info",
"(",
"resource_group_name",
",",
"account_name",
",",
"certificate_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_delete_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"certificate_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes the specified certificate.
@param resource_group_name [String] The name of the resource group that
contains the Batch account.
@param account_name [String] The name of the Batch account.
@param certificate_name [String] The identifier for the certificate. This
must be made up of algorithm and thumbprint separated by a dash, and must
match the certificate data in the request. For example SHA1-a3d1c5.
@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",
"certificate",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_batch/lib/2017-09-01/generated/azure_mgmt_batch/certificate_operations.rb#L821-L823 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/list_management_term.rb | Azure::CognitiveServices::ContentModerator::V1_0.ListManagementTerm.delete_all_terms | def delete_all_terms(list_id, language, custom_headers:nil)
response = delete_all_terms_async(list_id, language, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def delete_all_terms(list_id, language, custom_headers:nil)
response = delete_all_terms_async(list_id, language, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"delete_all_terms",
"(",
"list_id",
",",
"language",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_all_terms_async",
"(",
"list_id",
",",
"language",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Deletes all terms from the list with list Id equal to the 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 [String] operation results. | [
"Deletes",
"all",
"terms",
"from",
"the",
"list",
"with",
"list",
"Id",
"equal",
"to",
"the",
"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.rb#L331-L334 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.