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_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/kpi.rb | Azure::CustomerInsights::Mgmt::V2017_01_01.Kpi.get_with_http_info | def get_with_http_info(resource_group_name, hub_name, kpi_name, custom_headers:nil)
get_async(resource_group_name, hub_name, kpi_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, hub_name, kpi_name, custom_headers:nil)
get_async(resource_group_name, hub_name, kpi_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"hub_name",
",",
"kpi_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"hub_name",
",",
"kpi_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets a KPI in the hub.
@param resource_group_name [String] The name of the resource group.
@param hub_name [String] The name of the hub.
@param kpi_name [String] The name of the KPI.
@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",
"KPI",
"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/kpi.rb#L102-L104 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/kpi.rb | Azure::CustomerInsights::Mgmt::V2017_01_01.Kpi.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, hub_name, kpi_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, hub_name, kpi_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, hub_name, kpi_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, hub_name, kpi_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"hub_name",
",",
"kpi_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"hub_name",
",",
"kpi_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates a KPI or updates an existing KPI in the hub.
@param resource_group_name [String] The name of the resource group.
@param hub_name [String] The name of the hub.
@param kpi_name [String] The name of the KPI.
@param parameters [KpiResourceFormat] Parameters supplied to the
create/update KPI 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",
"KPI",
"or",
"updates",
"an",
"existing",
"KPI",
"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/kpi.rb#L419-L421 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/kpi.rb | Azure::CustomerInsights::Mgmt::V2017_01_01.Kpi.begin_delete_with_http_info | def begin_delete_with_http_info(resource_group_name, hub_name, kpi_name, custom_headers:nil)
begin_delete_async(resource_group_name, hub_name, kpi_name, custom_headers:custom_headers).value!
end | ruby | def begin_delete_with_http_info(resource_group_name, hub_name, kpi_name, custom_headers:nil)
begin_delete_async(resource_group_name, hub_name, kpi_name, custom_headers:custom_headers).value!
end | [
"def",
"begin_delete_with_http_info",
"(",
"resource_group_name",
",",
"hub_name",
",",
"kpi_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_delete_async",
"(",
"resource_group_name",
",",
"hub_name",
",",
"kpi_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes a KPI in the hub.
@param resource_group_name [String] The name of the resource group.
@param hub_name [String] The name of the hub.
@param kpi_name [String] The name of the KPI.
@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",
"KPI",
"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/kpi.rb#L527-L529 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/kpi.rb | Azure::CustomerInsights::Mgmt::V2017_01_01.Kpi.list_by_hub_next | def list_by_hub_next(next_page_link, custom_headers:nil)
response = list_by_hub_next_async(next_page_link, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_by_hub_next(next_page_link, custom_headers:nil)
response = list_by_hub_next_async(next_page_link, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_by_hub_next",
"(",
"next_page_link",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_by_hub_next_async",
"(",
"next_page_link",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets all the KPIs in the specified hub.
@param next_page_link [String] The NextLink from the previous successful call
to List operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [KpiListResult] operation results. | [
"Gets",
"all",
"the",
"KPIs",
"in",
"the",
"specified",
"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/kpi.rb#L596-L599 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sqlvirtualmachine/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/sql_virtual_machine_groups.rb | Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview.SqlVirtualMachineGroups.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, sql_virtual_machine_group_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, sql_virtual_machine_group_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, sql_virtual_machine_group_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, sql_virtual_machine_group_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"sql_virtual_machine_group_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"sql_virtual_machine_group_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates or updates a SQL virtual machine group.
@param resource_group_name [String] Name of the resource group that contains
the resource. You can obtain this value from the Azure Resource Manager API
or the portal.
@param sql_virtual_machine_group_name [String] Name of the SQL virtual
machine group.
@param parameters [SqlVirtualMachineGroup] The SQL virtual machine group.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Creates",
"or",
"updates",
"a",
"SQL",
"virtual",
"machine",
"group",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sqlvirtualmachine/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/sql_virtual_machine_groups.rb#L486-L488 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sqlvirtualmachine/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/sql_virtual_machine_groups.rb | Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview.SqlVirtualMachineGroups.begin_update_with_http_info | def begin_update_with_http_info(resource_group_name, sql_virtual_machine_group_name, parameters, custom_headers:nil)
begin_update_async(resource_group_name, sql_virtual_machine_group_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_update_with_http_info(resource_group_name, sql_virtual_machine_group_name, parameters, custom_headers:nil)
begin_update_async(resource_group_name, sql_virtual_machine_group_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_update_with_http_info",
"(",
"resource_group_name",
",",
"sql_virtual_machine_group_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_update_async",
"(",
"resource_group_name",
",",
"sql_virtual_machine_group_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Updates SQL virtual machine group tags.
@param resource_group_name [String] Name of the resource group that contains
the resource. You can obtain this value from the Azure Resource Manager API
or the portal.
@param sql_virtual_machine_group_name [String] Name of the SQL virtual
machine group.
@param parameters [SqlVirtualMachineGroupUpdate] The SQL virtual machine
group.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Updates",
"SQL",
"virtual",
"machine",
"group",
"tags",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sqlvirtualmachine/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/sql_virtual_machine_groups.rb#L700-L702 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_datalake_analytics/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/account.rb | Azure::DataLakeAnalytics::Mgmt::V2015_10_01_preview.Account.begin_update_with_http_info | def begin_update_with_http_info(resource_group_name, name, parameters, custom_headers:nil)
begin_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_update_with_http_info(resource_group_name, name, parameters, custom_headers:nil)
begin_update_async(resource_group_name, name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_update_with_http_info",
"(",
"resource_group_name",
",",
"name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_update_async",
"(",
"resource_group_name",
",",
"name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Updates the Data Lake Analytics account object specified by the accountName
with the contents of the account object.
@param resource_group_name [String] The name of the Azure resource group that
contains the Data Lake Analytics account.
@param name [String] The name of the Data Lake Analytics account to update.
@param parameters [DataLakeAnalyticsAccount] Parameters supplied to the
update Data Lake Analytics account 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",
"the",
"Data",
"Lake",
"Analytics",
"account",
"object",
"specified",
"by",
"the",
"accountName",
"with",
"the",
"contents",
"of",
"the",
"account",
"object",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_datalake_analytics/lib/2015-10-01-preview/generated/azure_mgmt_datalake_analytics/account.rb#L2254-L2256 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_event_hub/lib/2017-04-01/generated/azure_mgmt_event_hub/namespaces.rb | Azure::EventHub::Mgmt::V2017_04_01.Namespaces.get_messaging_plan | def get_messaging_plan(resource_group_name, namespace_name, custom_headers:nil)
response = get_messaging_plan_async(resource_group_name, namespace_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_messaging_plan(resource_group_name, namespace_name, custom_headers:nil)
response = get_messaging_plan_async(resource_group_name, namespace_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_messaging_plan",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_messaging_plan_async",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets messaging plan for specified 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 [MessagingPlan] operation results. | [
"Gets",
"messaging",
"plan",
"for",
"specified",
"namespace",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_event_hub/lib/2017-04-01/generated/azure_mgmt_event_hub/namespaces.rb#L633-L636 | train |
Azure/azure-sdk-for-ruby | data/azure_service_fabric/lib/6.4.0.36/generated/azure_service_fabric/service_fabric_client_apis.rb | Azure::ServiceFabric::V6_4_0_36.ServiceFabricClientAPIs.get_cluster_version | def get_cluster_version(timeout:60, custom_headers:nil)
response = get_cluster_version_async(timeout:timeout, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_cluster_version(timeout:60, custom_headers:nil)
response = get_cluster_version_async(timeout:timeout, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_cluster_version",
"(",
"timeout",
":",
"60",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_cluster_version_async",
"(",
"timeout",
":",
"timeout",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Get the current Service Fabric cluster version.
If a cluster upgrade is happening, then this API will return the lowest
(older) version of the current and target cluster runtime versions.
@param timeout [Integer] The server timeout for performing the operation in
seconds. This timeout specifies the time duration that the client is willing
to wait for the requested operation to complete. The default value for this
parameter is 60 seconds.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [ClusterVersion] operation results. | [
"Get",
"the",
"current",
"Service",
"Fabric",
"cluster",
"version",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_service_fabric/lib/6.4.0.36/generated/azure_service_fabric/service_fabric_client_apis.rb#L3249-L3252 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/virtual_network_taps.rb | Azure::Network::Mgmt::V2019_02_01.VirtualNetworkTaps.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, tap_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, tap_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, tap_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, tap_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"tap_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"tap_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates or updates a Virtual Network Tap.
@param resource_group_name [String] The name of the resource group.
@param tap_name [String] The name of the virtual network tap.
@param parameters [VirtualNetworkTap] Parameters supplied to the create or
update virtual network tap operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Creates",
"or",
"updates",
"a",
"Virtual",
"Network",
"Tap",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/virtual_network_taps.rb#L528-L530 | train |
Azure/azure-sdk-for-ruby | runtime/ms_rest_azure/lib/ms_rest_azure/credentials/topic_credentials.rb | MsRestAzure.TopicCredentials.sign_request | def sign_request(request)
super(request)
if (request.respond_to?(:request_headers))
request.request_headers['aeg-sas-key'] = @topic_key
elsif request.respond_to?(:headers)
request.headers['aeg-sas-key'] = @topic_key
else
fail ArgumentError, 'Incorrect request object was provided'
end
end | ruby | def sign_request(request)
super(request)
if (request.respond_to?(:request_headers))
request.request_headers['aeg-sas-key'] = @topic_key
elsif request.respond_to?(:headers)
request.headers['aeg-sas-key'] = @topic_key
else
fail ArgumentError, 'Incorrect request object was provided'
end
end | [
"def",
"sign_request",
"(",
"request",
")",
"super",
"(",
"request",
")",
"if",
"(",
"request",
".",
"respond_to?",
"(",
":request_headers",
")",
")",
"request",
".",
"request_headers",
"[",
"'aeg-sas-key'",
"]",
"=",
"@topic_key",
"elsif",
"request",
".",
"respond_to?",
"(",
":headers",
")",
"request",
".",
"headers",
"[",
"'aeg-sas-key'",
"]",
"=",
"@topic_key",
"else",
"fail",
"ArgumentError",
",",
"'Incorrect request object was provided'",
"end",
"end"
] | Creates and initialize new instance of the TopicCredentials class.
@param topic_key [String] topic key | [
"Creates",
"and",
"initialize",
"new",
"instance",
"of",
"the",
"TopicCredentials",
"class",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/runtime/ms_rest_azure/lib/ms_rest_azure/credentials/topic_credentials.rb#L27-L37 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_serialconsole/lib/2018-05-01/generated/azure_mgmt_serialconsole/console.rb | Azure::Serialconsole::Mgmt::V2018_05_01.Console.enable_console | def enable_console(custom_headers:nil)
response = enable_console_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def enable_console(custom_headers:nil)
response = enable_console_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"enable_console",
"(",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"enable_console_async",
"(",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Enables Serial Console for a subscription
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [SetDisabledResult] operation results. | [
"Enables",
"Serial",
"Console",
"for",
"a",
"subscription"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_serialconsole/lib/2018-05-01/generated/azure_mgmt_serialconsole/console.rb#L33-L36 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_serialconsole/lib/2018-05-01/generated/azure_mgmt_serialconsole/console.rb | Azure::Serialconsole::Mgmt::V2018_05_01.Console.disable_console | def disable_console(custom_headers:nil)
response = disable_console_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def disable_console(custom_headers:nil)
response = disable_console_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"disable_console",
"(",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"disable_console_async",
"(",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Disables Serial Console for a subscription
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [SetDisabledResult] operation results. | [
"Disables",
"Serial",
"Console",
"for",
"a",
"subscription"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_serialconsole/lib/2018-05-01/generated/azure_mgmt_serialconsole/console.rb#L118-L121 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_netapp/lib/2017-08-15-preview/generated/azure_mgmt_netapp/volumes.rb | Azure::NetApp::Mgmt::V2017_08_15_preview.Volumes.update_with_http_info | def update_with_http_info(body, resource_group_name, account_name, pool_name, volume_name, custom_headers:nil)
update_async(body, resource_group_name, account_name, pool_name, volume_name, custom_headers:custom_headers).value!
end | ruby | def update_with_http_info(body, resource_group_name, account_name, pool_name, volume_name, custom_headers:nil)
update_async(body, resource_group_name, account_name, pool_name, volume_name, custom_headers:custom_headers).value!
end | [
"def",
"update_with_http_info",
"(",
"body",
",",
"resource_group_name",
",",
"account_name",
",",
"pool_name",
",",
"volume_name",
",",
"custom_headers",
":",
"nil",
")",
"update_async",
"(",
"body",
",",
"resource_group_name",
",",
"account_name",
",",
"pool_name",
",",
"volume_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Patch a volume
@param body [VolumePatch] Volume object supplied in the body of the
operation.
@param resource_group_name [String] The name of the resource group.
@param account_name [String] The name of the NetApp account
@param pool_name [String] The name of the capacity pool
@param volume_name [String] The name of the volume
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Patch",
"a",
"volume"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_netapp/lib/2017-08-15-preview/generated/azure_mgmt_netapp/volumes.rb#L307-L309 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_netapp/lib/2017-08-15-preview/generated/azure_mgmt_netapp/volumes.rb | Azure::NetApp::Mgmt::V2017_08_15_preview.Volumes.begin_create_or_update | def begin_create_or_update(body, resource_group_name, account_name, pool_name, volume_name, custom_headers:nil)
response = begin_create_or_update_async(body, resource_group_name, account_name, pool_name, volume_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def begin_create_or_update(body, resource_group_name, account_name, pool_name, volume_name, custom_headers:nil)
response = begin_create_or_update_async(body, resource_group_name, account_name, pool_name, volume_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"begin_create_or_update",
"(",
"body",
",",
"resource_group_name",
",",
"account_name",
",",
"pool_name",
",",
"volume_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"begin_create_or_update_async",
"(",
"body",
",",
"resource_group_name",
",",
"account_name",
",",
"pool_name",
",",
"volume_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Create or update a volume
@param body [Volume] Volume object supplied in the body of the operation.
@param resource_group_name [String] The name of the resource group.
@param account_name [String] The name of the NetApp account
@param pool_name [String] The name of the capacity pool
@param volume_name [String] The name of the volume
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Volume] operation results. | [
"Create",
"or",
"update",
"a",
"volume"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_netapp/lib/2017-08-15-preview/generated/azure_mgmt_netapp/volumes.rb#L446-L449 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/virtual_machine_scale_sets.rb | Azure::Compute::Mgmt::V2018_04_01.VirtualMachineScaleSets.begin_update_with_http_info | def begin_update_with_http_info(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil)
begin_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_update_with_http_info(resource_group_name, vm_scale_set_name, parameters, custom_headers:nil)
begin_update_async(resource_group_name, vm_scale_set_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_update_with_http_info",
"(",
"resource_group_name",
",",
"vm_scale_set_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_update_async",
"(",
"resource_group_name",
",",
"vm_scale_set_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Update a VM scale set.
@param resource_group_name [String] The name of the resource group.
@param vm_scale_set_name [String] The name of the VM scale set to create or
update.
@param parameters [VirtualMachineScaleSetUpdate] The scale set object.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Update",
"a",
"VM",
"scale",
"set",
"."
] | 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_scale_sets.rb#L1383-L1385 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/sessions.rb | Azure::Logic::Mgmt::V2016_06_01.Sessions.get_with_http_info | def get_with_http_info(resource_group_name, integration_account_name, session_name, custom_headers:nil)
get_async(resource_group_name, integration_account_name, session_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, integration_account_name, session_name, custom_headers:nil)
get_async(resource_group_name, integration_account_name, session_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"integration_account_name",
",",
"session_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"integration_account_name",
",",
"session_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets an integration account session.
@param resource_group_name [String] The resource group name.
@param integration_account_name [String] The integration account name.
@param session_name [String] The integration account session name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"an",
"integration",
"account",
"session",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/sessions.rb#L152-L154 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/sessions.rb | Azure::Logic::Mgmt::V2016_06_01.Sessions.delete_with_http_info | def delete_with_http_info(resource_group_name, integration_account_name, session_name, custom_headers:nil)
delete_async(resource_group_name, integration_account_name, session_name, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, integration_account_name, session_name, custom_headers:nil)
delete_async(resource_group_name, integration_account_name, session_name, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"integration_account_name",
",",
"session_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"integration_account_name",
",",
"session_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes an integration account session.
@param resource_group_name [String] The resource group name.
@param integration_account_name [String] The integration account name.
@param session_name [String] The integration account session 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",
"an",
"integration",
"account",
"session",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/sessions.rb#L364-L366 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_storage/lib/2018-11-01/generated/azure_mgmt_storage/management_policies.rb | Azure::Storage::Mgmt::V2018_11_01.ManagementPolicies.create_or_update_with_http_info | def create_or_update_with_http_info(resource_group_name, account_name, properties, custom_headers:nil)
create_or_update_async(resource_group_name, account_name, properties, custom_headers:custom_headers).value!
end | ruby | def create_or_update_with_http_info(resource_group_name, account_name, properties, custom_headers:nil)
create_or_update_async(resource_group_name, account_name, properties, custom_headers:custom_headers).value!
end | [
"def",
"create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"account_name",
",",
"properties",
",",
"custom_headers",
":",
"nil",
")",
"create_or_update_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"properties",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Sets the managementpolicy to the specified storage account.
@param resource_group_name [String] The name of the resource group within the
user's subscription. The name is case insensitive.
@param account_name [String] The name of the storage account within the
specified resource group. Storage account names must be between 3 and 24
characters in length and use numbers and lower-case letters only.
@param properties [ManagementPolicy] The ManagementPolicy set to a storage
account.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Sets",
"the",
"managementpolicy",
"to",
"the",
"specified",
"storage",
"account",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_storage/lib/2018-11-01/generated/azure_mgmt_storage/management_policies.rb#L168-L170 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb | Azure::Network::Mgmt::V2017_11_01.ExpressRouteCircuitAuthorizations.get_with_http_info | def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil)
get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil)
get_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"circuit_name",
",",
"authorization_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"circuit_name",
",",
"authorization_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the specified authorization from the specified express route circuit.
@param resource_group_name [String] The name of the resource group.
@param circuit_name [String] The name of the express route circuit.
@param authorization_name [String] The name of the authorization.
@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",
"authorization",
"from",
"the",
"specified",
"express",
"route",
"circuit",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb#L91-L93 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb | Azure::Network::Mgmt::V2017_11_01.ExpressRouteCircuitAuthorizations.list | def list(resource_group_name, circuit_name, custom_headers:nil)
first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers)
first_page.get_all_items
end | ruby | def list(resource_group_name, circuit_name, custom_headers:nil)
first_page = list_as_lazy(resource_group_name, circuit_name, custom_headers:custom_headers)
first_page.get_all_items
end | [
"def",
"list",
"(",
"resource_group_name",
",",
"circuit_name",
",",
"custom_headers",
":",
"nil",
")",
"first_page",
"=",
"list_as_lazy",
"(",
"resource_group_name",
",",
"circuit_name",
",",
"custom_headers",
":custom_headers",
")",
"first_page",
".",
"get_all_items",
"end"
] | Gets all authorizations in an express route circuit.
@param resource_group_name [String] The name of the resource group.
@param circuit_name [String] The name of the circuit.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array<ExpressRouteCircuitAuthorization>] operation results. | [
"Gets",
"all",
"authorizations",
"in",
"an",
"express",
"route",
"circuit",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb#L220-L223 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb | Azure::Network::Mgmt::V2017_11_01.ExpressRouteCircuitAuthorizations.begin_delete_with_http_info | def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil)
begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value!
end | ruby | def begin_delete_with_http_info(resource_group_name, circuit_name, authorization_name, custom_headers:nil)
begin_delete_async(resource_group_name, circuit_name, authorization_name, custom_headers:custom_headers).value!
end | [
"def",
"begin_delete_with_http_info",
"(",
"resource_group_name",
",",
"circuit_name",
",",
"authorization_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_delete_async",
"(",
"resource_group_name",
",",
"circuit_name",
",",
"authorization_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes the specified authorization from the specified express route circuit.
@param resource_group_name [String] The name of the resource group.
@param circuit_name [String] The name of the express route circuit.
@param authorization_name [String] The name of the authorization.
@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",
"authorization",
"from",
"the",
"specified",
"express",
"route",
"circuit",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2017-11-01/generated/azure_mgmt_network/express_route_circuit_authorizations.rb#L328-L330 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_storage/lib/2018-03-01-preview/generated/azure_mgmt_storage/storage_accounts.rb | Azure::Storage::Mgmt::V2018_03_01_preview.StorageAccounts.get_management_policies | def get_management_policies(resource_group_name, account_name, custom_headers:nil)
response = get_management_policies_async(resource_group_name, account_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_management_policies(resource_group_name, account_name, custom_headers:nil)
response = get_management_policies_async(resource_group_name, account_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_management_policies",
"(",
"resource_group_name",
",",
"account_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_management_policies_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets the data policy rules associated with the specified storage account.
@param resource_group_name [String] The name of the resource group within the
user's subscription. The name is case insensitive.
@param account_name [String] The name of the storage account within the
specified resource group. Storage account names must be between 3 and 24
characters in length and use numbers and lower-case letters only.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [StorageAccountManagementPolicies] operation results. | [
"Gets",
"the",
"data",
"policy",
"rules",
"associated",
"with",
"the",
"specified",
"storage",
"account",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_storage/lib/2018-03-01-preview/generated/azure_mgmt_storage/storage_accounts.rb#L1218-L1221 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_storage/lib/2018-03-01-preview/generated/azure_mgmt_storage/storage_accounts.rb | Azure::Storage::Mgmt::V2018_03_01_preview.StorageAccounts.delete_management_policies | def delete_management_policies(resource_group_name, account_name, custom_headers:nil)
response = delete_management_policies_async(resource_group_name, account_name, custom_headers:custom_headers).value!
nil
end | ruby | def delete_management_policies(resource_group_name, account_name, custom_headers:nil)
response = delete_management_policies_async(resource_group_name, account_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"delete_management_policies",
"(",
"resource_group_name",
",",
"account_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_management_policies_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Deletes the data policy rules associated with the specified storage account.
@param resource_group_name [String] The name of the resource group within the
user's subscription. The name is case insensitive.
@param account_name [String] The name of the storage account within the
specified resource group. Storage account names must be between 3 and 24
characters in length and use numbers and lower-case letters only.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Deletes",
"the",
"data",
"policy",
"rules",
"associated",
"with",
"the",
"specified",
"storage",
"account",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_storage/lib/2018-03-01-preview/generated/azure_mgmt_storage/storage_accounts.rb#L1449-L1452 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_container_registry/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/builds.rb | Azure::ContainerRegistry::Mgmt::V2018_02_01_preview.Builds.get_with_http_info | def get_with_http_info(resource_group_name, registry_name, build_id, custom_headers:nil)
get_async(resource_group_name, registry_name, build_id, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, registry_name, build_id, custom_headers:nil)
get_async(resource_group_name, registry_name, build_id, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"registry_name",
",",
"build_id",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"registry_name",
",",
"build_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the detailed information for a given build.
@param resource_group_name [String] The name of the resource group to which
the container registry belongs.
@param registry_name [String] The name of the container registry.
@param build_id [String] The build 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. | [
"Gets",
"the",
"detailed",
"information",
"for",
"a",
"given",
"build",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_container_registry/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/builds.rb#L166-L168 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/connection_operations.rb | Azure::Automation::Mgmt::V2015_10_31.ConnectionOperations.get_with_http_info | def get_with_http_info(resource_group_name, automation_account_name, connection_name, custom_headers:nil)
get_async(resource_group_name, automation_account_name, connection_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, automation_account_name, connection_name, custom_headers:nil)
get_async(resource_group_name, automation_account_name, connection_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"connection_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"connection_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Retrieve the connection identified by connection name.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param connection_name [String] The name of connection.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Retrieve",
"the",
"connection",
"identified",
"by",
"connection",
"name",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/connection_operations.rb#L150-L152 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/connection_operations.rb | Azure::Automation::Mgmt::V2015_10_31.ConnectionOperations.create_or_update_with_http_info | def create_or_update_with_http_info(resource_group_name, automation_account_name, connection_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, automation_account_name, connection_name, parameters, custom_headers:custom_headers).value!
end | ruby | def create_or_update_with_http_info(resource_group_name, automation_account_name, connection_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, automation_account_name, connection_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"connection_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"create_or_update_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"connection_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Create or update a connection.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param connection_name [String] The parameters supplied to the create or
update connection operation.
@param parameters [ConnectionCreateOrUpdateParameters] The parameters
supplied to the create or update connection operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Create",
"or",
"update",
"a",
"connection",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/connection_operations.rb#L255-L257 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/connection_operations.rb | Azure::Automation::Mgmt::V2015_10_31.ConnectionOperations.list_by_automation_account_as_lazy | def list_by_automation_account_as_lazy(resource_group_name, automation_account_name, custom_headers:nil)
response = list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers:custom_headers).value!
unless response.nil?
page = response.body
page.next_method = Proc.new do |next_page_link|
list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers)
end
page
end
end | ruby | def list_by_automation_account_as_lazy(resource_group_name, automation_account_name, custom_headers:nil)
response = list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers:custom_headers).value!
unless response.nil?
page = response.body
page.next_method = Proc.new do |next_page_link|
list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers)
end
page
end
end | [
"def",
"list_by_automation_account_as_lazy",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_by_automation_account_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"unless",
"response",
".",
"nil?",
"page",
"=",
"response",
".",
"body",
"page",
".",
"next_method",
"=",
"Proc",
".",
"new",
"do",
"|",
"next_page_link",
"|",
"list_by_automation_account_next_async",
"(",
"next_page_link",
",",
"custom_headers",
":custom_headers",
")",
"end",
"page",
"end",
"end"
] | Retrieve a list of connections.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [ConnectionListResult] which provide lazy access to pages of the
response. | [
"Retrieve",
"a",
"list",
"of",
"connections",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/connection_operations.rb#L658-L667 | train |
Azure/azure-sdk-for-ruby | data/azure_service_fabric/lib/6.3.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb | Azure::ServiceFabric::V6_3_0_9.ServiceFabricClientAPIs.create_application_resource | def create_application_resource(application_resource_name, application_resource_description, custom_headers:nil)
response = create_application_resource_async(application_resource_name, application_resource_description, custom_headers:custom_headers).value!
nil
end | ruby | def create_application_resource(application_resource_name, application_resource_description, custom_headers:nil)
response = create_application_resource_async(application_resource_name, application_resource_description, custom_headers:custom_headers).value!
nil
end | [
"def",
"create_application_resource",
"(",
"application_resource_name",
",",
"application_resource_description",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"create_application_resource_async",
"(",
"application_resource_name",
",",
"application_resource_description",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Creates or updates an application resource.
Creates an application with the specified name and description. If an
application with the same name already exists, then its description are
updated to the one indicated in this request.
@param application_resource_name [String] Service Fabric application resource
name.
@param application_resource_description [ApplicationResourceDescription]
Description for creating an application resource.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Creates",
"or",
"updates",
"an",
"application",
"resource",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_service_fabric/lib/6.3.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb#L29343-L29346 | train |
Azure/azure-sdk-for-ruby | data/azure_service_fabric/lib/6.3.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb | Azure::ServiceFabric::V6_3_0_9.ServiceFabricClientAPIs.get_application_resource | def get_application_resource(application_resource_name, custom_headers:nil)
response = get_application_resource_async(application_resource_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_application_resource(application_resource_name, custom_headers:nil)
response = get_application_resource_async(application_resource_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_application_resource",
"(",
"application_resource_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_application_resource_async",
"(",
"application_resource_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets the application with the given name.
Gets the application with the given name. This includes the information about
the application's services and other runtime information.
@param application_resource_name [String] Service Fabric application resource
name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [ApplicationResourceDescription] operation results. | [
"Gets",
"the",
"application",
"with",
"the",
"given",
"name",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_service_fabric/lib/6.3.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb#L29446-L29449 | train |
Azure/azure-sdk-for-ruby | data/azure_service_fabric/lib/6.3.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb | Azure::ServiceFabric::V6_3_0_9.ServiceFabricClientAPIs.get_services | def get_services(application_resource_name, custom_headers:nil)
response = get_services_async(application_resource_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_services(application_resource_name, custom_headers:nil)
response = get_services_async(application_resource_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_services",
"(",
"application_resource_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_services_async",
"(",
"application_resource_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets all the services in the application resource.
The operation returns the service descriptions of all the services in the
application resource.
@param application_resource_name [String] Service Fabric application resource
name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [PagedServiceResourceDescriptionList] operation results. | [
"Gets",
"all",
"the",
"services",
"in",
"the",
"application",
"resource",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_service_fabric/lib/6.3.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb#L29630-L29633 | train |
Azure/azure-sdk-for-ruby | data/azure_service_fabric/lib/6.3.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb | Azure::ServiceFabric::V6_3_0_9.ServiceFabricClientAPIs.get_service | def get_service(application_resource_name, service_resource_name, custom_headers:nil)
response = get_service_async(application_resource_name, service_resource_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_service(application_resource_name, service_resource_name, custom_headers:nil)
response = get_service_async(application_resource_name, service_resource_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_service",
"(",
"application_resource_name",
",",
"service_resource_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_service_async",
"(",
"application_resource_name",
",",
"service_resource_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets the description of the specified service in an application resource.
Gets the description of the service resource.
@param application_resource_name [String] Service Fabric application resource
name.
@param service_resource_name [String] Service Fabric service resource name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [ServiceResourceDescription] operation results. | [
"Gets",
"the",
"description",
"of",
"the",
"specified",
"service",
"in",
"an",
"application",
"resource",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_service_fabric/lib/6.3.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb#L29729-L29732 | train |
Azure/azure-sdk-for-ruby | data/azure_service_fabric/lib/6.3.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb | Azure::ServiceFabric::V6_3_0_9.ServiceFabricClientAPIs.get_replicas | def get_replicas(application_resource_name, service_resource_name, custom_headers:nil)
response = get_replicas_async(application_resource_name, service_resource_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_replicas(application_resource_name, service_resource_name, custom_headers:nil)
response = get_replicas_async(application_resource_name, service_resource_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_replicas",
"(",
"application_resource_name",
",",
"service_resource_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_replicas_async",
"(",
"application_resource_name",
",",
"service_resource_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets replicas of a given service in an application resource.
Gets the information about all replicas of a given service of an application.
The information includes the runtime properties of the replica instance.
@param application_resource_name [String] Service Fabric application resource
name.
@param service_resource_name [String] Service Fabric service resource name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [PagedServiceResourceReplicaDescriptionList] operation results. | [
"Gets",
"replicas",
"of",
"a",
"given",
"service",
"in",
"an",
"application",
"resource",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_service_fabric/lib/6.3.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb#L29830-L29833 | train |
Azure/azure-sdk-for-ruby | data/azure_service_fabric/lib/6.3.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb | Azure::ServiceFabric::V6_3_0_9.ServiceFabricClientAPIs.create_volume_resource | def create_volume_resource(volume_resource_name, volume_resource_description, custom_headers:nil)
response = create_volume_resource_async(volume_resource_name, volume_resource_description, custom_headers:custom_headers).value!
nil
end | ruby | def create_volume_resource(volume_resource_name, volume_resource_description, custom_headers:nil)
response = create_volume_resource_async(volume_resource_name, volume_resource_description, custom_headers:custom_headers).value!
nil
end | [
"def",
"create_volume_resource",
"(",
"volume_resource_name",
",",
"volume_resource_description",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"create_volume_resource_async",
"(",
"volume_resource_name",
",",
"volume_resource_description",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Creates or updates a volume resource.
Creates a volume resource with the specified name and description. If a
volume with the same name already exists, then its description is updated to
the one indicated in this request.
@param volume_resource_name [String] Service Fabric volume resource name.
@param volume_resource_description [VolumeResourceDescription] Description
for creating a volume resource.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Creates",
"or",
"updates",
"a",
"volume",
"resource",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_service_fabric/lib/6.3.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb#L30043-L30046 | train |
Azure/azure-sdk-for-ruby | data/azure_service_fabric/lib/6.3.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb | Azure::ServiceFabric::V6_3_0_9.ServiceFabricClientAPIs.get_volume_resource | def get_volume_resource(volume_resource_name, custom_headers:nil)
response = get_volume_resource_async(volume_resource_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_volume_resource(volume_resource_name, custom_headers:nil)
response = get_volume_resource_async(volume_resource_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_volume_resource",
"(",
"volume_resource_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_volume_resource_async",
"(",
"volume_resource_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets the volume resource.
Gets the information about the volume resource with a given name. This
information includes the volume description and other runtime information.
@param volume_resource_name [String] Service Fabric volume resource name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [VolumeResourceDescription] operation results. | [
"Gets",
"the",
"volume",
"resource",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_service_fabric/lib/6.3.0.9/generated/azure_service_fabric/service_fabric_client_apis.rb#L30143-L30146 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/p2s_vpn_server_configurations.rb | Azure::Network::Mgmt::V2019_02_01.P2sVpnServerConfigurations.get_with_http_info | def get_with_http_info(resource_group_name, virtual_wan_name, p2svpn_server_configuration_name, custom_headers:nil)
get_async(resource_group_name, virtual_wan_name, p2svpn_server_configuration_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, virtual_wan_name, p2svpn_server_configuration_name, custom_headers:nil)
get_async(resource_group_name, virtual_wan_name, p2svpn_server_configuration_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"virtual_wan_name",
",",
"p2svpn_server_configuration_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"virtual_wan_name",
",",
"p2svpn_server_configuration_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Retrieves the details of a P2SVpnServerConfiguration.
@param resource_group_name [String] The resource group name of the
P2SVpnServerConfiguration.
@param virtual_wan_name [String] The name of the VirtualWan.
@param p2svpn_server_configuration_name [String] The name of the
P2SVpnServerConfiguration.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Retrieves",
"the",
"details",
"of",
"a",
"P2SVpnServerConfiguration",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/p2s_vpn_server_configurations.rb#L55-L57 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_signalr/lib/2018-03-01-preview/generated/azure_mgmt_signalr/signal_r.rb | Azure::Signalr::Mgmt::V2018_03_01_preview.SignalR.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, resource_name, parameters:nil, custom_headers:nil)
begin_create_or_update_async(resource_group_name, resource_name, parameters:parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, resource_name, parameters:nil, custom_headers:nil)
begin_create_or_update_async(resource_group_name, resource_name, parameters:parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"resource_name",
",",
"parameters",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"resource_name",
",",
"parameters",
":",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Create a new SignalR service and update an exiting SignalR service.
@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 resource_name [String] The name of the SignalR resource.
@param parameters [SignalRCreateParameters] Parameters for the create or
update operation
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Create",
"a",
"new",
"SignalR",
"service",
"and",
"update",
"an",
"exiting",
"SignalR",
"service",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_signalr/lib/2018-03-01-preview/generated/azure_mgmt_signalr/signal_r.rb#L839-L841 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_signalr/lib/2018-03-01-preview/generated/azure_mgmt_signalr/signal_r.rb | Azure::Signalr::Mgmt::V2018_03_01_preview.SignalR.begin_update_with_http_info | def begin_update_with_http_info(resource_group_name, resource_name, parameters:nil, custom_headers:nil)
begin_update_async(resource_group_name, resource_name, parameters:parameters, custom_headers:custom_headers).value!
end | ruby | def begin_update_with_http_info(resource_group_name, resource_name, parameters:nil, custom_headers:nil)
begin_update_async(resource_group_name, resource_name, parameters:parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_update_with_http_info",
"(",
"resource_group_name",
",",
"resource_name",
",",
"parameters",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"begin_update_async",
"(",
"resource_group_name",
",",
"resource_name",
",",
"parameters",
":",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Operation to update an exiting SignalR service.
@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 resource_name [String] The name of the SignalR resource.
@param parameters [SignalRUpdateParameters] Parameters for 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. | [
"Operation",
"to",
"update",
"an",
"exiting",
"SignalR",
"service",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_signalr/lib/2018-03-01-preview/generated/azure_mgmt_signalr/signal_r.rb#L1037-L1039 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/virtual_machine_extension_images.rb | Azure::Compute::Mgmt::V2018_04_01.VirtualMachineExtensionImages.list_types | def list_types(location, publisher_name, custom_headers:nil)
response = list_types_async(location, publisher_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_types(location, publisher_name, custom_headers:nil)
response = list_types_async(location, publisher_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_types",
"(",
"location",
",",
"publisher_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_types_async",
"(",
"location",
",",
"publisher_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets a list of virtual machine extension image types.
@param location [String] The name of a supported Azure region.
@param publisher_name [String]
@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",
"extension",
"image",
"types",
"."
] | 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_extension_images.rb#L134-L137 | train |
Azure/azure-sdk-for-ruby | data/azure_service_fabric/lib/6.4.0.36/generated/azure_service_fabric/mesh_secret_value.rb | Azure::ServiceFabric::V6_4_0_36.MeshSecretValue.delete | def delete(secret_resource_name, secret_value_resource_name, custom_headers:nil)
response = delete_async(secret_resource_name, secret_value_resource_name, custom_headers:custom_headers).value!
nil
end | ruby | def delete(secret_resource_name, secret_value_resource_name, custom_headers:nil)
response = delete_async(secret_resource_name, secret_value_resource_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"delete",
"(",
"secret_resource_name",
",",
"secret_value_resource_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_async",
"(",
"secret_resource_name",
",",
"secret_value_resource_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Deletes the specified value of the named secret resource.
Deletes the secret value resource identified by the name. The name of the
resource is typically the version associated with that value. Deletion will
fail if the specified value is in use.
@param secret_resource_name [String] The name of the secret resource.
@param secret_value_resource_name [String] The name of the secret resource
value which is typically the version identifier for the value.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Deletes",
"the",
"specified",
"value",
"of",
"the",
"named",
"secret",
"resource",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_service_fabric/lib/6.4.0.36/generated/azure_service_fabric/mesh_secret_value.rb#L272-L275 | train |
Azure/azure-sdk-for-ruby | data/azure_service_fabric/lib/6.4.0.36/generated/azure_service_fabric/mesh_secret_value.rb | Azure::ServiceFabric::V6_4_0_36.MeshSecretValue.show | def show(secret_resource_name, secret_value_resource_name, custom_headers:nil)
response = show_async(secret_resource_name, secret_value_resource_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def show(secret_resource_name, secret_value_resource_name, custom_headers:nil)
response = show_async(secret_resource_name, secret_value_resource_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"show",
"(",
"secret_resource_name",
",",
"secret_value_resource_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"show_async",
"(",
"secret_resource_name",
",",
"secret_value_resource_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Lists the specified value of the secret resource.
Lists the decrypted value of the specified named value of the secret
resource. This is a privileged operation.
@param secret_resource_name [String] The name of the secret resource.
@param secret_value_resource_name [String] The name of the secret resource
value which is typically the version identifier for the value.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [SecretValue] operation results. | [
"Lists",
"the",
"specified",
"value",
"of",
"the",
"secret",
"resource",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_service_fabric/lib/6.4.0.36/generated/azure_service_fabric/mesh_secret_value.rb#L466-L469 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_machine_learning/lib/2017-01-01/generated/azure_mgmt_machine_learning/web_services.rb | Azure::MachineLearning::Mgmt::V2017_01_01.WebServices.get_with_http_info | def get_with_http_info(resource_group_name, web_service_name, region:nil, custom_headers:nil)
get_async(resource_group_name, web_service_name, region:region, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, web_service_name, region:nil, custom_headers:nil)
get_async(resource_group_name, web_service_name, region:region, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"web_service_name",
",",
"region",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"web_service_name",
",",
"region",
":",
"region",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the Web Service Definition as specified by a subscription, resource
group, and name. Note that the storage credentials and web service keys are
not returned by this call. To get the web service access keys, call List
Keys.
@param resource_group_name [String] Name of the resource group in which the
web service is located.
@param web_service_name [String] The name of the web service.
@param region [String] The region for which encrypted credential parameters
are valid.
@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",
"Web",
"Service",
"Definition",
"as",
"specified",
"by",
"a",
"subscription",
"resource",
"group",
"and",
"name",
".",
"Note",
"that",
"the",
"storage",
"credentials",
"and",
"web",
"service",
"keys",
"are",
"not",
"returned",
"by",
"this",
"call",
".",
"To",
"get",
"the",
"web",
"service",
"access",
"keys",
"call",
"List",
"Keys",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_machine_learning/lib/2017-01-01/generated/azure_mgmt_machine_learning/web_services.rb#L117-L119 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2018-02-01/generated/azure_mgmt_web/app_service_environments.rb | Azure::Web::Mgmt::V2018_02_01.AppServiceEnvironments.list_vips | def list_vips(resource_group_name, name, custom_headers:nil)
response = list_vips_async(resource_group_name, name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_vips(resource_group_name, name, custom_headers:nil)
response = list_vips_async(resource_group_name, name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_vips",
"(",
"resource_group_name",
",",
"name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_vips_async",
"(",
"resource_group_name",
",",
"name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Get IP addresses assigned to an App Service Environment.
Get IP addresses assigned to an App Service Environment.
@param resource_group_name [String] Name of the resource group to which the
resource belongs.
@param name [String] Name of the App Service Environment.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [AddressResponse] operation results. | [
"Get",
"IP",
"addresses",
"assigned",
"to",
"an",
"App",
"Service",
"Environment",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_web/lib/2018-02-01/generated/azure_mgmt_web/app_service_environments.rb#L667-L670 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2018-02-01/generated/azure_mgmt_web/app_service_environments.rb | Azure::Web::Mgmt::V2018_02_01.AppServiceEnvironments.list_diagnostics | def list_diagnostics(resource_group_name, name, custom_headers:nil)
response = list_diagnostics_async(resource_group_name, name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_diagnostics(resource_group_name, name, custom_headers:nil)
response = list_diagnostics_async(resource_group_name, name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_diagnostics",
"(",
"resource_group_name",
",",
"name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_diagnostics_async",
"(",
"resource_group_name",
",",
"name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Get diagnostic information for an App Service Environment.
Get diagnostic information for an App Service Environment.
@param resource_group_name [String] Name of the resource group to which the
resource belongs.
@param name [String] Name of the App Service Environment.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array] operation results. | [
"Get",
"diagnostic",
"information",
"for",
"an",
"App",
"Service",
"Environment",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_web/lib/2018-02-01/generated/azure_mgmt_web/app_service_environments.rb#L843-L846 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2018-02-01/generated/azure_mgmt_web/app_service_environments.rb | Azure::Web::Mgmt::V2018_02_01.AppServiceEnvironments.list_metric_definitions | def list_metric_definitions(resource_group_name, name, custom_headers:nil)
response = list_metric_definitions_async(resource_group_name, name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_metric_definitions(resource_group_name, name, custom_headers:nil)
response = list_metric_definitions_async(resource_group_name, name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_metric_definitions",
"(",
"resource_group_name",
",",
"name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_metric_definitions_async",
"(",
"resource_group_name",
",",
"name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Get global metric definitions of an App Service Environment.
Get global metric definitions of an App Service Environment.
@param resource_group_name [String] Name of the resource group to which the
resource belongs.
@param name [String] Name of the App Service Environment.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MetricDefinition] operation results. | [
"Get",
"global",
"metric",
"definitions",
"of",
"an",
"App",
"Service",
"Environment",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_web/lib/2018-02-01/generated/azure_mgmt_web/app_service_environments.rb#L1071-L1074 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2018-02-01/generated/azure_mgmt_web/app_service_environments.rb | Azure::Web::Mgmt::V2018_02_01.AppServiceEnvironments.get_multi_role_pool | def get_multi_role_pool(resource_group_name, name, custom_headers:nil)
response = get_multi_role_pool_async(resource_group_name, name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_multi_role_pool(resource_group_name, name, custom_headers:nil)
response = get_multi_role_pool_async(resource_group_name, name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_multi_role_pool",
"(",
"resource_group_name",
",",
"name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_multi_role_pool_async",
"(",
"resource_group_name",
",",
"name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Get properties of a multi-role pool.
Get properties of a multi-role pool.
@param resource_group_name [String] Name of the resource group to which the
resource belongs.
@param name [String] Name of the App Service Environment.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [WorkerPoolResource] operation results. | [
"Get",
"properties",
"of",
"a",
"multi",
"-",
"role",
"pool",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_web/lib/2018-02-01/generated/azure_mgmt_web/app_service_environments.rb#L1402-L1405 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2018-02-01/generated/azure_mgmt_web/app_service_environments.rb | Azure::Web::Mgmt::V2018_02_01.AppServiceEnvironments.list_operations | def list_operations(resource_group_name, name, custom_headers:nil)
response = list_operations_async(resource_group_name, name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_operations(resource_group_name, name, custom_headers:nil)
response = list_operations_async(resource_group_name, name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_operations",
"(",
"resource_group_name",
",",
"name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_operations_async",
"(",
"resource_group_name",
",",
"name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | List all currently running operations on the App Service Environment.
List all currently running operations on the App Service Environment.
@param resource_group_name [String] Name of the resource group to which the
resource belongs.
@param name [String] Name of the App Service Environment.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array] operation results. | [
"List",
"all",
"currently",
"running",
"operations",
"on",
"the",
"App",
"Service",
"Environment",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_web/lib/2018-02-01/generated/azure_mgmt_web/app_service_environments.rb#L2362-L2365 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2018-02-01/generated/azure_mgmt_web/app_service_environments.rb | Azure::Web::Mgmt::V2018_02_01.AppServiceEnvironments.begin_delete_with_http_info | def begin_delete_with_http_info(resource_group_name, name, force_delete:nil, custom_headers:nil)
begin_delete_async(resource_group_name, name, force_delete:force_delete, custom_headers:custom_headers).value!
end | ruby | def begin_delete_with_http_info(resource_group_name, name, force_delete:nil, custom_headers:nil)
begin_delete_async(resource_group_name, name, force_delete:force_delete, custom_headers:custom_headers).value!
end | [
"def",
"begin_delete_with_http_info",
"(",
"resource_group_name",
",",
"name",
",",
"force_delete",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"begin_delete_async",
"(",
"resource_group_name",
",",
"name",
",",
"force_delete",
":force_delete",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Delete an App Service Environment.
Delete an App Service Environment.
@param resource_group_name [String] Name of the resource group to which the
resource belongs.
@param name [String] Name of the App Service Environment.
@param force_delete [Boolean] Specify <code>true</code> to force the deletion
even if the App Service Environment contains resources. The default is
<code>false</code>.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Delete",
"an",
"App",
"Service",
"Environment",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_web/lib/2018-02-01/generated/azure_mgmt_web/app_service_environments.rb#L4303-L4305 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/list_management_image.rb | Azure::CognitiveServices::ContentModerator::V1_0.ListManagementImage.delete_all_images | def delete_all_images(list_id, custom_headers:nil)
response = delete_all_images_async(list_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def delete_all_images(list_id, custom_headers:nil)
response = delete_all_images_async(list_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"delete_all_images",
"(",
"list_id",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_all_images_async",
"(",
"list_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Deletes all images from the list with list Id equal to list Id passed.
@param list_id [String] List Id of the image list.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [String] operation results. | [
"Deletes",
"all",
"images",
"from",
"the",
"list",
"with",
"list",
"Id",
"equal",
"to",
"list",
"Id",
"passed",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/list_management_image.rb#L137-L140 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/list_management_image.rb | Azure::CognitiveServices::ContentModerator::V1_0.ListManagementImage.get_all_image_ids | def get_all_image_ids(list_id, custom_headers:nil)
response = get_all_image_ids_async(list_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_all_image_ids(list_id, custom_headers:nil)
response = get_all_image_ids_async(list_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_all_image_ids",
"(",
"list_id",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_all_image_ids_async",
"(",
"list_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets all image Ids from the list with list Id equal to list Id passed.
@param list_id [String] List Id of the image list.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [ImageIds] operation results. | [
"Gets",
"all",
"image",
"Ids",
"from",
"the",
"list",
"with",
"list",
"Id",
"equal",
"to",
"list",
"Id",
"passed",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/list_management_image.rb#L231-L234 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_contentmoderator/lib/1.0/generated/azure_cognitiveservices_contentmoderator/list_management_image.rb | Azure::CognitiveServices::ContentModerator::V1_0.ListManagementImage.delete_image | def delete_image(list_id, image_id, custom_headers:nil)
response = delete_image_async(list_id, image_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def delete_image(list_id, image_id, custom_headers:nil)
response = delete_image_async(list_id, image_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"delete_image",
"(",
"list_id",
",",
"image_id",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_image_async",
"(",
"list_id",
",",
"image_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Deletes an image from the list with list Id and image Id passed.
@param list_id [String] List Id of the image list.
@param image_id [String] Id of the image.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [String] operation results. | [
"Deletes",
"an",
"image",
"from",
"the",
"list",
"with",
"list",
"Id",
"and",
"image",
"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_image.rb#L319-L322 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_iot_central/lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/apps.rb | Azure::IotCentral::Mgmt::V2017_07_01_privatepreview.Apps.check_name_availability | def check_name_availability(operation_inputs, custom_headers:nil)
response = check_name_availability_async(operation_inputs, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def check_name_availability(operation_inputs, custom_headers:nil)
response = check_name_availability_async(operation_inputs, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"check_name_availability",
"(",
"operation_inputs",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"check_name_availability_async",
"(",
"operation_inputs",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Check if an IoT Central application name is available.
@param operation_inputs [OperationInputs] Set the name parameter in the
OperationInputs structure to the name of the IoT Central application to
check.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [AppNameAvailabilityInfo] operation results. | [
"Check",
"if",
"an",
"IoT",
"Central",
"application",
"name",
"is",
"available",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_iot_central/lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/apps.rb#L451-L454 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_iot_central/lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/apps.rb | Azure::IotCentral::Mgmt::V2017_07_01_privatepreview.Apps.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, resource_name, app, custom_headers:nil)
begin_create_or_update_async(resource_group_name, resource_name, app, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, resource_name, app, custom_headers:nil)
begin_create_or_update_async(resource_group_name, resource_name, app, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"resource_name",
",",
"app",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"resource_name",
",",
"app",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Create or update the metadata of an IoT Central application. The usual
pattern to modify a property is to retrieve the IoT Central application
metadata and security metadata, and then combine them with the modified
values in a new body to update the IoT Central application.
@param resource_group_name [String] The name of the resource group that
contains the IoT Central application.
@param resource_name [String] The ARM resource name of the IoT Central
application.
@param app [App] The IoT Central application metadata and security metadata.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Create",
"or",
"update",
"the",
"metadata",
"of",
"an",
"IoT",
"Central",
"application",
".",
"The",
"usual",
"pattern",
"to",
"modify",
"a",
"property",
"is",
"to",
"retrieve",
"the",
"IoT",
"Central",
"application",
"metadata",
"and",
"security",
"metadata",
"and",
"then",
"combine",
"them",
"with",
"the",
"modified",
"values",
"in",
"a",
"new",
"body",
"to",
"update",
"the",
"IoT",
"Central",
"application",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_iot_central/lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/apps.rb#L578-L580 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_iot_central/lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/apps.rb | Azure::IotCentral::Mgmt::V2017_07_01_privatepreview.Apps.begin_update_with_http_info | def begin_update_with_http_info(resource_group_name, resource_name, app_patch, custom_headers:nil)
begin_update_async(resource_group_name, resource_name, app_patch, custom_headers:custom_headers).value!
end | ruby | def begin_update_with_http_info(resource_group_name, resource_name, app_patch, custom_headers:nil)
begin_update_async(resource_group_name, resource_name, app_patch, custom_headers:custom_headers).value!
end | [
"def",
"begin_update_with_http_info",
"(",
"resource_group_name",
",",
"resource_name",
",",
"app_patch",
",",
"custom_headers",
":",
"nil",
")",
"begin_update_async",
"(",
"resource_group_name",
",",
"resource_name",
",",
"app_patch",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Update the metadata of an IoT Central application.
@param resource_group_name [String] The name of the resource group that
contains the IoT Central application.
@param resource_name [String] The ARM resource name of the IoT Central
application.
@param app_patch [AppPatch] The IoT Central application metadata and security
metadata.
@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",
"metadata",
"of",
"an",
"IoT",
"Central",
"application",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_iot_central/lib/2017-07-01-privatepreview/generated/azure_mgmt_iot_central/apps.rb#L702-L704 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_authorization/lib/2015-07-01/generated/azure_mgmt_authorization/role_definitions.rb | Azure::Authorization::Mgmt::V2015_07_01.RoleDefinitions.get_by_id | def get_by_id(role_definition_id, custom_headers:nil)
response = get_by_id_async(role_definition_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_by_id(role_definition_id, custom_headers:nil)
response = get_by_id_async(role_definition_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_by_id",
"(",
"role_definition_id",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_by_id_async",
"(",
"role_definition_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets a role definition by ID.
@param role_definition_id [String] The fully qualified role definition ID.
Use the format,
/subscriptions/{guid}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}
for subscription level role definitions, or
/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId} for
tenant level role definitions.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [RoleDefinition] operation results. | [
"Gets",
"a",
"role",
"definition",
"by",
"ID",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_authorization/lib/2015-07-01/generated/azure_mgmt_authorization/role_definitions.rb#L422-L425 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-10-01/generated/azure_mgmt_network/connection_monitors.rb | Azure::Network::Mgmt::V2018_10_01.ConnectionMonitors.get_with_http_info | def get_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil)
get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil)
get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"network_watcher_name",
",",
"connection_monitor_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"network_watcher_name",
",",
"connection_monitor_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets a connection monitor by name.
@param resource_group_name [String] The name of the resource group containing
Network Watcher.
@param network_watcher_name [String] The name of the Network Watcher
resource.
@param connection_monitor_name [String] The name of the connection monitor.
@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",
"connection",
"monitor",
"by",
"name",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-10-01/generated/azure_mgmt_network/connection_monitors.rb#L107-L109 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/property.rb | Azure::ApiManagement::Mgmt::V2018_01_01.Property.get_with_http_info | def get_with_http_info(resource_group_name, service_name, prop_id, custom_headers:nil)
get_async(resource_group_name, service_name, prop_id, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, service_name, prop_id, custom_headers:nil)
get_async(resource_group_name, service_name, prop_id, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"service_name",
",",
"prop_id",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"service_name",
",",
"prop_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the details of the property 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 prop_id [String] Identifier of the property.
@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",
"property",
"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/property.rb#L268-L270 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/property.rb | Azure::ApiManagement::Mgmt::V2018_01_01.Property.create_or_update_with_http_info | def create_or_update_with_http_info(resource_group_name, service_name, prop_id, parameters, if_match:nil, custom_headers:nil)
create_or_update_async(resource_group_name, service_name, prop_id, parameters, if_match:if_match, custom_headers:custom_headers).value!
end | ruby | def create_or_update_with_http_info(resource_group_name, service_name, prop_id, parameters, if_match:nil, custom_headers:nil)
create_or_update_async(resource_group_name, service_name, prop_id, parameters, if_match:if_match, custom_headers:custom_headers).value!
end | [
"def",
"create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"service_name",
",",
"prop_id",
",",
"parameters",
",",
"if_match",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"create_or_update_async",
"(",
"resource_group_name",
",",
"service_name",
",",
"prop_id",
",",
"parameters",
",",
"if_match",
":if_match",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates or updates a property.
@param resource_group_name [String] The name of the resource group.
@param service_name [String] The name of the API Management service.
@param prop_id [String] Identifier of the property.
@param parameters [PropertyContract] Create parameters.
@param if_match [String] ETag of the Entity. Not required when creating an
entity, but required when updating an entity.
@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",
"property",
"."
] | 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/property.rb#L375-L377 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/api_management_services.rb | Azure::ApiManagement::Mgmt::V2016_10_10.ApiManagementServices.get_sso_token | def get_sso_token(resource_group_name, service_name, custom_headers:nil)
response = get_sso_token_async(resource_group_name, service_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_sso_token(resource_group_name, service_name, custom_headers:nil)
response = get_sso_token_async(resource_group_name, service_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_sso_token",
"(",
"resource_group_name",
",",
"service_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_sso_token_async",
"(",
"resource_group_name",
",",
"service_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets the Single-Sign-On token for the API Management Service which is valid
for 5 Minutes.
@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 [ApiManagementServiceGetSsoTokenResult] operation results. | [
"Gets",
"the",
"Single",
"-",
"Sign",
"-",
"On",
"token",
"for",
"the",
"API",
"Management",
"Service",
"which",
"is",
"valid",
"for",
"5",
"Minutes",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/api_management_services.rb#L699-L702 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/api_management_services.rb | Azure::ApiManagement::Mgmt::V2016_10_10.ApiManagementServices.upload_certificate_with_http_info | def upload_certificate_with_http_info(resource_group_name, service_name, parameters, custom_headers:nil)
upload_certificate_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
end | ruby | def upload_certificate_with_http_info(resource_group_name, service_name, parameters, custom_headers:nil)
upload_certificate_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"upload_certificate_with_http_info",
"(",
"resource_group_name",
",",
"service_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"upload_certificate_async",
"(",
"resource_group_name",
",",
"service_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Upload Custom Domain SSL certificate for an API Management service.
@param resource_group_name [String] The name of the resource group.
@param service_name [String] The name of the API Management service.
@param parameters [ApiManagementServiceUploadCertificateParameters]
Parameters supplied to the Upload SSL certificate for an API Management
service operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Upload",
"Custom",
"Domain",
"SSL",
"certificate",
"for",
"an",
"API",
"Management",
"service",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/api_management_services.rb#L915-L917 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/api_management_services.rb | Azure::ApiManagement::Mgmt::V2016_10_10.ApiManagementServices.begin_update_with_http_info | def begin_update_with_http_info(resource_group_name, service_name, parameters, custom_headers:nil)
begin_update_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_update_with_http_info(resource_group_name, service_name, parameters, custom_headers:nil)
begin_update_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_update_with_http_info",
"(",
"resource_group_name",
",",
"service_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_update_async",
"(",
"resource_group_name",
",",
"service_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Updates an existing API Management service.
@param resource_group_name [String] The name of the resource group.
@param service_name [String] The name of the API Management service.
@param parameters [ApiManagementServiceUpdateParameters] Parameters supplied
to the CreateOrUpdate API Management service operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Updates",
"an",
"existing",
"API",
"Management",
"service",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/api_management_services.rb#L1474-L1476 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_cdn/lib/2017-04-02/generated/azure_mgmt_cdn/endpoints.rb | Azure::CDN::Mgmt::V2017_04_02.Endpoints.start | def start(resource_group_name, profile_name, endpoint_name, custom_headers:nil)
response = start_async(resource_group_name, profile_name, endpoint_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def start(resource_group_name, profile_name, endpoint_name, custom_headers:nil)
response = start_async(resource_group_name, profile_name, endpoint_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"start",
"(",
"resource_group_name",
",",
"profile_name",
",",
"endpoint_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"start_async",
"(",
"resource_group_name",
",",
"profile_name",
",",
"endpoint_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Starts an existing CDN endpoint that is on a stopped state.
@param resource_group_name [String] Name of the Resource group within the
Azure subscription.
@param profile_name [String] Name of the CDN profile which is unique within
the resource group.
@param endpoint_name [String] Name of the endpoint under the profile which is
unique globally.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Endpoint] operation results. | [
"Starts",
"an",
"existing",
"CDN",
"endpoint",
"that",
"is",
"on",
"a",
"stopped",
"state",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_cdn/lib/2017-04-02/generated/azure_mgmt_cdn/endpoints.rb#L410-L413 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_cdn/lib/2017-04-02/generated/azure_mgmt_cdn/endpoints.rb | Azure::CDN::Mgmt::V2017_04_02.Endpoints.purge_content | def purge_content(resource_group_name, profile_name, endpoint_name, content_file_paths, custom_headers:nil)
response = purge_content_async(resource_group_name, profile_name, endpoint_name, content_file_paths, custom_headers:custom_headers).value!
nil
end | ruby | def purge_content(resource_group_name, profile_name, endpoint_name, content_file_paths, custom_headers:nil)
response = purge_content_async(resource_group_name, profile_name, endpoint_name, content_file_paths, custom_headers:custom_headers).value!
nil
end | [
"def",
"purge_content",
"(",
"resource_group_name",
",",
"profile_name",
",",
"endpoint_name",
",",
"content_file_paths",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"purge_content_async",
"(",
"resource_group_name",
",",
"profile_name",
",",
"endpoint_name",
",",
"content_file_paths",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Removes a content from CDN.
@param resource_group_name [String] Name of the Resource group within the
Azure subscription.
@param profile_name [String] Name of the CDN profile which is unique within
the resource group.
@param endpoint_name [String] Name of the endpoint under the profile which is
unique globally.
@param content_file_paths [PurgeParameters] The path to the content to be
purged. Path can be a full URL, e.g. '/pictures/city.png' which removes a
single file, or a directory with a wildcard, e.g. '/pictures/*' which removes
all folders and files in the directory.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Removes",
"a",
"content",
"from",
"CDN",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_cdn/lib/2017-04-02/generated/azure_mgmt_cdn/endpoints.rb#L512-L515 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_cdn/lib/2017-04-02/generated/azure_mgmt_cdn/endpoints.rb | Azure::CDN::Mgmt::V2017_04_02.Endpoints.load_content | def load_content(resource_group_name, profile_name, endpoint_name, content_file_paths, custom_headers:nil)
response = load_content_async(resource_group_name, profile_name, endpoint_name, content_file_paths, custom_headers:custom_headers).value!
nil
end | ruby | def load_content(resource_group_name, profile_name, endpoint_name, content_file_paths, custom_headers:nil)
response = load_content_async(resource_group_name, profile_name, endpoint_name, content_file_paths, custom_headers:custom_headers).value!
nil
end | [
"def",
"load_content",
"(",
"resource_group_name",
",",
"profile_name",
",",
"endpoint_name",
",",
"content_file_paths",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"load_content_async",
"(",
"resource_group_name",
",",
"profile_name",
",",
"endpoint_name",
",",
"content_file_paths",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Pre-loads a content to CDN. Available for Verizon Profiles.
@param resource_group_name [String] Name of the Resource group within the
Azure subscription.
@param profile_name [String] Name of the CDN profile which is unique within
the resource group.
@param endpoint_name [String] Name of the endpoint under the profile which is
unique globally.
@param content_file_paths [LoadParameters] The path to the content to be
loaded. Path should be a full URL, e.g. ‘/pictures/city.png' which loads a
single file
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Pre",
"-",
"loads",
"a",
"content",
"to",
"CDN",
".",
"Available",
"for",
"Verizon",
"Profiles",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_cdn/lib/2017-04-02/generated/azure_mgmt_cdn/endpoints.rb#L565-L568 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_cdn/lib/2017-04-02/generated/azure_mgmt_cdn/endpoints.rb | Azure::CDN::Mgmt::V2017_04_02.Endpoints.begin_create_with_http_info | def begin_create_with_http_info(resource_group_name, profile_name, endpoint_name, endpoint, custom_headers:nil)
begin_create_async(resource_group_name, profile_name, endpoint_name, endpoint, custom_headers:custom_headers).value!
end | ruby | def begin_create_with_http_info(resource_group_name, profile_name, endpoint_name, endpoint, custom_headers:nil)
begin_create_async(resource_group_name, profile_name, endpoint_name, endpoint, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_with_http_info",
"(",
"resource_group_name",
",",
"profile_name",
",",
"endpoint_name",
",",
"endpoint",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_async",
"(",
"resource_group_name",
",",
"profile_name",
",",
"endpoint_name",
",",
"endpoint",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates a new CDN endpoint with the specified endpoint name under the
specified subscription, resource group and profile.
@param resource_group_name [String] Name of the Resource group within the
Azure subscription.
@param profile_name [String] Name of the CDN profile which is unique within
the resource group.
@param endpoint_name [String] Name of the endpoint under the profile which is
unique globally.
@param endpoint [Endpoint] Endpoint properties
@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",
"CDN",
"endpoint",
"with",
"the",
"specified",
"endpoint",
"name",
"under",
"the",
"specified",
"subscription",
"resource",
"group",
"and",
"profile",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_cdn/lib/2017-04-02/generated/azure_mgmt_cdn/endpoints.rb#L875-L877 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_cdn/lib/2017-04-02/generated/azure_mgmt_cdn/endpoints.rb | Azure::CDN::Mgmt::V2017_04_02.Endpoints.begin_delete | def begin_delete(resource_group_name, profile_name, endpoint_name, custom_headers:nil)
response = begin_delete_async(resource_group_name, profile_name, endpoint_name, custom_headers:custom_headers).value!
nil
end | ruby | def begin_delete(resource_group_name, profile_name, endpoint_name, custom_headers:nil)
response = begin_delete_async(resource_group_name, profile_name, endpoint_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"begin_delete",
"(",
"resource_group_name",
",",
"profile_name",
",",
"endpoint_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"begin_delete_async",
"(",
"resource_group_name",
",",
"profile_name",
",",
"endpoint_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Deletes an existing CDN endpoint with the specified endpoint name under the
specified subscription, resource group and profile.
@param resource_group_name [String] Name of the Resource group within the
Azure subscription.
@param profile_name [String] Name of the CDN profile which is unique within
the resource group.
@param endpoint_name [String] Name of the endpoint under the profile which is
unique globally.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Deletes",
"an",
"existing",
"CDN",
"endpoint",
"with",
"the",
"specified",
"endpoint",
"name",
"under",
"the",
"specified",
"subscription",
"resource",
"group",
"and",
"profile",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_cdn/lib/2017-04-02/generated/azure_mgmt_cdn/endpoints.rb#L1138-L1141 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_reservations/lib/2018-06-01-preview/generated/azure_mgmt_reservations/reservations_management_client.rb | Azure::Reservations::Mgmt::V2018_06_01_preview.ReservationsManagementClient.get_applied_reservation_list | def get_applied_reservation_list(subscription_id, custom_headers:nil)
response = get_applied_reservation_list_async(subscription_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_applied_reservation_list(subscription_id, custom_headers:nil)
response = get_applied_reservation_list_async(subscription_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_applied_reservation_list",
"(",
"subscription_id",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_applied_reservation_list_async",
"(",
"subscription_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Get list of applicable `Reservation`s.
Get applicable `Reservation`s that are applied to this subscription.
@param subscription_id [String] Id of the subscription
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [AppliedReservations] operation results. | [
"Get",
"list",
"of",
"applicable",
"Reservation",
"s",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_reservations/lib/2018-06-01-preview/generated/azure_mgmt_reservations/reservations_management_client.rb#L255-L258 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_face/lib/1.0/generated/azure_cognitiveservices_face/person_group_person.rb | Azure::CognitiveServices::Face::V1_0.PersonGroupPerson.delete | def delete(person_group_id, person_id, custom_headers:nil)
response = delete_async(person_group_id, person_id, custom_headers:custom_headers).value!
nil
end | ruby | def delete(person_group_id, person_id, custom_headers:nil)
response = delete_async(person_group_id, person_id, custom_headers:custom_headers).value!
nil
end | [
"def",
"delete",
"(",
"person_group_id",
",",
"person_id",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_async",
"(",
"person_group_id",
",",
"person_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Delete an existing person from a person group. All stored person data, and
face features in the person entry will be deleted.
@param person_group_id [String] Id referencing a particular person group.
@param person_id Id referencing a particular person.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Delete",
"an",
"existing",
"person",
"from",
"a",
"person",
"group",
".",
"All",
"stored",
"person",
"data",
"and",
"face",
"features",
"in",
"the",
"person",
"entry",
"will",
"be",
"deleted",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_face/lib/1.0/generated/azure_cognitiveservices_face/person_group_person.rb#L269-L272 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_agents.rb | Azure::SQL::Mgmt::V2017_03_01_preview.JobAgents.begin_delete_with_http_info | def begin_delete_with_http_info(resource_group_name, server_name, job_agent_name, custom_headers:nil)
begin_delete_async(resource_group_name, server_name, job_agent_name, custom_headers:custom_headers).value!
end | ruby | def begin_delete_with_http_info(resource_group_name, server_name, job_agent_name, custom_headers:nil)
begin_delete_async(resource_group_name, server_name, job_agent_name, custom_headers:custom_headers).value!
end | [
"def",
"begin_delete_with_http_info",
"(",
"resource_group_name",
",",
"server_name",
",",
"job_agent_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_delete_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"job_agent_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes a job agent.
@param resource_group_name [String] The name of the resource group that
contains the resource. You can obtain this value from the Azure Resource
Manager API or the portal.
@param server_name [String] The name of the server.
@param job_agent_name [String] The name of the job agent to be deleted.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Deletes",
"a",
"job",
"agent",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_agents.rb#L529-L531 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_agents.rb | Azure::SQL::Mgmt::V2017_03_01_preview.JobAgents.list_by_server_as_lazy | def list_by_server_as_lazy(resource_group_name, server_name, custom_headers:nil)
response = list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value!
unless response.nil?
page = response.body
page.next_method = Proc.new do |next_page_link|
list_by_server_next_async(next_page_link, custom_headers:custom_headers)
end
page
end
end | ruby | def list_by_server_as_lazy(resource_group_name, server_name, custom_headers:nil)
response = list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value!
unless response.nil?
page = response.body
page.next_method = Proc.new do |next_page_link|
list_by_server_next_async(next_page_link, custom_headers:custom_headers)
end
page
end
end | [
"def",
"list_by_server_as_lazy",
"(",
"resource_group_name",
",",
"server_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_by_server_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"unless",
"response",
".",
"nil?",
"page",
"=",
"response",
".",
"body",
"page",
".",
"next_method",
"=",
"Proc",
".",
"new",
"do",
"|",
"next_page_link",
"|",
"list_by_server_next_async",
"(",
"next_page_link",
",",
"custom_headers",
":custom_headers",
")",
"end",
"page",
"end",
"end"
] | Gets a list of job agents in a server.
@param resource_group_name [String] The name of the resource group that
contains the resource. You can obtain this value from the Azure Resource
Manager API or the portal.
@param server_name [String] The name of the server.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [JobAgentListResult] which provide lazy access to pages of the
response. | [
"Gets",
"a",
"list",
"of",
"job",
"agents",
"in",
"a",
"server",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_agents.rb#L804-L813 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/network_interface_tap_configurations.rb | Azure::Network::Mgmt::V2019_02_01.NetworkInterfaceTapConfigurations.get_with_http_info | def get_with_http_info(resource_group_name, network_interface_name, tap_configuration_name, custom_headers:nil)
get_async(resource_group_name, network_interface_name, tap_configuration_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, network_interface_name, tap_configuration_name, custom_headers:nil)
get_async(resource_group_name, network_interface_name, tap_configuration_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"network_interface_name",
",",
"tap_configuration_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"network_interface_name",
",",
"tap_configuration_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Get the specified tap configuration on a network interface.
@param resource_group_name [String] The name of the resource group.
@param network_interface_name [String] The name of the network interface.
@param tap_configuration_name [String] The name of the tap configuration.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Get",
"the",
"specified",
"tap",
"configuration",
"on",
"a",
"network",
"interface",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/network_interface_tap_configurations.rb#L91-L93 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_face/lib/1.0/generated/azure_cognitiveservices_face/large_person_group_person.rb | Azure::CognitiveServices::Face::V1_0.LargePersonGroupPerson.create | def create(large_person_group_id, name:nil, user_data:nil, custom_headers:nil)
response = create_async(large_person_group_id, name:name, user_data:user_data, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def create(large_person_group_id, name:nil, user_data:nil, custom_headers:nil)
response = create_async(large_person_group_id, name:name, user_data:user_data, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"create",
"(",
"large_person_group_id",
",",
"name",
":",
"nil",
",",
"user_data",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"create_async",
"(",
"large_person_group_id",
",",
"name",
":",
"name",
",",
"user_data",
":user_data",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Create a new person in a specified large person group.
@param large_person_group_id [String] Id referencing a particular large
person group.
@param name [String] User defined name, maximum length is 128.
@param user_data [String] User specified data. Length should not exceed 16KB.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Person] operation results. | [
"Create",
"a",
"new",
"person",
"in",
"a",
"specified",
"large",
"person",
"group",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_face/lib/1.0/generated/azure_cognitiveservices_face/large_person_group_person.rb#L36-L39 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_face/lib/1.0/generated/azure_cognitiveservices_face/large_person_group_person.rb | Azure::CognitiveServices::Face::V1_0.LargePersonGroupPerson.delete | def delete(large_person_group_id, person_id, custom_headers:nil)
response = delete_async(large_person_group_id, person_id, custom_headers:custom_headers).value!
nil
end | ruby | def delete(large_person_group_id, person_id, custom_headers:nil)
response = delete_async(large_person_group_id, person_id, custom_headers:custom_headers).value!
nil
end | [
"def",
"delete",
"(",
"large_person_group_id",
",",
"person_id",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_async",
"(",
"large_person_group_id",
",",
"person_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Delete an existing person from a large person group. All stored person data,
and face features in the person entry will be deleted.
@param large_person_group_id [String] Id referencing a particular large
person group.
@param person_id Id referencing a particular person.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Delete",
"an",
"existing",
"person",
"from",
"a",
"large",
"person",
"group",
".",
"All",
"stored",
"person",
"data",
"and",
"face",
"features",
"in",
"the",
"person",
"entry",
"will",
"be",
"deleted",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_face/lib/1.0/generated/azure_cognitiveservices_face/large_person_group_person.rb#L276-L279 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_face/lib/1.0/generated/azure_cognitiveservices_face/large_person_group_person.rb | Azure::CognitiveServices::Face::V1_0.LargePersonGroupPerson.get | def get(large_person_group_id, person_id, custom_headers:nil)
response = get_async(large_person_group_id, person_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get(large_person_group_id, person_id, custom_headers:nil)
response = get_async(large_person_group_id, person_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get",
"(",
"large_person_group_id",
",",
"person_id",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_async",
"(",
"large_person_group_id",
",",
"person_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Retrieve a person's information, including registered persisted faces, name
and userData.
@param large_person_group_id [String] Id referencing a particular large
person group.
@param person_id Id referencing a particular person.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Person] operation results. | [
"Retrieve",
"a",
"person",
"s",
"information",
"including",
"registered",
"persisted",
"faces",
"name",
"and",
"userData",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_face/lib/1.0/generated/azure_cognitiveservices_face/large_person_group_person.rb#L365-L368 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_face/lib/1.0/generated/azure_cognitiveservices_face/large_person_group_person.rb | Azure::CognitiveServices::Face::V1_0.LargePersonGroupPerson.update_with_http_info | def update_with_http_info(large_person_group_id, person_id, name:nil, user_data:nil, custom_headers:nil)
update_async(large_person_group_id, person_id, name:name, user_data:user_data, custom_headers:custom_headers).value!
end | ruby | def update_with_http_info(large_person_group_id, person_id, name:nil, user_data:nil, custom_headers:nil)
update_async(large_person_group_id, person_id, name:name, user_data:user_data, custom_headers:custom_headers).value!
end | [
"def",
"update_with_http_info",
"(",
"large_person_group_id",
",",
"person_id",
",",
"name",
":",
"nil",
",",
"user_data",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"update_async",
"(",
"large_person_group_id",
",",
"person_id",
",",
"name",
":",
"name",
",",
"user_data",
":user_data",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Update name or userData of a person.
@param large_person_group_id [String] Id referencing a particular large
person group.
@param person_id Id referencing a particular person.
@param name [String] User defined name, maximum length is 128.
@param user_data [String] User specified data. Length should not exceed 16KB.
@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",
"name",
"or",
"userData",
"of",
"a",
"person",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_face/lib/1.0/generated/azure_cognitiveservices_face/large_person_group_person.rb#L482-L484 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_search/lib/2015-08-19/generated/azure_mgmt_search/services.rb | Azure::Search::Mgmt::V2015_08_19.Services.get_with_http_info | def get_with_http_info(resource_group_name, search_service_name, search_management_request_options:nil, custom_headers:nil)
get_async(resource_group_name, search_service_name, search_management_request_options:search_management_request_options, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, search_service_name, search_management_request_options:nil, custom_headers:nil)
get_async(resource_group_name, search_service_name, search_management_request_options:search_management_request_options, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"search_service_name",
",",
"search_management_request_options",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"search_service_name",
",",
"search_management_request_options",
":search_management_request_options",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the Search service with the given name in the given resource group.
@param resource_group_name [String] The name of the resource group within the
current subscription. You can obtain this value from the Azure Resource
Manager API or the portal.
@param search_service_name [String] The name of the Azure Search service
associated with the specified resource group.
@param search_management_request_options [SearchManagementRequestOptions]
Additional parameters for the operation
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"the",
"Search",
"service",
"with",
"the",
"given",
"name",
"in",
"the",
"given",
"resource",
"group",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_search/lib/2015-08-19/generated/azure_mgmt_search/services.rb#L253-L255 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_policy/lib/2017-06-01-preview/generated/azure_mgmt_policy/policy_set_definitions.rb | Azure::Policy::Mgmt::V2017_06_01_preview.PolicySetDefinitions.get_built_in | def get_built_in(policy_set_definition_name, custom_headers:nil)
response = get_built_in_async(policy_set_definition_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_built_in(policy_set_definition_name, custom_headers:nil)
response = get_built_in_async(policy_set_definition_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_built_in",
"(",
"policy_set_definition_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_built_in_async",
"(",
"policy_set_definition_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets the built in policy set definition.
@param policy_set_definition_name [String] The name of the policy set
definition to get.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [PolicySetDefinition] operation results. | [
"Gets",
"the",
"built",
"in",
"policy",
"set",
"definition",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_policy/lib/2017-06-01-preview/generated/azure_mgmt_policy/policy_set_definitions.rb#L318-L321 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_policy/lib/2017-06-01-preview/generated/azure_mgmt_policy/policy_set_definitions.rb | Azure::Policy::Mgmt::V2017_06_01_preview.PolicySetDefinitions.create_or_update_at_management_group_with_http_info | def create_or_update_at_management_group_with_http_info(policy_set_definition_name, parameters, management_group_id, custom_headers:nil)
create_or_update_at_management_group_async(policy_set_definition_name, parameters, management_group_id, custom_headers:custom_headers).value!
end | ruby | def create_or_update_at_management_group_with_http_info(policy_set_definition_name, parameters, management_group_id, custom_headers:nil)
create_or_update_at_management_group_async(policy_set_definition_name, parameters, management_group_id, custom_headers:custom_headers).value!
end | [
"def",
"create_or_update_at_management_group_with_http_info",
"(",
"policy_set_definition_name",
",",
"parameters",
",",
"management_group_id",
",",
"custom_headers",
":",
"nil",
")",
"create_or_update_at_management_group_async",
"(",
"policy_set_definition_name",
",",
"parameters",
",",
"management_group_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates or updates a policy set definition at management group level.
@param policy_set_definition_name [String] The name of the policy set
definition to create.
@param parameters [PolicySetDefinition] The policy set definition properties.
@param management_group_id [String] The ID of the management group.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Creates",
"or",
"updates",
"a",
"policy",
"set",
"definition",
"at",
"management",
"group",
"level",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_policy/lib/2017-06-01-preview/generated/azure_mgmt_policy/policy_set_definitions.rb#L593-L595 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_policy/lib/2017-06-01-preview/generated/azure_mgmt_policy/policy_set_definitions.rb | Azure::Policy::Mgmt::V2017_06_01_preview.PolicySetDefinitions.delete_at_management_group | def delete_at_management_group(policy_set_definition_name, management_group_id, custom_headers:nil)
response = delete_at_management_group_async(policy_set_definition_name, management_group_id, custom_headers:custom_headers).value!
nil
end | ruby | def delete_at_management_group(policy_set_definition_name, management_group_id, custom_headers:nil)
response = delete_at_management_group_async(policy_set_definition_name, management_group_id, custom_headers:custom_headers).value!
nil
end | [
"def",
"delete_at_management_group",
"(",
"policy_set_definition_name",
",",
"management_group_id",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_at_management_group_async",
"(",
"policy_set_definition_name",
",",
"management_group_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Deletes a policy set definition at management group level.
@param policy_set_definition_name [String] The name of the policy set
definition to delete.
@param management_group_id [String] The ID of the management group.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Deletes",
"a",
"policy",
"set",
"definition",
"at",
"management",
"group",
"level",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_policy/lib/2017-06-01-preview/generated/azure_mgmt_policy/policy_set_definitions.rb#L689-L692 | train |
Azure/azure-sdk-for-ruby | data/azure_service_fabric/lib/6.4.0.36/generated/azure_service_fabric/mesh_secret.rb | Azure::ServiceFabric::V6_4_0_36.MeshSecret.create_or_update | def create_or_update(secret_resource_name, secret_resource_description, custom_headers:nil)
response = create_or_update_async(secret_resource_name, secret_resource_description, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def create_or_update(secret_resource_name, secret_resource_description, custom_headers:nil)
response = create_or_update_async(secret_resource_name, secret_resource_description, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"create_or_update",
"(",
"secret_resource_name",
",",
"secret_resource_description",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"create_or_update_async",
"(",
"secret_resource_name",
",",
"secret_resource_description",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Creates or updates a Secret resource.
Creates a Secret resource with the specified name, description and
properties. If Secret resource with the same name exists, then it is updated
with the specified description and properties. Once created, the kind and
contentType of a secret resource cannot be updated.
@param secret_resource_name [String] The name of the secret resource.
@param secret_resource_description [SecretResourceDescription] Description
for creating a secret resource.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [SecretResourceDescription] operation results. | [
"Creates",
"or",
"updates",
"a",
"Secret",
"resource",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_service_fabric/lib/6.4.0.36/generated/azure_service_fabric/mesh_secret.rb#L41-L44 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/identity_provider.rb | Azure::ApiManagement::Mgmt::V2018_01_01.IdentityProvider.list_by_service | def list_by_service(resource_group_name, service_name, custom_headers:nil)
first_page = list_by_service_as_lazy(resource_group_name, service_name, custom_headers:custom_headers)
first_page.get_all_items
end | ruby | def list_by_service(resource_group_name, service_name, custom_headers:nil)
first_page = list_by_service_as_lazy(resource_group_name, service_name, custom_headers:custom_headers)
first_page.get_all_items
end | [
"def",
"list_by_service",
"(",
"resource_group_name",
",",
"service_name",
",",
"custom_headers",
":",
"nil",
")",
"first_page",
"=",
"list_by_service_as_lazy",
"(",
"resource_group_name",
",",
"service_name",
",",
"custom_headers",
":custom_headers",
")",
"first_page",
".",
"get_all_items",
"end"
] | Lists a collection of Identity Provider configured in the specified service
instance.
@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 [Array<IdentityProviderContract>] operation results. | [
"Lists",
"a",
"collection",
"of",
"Identity",
"Provider",
"configured",
"in",
"the",
"specified",
"service",
"instance",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/identity_provider.rb#L35-L38 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/identity_provider.rb | Azure::ApiManagement::Mgmt::V2018_01_01.IdentityProvider.get_with_http_info | def get_with_http_info(resource_group_name, service_name, identity_provider_name, custom_headers:nil)
get_async(resource_group_name, service_name, identity_provider_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, service_name, identity_provider_name, custom_headers:nil)
get_async(resource_group_name, service_name, identity_provider_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"service_name",
",",
"identity_provider_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"service_name",
",",
"identity_provider_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the configuration details of the identity Provider configured in
specified service instance.
@param resource_group_name [String] The name of the resource group.
@param service_name [String] The name of the API Management service.
@param identity_provider_name [IdentityProviderType] Identity Provider Type
identifier. Possible values include: 'facebook', 'google', 'microsoft',
'twitter', 'aad', 'aadB2C'
@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",
"configuration",
"details",
"of",
"the",
"identity",
"Provider",
"configured",
"in",
"specified",
"service",
"instance",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/identity_provider.rb#L252-L254 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_monitor/lib/2016-03-01/generated/azure_mgmt_monitor/log_profiles.rb | Azure::Monitor::Mgmt::V2016_03_01.LogProfiles.update | def update(log_profile_name, log_profiles_resource, custom_headers:nil)
response = update_async(log_profile_name, log_profiles_resource, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def update(log_profile_name, log_profiles_resource, custom_headers:nil)
response = update_async(log_profile_name, log_profiles_resource, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"update",
"(",
"log_profile_name",
",",
"log_profiles_resource",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"update_async",
"(",
"log_profile_name",
",",
"log_profiles_resource",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Updates an existing LogProfilesResource. To update other fields use the
CreateOrUpdate method.
@param log_profile_name [String] The name of the log profile.
@param log_profiles_resource [LogProfileResourcePatch] 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 [LogProfileResource] operation results. | [
"Updates",
"an",
"existing",
"LogProfilesResource",
".",
"To",
"update",
"other",
"fields",
"use",
"the",
"CreateOrUpdate",
"method",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_monitor/lib/2016-03-01/generated/azure_mgmt_monitor/log_profiles.rb#L300-L303 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/mediaservices.rb | Azure::MediaServices::Mgmt::V2018_07_01.Mediaservices.get_by_subscription | def get_by_subscription(account_name, custom_headers:nil)
response = get_by_subscription_async(account_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_by_subscription(account_name, custom_headers:nil)
response = get_by_subscription_async(account_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_by_subscription",
"(",
"account_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_by_subscription_async",
"(",
"account_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Get a Media Services account
Get the details of a Media Services account
@param account_name [String] The Media Services account name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [SubscriptionMediaService] operation results. | [
"Get",
"a",
"Media",
"Services",
"account"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/mediaservices.rb#L751-L754 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sqlvirtualmachine/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/availability_group_listeners.rb | Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview.AvailabilityGroupListeners.get_with_http_info | def get_with_http_info(resource_group_name, sql_virtual_machine_group_name, availability_group_listener_name, custom_headers:nil)
get_async(resource_group_name, sql_virtual_machine_group_name, availability_group_listener_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, sql_virtual_machine_group_name, availability_group_listener_name, custom_headers:nil)
get_async(resource_group_name, sql_virtual_machine_group_name, availability_group_listener_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"sql_virtual_machine_group_name",
",",
"availability_group_listener_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"sql_virtual_machine_group_name",
",",
"availability_group_listener_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets an availability group listener.
@param resource_group_name [String] Name of the resource group that contains
the resource. You can obtain this value from the Azure Resource Manager API
or the portal.
@param sql_virtual_machine_group_name [String] Name of the SQL virtual
machine group.
@param availability_group_listener_name [String] Name of the availability
group listener.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"an",
"availability",
"group",
"listener",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sqlvirtualmachine/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/availability_group_listeners.rb#L63-L65 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sqlvirtualmachine/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/availability_group_listeners.rb | Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview.AvailabilityGroupListeners.begin_delete_with_http_info | def begin_delete_with_http_info(resource_group_name, sql_virtual_machine_group_name, availability_group_listener_name, custom_headers:nil)
begin_delete_async(resource_group_name, sql_virtual_machine_group_name, availability_group_listener_name, custom_headers:custom_headers).value!
end | ruby | def begin_delete_with_http_info(resource_group_name, sql_virtual_machine_group_name, availability_group_listener_name, custom_headers:nil)
begin_delete_async(resource_group_name, sql_virtual_machine_group_name, availability_group_listener_name, custom_headers:custom_headers).value!
end | [
"def",
"begin_delete_with_http_info",
"(",
"resource_group_name",
",",
"sql_virtual_machine_group_name",
",",
"availability_group_listener_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_delete_async",
"(",
"resource_group_name",
",",
"sql_virtual_machine_group_name",
",",
"availability_group_listener_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes an availability group listener.
@param resource_group_name [String] Name of the resource group that contains
the resource. You can obtain this value from the Azure Resource Manager API
or the portal.
@param sql_virtual_machine_group_name [String] Name of the SQL virtual
machine group.
@param availability_group_listener_name [String] Name of the availability
group listener.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Deletes",
"an",
"availability",
"group",
"listener",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sqlvirtualmachine/lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/availability_group_listeners.rb#L507-L509 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_subscriptions/lib/2016-06-01/generated/azure_mgmt_subscriptions/subscriptions.rb | Azure::Subscriptions::Mgmt::V2016_06_01.Subscriptions.list_locations | def list_locations(subscription_id, custom_headers:nil)
response = list_locations_async(subscription_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_locations(subscription_id, custom_headers:nil)
response = list_locations_async(subscription_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_locations",
"(",
"subscription_id",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_locations_async",
"(",
"subscription_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets all available geo-locations.
This operation provides all the locations that are available for resource
providers; however, each resource provider may support a subset of this list.
@param subscription_id [String] The ID of the target subscription.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [LocationListResult] operation results. | [
"Gets",
"all",
"available",
"geo",
"-",
"locations",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_subscriptions/lib/2016-06-01/generated/azure_mgmt_subscriptions/subscriptions.rb#L39-L42 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/snapshots.rb | Azure::Compute::Mgmt::V2018_04_01.Snapshots.begin_grant_access_with_http_info | def begin_grant_access_with_http_info(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil)
begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:custom_headers).value!
end | ruby | def begin_grant_access_with_http_info(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil)
begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:custom_headers).value!
end | [
"def",
"begin_grant_access_with_http_info",
"(",
"resource_group_name",
",",
"snapshot_name",
",",
"grant_access_data",
",",
"custom_headers",
":",
"nil",
")",
"begin_grant_access_async",
"(",
"resource_group_name",
",",
"snapshot_name",
",",
"grant_access_data",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Grants access to a snapshot.
@param resource_group_name [String] The name of the resource group.
@param snapshot_name [String] The name of the snapshot that is being created.
The name can't be changed after the snapshot is created. Supported characters
for the name are a-z, A-Z, 0-9 and _. The max name length is 80 characters.
@param grant_access_data [GrantAccessData] Access data object supplied in the
body of the get snapshot access 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. | [
"Grants",
"access",
"to",
"a",
"snapshot",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/snapshots.rb#L892-L894 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/express_route_links.rb | Azure::Network::Mgmt::V2019_02_01.ExpressRouteLinks.get_with_http_info | def get_with_http_info(resource_group_name, express_route_port_name, link_name, custom_headers:nil)
get_async(resource_group_name, express_route_port_name, link_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, express_route_port_name, link_name, custom_headers:nil)
get_async(resource_group_name, express_route_port_name, link_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"express_route_port_name",
",",
"link_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"express_route_port_name",
",",
"link_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Retrieves the specified ExpressRouteLink resource.
@param resource_group_name [String] The name of the resource group.
@param express_route_port_name [String] The name of the ExpressRoutePort
resource.
@param link_name [String] The name of the ExpressRouteLink resource.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Retrieves",
"the",
"specified",
"ExpressRouteLink",
"resource",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/express_route_links.rb#L53-L55 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/express_route_links.rb | Azure::Network::Mgmt::V2019_02_01.ExpressRouteLinks.list | def list(resource_group_name, express_route_port_name, custom_headers:nil)
first_page = list_as_lazy(resource_group_name, express_route_port_name, custom_headers:custom_headers)
first_page.get_all_items
end | ruby | def list(resource_group_name, express_route_port_name, custom_headers:nil)
first_page = list_as_lazy(resource_group_name, express_route_port_name, custom_headers:custom_headers)
first_page.get_all_items
end | [
"def",
"list",
"(",
"resource_group_name",
",",
"express_route_port_name",
",",
"custom_headers",
":",
"nil",
")",
"first_page",
"=",
"list_as_lazy",
"(",
"resource_group_name",
",",
"express_route_port_name",
",",
"custom_headers",
":custom_headers",
")",
"first_page",
".",
"get_all_items",
"end"
] | Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort
resource.
@param resource_group_name [String] The name of the resource group.
@param express_route_port_name [String] The name of the ExpressRoutePort
resource.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array<ExpressRouteLink>] operation results. | [
"Retrieve",
"the",
"ExpressRouteLink",
"sub",
"-",
"resources",
"of",
"the",
"specified",
"ExpressRoutePort",
"resource",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/express_route_links.rb#L135-L138 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/elastic_pools.rb | Azure::SQL::Mgmt::V2014_04_01.ElasticPools.delete_with_http_info | def delete_with_http_info(resource_group_name, server_name, elastic_pool_name, custom_headers:nil)
delete_async(resource_group_name, server_name, elastic_pool_name, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, server_name, elastic_pool_name, custom_headers:nil)
delete_async(resource_group_name, server_name, elastic_pool_name, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"server_name",
",",
"elastic_pool_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"elastic_pool_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes the elastic pool.
@param resource_group_name [String] The name of the resource group that
contains the resource. You can obtain this value from the Azure Resource
Manager API or the portal.
@param server_name [String] The name of the server.
@param elastic_pool_name [String] The name of the elastic pool to be deleted.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Deletes",
"the",
"elastic",
"pool",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/elastic_pools.rb#L163-L165 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/elastic_pools.rb | Azure::SQL::Mgmt::V2014_04_01.ElasticPools.list_metrics_with_http_info | def list_metrics_with_http_info(resource_group_name, server_name, elastic_pool_name, filter, custom_headers:nil)
list_metrics_async(resource_group_name, server_name, elastic_pool_name, filter, custom_headers:custom_headers).value!
end | ruby | def list_metrics_with_http_info(resource_group_name, server_name, elastic_pool_name, filter, custom_headers:nil)
list_metrics_async(resource_group_name, server_name, elastic_pool_name, filter, custom_headers:custom_headers).value!
end | [
"def",
"list_metrics_with_http_info",
"(",
"resource_group_name",
",",
"server_name",
",",
"elastic_pool_name",
",",
"filter",
",",
"custom_headers",
":",
"nil",
")",
"list_metrics_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"elastic_pool_name",
",",
"filter",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Returns elastic pool metrics.
@param resource_group_name [String] The name of the resource group that
contains the resource. You can obtain this value from the Azure Resource
Manager API or the portal.
@param server_name [String] The name of the server.
@param elastic_pool_name [String] The name of the elastic pool.
@param filter [String] An OData filter expression that describes a subset of
metrics to return.
@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",
"elastic",
"pool",
"metrics",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/elastic_pools.rb#L462-L464 | train |
Azure/azure-sdk-for-ruby | data/azure_graph_rbac/lib/1.6/generated/azure_graph_rbac/users.rb | Azure::GraphRbac::V1_6.Users.get_member_groups | def get_member_groups(object_id, parameters, custom_headers:nil)
response = get_member_groups_async(object_id, parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_member_groups(object_id, parameters, custom_headers:nil)
response = get_member_groups_async(object_id, parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_member_groups",
"(",
"object_id",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_member_groups_async",
"(",
"object_id",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets a collection that contains the object IDs of the groups of which the
user is a member.
@param object_id [String] The object ID of the user for which to get group
membership.
@param parameters [UserGetMemberGroupsParameters] User filtering parameters.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [UserGetMemberGroupsResult] operation results. | [
"Gets",
"a",
"collection",
"that",
"contains",
"the",
"object",
"IDs",
"of",
"the",
"groups",
"of",
"which",
"the",
"user",
"is",
"a",
"member",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_graph_rbac/lib/1.6/generated/azure_graph_rbac/users.rb#L483-L486 | train |
Azure/azure-sdk-for-ruby | data/azure_graph_rbac/lib/1.6/generated/azure_graph_rbac/users.rb | Azure::GraphRbac::V1_6.Users.list_next | def list_next(next_link, custom_headers:nil)
response = list_next_async(next_link, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_next(next_link, custom_headers:nil)
response = list_next_async(next_link, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_next",
"(",
"next_link",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_next_async",
"(",
"next_link",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets a list of users for the current tenant.
@param next_link [String] Next link for the list operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array<User>] operation results. | [
"Gets",
"a",
"list",
"of",
"users",
"for",
"the",
"current",
"tenant",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_graph_rbac/lib/1.6/generated/azure_graph_rbac/users.rb#L585-L588 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_configuration_operations.rb | Azure::Automation::Mgmt::V2015_10_31.DscNodeConfigurationOperations.get_with_http_info | def get_with_http_info(resource_group_name, automation_account_name, node_configuration_name, custom_headers:nil)
get_async(resource_group_name, automation_account_name, node_configuration_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, automation_account_name, node_configuration_name, custom_headers:nil)
get_async(resource_group_name, automation_account_name, node_configuration_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"node_configuration_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"node_configuration_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Retrieve the Dsc node configurations by node configuration.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param node_configuration_name [String] The Dsc node configuration name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Retrieve",
"the",
"Dsc",
"node",
"configurations",
"by",
"node",
"configuration",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_configuration_operations.rb#L139-L141 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_configuration_operations.rb | Azure::Automation::Mgmt::V2015_10_31.DscNodeConfigurationOperations.create_or_update_with_http_info | def create_or_update_with_http_info(resource_group_name, automation_account_name, node_configuration_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, automation_account_name, node_configuration_name, parameters, custom_headers:custom_headers).value!
end | ruby | def create_or_update_with_http_info(resource_group_name, automation_account_name, node_configuration_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, automation_account_name, node_configuration_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"node_configuration_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"create_or_update_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"node_configuration_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Create the node configuration identified by node configuration name.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param node_configuration_name [String] The create or update parameters for
configuration.
@param parameters [DscNodeConfigurationCreateOrUpdateParameters] The create
or update parameters for configuration.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Create",
"the",
"node",
"configuration",
"identified",
"by",
"node",
"configuration",
"name",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/dsc_node_configuration_operations.rb#L244-L246 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/disaster_recovery_configurations.rb | Azure::SQL::Mgmt::V2014_04_01.DisasterRecoveryConfigurations.get_with_http_info | def get_with_http_info(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:nil)
get_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:nil)
get_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"server_name",
",",
"disaster_recovery_configuration_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"disaster_recovery_configuration_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets a disaster recovery configuration.
@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 disaster_recovery_configuration_name [String] The name of the disaster
recovery configuration.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"a",
"disaster",
"recovery",
"configuration",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/disaster_recovery_configurations.rb#L254-L256 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/disaster_recovery_configurations.rb | Azure::SQL::Mgmt::V2014_04_01.DisasterRecoveryConfigurations.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:nil)
begin_create_or_update_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:nil)
begin_create_or_update_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"server_name",
",",
"disaster_recovery_configuration_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"disaster_recovery_configuration_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates or updates a disaster recovery configuration.
@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 disaster_recovery_configuration_name [String] The name of the disaster
recovery configuration to be created/updated.
@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",
"disaster",
"recovery",
"configuration",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2014-04-01/generated/azure_mgmt_sql/disaster_recovery_configurations.rb#L546-L548 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_batch/lib/2015-12-01/generated/azure_mgmt_batch/application_operations.rb | Azure::Batch::Mgmt::V2015_12_01.ApplicationOperations.get_with_http_info | def get_with_http_info(resource_group_name, account_name, application_id, custom_headers:nil)
get_async(resource_group_name, account_name, application_id, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, account_name, application_id, custom_headers:nil)
get_async(resource_group_name, account_name, application_id, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"account_name",
",",
"application_id",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"application_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets information about the specified application.
@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 application_id [String] The ID of the application.
@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",
"application",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_batch/lib/2015-12-01/generated/azure_mgmt_batch/application_operations.rb#L258-L260 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_batch/lib/2015-12-01/generated/azure_mgmt_batch/application_operations.rb | Azure::Batch::Mgmt::V2015_12_01.ApplicationOperations.list_with_http_info | def list_with_http_info(resource_group_name, account_name, maxresults:nil, custom_headers:nil)
list_async(resource_group_name, account_name, maxresults:maxresults, custom_headers:custom_headers).value!
end | ruby | def list_with_http_info(resource_group_name, account_name, maxresults:nil, custom_headers:nil)
list_async(resource_group_name, account_name, maxresults:maxresults, custom_headers:custom_headers).value!
end | [
"def",
"list_with_http_info",
"(",
"resource_group_name",
",",
"account_name",
",",
"maxresults",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"list_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"maxresults",
":",
"maxresults",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Lists all of the applications in the specified account.
@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 maxresults [Integer] The maximum number of items to return in the
response.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Lists",
"all",
"of",
"the",
"applications",
"in",
"the",
"specified",
"account",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_batch/lib/2015-12-01/generated/azure_mgmt_batch/application_operations.rb#L469-L471 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.