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_recovery_services_backup/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protected_items.rb | Azure::RecoveryServicesBackup::Mgmt::V2016_06_01.ProtectedItems.create_or_update_with_http_info | def create_or_update_with_http_info(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, resource_protected_item, custom_headers:nil)
create_or_update_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, resource_protected_item, custom_headers:custom_headers).value!
end | ruby | def create_or_update_with_http_info(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, resource_protected_item, custom_headers:nil)
create_or_update_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, resource_protected_item, custom_headers:custom_headers).value!
end | [
"def",
"create_or_update_with_http_info",
"(",
"vault_name",
",",
"resource_group_name",
",",
"fabric_name",
",",
"container_name",
",",
"protected_item_name",
",",
"resource_protected_item",
",",
"custom_headers",
":",
"nil",
")",
"create_or_update_async",
"(",
"vault_name",
",",
"resource_group_name",
",",
"fabric_name",
",",
"container_name",
",",
"protected_item_name",
",",
"resource_protected_item",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | This operation enables an item to be backed up, or modifies the existing
backup policy information for an item that has been backed up. This is an
asynchronous operation. To learn the status of the operation, call the
GetItemOperationResult API.
@param vault_name [String] The name of the Recovery Services vault.
@param resource_group_name [String] The name of the resource group associated
with the Recovery Services vault.
@param fabric_name [String] The fabric name associated with the backup item.
@param container_name [String] The container name associated with the backup
item.
@param protected_item_name [String] The name of the backup item.
@param resource_protected_item [ProtectedItemResource] The resource backup
item.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"This",
"operation",
"enables",
"an",
"item",
"to",
"be",
"backed",
"up",
"or",
"modifies",
"the",
"existing",
"backup",
"policy",
"information",
"for",
"an",
"item",
"that",
"has",
"been",
"backed",
"up",
".",
"This",
"is",
"an",
"asynchronous",
"operation",
".",
"To",
"learn",
"the",
"status",
"of",
"the",
"operation",
"call",
"the",
"GetItemOperationResult",
"API",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_recovery_services_backup/lib/2016-06-01/generated/azure_mgmt_recovery_services_backup/protected_items.rb#L310-L312 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/relationships.rb | Azure::CustomerInsights::Mgmt::V2017_01_01.Relationships.get_with_http_info | def get_with_http_info(resource_group_name, hub_name, relationship_name, custom_headers:nil)
get_async(resource_group_name, hub_name, relationship_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, hub_name, relationship_name, custom_headers:nil)
get_async(resource_group_name, hub_name, relationship_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"hub_name",
",",
"relationship_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"hub_name",
",",
"relationship_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets information about the specified relationship.
@param resource_group_name [String] The name of the resource group.
@param hub_name [String] The name of the hub.
@param relationship_name [String] The name of the relationship.
@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",
"relationship",
"."
] | 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/relationships.rb#L102-L104 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/relationships.rb | Azure::CustomerInsights::Mgmt::V2017_01_01.Relationships.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, hub_name, relationship_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, hub_name, relationship_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, hub_name, relationship_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, hub_name, relationship_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"hub_name",
",",
"relationship_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"hub_name",
",",
"relationship_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates a relationship or updates an existing relationship within a hub.
@param resource_group_name [String] The name of the resource group.
@param hub_name [String] The name of the hub.
@param relationship_name [String] The name of the Relationship.
@param parameters [RelationshipResourceFormat] Parameters supplied to the
CreateOrUpdate Relationship 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",
"relationship",
"or",
"updates",
"an",
"existing",
"relationship",
"within",
"a",
"hub",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/relationships.rb#L334-L336 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2018-02-01/generated/azure_mgmt_web/app_service_plans.rb | Azure::Web::Mgmt::V2018_02_01.AppServicePlans.list | def list(detailed:nil, custom_headers:nil)
first_page = list_as_lazy(detailed:detailed, custom_headers:custom_headers)
first_page.get_all_items
end | ruby | def list(detailed:nil, custom_headers:nil)
first_page = list_as_lazy(detailed:detailed, custom_headers:custom_headers)
first_page.get_all_items
end | [
"def",
"list",
"(",
"detailed",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"first_page",
"=",
"list_as_lazy",
"(",
"detailed",
":",
"detailed",
",",
"custom_headers",
":custom_headers",
")",
"first_page",
".",
"get_all_items",
"end"
] | Get all App Service plans for a subcription.
Get all App Service plans for a subcription.
@param detailed [Boolean] Specify <code>true</code> to return all App Service
plan properties. The default is <code>false</code>, which returns a subset of
the properties.
Retrieval of all properties may increase the API latency.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array<AppServicePlan>] operation results. | [
"Get",
"all",
"App",
"Service",
"plans",
"for",
"a",
"subcription",
"."
] | 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_plans.rb#L38-L41 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2018-02-01/generated/azure_mgmt_web/app_service_plans.rb | Azure::Web::Mgmt::V2018_02_01.AppServicePlans.list_capabilities | def list_capabilities(resource_group_name, name, custom_headers:nil)
response = list_capabilities_async(resource_group_name, name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_capabilities(resource_group_name, name, custom_headers:nil)
response = list_capabilities_async(resource_group_name, name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_capabilities",
"(",
"resource_group_name",
",",
"name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_capabilities_async",
"(",
"resource_group_name",
",",
"name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | List all capabilities of an App Service plan.
List all capabilities of an App Service plan.
@param resource_group_name [String] Name of the resource group to which the
resource belongs.
@param name [String] Name of the App Service plan.
@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",
"capabilities",
"of",
"an",
"App",
"Service",
"plan",
"."
] | 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_plans.rb#L612-L615 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2018-02-01/generated/azure_mgmt_web/app_service_plans.rb | Azure::Web::Mgmt::V2018_02_01.AppServicePlans.get_hybrid_connection_plan_limit | def get_hybrid_connection_plan_limit(resource_group_name, name, custom_headers:nil)
response = get_hybrid_connection_plan_limit_async(resource_group_name, name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_hybrid_connection_plan_limit(resource_group_name, name, custom_headers:nil)
response = get_hybrid_connection_plan_limit_async(resource_group_name, name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_hybrid_connection_plan_limit",
"(",
"resource_group_name",
",",
"name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_hybrid_connection_plan_limit_async",
"(",
"resource_group_name",
",",
"name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Get the maximum number of Hybrid Connections allowed in an App Service plan.
Get the maximum number of Hybrid Connections allowed in an App Service plan.
@param resource_group_name [String] Name of the resource group to which the
resource belongs.
@param name [String] Name of the App Service plan.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [HybridConnectionLimits] operation results. | [
"Get",
"the",
"maximum",
"number",
"of",
"Hybrid",
"Connections",
"allowed",
"in",
"an",
"App",
"Service",
"plan",
"."
] | 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_plans.rb#L1169-L1172 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2018-02-01/generated/azure_mgmt_web/app_service_plans.rb | Azure::Web::Mgmt::V2018_02_01.AppServicePlans.get_server_farm_skus | def get_server_farm_skus(resource_group_name, name, custom_headers:nil)
response = get_server_farm_skus_async(resource_group_name, name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_server_farm_skus(resource_group_name, name, custom_headers:nil)
response = get_server_farm_skus_async(resource_group_name, name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_server_farm_skus",
"(",
"resource_group_name",
",",
"name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_server_farm_skus_async",
"(",
"resource_group_name",
",",
"name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets all selectable sku's for a given App Service Plan
Gets all selectable sku's for a given App Service Plan
@param resource_group_name [String] Name of the resource group to which the
resource belongs.
@param name [String] Name of App Service Plan
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Object] operation results. | [
"Gets",
"all",
"selectable",
"sku",
"s",
"for",
"a",
"given",
"App",
"Service",
"Plan"
] | 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_plans.rb#L1841-L1844 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2018-02-01/generated/azure_mgmt_web/app_service_plans.rb | Azure::Web::Mgmt::V2018_02_01.AppServicePlans.list_vnets | def list_vnets(resource_group_name, name, custom_headers:nil)
response = list_vnets_async(resource_group_name, name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_vnets(resource_group_name, name, custom_headers:nil)
response = list_vnets_async(resource_group_name, name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_vnets",
"(",
"resource_group_name",
",",
"name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_vnets_async",
"(",
"resource_group_name",
",",
"name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Get all Virtual Networks associated with an App Service plan.
Get all Virtual Networks associated with an App Service plan.
@param resource_group_name [String] Name of the resource group to which the
resource belongs.
@param name [String] Name of the App Service plan.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array] operation results. | [
"Get",
"all",
"Virtual",
"Networks",
"associated",
"with",
"an",
"App",
"Service",
"plan",
"."
] | 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_plans.rb#L2049-L2052 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_automatic_tuning_operations.rb | Azure::SQL::Mgmt::V2015_05_01_preview.DatabaseAutomaticTuningOperations.update_with_http_info | def update_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers:nil)
update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value!
end | ruby | def update_with_http_info(resource_group_name, server_name, database_name, parameters, custom_headers:nil)
update_async(resource_group_name, server_name, database_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"update_with_http_info",
"(",
"resource_group_name",
",",
"server_name",
",",
"database_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"update_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"database_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Update automatic tuning properties for target database.
@param resource_group_name [String] The name of the resource group that
contains the resource. You can obtain this value from the Azure Resource
Manager API or the portal.
@param server_name [String] The name of the server.
@param database_name [String] The name of the database.
@param parameters [DatabaseAutomaticTuning] The requested automatic tuning
resource state.
@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",
"automatic",
"tuning",
"properties",
"for",
"target",
"database",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/database_automatic_tuning_operations.rb#L164-L166 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/network_security_groups.rb | Azure::Network::Mgmt::V2018_07_01.NetworkSecurityGroups.get_with_http_info | def get_with_http_info(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil)
get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, network_security_group_name, expand:nil, custom_headers:nil)
get_async(resource_group_name, network_security_group_name, expand:expand, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"network_security_group_name",
",",
"expand",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"network_security_group_name",
",",
"expand",
":",
"expand",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the specified network security group.
@param resource_group_name [String] The name of the resource group.
@param network_security_group_name [String] The name of the network security
group.
@param expand [String] Expands referenced resources.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"the",
"specified",
"network",
"security",
"group",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/network_security_groups.rb#L93-L95 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/network_security_groups.rb | Azure::Network::Mgmt::V2018_07_01.NetworkSecurityGroups.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"network_security_group_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"network_security_group_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates or updates a network security group in the specified resource group.
@param resource_group_name [String] The name of the resource group.
@param network_security_group_name [String] The name of the network security
group.
@param parameters [NetworkSecurityGroup] Parameters supplied to the create or
update network security group 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",
"network",
"security",
"group",
"in",
"the",
"specified",
"resource",
"group",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/network_security_groups.rb#L545-L547 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/network_security_groups.rb | Azure::Network::Mgmt::V2018_07_01.NetworkSecurityGroups.begin_update_tags_with_http_info | def begin_update_tags_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers:nil)
begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_update_tags_with_http_info(resource_group_name, network_security_group_name, parameters, custom_headers:nil)
begin_update_tags_async(resource_group_name, network_security_group_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_update_tags_with_http_info",
"(",
"resource_group_name",
",",
"network_security_group_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_update_tags_async",
"(",
"resource_group_name",
",",
"network_security_group_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Updates a network security group tags.
@param resource_group_name [String] The name of the resource group.
@param network_security_group_name [String] The name of the network security
group.
@param parameters [TagsObject] Parameters supplied to update network security
group tags.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Updates",
"a",
"network",
"security",
"group",
"tags",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/network_security_groups.rb#L664-L666 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_stor_simple8000_series/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/backup_policies.rb | Azure::StorSimple8000Series::Mgmt::V2017_06_01.BackupPolicies.get_with_http_info | def get_with_http_info(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers:nil)
get_async(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers:nil)
get_async(device_name, backup_policy_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"device_name",
",",
"backup_policy_name",
",",
"resource_group_name",
",",
"manager_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"device_name",
",",
"backup_policy_name",
",",
"resource_group_name",
",",
"manager_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the properties of the specified backup policy name.
@param device_name [String] The device name
@param backup_policy_name [String] The name of backup policy to be fetched.
@param resource_group_name [String] The resource group name
@param manager_name [String] The manager name
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"the",
"properties",
"of",
"the",
"specified",
"backup",
"policy",
"name",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_stor_simple8000_series/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/backup_policies.rb#L151-L153 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_stor_simple8000_series/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/backup_policies.rb | Azure::StorSimple8000Series::Mgmt::V2017_06_01.BackupPolicies.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(device_name, backup_policy_name, parameters, resource_group_name, manager_name, custom_headers:nil)
begin_create_or_update_async(device_name, backup_policy_name, parameters, resource_group_name, manager_name, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(device_name, backup_policy_name, parameters, resource_group_name, manager_name, custom_headers:nil)
begin_create_or_update_async(device_name, backup_policy_name, parameters, resource_group_name, manager_name, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"device_name",
",",
"backup_policy_name",
",",
"parameters",
",",
"resource_group_name",
",",
"manager_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"device_name",
",",
"backup_policy_name",
",",
"parameters",
",",
"resource_group_name",
",",
"manager_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates or updates the backup policy.
@param device_name [String] The device name
@param backup_policy_name [String] The name of the backup policy to be
created/updated.
@param parameters [BackupPolicy] The backup policy.
@param resource_group_name [String] The resource group name
@param manager_name [String] The manager name
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Creates",
"or",
"updates",
"the",
"backup",
"policy",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_stor_simple8000_series/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/backup_policies.rb#L395-L397 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_stream_analytics/lib/2016-03-01/generated/azure_mgmt_stream_analytics/inputs.rb | Azure::StreamAnalytics::Mgmt::V2016_03_01.Inputs.delete_with_http_info | def delete_with_http_info(resource_group_name, job_name, input_name, custom_headers:nil)
delete_async(resource_group_name, job_name, input_name, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, job_name, input_name, custom_headers:nil)
delete_async(resource_group_name, job_name, input_name, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"job_name",
",",
"input_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"job_name",
",",
"input_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes an input from the streaming job.
@param resource_group_name [String] The name of the resource group that
contains the resource. You can obtain this value from the Azure Resource
Manager API or the portal.
@param job_name [String] The name of the streaming job.
@param input_name [String] The name of the input.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Deletes",
"an",
"input",
"from",
"the",
"streaming",
"job",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_stream_analytics/lib/2016-03-01/generated/azure_mgmt_stream_analytics/inputs.rb#L344-L346 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_stream_analytics/lib/2016-03-01/generated/azure_mgmt_stream_analytics/inputs.rb | Azure::StreamAnalytics::Mgmt::V2016_03_01.Inputs.get_with_http_info | def get_with_http_info(resource_group_name, job_name, input_name, custom_headers:nil)
get_async(resource_group_name, job_name, input_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, job_name, input_name, custom_headers:nil)
get_async(resource_group_name, job_name, input_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"job_name",
",",
"input_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"job_name",
",",
"input_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets details about the specified input.
@param resource_group_name [String] The name of the resource group that
contains the resource. You can obtain this value from the Azure Resource
Manager API or the portal.
@param job_name [String] The name of the streaming job.
@param input_name [String] The name of the input.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"details",
"about",
"the",
"specified",
"input",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_stream_analytics/lib/2016-03-01/generated/azure_mgmt_stream_analytics/inputs.rb#L436-L438 | train |
Azure/azure-sdk-for-ruby | data/azure_service_fabric/lib/6.4.0.36/generated/azure_service_fabric/mesh_volume.rb | Azure::ServiceFabric::V6_4_0_36.MeshVolume.create_or_update | def create_or_update(volume_resource_name, volume_resource_description, custom_headers:nil)
response = create_or_update_async(volume_resource_name, volume_resource_description, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def create_or_update(volume_resource_name, volume_resource_description, custom_headers:nil)
response = create_or_update_async(volume_resource_name, volume_resource_description, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"create_or_update",
"(",
"volume_resource_name",
",",
"volume_resource_description",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"create_or_update_async",
"(",
"volume_resource_name",
",",
"volume_resource_description",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Creates or updates a Volume resource.
Creates a Volume resource with the specified name, description and
properties. If Volume resource with the same name exists, then it is updated
with the specified description and properties.
@param volume_resource_name [String] The identity of the volume.
@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.
@return [VolumeResourceDescription] operation results. | [
"Creates",
"or",
"updates",
"a",
"Volume",
"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_volume.rb#L40-L43 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/widget_types.rb | Azure::CustomerInsights::Mgmt::V2017_01_01.WidgetTypes.get_with_http_info | def get_with_http_info(resource_group_name, hub_name, widget_type_name, custom_headers:nil)
get_async(resource_group_name, hub_name, widget_type_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, hub_name, widget_type_name, custom_headers:nil)
get_async(resource_group_name, hub_name, widget_type_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"hub_name",
",",
"widget_type_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"hub_name",
",",
"widget_type_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets a widget type in the specified hub.
@param resource_group_name [String] The name of the resource group.
@param hub_name [String] The name of the hub.
@param widget_type_name [String] The name of the widget type.
@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",
"widget",
"type",
"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/widget_types.rb#L146-L148 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_service_bus/lib/2017-04-01/generated/azure_mgmt_service_bus/migration_configs.rb | Azure::ServiceBus::Mgmt::V2017_04_01.MigrationConfigs.complete_migration | def complete_migration(resource_group_name, namespace_name, custom_headers:nil)
response = complete_migration_async(resource_group_name, namespace_name, custom_headers:custom_headers).value!
nil
end | ruby | def complete_migration(resource_group_name, namespace_name, custom_headers:nil)
response = complete_migration_async(resource_group_name, namespace_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"complete_migration",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"complete_migration_async",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | This operation Completes Migration of entities by pointing the connection
strings to Premium namespace and any entities created after the operation
will be under Premium Namespace. CompleteMigration operation will fail when
entity migration is in-progress.
@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. | [
"This",
"operation",
"Completes",
"Migration",
"of",
"entities",
"by",
"pointing",
"the",
"connection",
"strings",
"to",
"Premium",
"namespace",
"and",
"any",
"entities",
"created",
"after",
"the",
"operation",
"will",
"be",
"under",
"Premium",
"Namespace",
".",
"CompleteMigration",
"operation",
"will",
"fail",
"when",
"entity",
"migration",
"is",
"in",
"-",
"progress",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_service_bus/lib/2017-04-01/generated/azure_mgmt_service_bus/migration_configs.rb#L374-L377 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_service_bus/lib/2017-04-01/generated/azure_mgmt_service_bus/migration_configs.rb | Azure::ServiceBus::Mgmt::V2017_04_01.MigrationConfigs.revert | def revert(resource_group_name, namespace_name, custom_headers:nil)
response = revert_async(resource_group_name, namespace_name, custom_headers:custom_headers).value!
nil
end | ruby | def revert(resource_group_name, namespace_name, custom_headers:nil)
response = revert_async(resource_group_name, namespace_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"revert",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"revert_async",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | This operation reverts Migration
@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. | [
"This",
"operation",
"reverts",
"Migration"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_service_bus/lib/2017-04-01/generated/azure_mgmt_service_bus/migration_configs.rb#L469-L472 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/web_application_firewall_policies.rb | Azure::Network::Mgmt::V2019_02_01.WebApplicationFirewallPolicies.create_or_update_with_http_info | def create_or_update_with_http_info(resource_group_name, policy_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, policy_name, parameters, custom_headers:custom_headers).value!
end | ruby | def create_or_update_with_http_info(resource_group_name, policy_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, policy_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"policy_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"create_or_update_async",
"(",
"resource_group_name",
",",
"policy_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates or update policy with specified rule set name within a resource
group.
@param resource_group_name [String] The name of the resource group.
@param policy_name [String] The name of the policy.
@param parameters [WebApplicationFirewallPolicy] Policy to be created.
@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",
"update",
"policy",
"with",
"specified",
"rule",
"set",
"name",
"within",
"a",
"resource",
"group",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/web_application_firewall_policies.rb#L318-L320 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2017-10-01-preview/generated/azure_mgmt_sql/databases.rb | Azure::SQL::Mgmt::V2017_10_01_preview.Databases.pause | def pause(resource_group_name, server_name, database_name, custom_headers:nil)
response = pause_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def pause(resource_group_name, server_name, database_name, custom_headers:nil)
response = pause_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"pause",
"(",
"resource_group_name",
",",
"server_name",
",",
"database_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"pause_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"database_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Pauses a database.
@param resource_group_name [String] The name of the resource group that
contains the resource. You can obtain this value from the Azure Resource
Manager API or the portal.
@param server_name [String] The name of the server.
@param database_name [String] The name of the database to be paused.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Database] operation results. | [
"Pauses",
"a",
"database",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2017-10-01-preview/generated/azure_mgmt_sql/databases.rb#L530-L533 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2017-10-01-preview/generated/azure_mgmt_sql/databases.rb | Azure::SQL::Mgmt::V2017_10_01_preview.Databases.resume | def resume(resource_group_name, server_name, database_name, custom_headers:nil)
response = resume_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def resume(resource_group_name, server_name, database_name, custom_headers:nil)
response = resume_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"resume",
"(",
"resource_group_name",
",",
"server_name",
",",
"database_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"resume_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"database_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Resumes a database.
@param resource_group_name [String] The name of the resource group that
contains the resource. You can obtain this value from the Azure Resource
Manager API or the portal.
@param server_name [String] The name of the server.
@param database_name [String] The name of the database to be resumed.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Database] operation results. | [
"Resumes",
"a",
"database",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2017-10-01-preview/generated/azure_mgmt_sql/databases.rb#L578-L581 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2017-10-01-preview/generated/azure_mgmt_sql/databases.rb | Azure::SQL::Mgmt::V2017_10_01_preview.Databases.begin_delete_with_http_info | def begin_delete_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil)
begin_delete_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value!
end | ruby | def begin_delete_with_http_info(resource_group_name, server_name, database_name, custom_headers:nil)
begin_delete_async(resource_group_name, server_name, database_name, custom_headers:custom_headers).value!
end | [
"def",
"begin_delete_with_http_info",
"(",
"resource_group_name",
",",
"server_name",
",",
"database_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_delete_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"database_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes the database.
@param resource_group_name [String] The name of the resource group that
contains the resource. You can obtain this value from the Azure Resource
Manager API or the portal.
@param server_name [String] The name of the server.
@param database_name [String] The name of the database.
@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",
"database",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2017-10-01-preview/generated/azure_mgmt_sql/databases.rb#L962-L964 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_storagesync/lib/2018-07-01/generated/azure_mgmt_storagesync/workflows.rb | Azure::StorageSync::Mgmt::V2018_07_01.Workflows.get_with_http_info | def get_with_http_info(resource_group_name, storage_sync_service_name, workflow_id, custom_headers:nil)
get_async(resource_group_name, storage_sync_service_name, workflow_id, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, storage_sync_service_name, workflow_id, custom_headers:nil)
get_async(resource_group_name, storage_sync_service_name, workflow_id, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"storage_sync_service_name",
",",
"workflow_id",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"storage_sync_service_name",
",",
"workflow_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Get Workflows resource
@param resource_group_name [String] The name of the resource group. The name
is case insensitive.
@param storage_sync_service_name [String] Name of Storage Sync Service
resource.
@param workflow_id [String] workflow 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. | [
"Get",
"Workflows",
"resource"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_storagesync/lib/2018-07-01/generated/azure_mgmt_storagesync/workflows.rb#L158-L160 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/proximity_placement_groups.rb | Azure::Compute::Mgmt::V2018_04_01.ProximityPlacementGroups.create_or_update_with_http_info | def create_or_update_with_http_info(resource_group_name, proximity_placement_group_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, proximity_placement_group_name, parameters, custom_headers:custom_headers).value!
end | ruby | def create_or_update_with_http_info(resource_group_name, proximity_placement_group_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, proximity_placement_group_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"proximity_placement_group_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"create_or_update_async",
"(",
"resource_group_name",
",",
"proximity_placement_group_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Create or update a proximity placement group.
@param resource_group_name [String] The name of the resource group.
@param proximity_placement_group_name [String] The name of the proximity
placement group.
@param parameters [ProximityPlacementGroup] Parameters supplied to the Create
Proximity Placement Group 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",
"proximity",
"placement",
"group",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/proximity_placement_groups.rb#L55-L57 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/proximity_placement_groups.rb | Azure::Compute::Mgmt::V2018_04_01.ProximityPlacementGroups.update_with_http_info | def update_with_http_info(resource_group_name, proximity_placement_group_name, parameters, custom_headers:nil)
update_async(resource_group_name, proximity_placement_group_name, parameters, custom_headers:custom_headers).value!
end | ruby | def update_with_http_info(resource_group_name, proximity_placement_group_name, parameters, custom_headers:nil)
update_async(resource_group_name, proximity_placement_group_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"update_with_http_info",
"(",
"resource_group_name",
",",
"proximity_placement_group_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"update_async",
"(",
"resource_group_name",
",",
"proximity_placement_group_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Update a proximity placement group.
@param resource_group_name [String] The name of the resource group.
@param proximity_placement_group_name [String] The name of the proximity
placement group.
@param parameters [ProximityPlacementGroupUpdate] Parameters supplied to the
Update Proximity Placement Group operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Update",
"a",
"proximity",
"placement",
"group",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/proximity_placement_groups.rb#L174-L176 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/proximity_placement_groups.rb | Azure::Compute::Mgmt::V2018_04_01.ProximityPlacementGroups.delete | def delete(resource_group_name, proximity_placement_group_name, custom_headers:nil)
response = delete_async(resource_group_name, proximity_placement_group_name, custom_headers:custom_headers).value!
nil
end | ruby | def delete(resource_group_name, proximity_placement_group_name, custom_headers:nil)
response = delete_async(resource_group_name, proximity_placement_group_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"delete",
"(",
"resource_group_name",
",",
"proximity_placement_group_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_async",
"(",
"resource_group_name",
",",
"proximity_placement_group_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Delete a proximity placement group.
@param resource_group_name [String] The name of the resource group.
@param proximity_placement_group_name [String] The name of the proximity
placement group.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Delete",
"a",
"proximity",
"placement",
"group",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/proximity_placement_groups.rb#L262-L265 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/certificate_operations.rb | Azure::Automation::Mgmt::V2015_10_31.CertificateOperations.get_with_http_info | def get_with_http_info(resource_group_name, automation_account_name, certificate_name, custom_headers:nil)
get_async(resource_group_name, automation_account_name, certificate_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, automation_account_name, certificate_name, custom_headers:nil)
get_async(resource_group_name, automation_account_name, certificate_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"certificate_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"certificate_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Retrieve the certificate identified by certificate name.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param certificate_name [String] The name of certificate.
@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",
"certificate",
"identified",
"by",
"certificate",
"name",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/certificate_operations.rb#L139-L141 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/certificate_operations.rb | Azure::Automation::Mgmt::V2015_10_31.CertificateOperations.create_or_update_with_http_info | def create_or_update_with_http_info(resource_group_name, automation_account_name, certificate_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, automation_account_name, certificate_name, parameters, custom_headers:custom_headers).value!
end | ruby | def create_or_update_with_http_info(resource_group_name, automation_account_name, certificate_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, automation_account_name, certificate_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"certificate_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"create_or_update_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"certificate_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Create a certificate.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param certificate_name [String] The parameters supplied to the create or
update certificate operation.
@param parameters [CertificateCreateOrUpdateParameters] The parameters
supplied to the create or update certificate 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",
"certificate",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/certificate_operations.rb#L244-L246 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/certificate_operations.rb | Azure::Automation::Mgmt::V2015_10_31.CertificateOperations.update_with_http_info | def update_with_http_info(resource_group_name, automation_account_name, certificate_name, parameters, custom_headers:nil)
update_async(resource_group_name, automation_account_name, certificate_name, parameters, custom_headers:custom_headers).value!
end | ruby | def update_with_http_info(resource_group_name, automation_account_name, certificate_name, parameters, custom_headers:nil)
update_async(resource_group_name, automation_account_name, certificate_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"update_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"certificate_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"update_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"certificate_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Update a certificate.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param certificate_name [String] The parameters supplied to the update
certificate operation.
@param parameters [CertificateUpdateParameters] The parameters supplied to
the update certificate operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Update",
"a",
"certificate",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/certificate_operations.rb#L370-L372 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_resources/lib/2018-05-01/generated/azure_mgmt_resources/deployments.rb | Azure::Resources::Mgmt::V2018_05_01.Deployments.check_existence_at_subscription_scope | def check_existence_at_subscription_scope(deployment_name, custom_headers:nil)
response = check_existence_at_subscription_scope_async(deployment_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def check_existence_at_subscription_scope(deployment_name, custom_headers:nil)
response = check_existence_at_subscription_scope_async(deployment_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"check_existence_at_subscription_scope",
"(",
"deployment_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"check_existence_at_subscription_scope_async",
"(",
"deployment_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Checks whether the deployment exists.
@param deployment_name [String] The name of the deployment to check.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Boolean] operation results. | [
"Checks",
"whether",
"the",
"deployment",
"exists",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_resources/lib/2018-05-01/generated/azure_mgmt_resources/deployments.rb#L79-L82 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_resources/lib/2018-05-01/generated/azure_mgmt_resources/deployments.rb | Azure::Resources::Mgmt::V2018_05_01.Deployments.validate_at_subscription_scope | def validate_at_subscription_scope(deployment_name, parameters, custom_headers:nil)
response = validate_at_subscription_scope_async(deployment_name, parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def validate_at_subscription_scope(deployment_name, parameters, custom_headers:nil)
response = validate_at_subscription_scope_async(deployment_name, parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"validate_at_subscription_scope",
"(",
"deployment_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"validate_at_subscription_scope_async",
"(",
"deployment_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Validates whether the specified template is syntactically correct and will be
accepted by Azure Resource Manager..
@param deployment_name [String] The name of the deployment.
@param parameters [Deployment] Parameters to validate.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [DeploymentValidateResult] operation results. | [
"Validates",
"whether",
"the",
"specified",
"template",
"is",
"syntactically",
"correct",
"and",
"will",
"be",
"accepted",
"by",
"Azure",
"Resource",
"Manager",
".."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_resources/lib/2018-05-01/generated/azure_mgmt_resources/deployments.rb#L396-L399 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_resources/lib/2018-05-01/generated/azure_mgmt_resources/deployments.rb | Azure::Resources::Mgmt::V2018_05_01.Deployments.export_template_at_subscription_scope | def export_template_at_subscription_scope(deployment_name, custom_headers:nil)
response = export_template_at_subscription_scope_async(deployment_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def export_template_at_subscription_scope(deployment_name, custom_headers:nil)
response = export_template_at_subscription_scope_async(deployment_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"export_template_at_subscription_scope",
"(",
"deployment_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"export_template_at_subscription_scope_async",
"(",
"deployment_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Exports the template used for specified deployment.
@param deployment_name [String] The name of the deployment from which to get
the template.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [DeploymentExportResult] operation results. | [
"Exports",
"the",
"template",
"used",
"for",
"specified",
"deployment",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_resources/lib/2018-05-01/generated/azure_mgmt_resources/deployments.rb#L510-L513 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_serialconsole/lib/2018-05-01/generated/azure_mgmt_serialconsole/list.rb | Azure::Serialconsole::Mgmt::V2018_05_01.List.operations | def operations(custom_headers:nil)
response = operations_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def operations(custom_headers:nil)
response = operations_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"operations",
"(",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"operations_async",
"(",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets a list of Serial Console API operations.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [SerialConsoleOperations] operation results. | [
"Gets",
"a",
"list",
"of",
"Serial",
"Console",
"API",
"operations",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_serialconsole/lib/2018-05-01/generated/azure_mgmt_serialconsole/list.rb#L33-L36 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_api_management/lib/2016-10-10/generated/azure_mgmt_api_management/tenant_policy.rb | Azure::ApiManagement::Mgmt::V2016_10_10.TenantPolicy.create_or_update_async | def create_or_update_async(resource_group_name, service_name, parameters, if_match, custom_headers:nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'service_name is nil' if service_name.nil?
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
fail ArgumentError, "'service_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$'" if !service_name.nil? && service_name.match(Regexp.new('^^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$$')).nil?
fail ArgumentError, 'parameters is nil' if parameters.nil?
fail ArgumentError, 'if_match is nil' if if_match.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
request_headers = {}
request_headers['Content-Type'] = 'application/vnd.ms-azure-apim.policy+xml'
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['If-Match'] = if_match unless if_match.nil?
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
# Serialize Request
request_mapper = {
client_side_validation: true,
required: true,
serialized_name: 'parameters',
type: {
name: 'Stream'
}
}
request_content = @client.serialize(request_mapper, parameters)
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/policy'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
query_params: {'api-version' => @client.api_version},
body: request_content,
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
promise = @client.make_request_async(:put, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
unless status_code == 201 || status_code == 204
error_model = JSON.load(response_content)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
result
end
promise.execute
end | ruby | def create_or_update_async(resource_group_name, service_name, parameters, if_match, custom_headers:nil)
fail ArgumentError, 'resource_group_name is nil' if resource_group_name.nil?
fail ArgumentError, 'service_name is nil' if service_name.nil?
fail ArgumentError, "'service_name' should satisfy the constraint - 'MaxLength': '50'" if !service_name.nil? && service_name.length > 50
fail ArgumentError, "'service_name' should satisfy the constraint - 'MinLength': '1'" if !service_name.nil? && service_name.length < 1
fail ArgumentError, "'service_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$'" if !service_name.nil? && service_name.match(Regexp.new('^^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$$')).nil?
fail ArgumentError, 'parameters is nil' if parameters.nil?
fail ArgumentError, 'if_match is nil' if if_match.nil?
fail ArgumentError, '@client.api_version is nil' if @client.api_version.nil?
fail ArgumentError, '@client.subscription_id is nil' if @client.subscription_id.nil?
request_headers = {}
request_headers['Content-Type'] = 'application/vnd.ms-azure-apim.policy+xml'
# Set Headers
request_headers['x-ms-client-request-id'] = SecureRandom.uuid
request_headers['If-Match'] = if_match unless if_match.nil?
request_headers['accept-language'] = @client.accept_language unless @client.accept_language.nil?
# Serialize Request
request_mapper = {
client_side_validation: true,
required: true,
serialized_name: 'parameters',
type: {
name: 'Stream'
}
}
request_content = @client.serialize(request_mapper, parameters)
path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/policy'
request_url = @base_url || @client.base_url
options = {
middlewares: [[MsRest::RetryPolicyMiddleware, times: 3, retry: 0.02], [:cookie_jar]],
path_params: {'resourceGroupName' => resource_group_name,'serviceName' => service_name,'subscriptionId' => @client.subscription_id},
query_params: {'api-version' => @client.api_version},
body: request_content,
headers: request_headers.merge(custom_headers || {}),
base_url: request_url
}
promise = @client.make_request_async(:put, path_template, options)
promise = promise.then do |result|
http_response = result.response
status_code = http_response.status
response_content = http_response.body
unless status_code == 201 || status_code == 204
error_model = JSON.load(response_content)
fail MsRest::HttpOperationError.new(result.request, http_response, error_model)
end
result.request_id = http_response['x-ms-request-id'] unless http_response['x-ms-request-id'].nil?
result
end
promise.execute
end | [
"def",
"create_or_update_async",
"(",
"resource_group_name",
",",
"service_name",
",",
"parameters",
",",
"if_match",
",",
"custom_headers",
":",
"nil",
")",
"fail",
"ArgumentError",
",",
"'resource_group_name is nil'",
"if",
"resource_group_name",
".",
"nil?",
"fail",
"ArgumentError",
",",
"'service_name is nil'",
"if",
"service_name",
".",
"nil?",
"fail",
"ArgumentError",
",",
"\"'service_name' should satisfy the constraint - 'MaxLength': '50'\"",
"if",
"!",
"service_name",
".",
"nil?",
"&&",
"service_name",
".",
"length",
">",
"50",
"fail",
"ArgumentError",
",",
"\"'service_name' should satisfy the constraint - 'MinLength': '1'\"",
"if",
"!",
"service_name",
".",
"nil?",
"&&",
"service_name",
".",
"length",
"<",
"1",
"fail",
"ArgumentError",
",",
"\"'service_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$'\"",
"if",
"!",
"service_name",
".",
"nil?",
"&&",
"service_name",
".",
"match",
"(",
"Regexp",
".",
"new",
"(",
"'^^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$$'",
")",
")",
".",
"nil?",
"fail",
"ArgumentError",
",",
"'parameters is nil'",
"if",
"parameters",
".",
"nil?",
"fail",
"ArgumentError",
",",
"'if_match is nil'",
"if",
"if_match",
".",
"nil?",
"fail",
"ArgumentError",
",",
"'@client.api_version is nil'",
"if",
"@client",
".",
"api_version",
".",
"nil?",
"fail",
"ArgumentError",
",",
"'@client.subscription_id is nil'",
"if",
"@client",
".",
"subscription_id",
".",
"nil?",
"request_headers",
"=",
"{",
"}",
"request_headers",
"[",
"'Content-Type'",
"]",
"=",
"'application/vnd.ms-azure-apim.policy+xml'",
"# Set Headers",
"request_headers",
"[",
"'x-ms-client-request-id'",
"]",
"=",
"SecureRandom",
".",
"uuid",
"request_headers",
"[",
"'If-Match'",
"]",
"=",
"if_match",
"unless",
"if_match",
".",
"nil?",
"request_headers",
"[",
"'accept-language'",
"]",
"=",
"@client",
".",
"accept_language",
"unless",
"@client",
".",
"accept_language",
".",
"nil?",
"# Serialize Request",
"request_mapper",
"=",
"{",
"client_side_validation",
":",
"true",
",",
"required",
":",
"true",
",",
"serialized_name",
":",
"'parameters'",
",",
"type",
":",
"{",
"name",
":",
"'Stream'",
"}",
"}",
"request_content",
"=",
"@client",
".",
"serialize",
"(",
"request_mapper",
",",
"parameters",
")",
"path_template",
"=",
"'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/policy'",
"request_url",
"=",
"@base_url",
"||",
"@client",
".",
"base_url",
"options",
"=",
"{",
"middlewares",
":",
"[",
"[",
"MsRest",
"::",
"RetryPolicyMiddleware",
",",
"times",
":",
"3",
",",
"retry",
":",
"0.02",
"]",
",",
"[",
":cookie_jar",
"]",
"]",
",",
"path_params",
":",
"{",
"'resourceGroupName'",
"=>",
"resource_group_name",
",",
"'serviceName'",
"=>",
"service_name",
",",
"'subscriptionId'",
"=>",
"@client",
".",
"subscription_id",
"}",
",",
"query_params",
":",
"{",
"'api-version'",
"=>",
"@client",
".",
"api_version",
"}",
",",
"body",
":",
"request_content",
",",
"headers",
":",
"request_headers",
".",
"merge",
"(",
"custom_headers",
"||",
"{",
"}",
")",
",",
"base_url",
":",
"request_url",
"}",
"promise",
"=",
"@client",
".",
"make_request_async",
"(",
":put",
",",
"path_template",
",",
"options",
")",
"promise",
"=",
"promise",
".",
"then",
"do",
"|",
"result",
"|",
"http_response",
"=",
"result",
".",
"response",
"status_code",
"=",
"http_response",
".",
"status",
"response_content",
"=",
"http_response",
".",
"body",
"unless",
"status_code",
"==",
"201",
"||",
"status_code",
"==",
"204",
"error_model",
"=",
"JSON",
".",
"load",
"(",
"response_content",
")",
"fail",
"MsRest",
"::",
"HttpOperationError",
".",
"new",
"(",
"result",
".",
"request",
",",
"http_response",
",",
"error_model",
")",
"end",
"result",
".",
"request_id",
"=",
"http_response",
"[",
"'x-ms-request-id'",
"]",
"unless",
"http_response",
"[",
"'x-ms-request-id'",
"]",
".",
"nil?",
"result",
"end",
"promise",
".",
"execute",
"end"
] | Creates or updates global policy configuration for the tenant.
@param resource_group_name [String] The name of the resource group.
@param service_name [String] The name of the API Management service.
@param parameters The policy content details.
@param if_match [String] The entity state (Etag) version of the tenant policy
to update. A value of "*" can be used for If-Match to unconditionally apply
the operation.
@param [Hash{String => String}] A hash of custom headers that will be added
to the HTTP request.
@return [Concurrent::Promise] Promise object which holds the HTTP response. | [
"Creates",
"or",
"updates",
"global",
"policy",
"configuration",
"for",
"the",
"tenant",
"."
] | 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/tenant_policy.rb#L176-L236 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/profiles.rb | Azure::CustomerInsights::Mgmt::V2017_01_01.Profiles.get_with_http_info | def get_with_http_info(resource_group_name, hub_name, profile_name, locale_code:'en-us', custom_headers:nil)
get_async(resource_group_name, hub_name, profile_name, locale_code:locale_code, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, hub_name, profile_name, locale_code:'en-us', custom_headers:nil)
get_async(resource_group_name, hub_name, profile_name, locale_code:locale_code, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"hub_name",
",",
"profile_name",
",",
"locale_code",
":",
"'en-us'",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"hub_name",
",",
"profile_name",
",",
"locale_code",
":locale_code",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets information about the specified profile.
@param resource_group_name [String] The name of the resource group.
@param hub_name [String] The name of the hub.
@param profile_name [String] The name of the profile.
@param locale_code [String] Locale of profile to retrieve, default is en-us.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"information",
"about",
"the",
"specified",
"profile",
"."
] | 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/profiles.rb#L104-L106 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/profiles.rb | Azure::CustomerInsights::Mgmt::V2017_01_01.Profiles.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, hub_name, profile_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, hub_name, profile_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, hub_name, profile_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, hub_name, profile_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"hub_name",
",",
"profile_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"hub_name",
",",
"profile_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates a profile within a Hub, or updates an existing profile.
@param resource_group_name [String] The name of the resource group.
@param hub_name [String] The name of the hub.
@param profile_name [String] The name of the profile.
@param parameters [ProfileResourceFormat] Parameters supplied to the
create/delete Profile type 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",
"profile",
"within",
"a",
"Hub",
"or",
"updates",
"an",
"existing",
"profile",
"."
] | 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/profiles.rb#L460-L462 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_managed_applications/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/appliances.rb | Azure::ManagedApplications::Mgmt::V2016_09_01_preview.Appliances.get_by_id | def get_by_id(appliance_id, custom_headers:nil)
response = get_by_id_async(appliance_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_by_id(appliance_id, custom_headers:nil)
response = get_by_id_async(appliance_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_by_id",
"(",
"appliance_id",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_by_id_async",
"(",
"appliance_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets the appliance.
@param appliance_id [String] The fully qualified ID of the appliance,
including the appliance name and the appliance resource type. Use the format,
/subscriptions/{guid}/resourceGroups/{resource-group-name}/Microsoft.Solutions/appliances/{appliance-name}
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Appliance] operation results. | [
"Gets",
"the",
"appliance",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_managed_applications/lib/2016-09-01-preview/generated/azure_mgmt_managed_applications/appliances.rb#L517-L520 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/azure_accounts.rb | Azure::CognitiveServices::LuisAuthoring::V2_0.AzureAccounts.assign_to_app | def assign_to_app(app_id, azure_account_info_object:nil, custom_headers:nil)
response = assign_to_app_async(app_id, azure_account_info_object:azure_account_info_object, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def assign_to_app(app_id, azure_account_info_object:nil, custom_headers:nil)
response = assign_to_app_async(app_id, azure_account_info_object:azure_account_info_object, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"assign_to_app",
"(",
"app_id",
",",
"azure_account_info_object",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"assign_to_app_async",
"(",
"app_id",
",",
"azure_account_info_object",
":azure_account_info_object",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | apps - Assign a LUIS Azure account to an application
Assigns an Azure account to the application.
@param app_id The application ID.
@param azure_account_info_object [AzureAccountInfoObject] The Azure account
information object.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [OperationStatus] operation results. | [
"apps",
"-",
"Assign",
"a",
"LUIS",
"Azure",
"account",
"to",
"an",
"application"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/azure_accounts.rb#L37-L40 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/azure_accounts.rb | Azure::CognitiveServices::LuisAuthoring::V2_0.AzureAccounts.get_assigned | def get_assigned(app_id, custom_headers:nil)
response = get_assigned_async(app_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_assigned(app_id, custom_headers:nil)
response = get_assigned_async(app_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_assigned",
"(",
"app_id",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_assigned_async",
"(",
"app_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | apps - Get LUIS Azure accounts assigned to the application
Gets the LUIS Azure accounts assigned to the application for the user using
his ARM token.
@param app_id The application ID.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array] operation results. | [
"apps",
"-",
"Get",
"LUIS",
"Azure",
"accounts",
"assigned",
"to",
"the",
"application"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/azure_accounts.rb#L142-L145 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/azure_accounts.rb | Azure::CognitiveServices::LuisAuthoring::V2_0.AzureAccounts.remove_from_app | def remove_from_app(app_id, azure_account_info_object:nil, custom_headers:nil)
response = remove_from_app_async(app_id, azure_account_info_object:azure_account_info_object, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def remove_from_app(app_id, azure_account_info_object:nil, custom_headers:nil)
response = remove_from_app_async(app_id, azure_account_info_object:azure_account_info_object, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"remove_from_app",
"(",
"app_id",
",",
"azure_account_info_object",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"remove_from_app_async",
"(",
"app_id",
",",
"azure_account_info_object",
":azure_account_info_object",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | apps - Removes an assigned LUIS Azure account from an application
Removes assigned Azure account from the application.
@param app_id The application ID.
@param azure_account_info_object [AzureAccountInfoObject] The Azure account
information object.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [OperationStatus] operation results. | [
"apps",
"-",
"Removes",
"an",
"assigned",
"LUIS",
"Azure",
"account",
"from",
"an",
"application"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/azure_accounts.rb#L255-L258 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/azure_accounts.rb | Azure::CognitiveServices::LuisAuthoring::V2_0.AzureAccounts.list_user_luisaccounts | def list_user_luisaccounts(custom_headers:nil)
response = list_user_luisaccounts_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_user_luisaccounts(custom_headers:nil)
response = list_user_luisaccounts_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_user_luisaccounts",
"(",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_user_luisaccounts_async",
"(",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | user - Get LUIS Azure accounts
Gets the LUIS Azure accounts for the user using his ARM token.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array] operation results. | [
"user",
"-",
"Get",
"LUIS",
"Azure",
"accounts"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/azure_accounts.rb#L358-L361 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_iot_hub/lib/2018-04-01/generated/azure_mgmt_iot_hub/iot_hub_resource.rb | Azure::IotHub::Mgmt::V2018_04_01.IotHubResource.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, resource_name, iot_hub_description, if_match:nil, custom_headers:nil)
begin_create_or_update_async(resource_group_name, resource_name, iot_hub_description, if_match:if_match, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, resource_name, iot_hub_description, if_match:nil, custom_headers:nil)
begin_create_or_update_async(resource_group_name, resource_name, iot_hub_description, if_match:if_match, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"resource_name",
",",
"iot_hub_description",
",",
"if_match",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"resource_name",
",",
"iot_hub_description",
",",
"if_match",
":if_match",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Create or update the metadata of an IoT hub.
Create or update the metadata of an Iot hub. The usual pattern to modify a
property is to retrieve the IoT hub metadata and security metadata, and then
combine them with the modified values in a new body to update the IoT hub.
@param resource_group_name [String] The name of the resource group that
contains the IoT hub.
@param resource_name [String] The name of the IoT hub.
@param iot_hub_description [IotHubDescription] The IoT hub metadata and
security metadata.
@param if_match [String] ETag of the IoT Hub. Do not specify for creating a
brand new IoT Hub. Required to update an existing IoT Hub.
@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",
"hub",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_iot_hub/lib/2018-04-01/generated/azure_mgmt_iot_hub/iot_hub_resource.rb#L2371-L2373 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_iot_hub/lib/2018-04-01/generated/azure_mgmt_iot_hub/iot_hub_resource.rb | Azure::IotHub::Mgmt::V2018_04_01.IotHubResource.begin_update_with_http_info | def begin_update_with_http_info(resource_group_name, resource_name, iot_hub_tags, custom_headers:nil)
begin_update_async(resource_group_name, resource_name, iot_hub_tags, custom_headers:custom_headers).value!
end | ruby | def begin_update_with_http_info(resource_group_name, resource_name, iot_hub_tags, custom_headers:nil)
begin_update_async(resource_group_name, resource_name, iot_hub_tags, custom_headers:custom_headers).value!
end | [
"def",
"begin_update_with_http_info",
"(",
"resource_group_name",
",",
"resource_name",
",",
"iot_hub_tags",
",",
"custom_headers",
":",
"nil",
")",
"begin_update_async",
"(",
"resource_group_name",
",",
"resource_name",
",",
"iot_hub_tags",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Update an existing IoT Hubs tags.
Update an existing IoT Hub tags. to update other fields use the
CreateOrUpdate method
@param resource_group_name [String] Resource group identifier.
@param resource_name [String] Name of iot hub to update.
@param iot_hub_tags [TagsResource] Updated tag information to set into the
iot hub instance.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Update",
"an",
"existing",
"IoT",
"Hubs",
"tags",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_iot_hub/lib/2018-04-01/generated/azure_mgmt_iot_hub/iot_hub_resource.rb#L2501-L2503 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_container_registry/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/build_steps.rb | Azure::ContainerRegistry::Mgmt::V2018_02_01_preview.BuildSteps.list_with_http_info | def list_with_http_info(resource_group_name, registry_name, build_task_name, custom_headers:nil)
list_async(resource_group_name, registry_name, build_task_name, custom_headers:custom_headers).value!
end | ruby | def list_with_http_info(resource_group_name, registry_name, build_task_name, custom_headers:nil)
list_async(resource_group_name, registry_name, build_task_name, custom_headers:custom_headers).value!
end | [
"def",
"list_with_http_info",
"(",
"resource_group_name",
",",
"registry_name",
",",
"build_task_name",
",",
"custom_headers",
":",
"nil",
")",
"list_async",
"(",
"resource_group_name",
",",
"registry_name",
",",
"build_task_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | List all the build steps for a given build task.
@param resource_group_name [String] The name of the resource group to which
the container registry belongs.
@param registry_name [String] The name of the container registry.
@param build_task_name [String] The name of the container registry build
task.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"List",
"all",
"the",
"build",
"steps",
"for",
"a",
"given",
"build",
"task",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_container_registry/lib/2018-02-01-preview/generated/azure_mgmt_container_registry/build_steps.rb#L55-L57 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_customer_insights/lib/2017-04-26/generated/azure_mgmt_customer_insights/predictions.rb | Azure::CustomerInsights::Mgmt::V2017_04_26.Predictions.get_with_http_info | def get_with_http_info(resource_group_name, hub_name, prediction_name, custom_headers:nil)
get_async(resource_group_name, hub_name, prediction_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, hub_name, prediction_name, custom_headers:nil)
get_async(resource_group_name, hub_name, prediction_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"hub_name",
",",
"prediction_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"hub_name",
",",
"prediction_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets a Prediction in the hub.
@param resource_group_name [String] The name of the resource group.
@param hub_name [String] The name of the hub.
@param prediction_name [String] The name of the Prediction.
@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",
"Prediction",
"in",
"the",
"hub",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_customer_insights/lib/2017-04-26/generated/azure_mgmt_customer_insights/predictions.rb#L102-L104 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_customer_insights/lib/2017-04-26/generated/azure_mgmt_customer_insights/predictions.rb | Azure::CustomerInsights::Mgmt::V2017_04_26.Predictions.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, hub_name, prediction_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, hub_name, prediction_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, hub_name, prediction_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, hub_name, prediction_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"hub_name",
",",
"prediction_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"hub_name",
",",
"prediction_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates a Prediction or updates an existing Prediction in the hub.
@param resource_group_name [String] The name of the resource group.
@param hub_name [String] The name of the hub.
@param prediction_name [String] The name of the Prediction.
@param parameters [PredictionResourceFormat] Parameters supplied to the
create/update Prediction 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",
"Prediction",
"or",
"updates",
"an",
"existing",
"Prediction",
"in",
"the",
"hub",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_customer_insights/lib/2017-04-26/generated/azure_mgmt_customer_insights/predictions.rb#L625-L627 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_customer_insights/lib/2017-04-26/generated/azure_mgmt_customer_insights/predictions.rb | Azure::CustomerInsights::Mgmt::V2017_04_26.Predictions.begin_delete_with_http_info | def begin_delete_with_http_info(resource_group_name, hub_name, prediction_name, custom_headers:nil)
begin_delete_async(resource_group_name, hub_name, prediction_name, custom_headers:custom_headers).value!
end | ruby | def begin_delete_with_http_info(resource_group_name, hub_name, prediction_name, custom_headers:nil)
begin_delete_async(resource_group_name, hub_name, prediction_name, custom_headers:custom_headers).value!
end | [
"def",
"begin_delete_with_http_info",
"(",
"resource_group_name",
",",
"hub_name",
",",
"prediction_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_delete_async",
"(",
"resource_group_name",
",",
"hub_name",
",",
"prediction_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes a Prediction in the hub.
@param resource_group_name [String] The name of the resource group.
@param hub_name [String] The name of the hub.
@param prediction_name [String] The name of the Prediction.
@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",
"Prediction",
"in",
"the",
"hub",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_customer_insights/lib/2017-04-26/generated/azure_mgmt_customer_insights/predictions.rb#L732-L734 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_api_management/lib/2019-01-01/generated/azure_mgmt_api_management/reports.rb | Azure::ApiManagement::Mgmt::V2019_01_01.Reports.list_by_product_as_lazy | def list_by_product_as_lazy(resource_group_name, service_name, filter, top:nil, skip:nil, orderby:nil, custom_headers:nil)
response = list_by_product_async(resource_group_name, service_name, filter, top:top, skip:skip, orderby:orderby, custom_headers:custom_headers).value!
unless response.nil?
page = response.body
page.next_method = Proc.new do |next_page_link|
list_by_product_next_async(next_page_link, custom_headers:custom_headers)
end
page
end
end | ruby | def list_by_product_as_lazy(resource_group_name, service_name, filter, top:nil, skip:nil, orderby:nil, custom_headers:nil)
response = list_by_product_async(resource_group_name, service_name, filter, top:top, skip:skip, orderby:orderby, custom_headers:custom_headers).value!
unless response.nil?
page = response.body
page.next_method = Proc.new do |next_page_link|
list_by_product_next_async(next_page_link, custom_headers:custom_headers)
end
page
end
end | [
"def",
"list_by_product_as_lazy",
"(",
"resource_group_name",
",",
"service_name",
",",
"filter",
",",
"top",
":",
"nil",
",",
"skip",
":",
"nil",
",",
"orderby",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_by_product_async",
"(",
"resource_group_name",
",",
"service_name",
",",
"filter",
",",
"top",
":",
"top",
",",
"skip",
":",
"skip",
",",
"orderby",
":",
"orderby",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"unless",
"response",
".",
"nil?",
"page",
"=",
"response",
".",
"body",
"page",
".",
"next_method",
"=",
"Proc",
".",
"new",
"do",
"|",
"next_page_link",
"|",
"list_by_product_next_async",
"(",
"next_page_link",
",",
"custom_headers",
":custom_headers",
")",
"end",
"page",
"end",
"end"
] | Lists report records by Product.
@param resource_group_name [String] The name of the resource group.
@param service_name [String] The name of the API Management service.
@param filter [String] | Field | Usage | Supported
operators | Supported functions
|</br>|-------------|-------------|-------------|-------------|</br>|
timestamp | filter | ge, le | | </br>| displayName | select, orderBy |
| | </br>| apiRegion | filter | eq | | </br>| userId | filter | eq |
| </br>| productId | select, filter | eq | | </br>| subscriptionId |
filter | eq | | </br>| callCountSuccess | select, orderBy | | |
</br>| callCountBlocked | select, orderBy | | | </br>|
callCountFailed | select, orderBy | | | </br>| callCountOther |
select, orderBy | | | </br>| callCountTotal | select, orderBy | |
| </br>| bandwidth | select, orderBy | | | </br>| cacheHitsCount |
select | | | </br>| cacheMissCount | select | | | </br>|
apiTimeAvg | select, orderBy | | | </br>| apiTimeMin | select | |
| </br>| apiTimeMax | select | | | </br>| serviceTimeAvg | select |
| | </br>| serviceTimeMin | select | | | </br>| serviceTimeMax |
select | | | </br>
@param top [Integer] Number of records to return.
@param skip [Integer] Number of records to skip.
@param orderby [String] OData order by query option.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [ReportCollection] which provide lazy access to pages of the
response. | [
"Lists",
"report",
"records",
"by",
"Product",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_api_management/lib/2019-01-01/generated/azure_mgmt_api_management/reports.rb#L1961-L1970 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_serialconsole/lib/2018-05-01/generated/azure_mgmt_serialconsole/list_console.rb | Azure::Serialconsole::Mgmt::V2018_05_01.ListConsole.disabled | def disabled(custom_headers:nil)
response = disabled_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def disabled(custom_headers:nil)
response = disabled_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"disabled",
"(",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"disabled_async",
"(",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets if Serial Console is disabled for a subscription.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [GetDisabledResult] operation results. | [
"Gets",
"if",
"Serial",
"Console",
"is",
"disabled",
"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/list_console.rb#L33-L36 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_edgegateway/lib/2019-03-01/generated/azure_mgmt_edgegateway/devices.rb | Azure::EdgeGateway::Mgmt::V2019_03_01.Devices.get_update_summary | def get_update_summary(device_name, resource_group_name, custom_headers:nil)
response = get_update_summary_async(device_name, resource_group_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_update_summary(device_name, resource_group_name, custom_headers:nil)
response = get_update_summary_async(device_name, resource_group_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_update_summary",
"(",
"device_name",
",",
"resource_group_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_update_summary_async",
"(",
"device_name",
",",
"resource_group_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets information about the availability of updates based on the last scan of
the device. It also gets information about any ongoing download or install
jobs on the device.
@param device_name [String] The device name.
@param resource_group_name [String] The resource group name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [UpdateSummary] operation results. | [
"Gets",
"information",
"about",
"the",
"availability",
"of",
"updates",
"based",
"on",
"the",
"last",
"scan",
"of",
"the",
"device",
".",
"It",
"also",
"gets",
"information",
"about",
"any",
"ongoing",
"download",
"or",
"install",
"jobs",
"on",
"the",
"device",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_edgegateway/lib/2019-03-01/generated/azure_mgmt_edgegateway/devices.rb#L841-L844 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_hdinsight/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/extensions.rb | Azure::Hdinsight::Mgmt::V2018_06_01_preview.Extensions.get_with_http_info | def get_with_http_info(resource_group_name, cluster_name, extension_name, custom_headers:nil)
get_async(resource_group_name, cluster_name, extension_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, cluster_name, extension_name, custom_headers:nil)
get_async(resource_group_name, cluster_name, extension_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"cluster_name",
",",
"extension_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"cluster_name",
",",
"extension_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the extension properties for the specified HDInsight cluster extension.
@param resource_group_name [String] The name of the resource group.
@param cluster_name [String] The name of the cluster.
@param extension_name [String] The name of the cluster extension.
@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",
"extension",
"properties",
"for",
"the",
"specified",
"HDInsight",
"cluster",
"extension",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_hdinsight/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/extensions.rb#L268-L270 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_cognitive_services/lib/2017-04-18/generated/azure_mgmt_cognitive_services/accounts.rb | Azure::CognitiveServices::Mgmt::V2017_04_18.Accounts.regenerate_key_with_http_info | def regenerate_key_with_http_info(resource_group_name, account_name, key_name, custom_headers:nil)
regenerate_key_async(resource_group_name, account_name, key_name, custom_headers:custom_headers).value!
end | ruby | def regenerate_key_with_http_info(resource_group_name, account_name, key_name, custom_headers:nil)
regenerate_key_async(resource_group_name, account_name, key_name, custom_headers:custom_headers).value!
end | [
"def",
"regenerate_key_with_http_info",
"(",
"resource_group_name",
",",
"account_name",
",",
"key_name",
",",
"custom_headers",
":",
"nil",
")",
"regenerate_key_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"key_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Regenerates the specified account key for the specified Cognitive Services
account.
@param resource_group_name [String] The name of the resource group within the
user's subscription.
@param account_name [String] The name of Cognitive Services account.
@param key_name [KeyName] key name to generate (Key1|Key2). Possible values
include: 'Key1', 'Key2'
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Regenerates",
"the",
"specified",
"account",
"key",
"for",
"the",
"specified",
"Cognitive",
"Services",
"account",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_cognitive_services/lib/2017-04-18/generated/azure_mgmt_cognitive_services/accounts.rb#L778-L780 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_netapp/lib/2017-08-15-preview/generated/azure_mgmt_netapp/accounts.rb | Azure::NetApp::Mgmt::V2017_08_15_preview.Accounts.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(body, resource_group_name, account_name, custom_headers:nil)
begin_create_or_update_async(body, resource_group_name, account_name, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(body, resource_group_name, account_name, custom_headers:nil)
begin_create_or_update_async(body, resource_group_name, account_name, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"body",
",",
"resource_group_name",
",",
"account_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"body",
",",
"resource_group_name",
",",
"account_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Create or update a NetApp account
@param body [NetAppAccount] NetApp Account 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 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",
"NetApp",
"account"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_netapp/lib/2017-08-15-preview/generated/azure_mgmt_netapp/accounts.rb#L432-L434 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/subnets.rb | Azure::Network::Mgmt::V2015_05_01_preview.Subnets.begin_delete_with_http_info | def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil)
begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value!
end | ruby | def begin_delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil)
begin_delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value!
end | [
"def",
"begin_delete_with_http_info",
"(",
"resource_group_name",
",",
"virtual_network_name",
",",
"subnet_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_delete_async",
"(",
"resource_group_name",
",",
"virtual_network_name",
",",
"subnet_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | The delete subnet operation deletes the specified subnet.
@param resource_group_name [String] The name of the resource group.
@param virtual_network_name [String] The name of the virtual network.
@param subnet_name [String] The name of the subnet.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"The",
"delete",
"subnet",
"operation",
"deletes",
"the",
"specified",
"subnet",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2015-05-01-preview/generated/azure_mgmt_network/subnets.rb#L327-L329 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_logic/lib/2015-02-01-preview/generated/azure_mgmt_logic/workflows.rb | Azure::Logic::Mgmt::V2015_02_01_preview.Workflows.validate | def validate(resource_group_name, workflow_name, workflow, custom_headers:nil)
response = validate_async(resource_group_name, workflow_name, workflow, custom_headers:custom_headers).value!
nil
end | ruby | def validate(resource_group_name, workflow_name, workflow, custom_headers:nil)
response = validate_async(resource_group_name, workflow_name, workflow, custom_headers:custom_headers).value!
nil
end | [
"def",
"validate",
"(",
"resource_group_name",
",",
"workflow_name",
",",
"workflow",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"validate_async",
"(",
"resource_group_name",
",",
"workflow_name",
",",
"workflow",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Validates a workflow.
@param resource_group_name [String] The resource group name.
@param workflow_name [String] The workflow name.
@param workflow [Workflow] The workflow.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Validates",
"a",
"workflow",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_logic/lib/2015-02-01-preview/generated/azure_mgmt_logic/workflows.rb#L813-L816 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_resources/lib/2018-02-01/generated/azure_mgmt_resources/resources.rb | Azure::Resources::Mgmt::V2018_02_01.Resources.check_existence_by_id | def check_existence_by_id(resource_id, api_version, custom_headers:nil)
response = check_existence_by_id_async(resource_id, api_version, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def check_existence_by_id(resource_id, api_version, custom_headers:nil)
response = check_existence_by_id_async(resource_id, api_version, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"check_existence_by_id",
"(",
"resource_id",
",",
"api_version",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"check_existence_by_id_async",
"(",
"resource_id",
",",
"api_version",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Checks by ID whether a resource exists.
@param resource_id [String] The fully qualified ID of the resource, including
the resource name and resource type. Use the format,
/subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}
@param api_version [String] The API version to use for the operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Boolean] operation results. | [
"Checks",
"by",
"ID",
"whether",
"a",
"resource",
"exists",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_resources/lib/2018-02-01/generated/azure_mgmt_resources/resources.rb#L725-L728 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_resources/lib/2018-02-01/generated/azure_mgmt_resources/resources.rb | Azure::Resources::Mgmt::V2018_02_01.Resources.get_by_id | def get_by_id(resource_id, api_version, custom_headers:nil)
response = get_by_id_async(resource_id, api_version, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_by_id(resource_id, api_version, custom_headers:nil)
response = get_by_id_async(resource_id, api_version, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_by_id",
"(",
"resource_id",
",",
"api_version",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_by_id_async",
"(",
"resource_id",
",",
"api_version",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets a resource by ID.
@param resource_id [String] The fully qualified ID of the resource, including
the resource name and resource type. Use the format,
/subscriptions/{guid}/resourceGroups/{resource-group-name}/{resource-provider-namespace}/{resource-type}/{resource-name}
@param api_version [String] The API version to use for the operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [GenericResource] operation results. | [
"Gets",
"a",
"resource",
"by",
"ID",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_resources/lib/2018-02-01/generated/azure_mgmt_resources/resources.rb#L950-L953 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_hdinsight/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/clusters.rb | Azure::Hdinsight::Mgmt::V2018_06_01_preview.Clusters.update_with_http_info | def update_with_http_info(resource_group_name, cluster_name, parameters, custom_headers:nil)
update_async(resource_group_name, cluster_name, parameters, custom_headers:custom_headers).value!
end | ruby | def update_with_http_info(resource_group_name, cluster_name, parameters, custom_headers:nil)
update_async(resource_group_name, cluster_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"update_with_http_info",
"(",
"resource_group_name",
",",
"cluster_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"update_async",
"(",
"resource_group_name",
",",
"cluster_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Patch HDInsight cluster with the specified parameters.
@param resource_group_name [String] The name of the resource group.
@param cluster_name [String] The name of the cluster.
@param parameters [ClusterPatchParameters] The cluster patch request.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Patch",
"HDInsight",
"cluster",
"with",
"the",
"specified",
"parameters",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_hdinsight/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/clusters.rb#L97-L99 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_hdinsight/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/clusters.rb | Azure::Hdinsight::Mgmt::V2018_06_01_preview.Clusters.get_gateway_settings | def get_gateway_settings(resource_group_name, cluster_name, custom_headers:nil)
response = get_gateway_settings_async(resource_group_name, cluster_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_gateway_settings(resource_group_name, cluster_name, custom_headers:nil)
response = get_gateway_settings_async(resource_group_name, cluster_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_gateway_settings",
"(",
"resource_group_name",
",",
"cluster_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_gateway_settings_async",
"(",
"resource_group_name",
",",
"cluster_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets the gateway settings for the specified cluster.
@param resource_group_name [String] The name of the resource group.
@param cluster_name [String] The name of the cluster.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [GatewaySettings] operation results. | [
"Gets",
"the",
"gateway",
"settings",
"for",
"the",
"specified",
"cluster",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_hdinsight/lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/clusters.rb#L569-L572 | train |
Azure/azure-sdk-for-ruby | data/azure_graph_rbac/lib/1.6/generated/azure_graph_rbac/objects.rb | Azure::GraphRbac::V1_6.Objects.get_current_user | def get_current_user(custom_headers:nil)
response = get_current_user_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_current_user(custom_headers:nil)
response = get_current_user_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_current_user",
"(",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_current_user_async",
"(",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets the details for the currently logged-in user.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [AADObject] operation results. | [
"Gets",
"the",
"details",
"for",
"the",
"currently",
"logged",
"-",
"in",
"user",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_graph_rbac/lib/1.6/generated/azure_graph_rbac/objects.rb#L32-L35 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_monitor/lib/2017-05-01-preview/generated/azure_mgmt_monitor/diagnostic_settings_operations.rb | Azure::Monitor::Mgmt::V2017_05_01_preview.DiagnosticSettingsOperations.create_or_update_with_http_info | def create_or_update_with_http_info(resource_uri, parameters, name, custom_headers:nil)
create_or_update_async(resource_uri, parameters, name, custom_headers:custom_headers).value!
end | ruby | def create_or_update_with_http_info(resource_uri, parameters, name, custom_headers:nil)
create_or_update_async(resource_uri, parameters, name, custom_headers:custom_headers).value!
end | [
"def",
"create_or_update_with_http_info",
"(",
"resource_uri",
",",
"parameters",
",",
"name",
",",
"custom_headers",
":",
"nil",
")",
"create_or_update_async",
"(",
"resource_uri",
",",
"parameters",
",",
"name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates or updates diagnostic settings for the specified resource.
@param resource_uri [String] The identifier of the resource.
@param parameters [DiagnosticSettingsResource] Parameters supplied to the
operation.
@param name [String] The name of the diagnostic setting.
@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",
"diagnostic",
"settings",
"for",
"the",
"specified",
"resource",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_monitor/lib/2017-05-01-preview/generated/azure_mgmt_monitor/diagnostic_settings_operations.rb#L145-L147 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_api_management/lib/2019-01-01/generated/azure_mgmt_api_management/user.rb | Azure::ApiManagement::Mgmt::V2019_01_01.User.get_with_http_info | def get_with_http_info(resource_group_name, service_name, user_id, custom_headers:nil)
get_async(resource_group_name, service_name, user_id, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, service_name, user_id, custom_headers:nil)
get_async(resource_group_name, service_name, user_id, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"service_name",
",",
"user_id",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"service_name",
",",
"user_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the details of the user 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 user_id [String] User identifier. Must be unique in the current API
Management service instance.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"the",
"details",
"of",
"the",
"user",
"specified",
"by",
"its",
"identifier",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_api_management/lib/2019-01-01/generated/azure_mgmt_api_management/user.rb#L286-L288 | train |
Azure/azure-sdk-for-ruby | data/azure_service_fabric/lib/6.4.0.36/generated/azure_service_fabric/mesh_service_replica.rb | Azure::ServiceFabric::V6_4_0_36.MeshServiceReplica.get_with_http_info | def get_with_http_info(application_resource_name, service_resource_name, replica_name, custom_headers:nil)
get_async(application_resource_name, service_resource_name, replica_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(application_resource_name, service_resource_name, replica_name, custom_headers:nil)
get_async(application_resource_name, service_resource_name, replica_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"application_resource_name",
",",
"service_resource_name",
",",
"replica_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"application_resource_name",
",",
"service_resource_name",
",",
"replica_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the given replica of the service of an application.
Gets the information about the service replica with the given name. The
information include the description and other properties of the service
replica.
@param application_resource_name [String] The identity of the application.
@param service_resource_name [String] The identity of the service.
@param replica_name [String] Service Fabric replica name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"the",
"given",
"replica",
"of",
"the",
"service",
"of",
"an",
"application",
"."
] | 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_service_replica.rb#L60-L62 | train |
Azure/azure-sdk-for-ruby | data/azure_service_fabric/lib/6.4.0.36/generated/azure_service_fabric/mesh_service_replica.rb | Azure::ServiceFabric::V6_4_0_36.MeshServiceReplica.list | def list(application_resource_name, service_resource_name, custom_headers:nil)
response = list_async(application_resource_name, service_resource_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list(application_resource_name, service_resource_name, custom_headers:nil)
response = list_async(application_resource_name, service_resource_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list",
"(",
"application_resource_name",
",",
"service_resource_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_async",
"(",
"application_resource_name",
",",
"service_resource_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Lists all the replicas of a service.
Gets the information about all replicas of a service. The information include
the description and other properties of the service replica.
@param application_resource_name [String] The identity of the application.
@param service_resource_name [String] The identity of the service.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [PagedServiceReplicaDescriptionList] operation results. | [
"Lists",
"all",
"the",
"replicas",
"of",
"a",
"service",
"."
] | 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_service_replica.rb#L145-L148 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/availability_sets.rb | Azure::Compute::Mgmt::V2018_04_01.AvailabilitySets.create_or_update_with_http_info | def create_or_update_with_http_info(resource_group_name, availability_set_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, availability_set_name, parameters, custom_headers:custom_headers).value!
end | ruby | def create_or_update_with_http_info(resource_group_name, availability_set_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, availability_set_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"availability_set_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"create_or_update_async",
"(",
"resource_group_name",
",",
"availability_set_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Create or update an availability set.
@param resource_group_name [String] The name of the resource group.
@param availability_set_name [String] The name of the availability set.
@param parameters [AvailabilitySet] Parameters supplied to the Create
Availability Set operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Create",
"or",
"update",
"an",
"availability",
"set",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/availability_sets.rb#L53-L55 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/availability_sets.rb | Azure::Compute::Mgmt::V2018_04_01.AvailabilitySets.update_with_http_info | def update_with_http_info(resource_group_name, availability_set_name, parameters, custom_headers:nil)
update_async(resource_group_name, availability_set_name, parameters, custom_headers:custom_headers).value!
end | ruby | def update_with_http_info(resource_group_name, availability_set_name, parameters, custom_headers:nil)
update_async(resource_group_name, availability_set_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"update_with_http_info",
"(",
"resource_group_name",
",",
"availability_set_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"update_async",
"(",
"resource_group_name",
",",
"availability_set_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Update an availability set.
@param resource_group_name [String] The name of the resource group.
@param availability_set_name [String] The name of the availability set.
@param parameters [AvailabilitySetUpdate] Parameters supplied to the Update
Availability Set operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Update",
"an",
"availability",
"set",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/availability_sets.rb#L159-L161 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/availability_sets.rb | Azure::Compute::Mgmt::V2018_04_01.AvailabilitySets.delete | def delete(resource_group_name, availability_set_name, custom_headers:nil)
response = delete_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value!
nil
end | ruby | def delete(resource_group_name, availability_set_name, custom_headers:nil)
response = delete_async(resource_group_name, availability_set_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"delete",
"(",
"resource_group_name",
",",
"availability_set_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_async",
"(",
"resource_group_name",
",",
"availability_set_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Delete an availability set.
@param resource_group_name [String] The name of the resource group.
@param availability_set_name [String] The name of the availability set.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Delete",
"an",
"availability",
"set",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_compute/lib/2018-04-01/generated/azure_mgmt_compute/availability_sets.rb#L245-L248 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_service_fabric/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/application.rb | Azure::ServiceFabric::Mgmt::V2017_07_01_preview.Application.patch | def patch(subscription_id, resource_group_name, cluster_name, application_name, api_version, parameters, custom_headers:nil)
response = patch_async(subscription_id, resource_group_name, cluster_name, application_name, api_version, parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def patch(subscription_id, resource_group_name, cluster_name, application_name, api_version, parameters, custom_headers:nil)
response = patch_async(subscription_id, resource_group_name, cluster_name, application_name, api_version, parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"patch",
"(",
"subscription_id",
",",
"resource_group_name",
",",
"cluster_name",
",",
"application_name",
",",
"api_version",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"patch_async",
"(",
"subscription_id",
",",
"resource_group_name",
",",
"cluster_name",
",",
"application_name",
",",
"api_version",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Updates an application resource with the specified name.
@param subscription_id [String] The customer subscription identifier
@param resource_group_name [String] The name of the resource group.
@param cluster_name [String] The name of the cluster resource
@param application_name [String] The name of the application resource.
@param api_version [String] The version of the API.
@param parameters [ApplicationResourceUpdate] The application resource for
patch operations.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [ApplicationResourceUpdate] operation results. | [
"Updates",
"an",
"application",
"resource",
"with",
"the",
"specified",
"name",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_service_fabric/lib/2017-07-01-preview/generated/azure_mgmt_service_fabric/application.rb#L191-L194 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2017-10-01-preview/generated/azure_mgmt_sql/instance_failover_groups.rb | Azure::SQL::Mgmt::V2017_10_01_preview.InstanceFailoverGroups.list_by_location | def list_by_location(resource_group_name, location_name, custom_headers:nil)
first_page = list_by_location_as_lazy(resource_group_name, location_name, custom_headers:custom_headers)
first_page.get_all_items
end | ruby | def list_by_location(resource_group_name, location_name, custom_headers:nil)
first_page = list_by_location_as_lazy(resource_group_name, location_name, custom_headers:custom_headers)
first_page.get_all_items
end | [
"def",
"list_by_location",
"(",
"resource_group_name",
",",
"location_name",
",",
"custom_headers",
":",
"nil",
")",
"first_page",
"=",
"list_by_location_as_lazy",
"(",
"resource_group_name",
",",
"location_name",
",",
"custom_headers",
":custom_headers",
")",
"first_page",
".",
"get_all_items",
"end"
] | Lists the failover groups in a location.
@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 location_name [String] The name of the region where the resource is
located.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array<InstanceFailoverGroup>] operation results. | [
"Lists",
"the",
"failover",
"groups",
"in",
"a",
"location",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2017-10-01-preview/generated/azure_mgmt_sql/instance_failover_groups.rb#L243-L246 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2017-10-01-preview/generated/azure_mgmt_sql/instance_failover_groups.rb | Azure::SQL::Mgmt::V2017_10_01_preview.InstanceFailoverGroups.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, location_name, failover_group_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, location_name, failover_group_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, location_name, failover_group_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, location_name, failover_group_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"location_name",
",",
"failover_group_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"location_name",
",",
"failover_group_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates or updates a failover group.
@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 location_name [String] The name of the region where the resource is
located.
@param failover_group_name [String] The name of the failover group.
@param parameters [InstanceFailoverGroup] The failover group parameters.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Creates",
"or",
"updates",
"a",
"failover",
"group",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2017-10-01-preview/generated/azure_mgmt_sql/instance_failover_groups.rb#L468-L470 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_event_grid/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/domain_topics.rb | Azure::EventGrid::Mgmt::V2019_02_01_preview.DomainTopics.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, domain_name, domain_topic_name, custom_headers:nil)
begin_create_or_update_async(resource_group_name, domain_name, domain_topic_name, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, domain_name, domain_topic_name, custom_headers:nil)
begin_create_or_update_async(resource_group_name, domain_name, domain_topic_name, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"domain_name",
",",
"domain_topic_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"domain_name",
",",
"domain_topic_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Create or update a domain topic
Asynchronously creates or updates a new domain topic with the specified
parameters.
@param resource_group_name [String] The name of the resource group within the
user's subscription.
@param domain_name [String] Name of the domain
@param domain_topic_name [String] Name of the domain topic
@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",
"domain",
"topic"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_event_grid/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/domain_topics.rb#L364-L366 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/links.rb | Azure::CustomerInsights::Mgmt::V2017_01_01.Links.get_with_http_info | def get_with_http_info(resource_group_name, hub_name, link_name, custom_headers:nil)
get_async(resource_group_name, hub_name, link_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, hub_name, link_name, custom_headers:nil)
get_async(resource_group_name, hub_name, link_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"hub_name",
",",
"link_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"hub_name",
",",
"link_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets a link in the hub.
@param resource_group_name [String] The name of the resource group.
@param hub_name [String] The name of the hub.
@param link_name [String] The name of the link.
@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",
"link",
"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/links.rb#L102-L104 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/links.rb | Azure::CustomerInsights::Mgmt::V2017_01_01.Links.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, hub_name, link_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, hub_name, link_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, hub_name, link_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, hub_name, link_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"hub_name",
",",
"link_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"hub_name",
",",
"link_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates a link or updates an existing link in the hub.
@param resource_group_name [String] The name of the resource group.
@param hub_name [String] The name of the hub.
@param link_name [String] The name of the link.
@param parameters [LinkResourceFormat] Parameters supplied to the
CreateOrUpdate Link 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",
"link",
"or",
"updates",
"an",
"existing",
"link",
"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/links.rb#L379-L381 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/managed_databases.rb | Azure::SQL::Mgmt::V2017_03_01_preview.ManagedDatabases.begin_delete_with_http_info | def begin_delete_with_http_info(resource_group_name, managed_instance_name, database_name, custom_headers:nil)
begin_delete_async(resource_group_name, managed_instance_name, database_name, custom_headers:custom_headers).value!
end | ruby | def begin_delete_with_http_info(resource_group_name, managed_instance_name, database_name, custom_headers:nil)
begin_delete_async(resource_group_name, managed_instance_name, database_name, custom_headers:custom_headers).value!
end | [
"def",
"begin_delete_with_http_info",
"(",
"resource_group_name",
",",
"managed_instance_name",
",",
"database_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_delete_async",
"(",
"resource_group_name",
",",
"managed_instance_name",
",",
"database_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes a managed database.
@param resource_group_name [String] The name of the resource group that
contains the resource. You can obtain this value from the Azure Resource
Manager API or the portal.
@param managed_instance_name [String] The name of the managed instance.
@param database_name [String] The name of the database.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Deletes",
"a",
"managed",
"database",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/managed_databases.rb#L673-L675 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/asset_filters.rb | Azure::MediaServices::Mgmt::V2018_07_01.AssetFilters.list_with_http_info | def list_with_http_info(resource_group_name, account_name, asset_name, custom_headers:nil)
list_async(resource_group_name, account_name, asset_name, custom_headers:custom_headers).value!
end | ruby | def list_with_http_info(resource_group_name, account_name, asset_name, custom_headers:nil)
list_async(resource_group_name, account_name, asset_name, custom_headers:custom_headers).value!
end | [
"def",
"list_with_http_info",
"(",
"resource_group_name",
",",
"account_name",
",",
"asset_name",
",",
"custom_headers",
":",
"nil",
")",
"list_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"asset_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | List Asset Filters
List Asset Filters associated with the specified Asset.
@param resource_group_name [String] The name of the resource group within the
Azure subscription.
@param account_name [String] The Media Services account name.
@param asset_name [String] The Asset 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. | [
"List",
"Asset",
"Filters"
] | 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/asset_filters.rb#L57-L59 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_datalake_store/lib/2016-11-01/generated/azure_mgmt_datalake_store/virtual_network_rules.rb | Azure::DataLakeStore::Mgmt::V2016_11_01.VirtualNetworkRules.get_with_http_info | def get_with_http_info(resource_group_name, account_name, virtual_network_rule_name, custom_headers:nil)
get_async(resource_group_name, account_name, virtual_network_rule_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, account_name, virtual_network_rule_name, custom_headers:nil)
get_async(resource_group_name, account_name, virtual_network_rule_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"account_name",
",",
"virtual_network_rule_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"virtual_network_rule_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the specified Data Lake Store virtual network rule.
@param resource_group_name [String] The name of the Azure resource group.
@param account_name [String] The name of the Data Lake Store account.
@param virtual_network_rule_name [String] The name of the virtual network
rule to retrieve.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"the",
"specified",
"Data",
"Lake",
"Store",
"virtual",
"network",
"rule",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_datalake_store/lib/2016-11-01/generated/azure_mgmt_datalake_store/virtual_network_rules.rb#L267-L269 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_datalake_store/lib/2016-11-01/generated/azure_mgmt_datalake_store/virtual_network_rules.rb | Azure::DataLakeStore::Mgmt::V2016_11_01.VirtualNetworkRules.delete_with_http_info | def delete_with_http_info(resource_group_name, account_name, virtual_network_rule_name, custom_headers:nil)
delete_async(resource_group_name, account_name, virtual_network_rule_name, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, account_name, virtual_network_rule_name, custom_headers:nil)
delete_async(resource_group_name, account_name, virtual_network_rule_name, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"account_name",
",",
"virtual_network_rule_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"virtual_network_rule_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes the specified virtual network rule from the specified Data Lake Store
account.
@param resource_group_name [String] The name of the Azure resource group.
@param account_name [String] The name of the Data Lake Store account.
@param virtual_network_rule_name [String] The name of the virtual network
rule to delete.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Deletes",
"the",
"specified",
"virtual",
"network",
"rule",
"from",
"the",
"specified",
"Data",
"Lake",
"Store",
"account",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_datalake_store/lib/2016-11-01/generated/azure_mgmt_datalake_store/virtual_network_rules.rb#L479-L481 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/saved_searches.rb | Azure::OperationalInsights::Mgmt::V2015_03_20.SavedSearches.delete_with_http_info | def delete_with_http_info(resource_group_name, workspace_name, saved_search_name, custom_headers:nil)
delete_async(resource_group_name, workspace_name, saved_search_name, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, workspace_name, saved_search_name, custom_headers:nil)
delete_async(resource_group_name, workspace_name, saved_search_name, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"workspace_name",
",",
"saved_search_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"workspace_name",
",",
"saved_search_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes the specified saved search in a given workspace.
@param resource_group_name [String] The name of the resource group to get.
The name is case insensitive.
@param workspace_name [String] Log Analytics workspace name
@param saved_search_name [String] Name of the saved search.
@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",
"saved",
"search",
"in",
"a",
"given",
"workspace",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/saved_searches.rb#L52-L54 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/saved_searches.rb | Azure::OperationalInsights::Mgmt::V2015_03_20.SavedSearches.get_with_http_info | def get_with_http_info(resource_group_name, workspace_name, saved_search_name, custom_headers:nil)
get_async(resource_group_name, workspace_name, saved_search_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, workspace_name, saved_search_name, custom_headers:nil)
get_async(resource_group_name, workspace_name, saved_search_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"workspace_name",
",",
"saved_search_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"workspace_name",
",",
"saved_search_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the specified saved search for a given workspace.
@param resource_group_name [String] The name of the resource group to get.
The name is case insensitive.
@param workspace_name [String] Log Analytics workspace name
@param saved_search_name [String] The id of the saved search.
@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",
"saved",
"search",
"for",
"a",
"given",
"workspace",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_operational_insights/lib/2015-03-20/generated/azure_mgmt_operational_insights/saved_searches.rb#L257-L259 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_consumption/lib/2018-06-30/generated/azure_mgmt_consumption/marketplaces.rb | Azure::Consumption::Mgmt::V2018_06_30.Marketplaces.list_for_billing_period_by_billing_account_with_http_info | def list_for_billing_period_by_billing_account_with_http_info(billing_account_id, billing_period_name, filter:nil, top:nil, skiptoken:nil, custom_headers:nil)
list_for_billing_period_by_billing_account_async(billing_account_id, billing_period_name, filter:filter, top:top, skiptoken:skiptoken, custom_headers:custom_headers).value!
end | ruby | def list_for_billing_period_by_billing_account_with_http_info(billing_account_id, billing_period_name, filter:nil, top:nil, skiptoken:nil, custom_headers:nil)
list_for_billing_period_by_billing_account_async(billing_account_id, billing_period_name, filter:filter, top:top, skiptoken:skiptoken, custom_headers:custom_headers).value!
end | [
"def",
"list_for_billing_period_by_billing_account_with_http_info",
"(",
"billing_account_id",
",",
"billing_period_name",
",",
"filter",
":",
"nil",
",",
"top",
":",
"nil",
",",
"skiptoken",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"list_for_billing_period_by_billing_account_async",
"(",
"billing_account_id",
",",
"billing_period_name",
",",
"filter",
":",
"filter",
",",
"top",
":",
"top",
",",
"skiptoken",
":",
"skiptoken",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Lists the marketplaces for a scope by billing period and billingAccountId.
Marketplaces are available via this API only for May 1, 2014 or later.
@param billing_account_id [String] BillingAccount ID
@param billing_period_name [String] Billing Period Name.
@param filter [String] May be used to filter marketplaces by
properties/usageEnd (Utc time), properties/usageStart (Utc time),
properties/resourceGroup, properties/instanceName or properties/instanceId.
The filter supports 'eq', 'lt', 'gt', 'le', 'ge', and 'and'. It does not
currently support 'ne', 'or', or 'not'.
@param top [Integer] May be used to limit the number of results to the most
recent N marketplaces.
@param skiptoken [String] Skiptoken is only used if a previous operation
returned a partial result. If a previous response contains a nextLink
element, the value of the nextLink element will include a skiptoken parameter
that specifies a starting point to use for subsequent calls.
@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",
"the",
"marketplaces",
"for",
"a",
"scope",
"by",
"billing",
"period",
"and",
"billingAccountId",
".",
"Marketplaces",
"are",
"available",
"via",
"this",
"API",
"only",
"for",
"May",
"1",
"2014",
"or",
"later",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_consumption/lib/2018-06-30/generated/azure_mgmt_consumption/marketplaces.rb#L453-L455 | train |
Azure/azure-sdk-for-ruby | runtime/ms_rest/lib/ms_rest/service_client.rb | MsRest.ServiceClient.make_request_async | def make_request_async(base_url, method, path, options = {})
options = @middlewares.merge(options)
options[:credentials] = options[:credentials] || @credentials
options[:user_agent_extended] = @user_agent_extended
request = MsRest::HttpOperationRequest.new(base_url, path, method, options)
promise = request.run_promise do |req|
options[:credentials].sign_request(req) unless options[:credentials].nil?
end
promise = promise.then do |http_response|
response_content = http_response.body.to_s.empty? ? nil : http_response.body
# Create response
create_response(request, http_response, response_content)
end
promise.execute
end | ruby | def make_request_async(base_url, method, path, options = {})
options = @middlewares.merge(options)
options[:credentials] = options[:credentials] || @credentials
options[:user_agent_extended] = @user_agent_extended
request = MsRest::HttpOperationRequest.new(base_url, path, method, options)
promise = request.run_promise do |req|
options[:credentials].sign_request(req) unless options[:credentials].nil?
end
promise = promise.then do |http_response|
response_content = http_response.body.to_s.empty? ? nil : http_response.body
# Create response
create_response(request, http_response, response_content)
end
promise.execute
end | [
"def",
"make_request_async",
"(",
"base_url",
",",
"method",
",",
"path",
",",
"options",
"=",
"{",
"}",
")",
"options",
"=",
"@middlewares",
".",
"merge",
"(",
"options",
")",
"options",
"[",
":credentials",
"]",
"=",
"options",
"[",
":credentials",
"]",
"||",
"@credentials",
"options",
"[",
":user_agent_extended",
"]",
"=",
"@user_agent_extended",
"request",
"=",
"MsRest",
"::",
"HttpOperationRequest",
".",
"new",
"(",
"base_url",
",",
"path",
",",
"method",
",",
"options",
")",
"promise",
"=",
"request",
".",
"run_promise",
"do",
"|",
"req",
"|",
"options",
"[",
":credentials",
"]",
".",
"sign_request",
"(",
"req",
")",
"unless",
"options",
"[",
":credentials",
"]",
".",
"nil?",
"end",
"promise",
"=",
"promise",
".",
"then",
"do",
"|",
"http_response",
"|",
"response_content",
"=",
"http_response",
".",
"body",
".",
"to_s",
".",
"empty?",
"?",
"nil",
":",
"http_response",
".",
"body",
"# Create response",
"create_response",
"(",
"request",
",",
"http_response",
",",
"response_content",
")",
"end",
"promise",
".",
"execute",
"end"
] | Creates and initialize new instance of the ServiceClient class.
@param credentials [MsRest::ServiceClientCredentials] credentials to authorize
HTTP requests made by the service client.
@param options additional parameters for the HTTP request (not implemented yet).
@param base_url [String] the base url for the request.
@param method [Symbol] with any of the following values :get, :put, :post, :patch, :delete.
@param path [String] the path, relative to {base_url}.
@param options [Hash{String=>String}] specifying any request options like :credentials, :body, etc.
@return [Concurrent::Promise] Promise object which holds the HTTP response. | [
"Creates",
"and",
"initialize",
"new",
"instance",
"of",
"the",
"ServiceClient",
"class",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/runtime/ms_rest/lib/ms_rest/service_client.rb#L45-L59 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/integration_account_assemblies.rb | Azure::Logic::Mgmt::V2016_06_01.IntegrationAccountAssemblies.get_with_http_info | def get_with_http_info(resource_group_name, integration_account_name, assembly_artifact_name, custom_headers:nil)
get_async(resource_group_name, integration_account_name, assembly_artifact_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, integration_account_name, assembly_artifact_name, custom_headers:nil)
get_async(resource_group_name, integration_account_name, assembly_artifact_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"integration_account_name",
",",
"assembly_artifact_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"integration_account_name",
",",
"assembly_artifact_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Get an assembly for an integration account.
@param resource_group_name [String] The resource group name.
@param integration_account_name [String] The integration account name.
@param assembly_artifact_name [String] The assembly artifact name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Get",
"an",
"assembly",
"for",
"an",
"integration",
"account",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/integration_account_assemblies.rb#L143-L145 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/integration_account_assemblies.rb | Azure::Logic::Mgmt::V2016_06_01.IntegrationAccountAssemblies.delete_with_http_info | def delete_with_http_info(resource_group_name, integration_account_name, assembly_artifact_name, custom_headers:nil)
delete_async(resource_group_name, integration_account_name, assembly_artifact_name, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, integration_account_name, assembly_artifact_name, custom_headers:nil)
delete_async(resource_group_name, integration_account_name, assembly_artifact_name, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"integration_account_name",
",",
"assembly_artifact_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"integration_account_name",
",",
"assembly_artifact_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Delete an assembly for an integration account.
@param resource_group_name [String] The resource group name.
@param integration_account_name [String] The integration account name.
@param assembly_artifact_name [String] The assembly artifact 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. | [
"Delete",
"an",
"assembly",
"for",
"an",
"integration",
"account",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/integration_account_assemblies.rb#L355-L357 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/integration_account_assemblies.rb | Azure::Logic::Mgmt::V2016_06_01.IntegrationAccountAssemblies.list_content_callback_url_with_http_info | def list_content_callback_url_with_http_info(resource_group_name, integration_account_name, assembly_artifact_name, custom_headers:nil)
list_content_callback_url_async(resource_group_name, integration_account_name, assembly_artifact_name, custom_headers:custom_headers).value!
end | ruby | def list_content_callback_url_with_http_info(resource_group_name, integration_account_name, assembly_artifact_name, custom_headers:nil)
list_content_callback_url_async(resource_group_name, integration_account_name, assembly_artifact_name, custom_headers:custom_headers).value!
end | [
"def",
"list_content_callback_url_with_http_info",
"(",
"resource_group_name",
",",
"integration_account_name",
",",
"assembly_artifact_name",
",",
"custom_headers",
":",
"nil",
")",
"list_content_callback_url_async",
"(",
"resource_group_name",
",",
"integration_account_name",
",",
"assembly_artifact_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Get the content callback url for an integration account assembly.
@param resource_group_name [String] The resource group name.
@param integration_account_name [String] The integration account name.
@param assembly_artifact_name [String] The assembly artifact name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Get",
"the",
"content",
"callback",
"url",
"for",
"an",
"integration",
"account",
"assembly",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/integration_account_assemblies.rb#L441-L443 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/permissions.rb | Azure::CognitiveServices::LuisAuthoring::V2_0.Permissions.add | def add(app_id, user_to_add, custom_headers:nil)
response = add_async(app_id, user_to_add, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def add(app_id, user_to_add, custom_headers:nil)
response = add_async(app_id, user_to_add, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"add",
"(",
"app_id",
",",
"user_to_add",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"add_async",
"(",
"app_id",
",",
"user_to_add",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Adds a user to the allowed list of users to access this LUIS application.
Users are added using their email address.
@param app_id The application ID.
@param user_to_add [UserCollaborator] A model containing the user's email
address.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [OperationStatus] operation results. | [
"Adds",
"a",
"user",
"to",
"the",
"allowed",
"list",
"of",
"users",
"to",
"access",
"this",
"LUIS",
"application",
".",
"Users",
"are",
"added",
"using",
"their",
"email",
"address",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/permissions.rb#L126-L129 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/permissions.rb | Azure::CognitiveServices::LuisAuthoring::V2_0.Permissions.delete | def delete(app_id, user_to_delete, custom_headers:nil)
response = delete_async(app_id, user_to_delete, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def delete(app_id, user_to_delete, custom_headers:nil)
response = delete_async(app_id, user_to_delete, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"delete",
"(",
"app_id",
",",
"user_to_delete",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_async",
"(",
"app_id",
",",
"user_to_delete",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Removes a user from the allowed list of users to access this LUIS
application. Users are removed using their email address.
@param app_id The application ID.
@param user_to_delete [UserCollaborator] A model containing the user's email
address.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [OperationStatus] operation results. | [
"Removes",
"a",
"user",
"from",
"the",
"allowed",
"list",
"of",
"users",
"to",
"access",
"this",
"LUIS",
"application",
".",
"Users",
"are",
"removed",
"using",
"their",
"email",
"address",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_luisauthoring/lib/2.0/generated/azure_cognitiveservices_luisauthoring/permissions.rb#L230-L233 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_authorization/lib/2015-07-01/generated/azure_mgmt_authorization/role_assignments.rb | Azure::Authorization::Mgmt::V2015_07_01.RoleAssignments.create_by_id | def create_by_id(role_assignment_id, parameters, custom_headers:nil)
response = create_by_id_async(role_assignment_id, parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def create_by_id(role_assignment_id, parameters, custom_headers:nil)
response = create_by_id_async(role_assignment_id, parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"create_by_id",
"(",
"role_assignment_id",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"create_by_id_async",
"(",
"role_assignment_id",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Creates a role assignment by ID.
@param role_assignment_id [String] The fully qualified ID of the role
assignment, including the scope, resource name and resource type. Use the
format,
/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}.
Example:
/subscriptions/{subId}/resourcegroups/{rgname}//providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}.
@param parameters [RoleAssignmentCreateParameters] Parameters for the role
assignment.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [RoleAssignment] operation results. | [
"Creates",
"a",
"role",
"assignment",
"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_assignments.rb#L683-L686 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_monitor/lib/2018-09-01/generated/azure_mgmt_monitor/action_groups.rb | Azure::Monitor::Mgmt::V2018_09_01.ActionGroups.delete | def delete(resource_group_name, action_group_name, custom_headers:nil)
response = delete_async(resource_group_name, action_group_name, custom_headers:custom_headers).value!
nil
end | ruby | def delete(resource_group_name, action_group_name, custom_headers:nil)
response = delete_async(resource_group_name, action_group_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"delete",
"(",
"resource_group_name",
",",
"action_group_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_async",
"(",
"resource_group_name",
",",
"action_group_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Delete an action group.
@param resource_group_name [String] The name of the resource group.
@param action_group_name [String] The name of the action group.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Delete",
"an",
"action",
"group",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_monitor/lib/2018-09-01/generated/azure_mgmt_monitor/action_groups.rb#L241-L244 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_credentials.rb | Azure::SQL::Mgmt::V2017_03_01_preview.JobCredentials.delete_with_http_info | def delete_with_http_info(resource_group_name, server_name, job_agent_name, credential_name, custom_headers:nil)
delete_async(resource_group_name, server_name, job_agent_name, credential_name, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, server_name, job_agent_name, credential_name, custom_headers:nil)
delete_async(resource_group_name, server_name, job_agent_name, credential_name, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"server_name",
",",
"job_agent_name",
",",
"credential_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"job_agent_name",
",",
"credential_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes a job credential.
@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.
@param credential_name [String] The name of the credential.
@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",
"credential",
"."
] | 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_credentials.rb#L394-L396 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2017-03-01-preview/generated/azure_mgmt_sql/job_step_executions.rb | Azure::SQL::Mgmt::V2017_03_01_preview.JobStepExecutions.get_with_http_info | def get_with_http_info(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, step_name, custom_headers:nil)
get_async(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, step_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, step_name, custom_headers:nil)
get_async(resource_group_name, server_name, job_agent_name, job_name, job_execution_id, step_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"server_name",
",",
"job_agent_name",
",",
"job_name",
",",
"job_execution_id",
",",
"step_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"job_agent_name",
",",
"job_name",
",",
"job_execution_id",
",",
"step_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets a step execution of a job execution.
@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.
@param job_name [String] The name of the job to get.
@param job_execution_id The unique id of the job execution
@param step_name [String] The name of the step.
@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",
"step",
"execution",
"of",
"a",
"job",
"execution",
"."
] | 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_step_executions.rb#L210-L212 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_postgresql/lib/2017-12-01/generated/azure_mgmt_postgresql/virtual_network_rules.rb | Azure::Postgresql::Mgmt::V2017_12_01.VirtualNetworkRules.get_with_http_info | def get_with_http_info(resource_group_name, server_name, virtual_network_rule_name, custom_headers:nil)
get_async(resource_group_name, server_name, virtual_network_rule_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, server_name, virtual_network_rule_name, custom_headers:nil)
get_async(resource_group_name, server_name, virtual_network_rule_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"server_name",
",",
"virtual_network_rule_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"virtual_network_rule_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets a virtual network rule.
@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 virtual_network_rule_name [String] The name of the virtual network
rule.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"a",
"virtual",
"network",
"rule",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_postgresql/lib/2017-12-01/generated/azure_mgmt_postgresql/virtual_network_rules.rb#L60-L62 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_postgresql/lib/2017-12-01/generated/azure_mgmt_postgresql/virtual_network_rules.rb | Azure::Postgresql::Mgmt::V2017_12_01.VirtualNetworkRules.begin_delete_with_http_info | def begin_delete_with_http_info(resource_group_name, server_name, virtual_network_rule_name, custom_headers:nil)
begin_delete_async(resource_group_name, server_name, virtual_network_rule_name, custom_headers:custom_headers).value!
end | ruby | def begin_delete_with_http_info(resource_group_name, server_name, virtual_network_rule_name, custom_headers:nil)
begin_delete_async(resource_group_name, server_name, virtual_network_rule_name, custom_headers:custom_headers).value!
end | [
"def",
"begin_delete_with_http_info",
"(",
"resource_group_name",
",",
"server_name",
",",
"virtual_network_rule_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_delete_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"virtual_network_rule_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes the virtual network rule with the given name.
@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 virtual_network_rule_name [String] The name of the virtual network
rule.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Deletes",
"the",
"virtual",
"network",
"rule",
"with",
"the",
"given",
"name",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_postgresql/lib/2017-12-01/generated/azure_mgmt_postgresql/virtual_network_rules.rb#L491-L493 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/connection_type_operations.rb | Azure::Automation::Mgmt::V2015_10_31.ConnectionTypeOperations.get_with_http_info | def get_with_http_info(resource_group_name, automation_account_name, connection_type_name, custom_headers:nil)
get_async(resource_group_name, automation_account_name, connection_type_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, automation_account_name, connection_type_name, custom_headers:nil)
get_async(resource_group_name, automation_account_name, connection_type_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"connection_type_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"connection_type_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Retrieve the connectiontype identified by connectiontype 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_type_name [String] The name of connectiontype.
@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",
"connectiontype",
"identified",
"by",
"connectiontype",
"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_type_operations.rb#L139-L141 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/connection_type_operations.rb | Azure::Automation::Mgmt::V2015_10_31.ConnectionTypeOperations.create_or_update_with_http_info | def create_or_update_with_http_info(resource_group_name, automation_account_name, connection_type_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, automation_account_name, connection_type_name, parameters, custom_headers:custom_headers).value!
end | ruby | def create_or_update_with_http_info(resource_group_name, automation_account_name, connection_type_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, automation_account_name, connection_type_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"connection_type_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"create_or_update_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"connection_type_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Create a connectiontype.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param connection_type_name [String] The parameters supplied to the create or
update connectiontype operation.
@param parameters [ConnectionTypeCreateOrUpdateParameters] The parameters
supplied to the create or update connectiontype 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",
"connectiontype",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/connection_type_operations.rb#L244-L246 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_datalake_analytics/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/compute_policies.rb | Azure::DataLakeAnalytics::Mgmt::V2016_11_01.ComputePolicies.create_or_update_with_http_info | def create_or_update_with_http_info(resource_group_name, account_name, compute_policy_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, account_name, compute_policy_name, parameters, custom_headers:custom_headers).value!
end | ruby | def create_or_update_with_http_info(resource_group_name, account_name, compute_policy_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, account_name, compute_policy_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"account_name",
",",
"compute_policy_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"create_or_update_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"compute_policy_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates or updates the specified compute policy. During update, the compute
policy with the specified name will be replaced with this new compute policy.
An account supports, at most, 50 policies
@param resource_group_name [String] The name of the Azure resource group.
@param account_name [String] The name of the Data Lake Analytics account.
@param compute_policy_name [String] The name of the compute policy to create
or update.
@param parameters [CreateOrUpdateComputePolicyParameters] Parameters supplied
to create or update the compute policy. The max degree of parallelism per job
property, min priority per job property, or both must be present.
@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",
"the",
"specified",
"compute",
"policy",
".",
"During",
"update",
"the",
"compute",
"policy",
"with",
"the",
"specified",
"name",
"will",
"be",
"replaced",
"with",
"this",
"new",
"compute",
"policy",
".",
"An",
"account",
"supports",
"at",
"most",
"50",
"policies"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_datalake_analytics/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/compute_policies.rb#L158-L160 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_datalake_analytics/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/compute_policies.rb | Azure::DataLakeAnalytics::Mgmt::V2016_11_01.ComputePolicies.get_with_http_info | def get_with_http_info(resource_group_name, account_name, compute_policy_name, custom_headers:nil)
get_async(resource_group_name, account_name, compute_policy_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, account_name, compute_policy_name, custom_headers:nil)
get_async(resource_group_name, account_name, compute_policy_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"account_name",
",",
"compute_policy_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"compute_policy_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the specified Data Lake Analytics compute policy.
@param resource_group_name [String] The name of the Azure resource group.
@param account_name [String] The name of the Data Lake Analytics account.
@param compute_policy_name [String] The name of the compute policy to
retrieve.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"the",
"specified",
"Data",
"Lake",
"Analytics",
"compute",
"policy",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_datalake_analytics/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/compute_policies.rb#L270-L272 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_datalake_analytics/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/compute_policies.rb | Azure::DataLakeAnalytics::Mgmt::V2016_11_01.ComputePolicies.delete_with_http_info | def delete_with_http_info(resource_group_name, account_name, compute_policy_name, custom_headers:nil)
delete_async(resource_group_name, account_name, compute_policy_name, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, account_name, compute_policy_name, custom_headers:nil)
delete_async(resource_group_name, account_name, compute_policy_name, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"account_name",
",",
"compute_policy_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"compute_policy_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes the specified compute policy from the specified Data Lake Analytics
account
@param resource_group_name [String] The name of the Azure resource group.
@param account_name [String] The name of the Data Lake Analytics account.
@param compute_policy_name [String] The name of the compute policy to delete.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Deletes",
"the",
"specified",
"compute",
"policy",
"from",
"the",
"specified",
"Data",
"Lake",
"Analytics",
"account"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_datalake_analytics/lib/2016-11-01/generated/azure_mgmt_datalake_analytics/compute_policies.rb#L477-L479 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/integration_account_batch_configurations.rb | Azure::Logic::Mgmt::V2016_06_01.IntegrationAccountBatchConfigurations.get_with_http_info | def get_with_http_info(resource_group_name, integration_account_name, batch_configuration_name, custom_headers:nil)
get_async(resource_group_name, integration_account_name, batch_configuration_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, integration_account_name, batch_configuration_name, custom_headers:nil)
get_async(resource_group_name, integration_account_name, batch_configuration_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"integration_account_name",
",",
"batch_configuration_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"integration_account_name",
",",
"batch_configuration_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Get a batch configuration for an integration account.
@param resource_group_name [String] The resource group name.
@param integration_account_name [String] The integration account name.
@param batch_configuration_name [String] The batch 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. | [
"Get",
"a",
"batch",
"configuration",
"for",
"an",
"integration",
"account",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/integration_account_batch_configurations.rb#L143-L145 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.