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_web/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb | Azure::Web::Mgmt::V2016_03_01.WebSiteManagementClient.validate | def validate(resource_group_name, validate_request, custom_headers:nil)
response = validate_async(resource_group_name, validate_request, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def validate(resource_group_name, validate_request, custom_headers:nil)
response = validate_async(resource_group_name, validate_request, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"validate",
"(",
"resource_group_name",
",",
"validate_request",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"validate_async",
"(",
"resource_group_name",
",",
"validate_request",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Validate if a resource can be created.
Validate if a resource can be created.
@param resource_group_name [String] Name of the resource group to which the
resource belongs.
@param validate_request [ValidateRequest] Request with the resources to
validate.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [ValidateResponse] operation results. | [
"Validate",
"if",
"a",
"resource",
"can",
"be",
"created",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb#L1441-L1444 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb | Azure::Web::Mgmt::V2016_03_01.WebSiteManagementClient.validate_move | def validate_move(resource_group_name, move_resource_envelope, custom_headers:nil)
response = validate_move_async(resource_group_name, move_resource_envelope, custom_headers:custom_headers).value!
nil
end | ruby | def validate_move(resource_group_name, move_resource_envelope, custom_headers:nil)
response = validate_move_async(resource_group_name, move_resource_envelope, custom_headers:custom_headers).value!
nil
end | [
"def",
"validate_move",
"(",
"resource_group_name",
",",
"move_resource_envelope",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"validate_move_async",
"(",
"resource_group_name",
",",
"move_resource_envelope",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Validate whether a resource can be moved.
Validate whether a resource can be moved.
@param resource_group_name [String] Name of the resource group to which the
resource belongs.
@param move_resource_envelope [CsmMoveResourceEnvelope] Object that
represents the resource to move.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Validate",
"whether",
"a",
"resource",
"can",
"be",
"moved",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb#L1554-L1557 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb | Azure::Web::Mgmt::V2016_03_01.WebSiteManagementClient.list_source_controls_next | def list_source_controls_next(next_page_link, custom_headers:nil)
response = list_source_controls_next_async(next_page_link, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_source_controls_next(next_page_link, custom_headers:nil)
response = list_source_controls_next_async(next_page_link, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_source_controls_next",
"(",
"next_page_link",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_source_controls_next_async",
"(",
"next_page_link",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets the source controls available for Azure websites.
Gets the source controls available for Azure websites.
@param next_page_link [String] The NextLink from the previous successful call
to List operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [SourceControlCollection] operation results. | [
"Gets",
"the",
"source",
"controls",
"available",
"for",
"Azure",
"websites",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb#L1656-L1659 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb | Azure::Web::Mgmt::V2016_03_01.WebSiteManagementClient.list_site_identifiers_assigned_to_host_name_next | def list_site_identifiers_assigned_to_host_name_next(next_page_link, custom_headers:nil)
response = list_site_identifiers_assigned_to_host_name_next_async(next_page_link, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_site_identifiers_assigned_to_host_name_next(next_page_link, custom_headers:nil)
response = list_site_identifiers_assigned_to_host_name_next_async(next_page_link, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_site_identifiers_assigned_to_host_name_next",
"(",
"next_page_link",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_site_identifiers_assigned_to_host_name_next_async",
"(",
"next_page_link",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | List all apps that are assigned to a hostname.
List all apps that are assigned to a hostname.
@param next_page_link [String] The NextLink from the previous successful call
to List operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [IdentifierCollection] operation results. | [
"List",
"all",
"apps",
"that",
"are",
"assigned",
"to",
"a",
"hostname",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb#L1844-L1847 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb | Azure::Web::Mgmt::V2016_03_01.WebSiteManagementClient.list_premier_add_on_offers_next | def list_premier_add_on_offers_next(next_page_link, custom_headers:nil)
response = list_premier_add_on_offers_next_async(next_page_link, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_premier_add_on_offers_next(next_page_link, custom_headers:nil)
response = list_premier_add_on_offers_next_async(next_page_link, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_premier_add_on_offers_next",
"(",
"next_page_link",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_premier_add_on_offers_next_async",
"(",
"next_page_link",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | List all premier add-on offers.
List all premier add-on offers.
@param next_page_link [String] The NextLink from the previous successful call
to List operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [PremierAddOnOfferCollection] operation results. | [
"List",
"all",
"premier",
"add",
"-",
"on",
"offers",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_web/lib/2016-03-01/generated/azure_mgmt_web/web_site_management_client.rb#L1938-L1941 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_stor_simple8000_series/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/cloud_appliances.rb | Azure::StorSimple8000Series::Mgmt::V2017_06_01.CloudAppliances.list_supported_configurations | def list_supported_configurations(resource_group_name, manager_name, custom_headers:nil)
response = list_supported_configurations_async(resource_group_name, manager_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_supported_configurations(resource_group_name, manager_name, custom_headers:nil)
response = list_supported_configurations_async(resource_group_name, manager_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_supported_configurations",
"(",
"resource_group_name",
",",
"manager_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_supported_configurations_async",
"(",
"resource_group_name",
",",
"manager_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Lists supported cloud appliance models and supported configurations.
@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 [CloudApplianceConfigurationList] operation results. | [
"Lists",
"supported",
"cloud",
"appliance",
"models",
"and",
"supported",
"configurations",
"."
] | 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/cloud_appliances.rb#L34-L37 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_monitor/lib/2016-03-01/generated/azure_mgmt_monitor/alert_rule_incidents.rb | Azure::Monitor::Mgmt::V2016_03_01.AlertRuleIncidents.get_with_http_info | def get_with_http_info(resource_group_name, rule_name, incident_name, custom_headers:nil)
get_async(resource_group_name, rule_name, incident_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, rule_name, incident_name, custom_headers:nil)
get_async(resource_group_name, rule_name, incident_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"rule_name",
",",
"incident_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"rule_name",
",",
"incident_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets an incident associated to an alert rule
@param resource_group_name [String] The name of the resource group.
@param rule_name [String] The name of the rule.
@param incident_name [String] The name of the incident 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",
"an",
"incident",
"associated",
"to",
"an",
"alert",
"rule"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_monitor/lib/2016-03-01/generated/azure_mgmt_monitor/alert_rule_incidents.rb#L51-L53 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_monitor/lib/2016-03-01/generated/azure_mgmt_monitor/alert_rule_incidents.rb | Azure::Monitor::Mgmt::V2016_03_01.AlertRuleIncidents.list_by_alert_rule | def list_by_alert_rule(resource_group_name, rule_name, custom_headers:nil)
response = list_by_alert_rule_async(resource_group_name, rule_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_by_alert_rule(resource_group_name, rule_name, custom_headers:nil)
response = list_by_alert_rule_async(resource_group_name, rule_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_by_alert_rule",
"(",
"resource_group_name",
",",
"rule_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_by_alert_rule_async",
"(",
"resource_group_name",
",",
"rule_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets a list of incidents associated to an alert rule
@param resource_group_name [String] The name of the resource group.
@param rule_name [String] The name of the rule.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [IncidentListResult] operation results. | [
"Gets",
"a",
"list",
"of",
"incidents",
"associated",
"to",
"an",
"alert",
"rule"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_monitor/lib/2016-03-01/generated/azure_mgmt_monitor/alert_rule_incidents.rb#L130-L133 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_container_registry/lib/2018-09-01/generated/azure_mgmt_container_registry/runs.rb | Azure::ContainerRegistry::Mgmt::V2018_09_01.Runs.get_with_http_info | def get_with_http_info(resource_group_name, registry_name, run_id, custom_headers:nil)
get_async(resource_group_name, registry_name, run_id, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, registry_name, run_id, custom_headers:nil)
get_async(resource_group_name, registry_name, run_id, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"registry_name",
",",
"run_id",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"registry_name",
",",
"run_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the detailed information for a given run.
@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 run_id [String] The run ID.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"the",
"detailed",
"information",
"for",
"a",
"given",
"run",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_container_registry/lib/2018-09-01/generated/azure_mgmt_container_registry/runs.rb#L167-L169 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_api_management/lib/2019-01-01/generated/azure_mgmt_api_management/api_issue.rb | Azure::ApiManagement::Mgmt::V2019_01_01.ApiIssue.list_by_service_as_lazy | def list_by_service_as_lazy(resource_group_name, service_name, api_id, filter:nil, expand_comments_attachments:nil, top:nil, skip:nil, custom_headers:nil)
response = list_by_service_async(resource_group_name, service_name, api_id, filter:filter, expand_comments_attachments:expand_comments_attachments, top:top, skip:skip, custom_headers:custom_headers).value!
unless response.nil?
page = response.body
page.next_method = Proc.new do |next_page_link|
list_by_service_next_async(next_page_link, custom_headers:custom_headers)
end
page
end
end | ruby | def list_by_service_as_lazy(resource_group_name, service_name, api_id, filter:nil, expand_comments_attachments:nil, top:nil, skip:nil, custom_headers:nil)
response = list_by_service_async(resource_group_name, service_name, api_id, filter:filter, expand_comments_attachments:expand_comments_attachments, top:top, skip:skip, custom_headers:custom_headers).value!
unless response.nil?
page = response.body
page.next_method = Proc.new do |next_page_link|
list_by_service_next_async(next_page_link, custom_headers:custom_headers)
end
page
end
end | [
"def",
"list_by_service_as_lazy",
"(",
"resource_group_name",
",",
"service_name",
",",
"api_id",
",",
"filter",
":",
"nil",
",",
"expand_comments_attachments",
":",
"nil",
",",
"top",
":",
"nil",
",",
"skip",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_by_service_async",
"(",
"resource_group_name",
",",
"service_name",
",",
"api_id",
",",
"filter",
":",
"filter",
",",
"expand_comments_attachments",
":expand_comments_attachments",
",",
"top",
":",
"top",
",",
"skip",
":",
"skip",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"unless",
"response",
".",
"nil?",
"page",
"=",
"response",
".",
"body",
"page",
".",
"next_method",
"=",
"Proc",
".",
"new",
"do",
"|",
"next_page_link",
"|",
"list_by_service_next_async",
"(",
"next_page_link",
",",
"custom_headers",
":custom_headers",
")",
"end",
"page",
"end",
"end"
] | Lists all issues associated with the specified API.
@param resource_group_name [String] The name of the resource group.
@param service_name [String] The name of the API Management service.
@param api_id [String] API identifier. Must be unique in the current API
Management service instance.
@param filter [String] | Field | Usage | Supported
operators | Supported functions
|</br>|-------------|-------------|-------------|-------------|</br>| name |
filter | ge, le, eq, ne, gt, lt | substringof, contains, startswith, endswith
| </br>| userId | filter | ge, le, eq, ne, gt, lt | substringof, contains,
startswith, endswith | </br>| state | filter | eq | | </br>
@param expand_comments_attachments [Boolean] Expand the comment attachments.
@param top [Integer] Number of records to return.
@param skip [Integer] Number of records to skip.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [IssueCollection] which provide lazy access to pages of the response. | [
"Lists",
"all",
"issues",
"associated",
"with",
"the",
"specified",
"API",
"."
] | 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/api_issue.rb#L876-L885 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/subscription.rb | Azure::ApiManagement::Mgmt::V2018_01_01.Subscription.list_with_http_info | def list_with_http_info(resource_group_name, service_name, filter:nil, top:nil, skip:nil, custom_headers:nil)
list_async(resource_group_name, service_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
end | ruby | def list_with_http_info(resource_group_name, service_name, filter:nil, top:nil, skip:nil, custom_headers:nil)
list_async(resource_group_name, service_name, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
end | [
"def",
"list_with_http_info",
"(",
"resource_group_name",
",",
"service_name",
",",
"filter",
":",
"nil",
",",
"top",
":",
"nil",
",",
"skip",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"list_async",
"(",
"resource_group_name",
",",
"service_name",
",",
"filter",
":",
"filter",
",",
"top",
":",
"top",
",",
"skip",
":",
"skip",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Lists all subscriptions of the API Management service instance.
@param resource_group_name [String] The name of the resource group.
@param service_name [String] The name of the API Management service.
@param filter [String] | Field | Supported operators | Supported
functions |
|--------------|------------------------|---------------------------------------------|
| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
endswith |
| name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
endswith |
| stateComment | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
endswith |
| userId | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
endswith |
| productId | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
endswith |
| state | eq |
|
@param top [Integer] Number of records to return.
@param skip [Integer] Number of records to skip.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Lists",
"all",
"subscriptions",
"of",
"the",
"API",
"Management",
"service",
"instance",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/subscription.rb#L83-L85 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/subscription.rb | Azure::ApiManagement::Mgmt::V2018_01_01.Subscription.get_with_http_info | def get_with_http_info(resource_group_name, service_name, sid, custom_headers:nil)
get_async(resource_group_name, service_name, sid, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, service_name, sid, custom_headers:nil)
get_async(resource_group_name, service_name, sid, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"service_name",
",",
"sid",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"service_name",
",",
"sid",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the specified Subscription entity.
@param resource_group_name [String] The name of the resource group.
@param service_name [String] The name of the API Management service.
@param sid [String] Subscription entity Identifier. The entity represents the
association between a user and a product in API Management.
@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",
"Subscription",
"entity",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/subscription.rb#L297-L299 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/subscription.rb | Azure::ApiManagement::Mgmt::V2018_01_01.Subscription.create_or_update | def create_or_update(resource_group_name, service_name, sid, parameters, notify:nil, if_match:nil, custom_headers:nil)
response = create_or_update_async(resource_group_name, service_name, sid, parameters, notify:notify, if_match:if_match, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def create_or_update(resource_group_name, service_name, sid, parameters, notify:nil, if_match:nil, custom_headers:nil)
response = create_or_update_async(resource_group_name, service_name, sid, parameters, notify:notify, if_match:if_match, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"create_or_update",
"(",
"resource_group_name",
",",
"service_name",
",",
"sid",
",",
"parameters",
",",
"notify",
":",
"nil",
",",
"if_match",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"create_or_update_async",
"(",
"resource_group_name",
",",
"service_name",
",",
"sid",
",",
"parameters",
",",
"notify",
":",
"notify",
",",
"if_match",
":if_match",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Creates or updates the subscription of specified user to the specified
product.
@param resource_group_name [String] The name of the resource group.
@param service_name [String] The name of the API Management service.
@param sid [String] Subscription entity Identifier. The entity represents the
association between a user and a product in API Management.
@param parameters [SubscriptionCreateParameters] Create parameters.
@param notify [Boolean] Notify change in Subscription State.
- If false, do not send any email notification for change of state of
subscription
- If true, send email notification of change of state of subscription
@param if_match [String] ETag of the Entity. Not required when creating an
entity, but required when updating an entity.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [SubscriptionContract] operation results. | [
"Creates",
"or",
"updates",
"the",
"subscription",
"of",
"specified",
"user",
"to",
"the",
"specified",
"product",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/subscription.rb#L392-L395 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_data_migration/lib/2018-04-19/generated/azure_mgmt_data_migration/projects.rb | Azure::DataMigration::Mgmt::V2018_04_19.Projects.list_by_resource_group | def list_by_resource_group(group_name, service_name, custom_headers:nil)
first_page = list_by_resource_group_as_lazy(group_name, service_name, custom_headers:custom_headers)
first_page.get_all_items
end | ruby | def list_by_resource_group(group_name, service_name, custom_headers:nil)
first_page = list_by_resource_group_as_lazy(group_name, service_name, custom_headers:custom_headers)
first_page.get_all_items
end | [
"def",
"list_by_resource_group",
"(",
"group_name",
",",
"service_name",
",",
"custom_headers",
":",
"nil",
")",
"first_page",
"=",
"list_by_resource_group_as_lazy",
"(",
"group_name",
",",
"service_name",
",",
"custom_headers",
":custom_headers",
")",
"first_page",
".",
"get_all_items",
"end"
] | Get projects in a service
The project resource is a nested resource representing a stored migration
project. This method returns a list of projects owned by a service resource.
@param group_name [String] Name of the resource group
@param service_name [String] Name of the service
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array<Project>] operation results. | [
"Get",
"projects",
"in",
"a",
"service"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_data_migration/lib/2018-04-19/generated/azure_mgmt_data_migration/projects.rb#L37-L40 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_data_migration/lib/2018-04-19/generated/azure_mgmt_data_migration/projects.rb | Azure::DataMigration::Mgmt::V2018_04_19.Projects.get_with_http_info | def get_with_http_info(group_name, service_name, project_name, custom_headers:nil)
get_async(group_name, service_name, project_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(group_name, service_name, project_name, custom_headers:nil)
get_async(group_name, service_name, project_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"group_name",
",",
"service_name",
",",
"project_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"group_name",
",",
"service_name",
",",
"project_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Get project information
The project resource is a nested resource representing a stored migration
project. The GET method retrieves information about a project.
@param group_name [String] Name of the resource group
@param service_name [String] Name of the service
@param project_name [String] Name of the project
@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",
"project",
"information"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_data_migration/lib/2018-04-19/generated/azure_mgmt_data_migration/projects.rb#L284-L286 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/data_sources.rb | Azure::OperationalInsights::Mgmt::V2015_11_01_preview.DataSources.delete_with_http_info | def delete_with_http_info(resource_group_name, workspace_name, data_source_name, custom_headers:nil)
delete_async(resource_group_name, workspace_name, data_source_name, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, workspace_name, data_source_name, custom_headers:nil)
delete_async(resource_group_name, workspace_name, data_source_name, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"workspace_name",
",",
"data_source_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"workspace_name",
",",
"data_source_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes a data source instance.
@param resource_group_name [String] The name of the resource group to get.
The name is case insensitive.
@param workspace_name [String] Name of the Log Analytics Workspace that
contains the datasource.
@param data_source_name [String] Name of the datasource.
@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",
"data",
"source",
"instance",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/data_sources.rb#L183-L185 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/data_sources.rb | Azure::OperationalInsights::Mgmt::V2015_11_01_preview.DataSources.get_with_http_info | def get_with_http_info(resource_group_name, workspace_name, data_source_name, custom_headers:nil)
get_async(resource_group_name, workspace_name, data_source_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, workspace_name, data_source_name, custom_headers:nil)
get_async(resource_group_name, workspace_name, data_source_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"workspace_name",
",",
"data_source_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"workspace_name",
",",
"data_source_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets a datasource instance.
@param resource_group_name [String] The name of the resource group to get.
The name is case insensitive.
@param workspace_name [String] Name of the Log Analytics Workspace that
contains the datasource.
@param data_source_name [String] Name of the datasource
@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",
"datasource",
"instance",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/data_sources.rb#L278-L280 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_labservices/lib/2018-10-15/generated/azure_mgmt_labservices/labs.rb | Azure::Labservices::Mgmt::V2018_10_15.Labs.begin_delete | def begin_delete(resource_group_name, lab_account_name, lab_name, custom_headers:nil)
response = begin_delete_async(resource_group_name, lab_account_name, lab_name, custom_headers:custom_headers).value!
nil
end | ruby | def begin_delete(resource_group_name, lab_account_name, lab_name, custom_headers:nil)
response = begin_delete_async(resource_group_name, lab_account_name, lab_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"begin_delete",
"(",
"resource_group_name",
",",
"lab_account_name",
",",
"lab_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"begin_delete_async",
"(",
"resource_group_name",
",",
"lab_account_name",
",",
"lab_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Delete lab. This operation can take a while to complete
@param resource_group_name [String] The name of the resource group.
@param lab_account_name [String] The name of the lab Account.
@param lab_name [String] The name of the lab.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Delete",
"lab",
".",
"This",
"operation",
"can",
"take",
"a",
"while",
"to",
"complete"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_labservices/lib/2018-10-15/generated/azure_mgmt_labservices/labs.rb#L697-L700 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_authorization/lib/2015-07-01/generated/azure_mgmt_authorization/provider_operations_metadata_operations.rb | Azure::Authorization::Mgmt::V2015_07_01.ProviderOperationsMetadataOperations.list_with_http_info | def list_with_http_info(api_version, expand:'resourceTypes', custom_headers:nil)
list_async(api_version, expand:expand, custom_headers:custom_headers).value!
end | ruby | def list_with_http_info(api_version, expand:'resourceTypes', custom_headers:nil)
list_async(api_version, expand:expand, custom_headers:custom_headers).value!
end | [
"def",
"list_with_http_info",
"(",
"api_version",
",",
"expand",
":",
"'resourceTypes'",
",",
"custom_headers",
":",
"nil",
")",
"list_async",
"(",
"api_version",
",",
"expand",
":",
"expand",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets provider operations metadata for all resource providers.
@param api_version [String] The API version to use for this operation.
@param expand [String] Specifies whether to expand the values.
@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",
"provider",
"operations",
"metadata",
"for",
"all",
"resource",
"providers",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_authorization/lib/2015-07-01/generated/azure_mgmt_authorization/provider_operations_metadata_operations.rb#L149-L151 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_recovery_services_backup/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/protected_items.rb | Azure::RecoveryServicesBackup::Mgmt::V2016_12_01.ProtectedItems.get_with_http_info | def get_with_http_info(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, filter:nil, custom_headers:nil)
get_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, filter:filter, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, filter:nil, custom_headers:nil)
get_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, filter:filter, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"vault_name",
",",
"resource_group_name",
",",
"fabric_name",
",",
"container_name",
",",
"protected_item_name",
",",
"filter",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"vault_name",
",",
"resource_group_name",
",",
"fabric_name",
",",
"container_name",
",",
"protected_item_name",
",",
"filter",
":",
"filter",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Provides the details of the backed up item. This is an asynchronous
operation. To know 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 where the
recovery services vault is present.
@param fabric_name [String] Fabric name associated with the backed up item.
@param container_name [String] Container name associated with the backed up
item.
@param protected_item_name [String] Backed up item name whose details are to
be fetched.
@param filter [String] OData filter options.
@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. | [
"Provides",
"the",
"details",
"of",
"the",
"backed",
"up",
"item",
".",
"This",
"is",
"an",
"asynchronous",
"operation",
".",
"To",
"know",
"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-12-01/generated/azure_mgmt_recovery_services_backup/protected_items.rb#L71-L73 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_recovery_services_backup/lib/2016-12-01/generated/azure_mgmt_recovery_services_backup/protected_items.rb | Azure::RecoveryServicesBackup::Mgmt::V2016_12_01.ProtectedItems.create_or_update | def create_or_update(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, parameters, custom_headers:nil)
response = create_or_update_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, parameters, custom_headers:custom_headers).value!
nil
end | ruby | def create_or_update(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, parameters, custom_headers:nil)
response = create_or_update_async(vault_name, resource_group_name, fabric_name, container_name, protected_item_name, parameters, custom_headers:custom_headers).value!
nil
end | [
"def",
"create_or_update",
"(",
"vault_name",
",",
"resource_group_name",
",",
"fabric_name",
",",
"container_name",
",",
"protected_item_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"create_or_update_async",
"(",
"vault_name",
",",
"resource_group_name",
",",
"fabric_name",
",",
"container_name",
",",
"protected_item_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Enables backup of an item or to modifies the backup policy information of an
already backed up item. This is an
asynchronous operation. To know 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 where the
recovery services vault is present.
@param fabric_name [String] Fabric name associated with the backup item.
@param container_name [String] Container name associated with the backup
item.
@param protected_item_name [String] Item name to be backed up.
@param parameters [ProtectedItemResource] resource backed up item
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Enables",
"backup",
"of",
"an",
"item",
"or",
"to",
"modifies",
"the",
"backup",
"policy",
"information",
"of",
"an",
"already",
"backed",
"up",
"item",
".",
"This",
"is",
"an",
"asynchronous",
"operation",
".",
"To",
"know",
"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-12-01/generated/azure_mgmt_recovery_services_backup/protected_items.rb#L168-L171 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_stor_simple8000_series/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/bandwidth_settings.rb | Azure::StorSimple8000Series::Mgmt::V2017_06_01.BandwidthSettings.get_with_http_info | def get_with_http_info(bandwidth_setting_name, resource_group_name, manager_name, custom_headers:nil)
get_async(bandwidth_setting_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(bandwidth_setting_name, resource_group_name, manager_name, custom_headers:nil)
get_async(bandwidth_setting_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"bandwidth_setting_name",
",",
"resource_group_name",
",",
"manager_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"bandwidth_setting_name",
",",
"resource_group_name",
",",
"manager_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Returns the properties of the specified bandwidth setting name.
@param bandwidth_setting_name [String] The name of bandwidth setting 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. | [
"Returns",
"the",
"properties",
"of",
"the",
"specified",
"bandwidth",
"setting",
"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/bandwidth_settings.rb#L147-L149 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_container_registry/lib/2018-09-01/generated/azure_mgmt_container_registry/registries.rb | Azure::ContainerRegistry::Mgmt::V2018_09_01.Registries.get_build_source_upload_url | def get_build_source_upload_url(resource_group_name, registry_name, custom_headers:nil)
response = get_build_source_upload_url_async(resource_group_name, registry_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_build_source_upload_url(resource_group_name, registry_name, custom_headers:nil)
response = get_build_source_upload_url_async(resource_group_name, registry_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_build_source_upload_url",
"(",
"resource_group_name",
",",
"registry_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_build_source_upload_url_async",
"(",
"resource_group_name",
",",
"registry_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Get the upload location for the user to be able to upload the source.
@param resource_group_name [String] The name of the resource group to which
the container registry belongs.
@param registry_name [String] The name of the container registry.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [SourceUploadDefinition] operation results. | [
"Get",
"the",
"upload",
"location",
"for",
"the",
"user",
"to",
"be",
"able",
"to",
"upload",
"the",
"source",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_container_registry/lib/2018-09-01/generated/azure_mgmt_container_registry/registries.rb#L84-L87 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/live_outputs.rb | Azure::MediaServices::Mgmt::V2018_07_01.LiveOutputs.get_with_http_info | def get_with_http_info(resource_group_name, account_name, live_event_name, live_output_name, custom_headers:nil)
get_async(resource_group_name, account_name, live_event_name, live_output_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, account_name, live_event_name, live_output_name, custom_headers:nil)
get_async(resource_group_name, account_name, live_event_name, live_output_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"account_name",
",",
"live_event_name",
",",
"live_output_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"live_event_name",
",",
"live_output_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Get Live Output
Gets a Live Output.
@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 live_event_name [String] The name of the Live Event.
@param live_output_name [String] The name of the Live Output.
@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",
"Live",
"Output"
] | 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/live_outputs.rb#L167-L169 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_media_services/lib/2018-07-01/generated/azure_mgmt_media_services/live_outputs.rb | Azure::MediaServices::Mgmt::V2018_07_01.LiveOutputs.begin_delete_with_http_info | def begin_delete_with_http_info(resource_group_name, account_name, live_event_name, live_output_name, custom_headers:nil)
begin_delete_async(resource_group_name, account_name, live_event_name, live_output_name, custom_headers:custom_headers).value!
end | ruby | def begin_delete_with_http_info(resource_group_name, account_name, live_event_name, live_output_name, custom_headers:nil)
begin_delete_async(resource_group_name, account_name, live_event_name, live_output_name, custom_headers:custom_headers).value!
end | [
"def",
"begin_delete_with_http_info",
"(",
"resource_group_name",
",",
"account_name",
",",
"live_event_name",
",",
"live_output_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_delete_async",
"(",
"resource_group_name",
",",
"account_name",
",",
"live_event_name",
",",
"live_output_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Delete Live Output
Deletes a Live Output.
@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 live_event_name [String] The name of the Live Event.
@param live_output_name [String] The name of the Live Output.
@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",
"Live",
"Output"
] | 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/live_outputs.rb#L515-L517 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_postgresql/lib/2017-12-01-preview/generated/azure_mgmt_postgresql/servers.rb | Azure::Postgresql::Mgmt::V2017_12_01_preview.Servers.begin_create_with_http_info | def begin_create_with_http_info(resource_group_name, server_name, parameters, custom_headers:nil)
begin_create_async(resource_group_name, server_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_with_http_info(resource_group_name, server_name, parameters, custom_headers:nil)
begin_create_async(resource_group_name, server_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_with_http_info",
"(",
"resource_group_name",
",",
"server_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates a new server, or will overwrite an existing server.
@param resource_group_name [String] The name of the resource group that
contains the resource. You can obtain this value from the Azure Resource
Manager API or the portal.
@param server_name [String] The name of the server.
@param parameters [ServerForCreate] The required parameters for creating or
updating a server.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Creates",
"a",
"new",
"server",
"or",
"will",
"overwrite",
"an",
"existing",
"server",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_postgresql/lib/2017-12-01-preview/generated/azure_mgmt_postgresql/servers.rb#L479-L481 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_data_migration/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/services.rb | Azure::DataMigration::Mgmt::V2018_03_31_preview.Services.check_status | def check_status(group_name, service_name, custom_headers:nil)
response = check_status_async(group_name, service_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def check_status(group_name, service_name, custom_headers:nil)
response = check_status_async(group_name, service_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"check_status",
"(",
"group_name",
",",
"service_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"check_status_async",
"(",
"group_name",
",",
"service_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Check service health status
The services resource is the top-level resource that represents the Data
Migration Service. This action performs a health check and returns the status
of the service and virtual machine size.
@param group_name [String] Name of the resource group
@param service_name [String] Name of the service
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [DataMigrationServiceStatusResponse] operation results. | [
"Check",
"service",
"health",
"status"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_data_migration/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/services.rb#L293-L296 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_data_migration/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/services.rb | Azure::DataMigration::Mgmt::V2018_03_31_preview.Services.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(parameters, group_name, service_name, custom_headers:nil)
begin_create_or_update_async(parameters, group_name, service_name, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(parameters, group_name, service_name, custom_headers:nil)
begin_create_or_update_async(parameters, group_name, service_name, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"parameters",
",",
"group_name",
",",
"service_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"parameters",
",",
"group_name",
",",
"service_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Create or update DMS Instance
The services resource is the top-level resource that represents the Data
Migration Service. The PUT method creates a new service or updates an
existing one. When a service is updated, existing child resources (i.e.
tasks) are unaffected. Services currently support a single kind, "vm", which
refers to a VM-based service, although other kinds may be added in the
future. This method can change the kind, SKU, and network of the service, but
if tasks are currently running (i.e. the service is busy), this will fail
with 400 Bad Request ("ServiceIsBusy"). The provider will reply when
successful with 200 OK or 201 Created. Long-running operations use the
provisioningState property.
@param parameters [DataMigrationService] Information about the service
@param group_name [String] Name of the resource group
@param service_name [String] Name of the service
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Create",
"or",
"update",
"DMS",
"Instance"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_data_migration/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/services.rb#L1037-L1039 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_data_migration/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/services.rb | Azure::DataMigration::Mgmt::V2018_03_31_preview.Services.begin_update_with_http_info | def begin_update_with_http_info(parameters, group_name, service_name, custom_headers:nil)
begin_update_async(parameters, group_name, service_name, custom_headers:custom_headers).value!
end | ruby | def begin_update_with_http_info(parameters, group_name, service_name, custom_headers:nil)
begin_update_async(parameters, group_name, service_name, custom_headers:custom_headers).value!
end | [
"def",
"begin_update_with_http_info",
"(",
"parameters",
",",
"group_name",
",",
"service_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_update_async",
"(",
"parameters",
",",
"group_name",
",",
"service_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Create or update DMS Service Instance
The services resource is the top-level resource that represents the Data
Migration Service. The PATCH method updates an existing service. This method
can change the kind, SKU, and network of the service, but if tasks are
currently running (i.e. the service is busy), this will fail with 400 Bad
Request ("ServiceIsBusy").
@param parameters [DataMigrationService] Information about the service
@param group_name [String] Name of the resource group
@param service_name [String] Name of the service
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Create",
"or",
"update",
"DMS",
"Service",
"Instance"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_data_migration/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/services.rb#L1272-L1274 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_customvisiontraining/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/customvisiontraining_client.rb | Azure::CognitiveServices::Customvisiontraining::V2_1.CustomvisiontrainingClient.train_project | def train_project(project_id, custom_headers:nil)
response = train_project_async(project_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def train_project(project_id, custom_headers:nil)
response = train_project_async(project_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"train_project",
"(",
"project_id",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"train_project_async",
"(",
"project_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Queues project for training
@param project_id The project id
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Iteration] operation results. | [
"Queues",
"project",
"for",
"training"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_customvisiontraining/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/customvisiontraining_client.rb#L2368-L2371 | train |
Azure/azure-sdk-for-ruby | data/azure_cognitiveservices_customvisiontraining/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/customvisiontraining_client.rb | Azure::CognitiveServices::Customvisiontraining::V2_1.CustomvisiontrainingClient.create_project | def create_project(name, description:nil, domain_id:nil, classification_type:nil, custom_headers:nil)
response = create_project_async(name, description:description, domain_id:domain_id, classification_type:classification_type, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def create_project(name, description:nil, domain_id:nil, classification_type:nil, custom_headers:nil)
response = create_project_async(name, description:description, domain_id:domain_id, classification_type:classification_type, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"create_project",
"(",
"name",
",",
"description",
":",
"nil",
",",
"domain_id",
":",
"nil",
",",
"classification_type",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"create_project_async",
"(",
"name",
",",
"description",
":",
"description",
",",
"domain_id",
":domain_id",
",",
"classification_type",
":classification_type",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Create a project
@param name [String] Name of the project
@param description [String] The description of the project
@param domain_id The id of the domain to use for this project. Defaults to
General
@param classification_type [Enum] The type of classifier to create for this
project. Possible values include: 'Multiclass', 'Multilabel'
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Project] operation results. | [
"Create",
"a",
"project"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_cognitiveservices_customvisiontraining/lib/2.1/generated/azure_cognitiveservices_customvisiontraining/customvisiontraining_client.rb#L2558-L2561 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_resourcegraph/lib/2019-04-01/generated/azure_mgmt_resourcegraph/resource_graph_client.rb | Azure::ResourceGraph::Mgmt::V2019_04_01.ResourceGraphClient.resources | def resources(query, custom_headers:nil)
response = resources_async(query, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def resources(query, custom_headers:nil)
response = resources_async(query, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"resources",
"(",
"query",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"resources_async",
"(",
"query",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Queries the resources managed by Azure Resource Manager for all subscriptions
specified in the request.
@param query [QueryRequest] Request specifying query and its options.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [QueryResponse] operation results. | [
"Queries",
"the",
"resources",
"managed",
"by",
"Azure",
"Resource",
"Manager",
"for",
"all",
"subscriptions",
"specified",
"in",
"the",
"request",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_resourcegraph/lib/2019-04-01/generated/azure_mgmt_resourcegraph/resource_graph_client.rb#L127-L130 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_data_migration/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/tasks.rb | Azure::DataMigration::Mgmt::V2018_03_31_preview.Tasks.get_with_http_info | def get_with_http_info(group_name, service_name, project_name, task_name, expand:nil, custom_headers:nil)
get_async(group_name, service_name, project_name, task_name, expand:expand, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(group_name, service_name, project_name, task_name, expand:nil, custom_headers:nil)
get_async(group_name, service_name, project_name, task_name, expand:expand, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"group_name",
",",
"service_name",
",",
"project_name",
",",
"task_name",
",",
"expand",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"group_name",
",",
"service_name",
",",
"project_name",
",",
"task_name",
",",
"expand",
":",
"expand",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Get task information
The tasks resource is a nested, proxy-only resource representing work
performed by a DMS instance. The GET method retrieves information about a
task.
@param group_name [String] Name of the resource group
@param service_name [String] Name of the service
@param project_name [String] Name of the project
@param task_name [String] Name of the Task
@param expand [String] Expand the response
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Get",
"task",
"information"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_data_migration/lib/2018-03-31-preview/generated/azure_mgmt_data_migration/tasks.rb#L313-L315 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_monitor/lib/2015-04-01/generated/azure_mgmt_monitor/activity_logs.rb | Azure::Monitor::Mgmt::V2015_04_01.ActivityLogs.list_with_http_info | def list_with_http_info(filter:nil, select:nil, custom_headers:nil)
list_async(filter:filter, select:select, custom_headers:custom_headers).value!
end | ruby | def list_with_http_info(filter:nil, select:nil, custom_headers:nil)
list_async(filter:filter, select:select, custom_headers:custom_headers).value!
end | [
"def",
"list_with_http_info",
"(",
"filter",
":",
"nil",
",",
"select",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"list_async",
"(",
"filter",
":",
"filter",
",",
"select",
":",
"select",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Provides the list of records from the activity logs.
@param filter [String] Reduces the set of data collected.<br>The **$filter**
argument is very restricted and allows only the following patterns.<br>-
*List events for a resource group*: $filter=eventTimestamp ge
'2014-07-16T04:36:37.6407898Z' and eventTimestamp le
'2014-07-20T04:36:37.6407898Z' and resourceGroupName eq
'resourceGroupName'.<br>- *List events for resource*: $filter=eventTimestamp
ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp le
'2014-07-20T04:36:37.6407898Z' and resourceUri eq 'resourceURI'.<br>- *List
events for a subscription in a time range*: $filter=eventTimestamp ge
'2014-07-16T04:36:37.6407898Z' and eventTimestamp le
'2014-07-20T04:36:37.6407898Z'.<br>- *List events for a resource provider*:
$filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp
le '2014-07-20T04:36:37.6407898Z' and resourceProvider eq
'resourceProviderName'.<br>- *List events for a correlation Id*:
$filter=eventTimestamp ge '2014-07-16T04:36:37.6407898Z' and eventTimestamp
le '2014-07-20T04:36:37.6407898Z' and correlationId eq
'correlationID'.<br><br>**NOTE**: No other syntax is allowed.
@param select [String] Used to fetch events with only the given
properties.<br>The **$select** argument is a comma separated list of property
names to be returned. Possible values are: *authorization*, *claims*,
*correlationId*, *description*, *eventDataId*, *eventName*, *eventTimestamp*,
*httpRequest*, *level*, *operationId*, *operationName*, *properties*,
*resourceGroupName*, *resourceProviderName*, *resourceId*, *status*,
*submissionTimestamp*, *subStatus*, *subscriptionId*
@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. | [
"Provides",
"the",
"list",
"of",
"records",
"from",
"the",
"activity",
"logs",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_monitor/lib/2015-04-01/generated/azure_mgmt_monitor/activity_logs.rb#L93-L95 | train |
Azure/azure-sdk-for-ruby | data/azure_key_vault/lib/7.0-preview/generated/azure_key_vault/key_vault_client.rb | Azure::KeyVault::V7_0_preview.KeyVaultClient.backup_certificate | def backup_certificate(vault_base_url, certificate_name, custom_headers:nil)
response = backup_certificate_async(vault_base_url, certificate_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def backup_certificate(vault_base_url, certificate_name, custom_headers:nil)
response = backup_certificate_async(vault_base_url, certificate_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"backup_certificate",
"(",
"vault_base_url",
",",
"certificate_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"backup_certificate_async",
"(",
"vault_base_url",
",",
"certificate_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Backs up the specified certificate.
Requests that a backup of the specified certificate be downloaded to the
client. All versions of the certificate will be downloaded. This operation
requires the certificates/backup permission.
@param vault_base_url [String] The vault name, for example
https://myvault.vault.azure.net.
@param certificate_name [String] The name of the certificate.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [BackupCertificateResult] operation results. | [
"Backs",
"up",
"the",
"specified",
"certificate",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_key_vault/lib/7.0-preview/generated/azure_key_vault/key_vault_client.rb#L6534-L6537 | train |
Azure/azure-sdk-for-ruby | data/azure_key_vault/lib/7.0-preview/generated/azure_key_vault/key_vault_client.rb | Azure::KeyVault::V7_0_preview.KeyVaultClient.restore_certificate | def restore_certificate(vault_base_url, certificate_bundle_backup, custom_headers:nil)
response = restore_certificate_async(vault_base_url, certificate_bundle_backup, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def restore_certificate(vault_base_url, certificate_bundle_backup, custom_headers:nil)
response = restore_certificate_async(vault_base_url, certificate_bundle_backup, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"restore_certificate",
"(",
"vault_base_url",
",",
"certificate_bundle_backup",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"restore_certificate_async",
"(",
"vault_base_url",
",",
"certificate_bundle_backup",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Restores a backed up certificate to a vault.
Restores a backed up certificate, and all its versions, to a vault. This
operation requires the certificates/restore permission.
@param vault_base_url [String] The vault name, for example
https://myvault.vault.azure.net.
@param certificate_bundle_backup The backup blob associated with a
certificate bundle.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [CertificateBundle] operation results. | [
"Restores",
"a",
"backed",
"up",
"certificate",
"to",
"a",
"vault",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_key_vault/lib/7.0-preview/generated/azure_key_vault/key_vault_client.rb#L6641-L6644 | train |
Azure/azure-sdk-for-ruby | data/azure_key_vault/lib/7.0-preview/generated/azure_key_vault/key_vault_client.rb | Azure::KeyVault::V7_0_preview.KeyVaultClient.get_deleted_storage_account | def get_deleted_storage_account(vault_base_url, storage_account_name, custom_headers:nil)
response = get_deleted_storage_account_async(vault_base_url, storage_account_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_deleted_storage_account(vault_base_url, storage_account_name, custom_headers:nil)
response = get_deleted_storage_account_async(vault_base_url, storage_account_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_deleted_storage_account",
"(",
"vault_base_url",
",",
"storage_account_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_deleted_storage_account_async",
"(",
"vault_base_url",
",",
"storage_account_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets the specified deleted storage account.
The Get Deleted Storage Account operation returns the specified deleted
storage account along with its attributes. This operation requires the
storage/get permission.
@param vault_base_url [String] The vault name, for example
https://myvault.vault.azure.net.
@param storage_account_name [String] The name of the storage account.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [DeletedStorageBundle] operation results. | [
"Gets",
"the",
"specified",
"deleted",
"storage",
"account",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_key_vault/lib/7.0-preview/generated/azure_key_vault/key_vault_client.rb#L7419-L7422 | train |
Azure/azure-sdk-for-ruby | data/azure_key_vault/lib/7.0-preview/generated/azure_key_vault/key_vault_client.rb | Azure::KeyVault::V7_0_preview.KeyVaultClient.purge_deleted_storage_account | def purge_deleted_storage_account(vault_base_url, storage_account_name, custom_headers:nil)
response = purge_deleted_storage_account_async(vault_base_url, storage_account_name, custom_headers:custom_headers).value!
nil
end | ruby | def purge_deleted_storage_account(vault_base_url, storage_account_name, custom_headers:nil)
response = purge_deleted_storage_account_async(vault_base_url, storage_account_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"purge_deleted_storage_account",
"(",
"vault_base_url",
",",
"storage_account_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"purge_deleted_storage_account_async",
"(",
"vault_base_url",
",",
"storage_account_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Permanently deletes the specified storage account.
The purge deleted storage account operation removes the secret permanently,
without the possibility of recovery. This operation can only be performed on
a soft-delete enabled vault. This operation requires the storage/purge
permission.
@param vault_base_url [String] The vault name, for example
https://myvault.vault.azure.net.
@param storage_account_name [String] The name of the storage account.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Permanently",
"deletes",
"the",
"specified",
"storage",
"account",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_key_vault/lib/7.0-preview/generated/azure_key_vault/key_vault_client.rb#L7527-L7530 | train |
Azure/azure-sdk-for-ruby | data/azure_key_vault/lib/7.0-preview/generated/azure_key_vault/key_vault_client.rb | Azure::KeyVault::V7_0_preview.KeyVaultClient.recover_deleted_storage_account | def recover_deleted_storage_account(vault_base_url, storage_account_name, custom_headers:nil)
response = recover_deleted_storage_account_async(vault_base_url, storage_account_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def recover_deleted_storage_account(vault_base_url, storage_account_name, custom_headers:nil)
response = recover_deleted_storage_account_async(vault_base_url, storage_account_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"recover_deleted_storage_account",
"(",
"vault_base_url",
",",
"storage_account_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"recover_deleted_storage_account_async",
"(",
"vault_base_url",
",",
"storage_account_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Recovers the deleted storage account.
Recovers the deleted storage account in the specified vault. This operation
can only be performed on a soft-delete enabled vault. This operation requires
the storage/recover permission.
@param vault_base_url [String] The vault name, for example
https://myvault.vault.azure.net.
@param storage_account_name [String] The name of the storage account.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [StorageBundle] operation results. | [
"Recovers",
"the",
"deleted",
"storage",
"account",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_key_vault/lib/7.0-preview/generated/azure_key_vault/key_vault_client.rb#L7627-L7630 | train |
Azure/azure-sdk-for-ruby | data/azure_key_vault/lib/7.0-preview/generated/azure_key_vault/key_vault_client.rb | Azure::KeyVault::V7_0_preview.KeyVaultClient.backup_storage_account | def backup_storage_account(vault_base_url, storage_account_name, custom_headers:nil)
response = backup_storage_account_async(vault_base_url, storage_account_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def backup_storage_account(vault_base_url, storage_account_name, custom_headers:nil)
response = backup_storage_account_async(vault_base_url, storage_account_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"backup_storage_account",
"(",
"vault_base_url",
",",
"storage_account_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"backup_storage_account_async",
"(",
"vault_base_url",
",",
"storage_account_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Backs up the specified storage account.
Requests that a backup of the specified storage account be downloaded to the
client. This operation requires the storage/backup permission.
@param vault_base_url [String] The vault name, for example
https://myvault.vault.azure.net.
@param storage_account_name [String] The name of the storage account.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [BackupStorageResult] operation results. | [
"Backs",
"up",
"the",
"specified",
"storage",
"account",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_key_vault/lib/7.0-preview/generated/azure_key_vault/key_vault_client.rb#L7734-L7737 | train |
Azure/azure-sdk-for-ruby | data/azure_key_vault/lib/7.0-preview/generated/azure_key_vault/key_vault_client.rb | Azure::KeyVault::V7_0_preview.KeyVaultClient.restore_storage_account | def restore_storage_account(vault_base_url, storage_bundle_backup, custom_headers:nil)
response = restore_storage_account_async(vault_base_url, storage_bundle_backup, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def restore_storage_account(vault_base_url, storage_bundle_backup, custom_headers:nil)
response = restore_storage_account_async(vault_base_url, storage_bundle_backup, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"restore_storage_account",
"(",
"vault_base_url",
",",
"storage_bundle_backup",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"restore_storage_account_async",
"(",
"vault_base_url",
",",
"storage_bundle_backup",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Restores a backed up storage account to a vault.
Restores a backed up storage account to a vault. This operation requires the
storage/restore permission.
@param vault_base_url [String] The vault name, for example
https://myvault.vault.azure.net.
@param storage_bundle_backup The backup blob associated with a storage
account.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [StorageBundle] operation results. | [
"Restores",
"a",
"backed",
"up",
"storage",
"account",
"to",
"a",
"vault",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/data/azure_key_vault/lib/7.0-preview/generated/azure_key_vault/key_vault_client.rb#L7839-L7842 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/peer_express_route_circuit_connections.rb | Azure::Network::Mgmt::V2019_02_01.PeerExpressRouteCircuitConnections.get_with_http_info | def get_with_http_info(resource_group_name, circuit_name, peering_name, connection_name, custom_headers:nil)
get_async(resource_group_name, circuit_name, peering_name, connection_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, circuit_name, peering_name, connection_name, custom_headers:nil)
get_async(resource_group_name, circuit_name, peering_name, connection_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"circuit_name",
",",
"peering_name",
",",
"connection_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"circuit_name",
",",
"peering_name",
",",
"connection_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the specified Peer Express Route Circuit Connection from the specified
express route circuit.
@param resource_group_name [String] The name of the resource group.
@param circuit_name [String] The name of the express route circuit.
@param peering_name [String] The name of the peering.
@param connection_name [String] The name of the peer express route circuit
connection.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"the",
"specified",
"Peer",
"Express",
"Route",
"Circuit",
"Connection",
"from",
"the",
"specified",
"express",
"route",
"circuit",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/peer_express_route_circuit_connections.rb#L57-L59 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/peer_express_route_circuit_connections.rb | Azure::Network::Mgmt::V2019_02_01.PeerExpressRouteCircuitConnections.list_with_http_info | def list_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil)
list_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value!
end | ruby | def list_with_http_info(resource_group_name, circuit_name, peering_name, custom_headers:nil)
list_async(resource_group_name, circuit_name, peering_name, custom_headers:custom_headers).value!
end | [
"def",
"list_with_http_info",
"(",
"resource_group_name",
",",
"circuit_name",
",",
"peering_name",
",",
"custom_headers",
":",
"nil",
")",
"list_async",
"(",
"resource_group_name",
",",
"circuit_name",
",",
"peering_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets all global reach peer connections associated with a private peering in
an express route circuit.
@param resource_group_name [String] The name of the resource group.
@param circuit_name [String] The name of the circuit.
@param peering_name [String] The name of the peering.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"all",
"global",
"reach",
"peer",
"connections",
"associated",
"with",
"a",
"private",
"peering",
"in",
"an",
"express",
"route",
"circuit",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2019-02-01/generated/azure_mgmt_network/peer_express_route_circuit_connections.rb#L159-L161 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_privatedns/lib/2018-09-01/generated/azure_mgmt_privatedns/virtual_network_links.rb | Azure::PrivateDns::Mgmt::V2018_09_01.VirtualNetworkLinks.create_or_update | def create_or_update(resource_group_name, private_zone_name, virtual_network_link_name, parameters, if_match:nil, if_none_match:nil, custom_headers:nil)
response = create_or_update_async(resource_group_name, private_zone_name, virtual_network_link_name, parameters, if_match:if_match, if_none_match:if_none_match, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def create_or_update(resource_group_name, private_zone_name, virtual_network_link_name, parameters, if_match:nil, if_none_match:nil, custom_headers:nil)
response = create_or_update_async(resource_group_name, private_zone_name, virtual_network_link_name, parameters, if_match:if_match, if_none_match:if_none_match, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"create_or_update",
"(",
"resource_group_name",
",",
"private_zone_name",
",",
"virtual_network_link_name",
",",
"parameters",
",",
"if_match",
":",
"nil",
",",
"if_none_match",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"create_or_update_async",
"(",
"resource_group_name",
",",
"private_zone_name",
",",
"virtual_network_link_name",
",",
"parameters",
",",
"if_match",
":if_match",
",",
"if_none_match",
":if_none_match",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Creates or updates a virtual network link to the specified Private DNS zone.
@param resource_group_name [String] The name of the resource group.
@param private_zone_name [String] The name of the Private DNS zone (without a
terminating dot).
@param virtual_network_link_name [String] The name of the virtual network
link.
@param parameters [VirtualNetworkLink] Parameters supplied to the
CreateOrUpdate operation.
@param if_match [String] The ETag of the virtual network link to the Private
DNS zone. Omit this value to always overwrite the current virtual network
link. Specify the last-seen ETag value to prevent accidentally overwriting
any concurrent changes.
@param if_none_match [String] Set to '*' to allow a new virtual network link
to the Private DNS zone to be created, but to prevent updating an existing
link. Other values will be ignored.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [VirtualNetworkLink] operation results. | [
"Creates",
"or",
"updates",
"a",
"virtual",
"network",
"link",
"to",
"the",
"specified",
"Private",
"DNS",
"zone",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_privatedns/lib/2018-09-01/generated/azure_mgmt_privatedns/virtual_network_links.rb#L46-L49 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_privatedns/lib/2018-09-01/generated/azure_mgmt_privatedns/virtual_network_links.rb | Azure::PrivateDns::Mgmt::V2018_09_01.VirtualNetworkLinks.get_with_http_info | def get_with_http_info(resource_group_name, private_zone_name, virtual_network_link_name, custom_headers:nil)
get_async(resource_group_name, private_zone_name, virtual_network_link_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, private_zone_name, virtual_network_link_name, custom_headers:nil)
get_async(resource_group_name, private_zone_name, virtual_network_link_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"private_zone_name",
",",
"virtual_network_link_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"private_zone_name",
",",
"virtual_network_link_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets a virtual network link to the specified Private DNS zone.
@param resource_group_name [String] The name of the resource group.
@param private_zone_name [String] The name of the Private DNS zone (without a
terminating dot).
@param virtual_network_link_name [String] The name of the virtual network
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",
"virtual",
"network",
"link",
"to",
"the",
"specified",
"Private",
"DNS",
"zone",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_privatedns/lib/2018-09-01/generated/azure_mgmt_privatedns/virtual_network_links.rb#L234-L236 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_privatedns/lib/2018-09-01/generated/azure_mgmt_privatedns/virtual_network_links.rb | Azure::PrivateDns::Mgmt::V2018_09_01.VirtualNetworkLinks.list | def list(resource_group_name, private_zone_name, top:nil, custom_headers:nil)
first_page = list_as_lazy(resource_group_name, private_zone_name, top:top, custom_headers:custom_headers)
first_page.get_all_items
end | ruby | def list(resource_group_name, private_zone_name, top:nil, custom_headers:nil)
first_page = list_as_lazy(resource_group_name, private_zone_name, top:top, custom_headers:custom_headers)
first_page.get_all_items
end | [
"def",
"list",
"(",
"resource_group_name",
",",
"private_zone_name",
",",
"top",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"first_page",
"=",
"list_as_lazy",
"(",
"resource_group_name",
",",
"private_zone_name",
",",
"top",
":",
"top",
",",
"custom_headers",
":custom_headers",
")",
"first_page",
".",
"get_all_items",
"end"
] | Lists the virtual network links to the specified Private DNS zone.
@param resource_group_name [String] The name of the resource group.
@param private_zone_name [String] The name of the Private DNS zone (without a
terminating dot).
@param top [Integer] The maximum number of virtual network links to return.
If not specified, returns up to 100 virtual network links.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array<VirtualNetworkLink>] operation results. | [
"Lists",
"the",
"virtual",
"network",
"links",
"to",
"the",
"specified",
"Private",
"DNS",
"zone",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_privatedns/lib/2018-09-01/generated/azure_mgmt_privatedns/virtual_network_links.rb#L318-L321 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2018-02-01/generated/azure_mgmt_web/certificate_registration_provider.rb | Azure::Web::Mgmt::V2018_02_01.CertificateRegistrationProvider.list_operations_as_lazy | def list_operations_as_lazy(custom_headers:nil)
response = list_operations_async(custom_headers:custom_headers).value!
unless response.nil?
page = response.body
page.next_method = Proc.new do |next_page_link|
list_operations_next_async(next_page_link, custom_headers:custom_headers)
end
page
end
end | ruby | def list_operations_as_lazy(custom_headers:nil)
response = list_operations_async(custom_headers:custom_headers).value!
unless response.nil?
page = response.body
page.next_method = Proc.new do |next_page_link|
list_operations_next_async(next_page_link, custom_headers:custom_headers)
end
page
end
end | [
"def",
"list_operations_as_lazy",
"(",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_operations_async",
"(",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"unless",
"response",
".",
"nil?",
"page",
"=",
"response",
".",
"body",
"page",
".",
"next_method",
"=",
"Proc",
".",
"new",
"do",
"|",
"next_page_link",
"|",
"list_operations_next_async",
"(",
"next_page_link",
",",
"custom_headers",
":custom_headers",
")",
"end",
"page",
"end",
"end"
] | Implements Csm operations Api to exposes the list of available Csm Apis under
the resource provider
Implements Csm operations Api to exposes the list of available Csm Apis under
the resource provider
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [CsmOperationCollection] which provide lazy access to pages of the
response. | [
"Implements",
"Csm",
"operations",
"Api",
"to",
"exposes",
"the",
"list",
"of",
"available",
"Csm",
"Apis",
"under",
"the",
"resource",
"provider"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_web/lib/2018-02-01/generated/azure_mgmt_web/certificate_registration_provider.rb#L231-L240 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/notification_hubs.rb | Azure::NotificationHubs::Mgmt::V2017_04_01.NotificationHubs.delete_with_http_info | def delete_with_http_info(resource_group_name, namespace_name, notification_hub_name, custom_headers:nil)
delete_async(resource_group_name, namespace_name, notification_hub_name, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, namespace_name, notification_hub_name, custom_headers:nil)
delete_async(resource_group_name, namespace_name, notification_hub_name, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"notification_hub_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"notification_hub_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes a notification hub associated with a namespace.
@param resource_group_name [String] The name of the resource group.
@param namespace_name [String] The namespace name.
@param notification_hub_name [String] The notification hub name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Deletes",
"a",
"notification",
"hub",
"associated",
"with",
"a",
"namespace",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/notification_hubs.rb#L382-L384 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/notification_hubs.rb | Azure::NotificationHubs::Mgmt::V2017_04_01.NotificationHubs.get_with_http_info | def get_with_http_info(resource_group_name, namespace_name, notification_hub_name, custom_headers:nil)
get_async(resource_group_name, namespace_name, notification_hub_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, namespace_name, notification_hub_name, custom_headers:nil)
get_async(resource_group_name, namespace_name, notification_hub_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"notification_hub_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"notification_hub_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Lists the notification hubs associated with a namespace.
@param resource_group_name [String] The name of the resource group.
@param namespace_name [String] The namespace name.
@param notification_hub_name [String] The notification hub 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. | [
"Lists",
"the",
"notification",
"hubs",
"associated",
"with",
"a",
"namespace",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_notification_hubs/lib/2017-04-01/generated/azure_mgmt_notification_hubs/notification_hubs.rb#L468-L470 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_event_hub/lib/2015-08-01/generated/azure_mgmt_event_hub/event_hubs.rb | Azure::EventHub::Mgmt::V2015_08_01.EventHubs.delete_with_http_info | def delete_with_http_info(resource_group_name, namespace_name, event_hub_name, custom_headers:nil)
delete_async(resource_group_name, namespace_name, event_hub_name, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, namespace_name, event_hub_name, custom_headers:nil)
delete_async(resource_group_name, namespace_name, event_hub_name, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"event_hub_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"event_hub_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes an Event Hub from the specified Namespace and resource group.
@param resource_group_name [String] Name of the resource group within the
azure subscription.
@param namespace_name [String] The Namespace name
@param event_hub_name [String] The Event Hub name
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Deletes",
"an",
"Event",
"Hub",
"from",
"the",
"specified",
"Namespace",
"and",
"resource",
"group",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_event_hub/lib/2015-08-01/generated/azure_mgmt_event_hub/event_hubs.rb#L270-L272 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_event_hub/lib/2015-08-01/generated/azure_mgmt_event_hub/event_hubs.rb | Azure::EventHub::Mgmt::V2015_08_01.EventHubs.get_with_http_info | def get_with_http_info(resource_group_name, namespace_name, event_hub_name, custom_headers:nil)
get_async(resource_group_name, namespace_name, event_hub_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, namespace_name, event_hub_name, custom_headers:nil)
get_async(resource_group_name, namespace_name, event_hub_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"event_hub_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"event_hub_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets an Event Hubs description for the specified Event Hub.
@param resource_group_name [String] Name of the resource group within the
azure subscription.
@param namespace_name [String] The Namespace name
@param event_hub_name [String] The Event Hub name
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"an",
"Event",
"Hubs",
"description",
"for",
"the",
"specified",
"Event",
"Hub",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_event_hub/lib/2015-08-01/generated/azure_mgmt_event_hub/event_hubs.rb#L365-L367 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_event_hub/lib/2015-08-01/generated/azure_mgmt_event_hub/event_hubs.rb | Azure::EventHub::Mgmt::V2015_08_01.EventHubs.list_authorization_rules_with_http_info | def list_authorization_rules_with_http_info(resource_group_name, namespace_name, event_hub_name, custom_headers:nil)
list_authorization_rules_async(resource_group_name, namespace_name, event_hub_name, custom_headers:custom_headers).value!
end | ruby | def list_authorization_rules_with_http_info(resource_group_name, namespace_name, event_hub_name, custom_headers:nil)
list_authorization_rules_async(resource_group_name, namespace_name, event_hub_name, custom_headers:custom_headers).value!
end | [
"def",
"list_authorization_rules_with_http_info",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"event_hub_name",
",",
"custom_headers",
":",
"nil",
")",
"list_authorization_rules_async",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"event_hub_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the authorization rules for an Event Hub.
@param resource_group_name [String] Name of the resource group within the
azure subscription.
@param namespace_name [String] The Namespace name
@param event_hub_name [String] The Event Hub 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",
"authorization",
"rules",
"for",
"an",
"Event",
"Hub",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_event_hub/lib/2015-08-01/generated/azure_mgmt_event_hub/event_hubs.rb#L470-L472 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_event_hub/lib/2015-08-01/generated/azure_mgmt_event_hub/event_hubs.rb | Azure::EventHub::Mgmt::V2015_08_01.EventHubs.list_keys_with_http_info | def list_keys_with_http_info(resource_group_name, namespace_name, event_hub_name, authorization_rule_name, custom_headers:nil)
list_keys_async(resource_group_name, namespace_name, event_hub_name, authorization_rule_name, custom_headers:custom_headers).value!
end | ruby | def list_keys_with_http_info(resource_group_name, namespace_name, event_hub_name, authorization_rule_name, custom_headers:nil)
list_keys_async(resource_group_name, namespace_name, event_hub_name, authorization_rule_name, custom_headers:custom_headers).value!
end | [
"def",
"list_keys_with_http_info",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"event_hub_name",
",",
"authorization_rule_name",
",",
"custom_headers",
":",
"nil",
")",
"list_keys_async",
"(",
"resource_group_name",
",",
"namespace_name",
",",
"event_hub_name",
",",
"authorization_rule_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the ACS and SAS connection strings for the Event Hub.
@param resource_group_name [String] Name of the resource group within the
azure subscription.
@param namespace_name [String] The Namespace name
@param event_hub_name [String] The Event Hub name
@param authorization_rule_name [String] The authorization rule name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"the",
"ACS",
"and",
"SAS",
"connection",
"strings",
"for",
"the",
"Event",
"Hub",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_event_hub/lib/2015-08-01/generated/azure_mgmt_event_hub/event_hubs.rb#L1024-L1026 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_resources/lib/2016-02-01/generated/azure_mgmt_resources/deployments.rb | Azure::Resources::Mgmt::V2016_02_01.Deployments.cancel | def cancel(resource_group_name, deployment_name, custom_headers:nil)
response = cancel_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
nil
end | ruby | def cancel(resource_group_name, deployment_name, custom_headers:nil)
response = cancel_async(resource_group_name, deployment_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"cancel",
"(",
"resource_group_name",
",",
"deployment_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"cancel_async",
"(",
"resource_group_name",
",",
"deployment_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Cancel a currently running template deployment.
@param resource_group_name [String] The name of the resource group. The name
is case insensitive.
@param deployment_name [String] The name of the deployment.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Cancel",
"a",
"currently",
"running",
"template",
"deployment",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_resources/lib/2016-02-01/generated/azure_mgmt_resources/deployments.rb#L309-L312 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_resources/lib/2016-02-01/generated/azure_mgmt_resources/deployments.rb | Azure::Resources::Mgmt::V2016_02_01.Deployments.list_with_http_info | def list_with_http_info(resource_group_name, filter:nil, top:nil, custom_headers:nil)
list_async(resource_group_name, filter:filter, top:top, custom_headers:custom_headers).value!
end | ruby | def list_with_http_info(resource_group_name, filter:nil, top:nil, custom_headers:nil)
list_async(resource_group_name, filter:filter, top:top, custom_headers:custom_headers).value!
end | [
"def",
"list_with_http_info",
"(",
"resource_group_name",
",",
"filter",
":",
"nil",
",",
"top",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"list_async",
"(",
"resource_group_name",
",",
"filter",
":",
"filter",
",",
"top",
":",
"top",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Get a list of deployments.
@param resource_group_name [String] The name of the resource group to filter
by. The name is case insensitive.
@param filter [String] The filter to apply on the operation.
@param top [Integer] Query parameters. If null is passed returns all
deployments.
@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",
"list",
"of",
"deployments",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_resources/lib/2016-02-01/generated/azure_mgmt_resources/deployments.rb#L634-L636 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_resources/lib/2016-02-01/generated/azure_mgmt_resources/deployments.rb | Azure::Resources::Mgmt::V2016_02_01.Deployments.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, deployment_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, deployment_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, deployment_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, deployment_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"deployment_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"deployment_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Create a named template deployment using a template.
@param resource_group_name [String] The name of the resource group. The name
is case insensitive.
@param deployment_name [String] The name of the deployment.
@param parameters [Deployment] Additional parameters supplied to the
operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Create",
"a",
"named",
"template",
"deployment",
"using",
"a",
"template",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_resources/lib/2016-02-01/generated/azure_mgmt_resources/deployments.rb#L824-L826 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/authorization_server.rb | Azure::ApiManagement::Mgmt::V2018_01_01.AuthorizationServer.get_with_http_info | def get_with_http_info(resource_group_name, service_name, authsid, custom_headers:nil)
get_async(resource_group_name, service_name, authsid, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, service_name, authsid, custom_headers:nil)
get_async(resource_group_name, service_name, authsid, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"service_name",
",",
"authsid",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"service_name",
",",
"authsid",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the details of the authorization server 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 authsid [String] Identifier of the authorization server.
@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",
"authorization",
"server",
"specified",
"by",
"its",
"identifier",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/authorization_server.rb#L272-L274 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/sync_members.rb | Azure::SQL::Mgmt::V2015_05_01_preview.SyncMembers.begin_update_with_http_info | def begin_update_with_http_info(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:nil)
begin_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_update_with_http_info(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:nil)
begin_update_async(resource_group_name, server_name, database_name, sync_group_name, sync_member_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_update_with_http_info",
"(",
"resource_group_name",
",",
"server_name",
",",
"database_name",
",",
"sync_group_name",
",",
"sync_member_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_update_async",
"(",
"resource_group_name",
",",
"server_name",
",",
"database_name",
",",
"sync_group_name",
",",
"sync_member_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Updates an existing sync member.
@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 on which the sync
group is hosted.
@param sync_group_name [String] The name of the sync group on which the sync
member is hosted.
@param sync_member_name [String] The name of the sync member.
@param parameters [SyncMember] The requested sync member 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. | [
"Updates",
"an",
"existing",
"sync",
"member",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_sql/lib/2015-05-01-preview/generated/azure_mgmt_sql/sync_members.rb#L871-L873 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_service_fabric/lib/2018-02-01/generated/azure_mgmt_service_fabric/clusters.rb | Azure::ServiceFabric::Mgmt::V2018_02_01.Clusters.begin_create_with_http_info | def begin_create_with_http_info(resource_group_name, cluster_name, parameters, custom_headers:nil)
begin_create_async(resource_group_name, cluster_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_with_http_info(resource_group_name, cluster_name, parameters, custom_headers:nil)
begin_create_async(resource_group_name, cluster_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_with_http_info",
"(",
"resource_group_name",
",",
"cluster_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_async",
"(",
"resource_group_name",
",",
"cluster_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates or updates a Service Fabric cluster resource.
Create or update a Service Fabric cluster resource with the specified name.
@param resource_group_name [String] The name of the resource group.
@param cluster_name [String] The name of the cluster resource.
@param parameters [Cluster] The cluster resource.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Creates",
"or",
"updates",
"a",
"Service",
"Fabric",
"cluster",
"resource",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_service_fabric/lib/2018-02-01/generated/azure_mgmt_service_fabric/clusters.rb#L536-L538 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/express_route_circuit_connections.rb | Azure::Network::Mgmt::V2018_07_01.ExpressRouteCircuitConnections.delete | def delete(resource_group_name, circuit_name, peering_name, connection_name, custom_headers:nil)
response = delete_async(resource_group_name, circuit_name, peering_name, connection_name, custom_headers:custom_headers).value!
nil
end | ruby | def delete(resource_group_name, circuit_name, peering_name, connection_name, custom_headers:nil)
response = delete_async(resource_group_name, circuit_name, peering_name, connection_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"delete",
"(",
"resource_group_name",
",",
"circuit_name",
",",
"peering_name",
",",
"connection_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_async",
"(",
"resource_group_name",
",",
"circuit_name",
",",
"peering_name",
",",
"connection_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Deletes the specified Express Route Circuit Connection from the specified
express route circuit.
@param resource_group_name [String] The name of the resource group.
@param circuit_name [String] The name of the express route circuit.
@param peering_name [String] The name of the peering.
@param connection_name [String] The name of the express route circuit
connection.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Deletes",
"the",
"specified",
"Express",
"Route",
"Circuit",
"Connection",
"from",
"the",
"specified",
"express",
"route",
"circuit",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/express_route_circuit_connections.rb#L36-L39 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_event_grid/lib/2019-02-01-preview/generated/azure_mgmt_event_grid/domains.rb | Azure::EventGrid::Mgmt::V2019_02_01_preview.Domains.list_shared_access_keys | def list_shared_access_keys(resource_group_name, domain_name, custom_headers:nil)
response = list_shared_access_keys_async(resource_group_name, domain_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_shared_access_keys(resource_group_name, domain_name, custom_headers:nil)
response = list_shared_access_keys_async(resource_group_name, domain_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_shared_access_keys",
"(",
"resource_group_name",
",",
"domain_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_shared_access_keys_async",
"(",
"resource_group_name",
",",
"domain_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | List keys for a domain
List the two keys used to publish to a domain
@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 custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [DomainSharedAccessKeys] operation results. | [
"List",
"keys",
"for",
"a",
"domain"
] | 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/domains.rb#L477-L480 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/product_group.rb | Azure::ApiManagement::Mgmt::V2018_01_01.ProductGroup.check_entity_exists_with_http_info | def check_entity_exists_with_http_info(resource_group_name, service_name, product_id, group_id, custom_headers:nil)
check_entity_exists_async(resource_group_name, service_name, product_id, group_id, custom_headers:custom_headers).value!
end | ruby | def check_entity_exists_with_http_info(resource_group_name, service_name, product_id, group_id, custom_headers:nil)
check_entity_exists_async(resource_group_name, service_name, product_id, group_id, custom_headers:custom_headers).value!
end | [
"def",
"check_entity_exists_with_http_info",
"(",
"resource_group_name",
",",
"service_name",
",",
"product_id",
",",
"group_id",
",",
"custom_headers",
":",
"nil",
")",
"check_entity_exists_async",
"(",
"resource_group_name",
",",
"service_name",
",",
"product_id",
",",
"group_id",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Checks that Group entity specified by identifier is associated with the
Product entity.
@param resource_group_name [String] The name of the resource group.
@param service_name [String] The name of the API Management service.
@param product_id [String] Product identifier. Must be unique in the current
API Management service instance.
@param group_id [String] Group identifier. Must be unique in the current API
Management service instance.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Checks",
"that",
"Group",
"entity",
"specified",
"by",
"identifier",
"is",
"associated",
"with",
"the",
"Product",
"entity",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/product_group.rb#L208-L210 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_traffic_manager/lib/2017-03-01/generated/azure_mgmt_traffic_manager/profiles.rb | Azure::TrafficManager::Mgmt::V2017_03_01.Profiles.check_traffic_manager_relative_dns_name_availability | def check_traffic_manager_relative_dns_name_availability(parameters, custom_headers:nil)
response = check_traffic_manager_relative_dns_name_availability_async(parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def check_traffic_manager_relative_dns_name_availability(parameters, custom_headers:nil)
response = check_traffic_manager_relative_dns_name_availability_async(parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"check_traffic_manager_relative_dns_name_availability",
"(",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"check_traffic_manager_relative_dns_name_availability_async",
"(",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Checks the availability of a Traffic Manager Relative DNS name.
@param parameters [CheckTrafficManagerRelativeDnsNameAvailabilityParameters]
The Traffic Manager name parameters supplied to the
CheckTrafficManagerNameAvailability operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [TrafficManagerNameAvailability] operation results. | [
"Checks",
"the",
"availability",
"of",
"a",
"Traffic",
"Manager",
"Relative",
"DNS",
"name",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_traffic_manager/lib/2017-03-01/generated/azure_mgmt_traffic_manager/profiles.rb#L35-L38 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_traffic_manager/lib/2017-03-01/generated/azure_mgmt_traffic_manager/profiles.rb | Azure::TrafficManager::Mgmt::V2017_03_01.Profiles.list_all_in_resource_group | def list_all_in_resource_group(resource_group_name, custom_headers:nil)
response = list_all_in_resource_group_async(resource_group_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_all_in_resource_group(resource_group_name, custom_headers:nil)
response = list_all_in_resource_group_async(resource_group_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_all_in_resource_group",
"(",
"resource_group_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_all_in_resource_group_async",
"(",
"resource_group_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Lists all Traffic Manager profiles within a resource group.
@param resource_group_name [String] The name of the resource group containing
the Traffic Manager profiles to be listed.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [ProfileListResult] operation results. | [
"Lists",
"all",
"Traffic",
"Manager",
"profiles",
"within",
"a",
"resource",
"group",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_traffic_manager/lib/2017-03-01/generated/azure_mgmt_traffic_manager/profiles.rb#L133-L136 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_traffic_manager/lib/2017-03-01/generated/azure_mgmt_traffic_manager/profiles.rb | Azure::TrafficManager::Mgmt::V2017_03_01.Profiles.create_or_update_with_http_info | def create_or_update_with_http_info(resource_group_name, profile_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, profile_name, parameters, custom_headers:custom_headers).value!
end | ruby | def create_or_update_with_http_info(resource_group_name, profile_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, profile_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"profile_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"create_or_update_async",
"(",
"resource_group_name",
",",
"profile_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Create or update a Traffic Manager profile.
@param resource_group_name [String] The name of the resource group containing
the Traffic Manager profile.
@param profile_name [String] The name of the Traffic Manager profile.
@param parameters [Profile] The Traffic Manager profile parameters supplied
to the CreateOrUpdate 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",
"Traffic",
"Manager",
"profile",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_traffic_manager/lib/2017-03-01/generated/azure_mgmt_traffic_manager/profiles.rb#L424-L426 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_traffic_manager/lib/2017-03-01/generated/azure_mgmt_traffic_manager/profiles.rb | Azure::TrafficManager::Mgmt::V2017_03_01.Profiles.update_with_http_info | def update_with_http_info(resource_group_name, profile_name, parameters, custom_headers:nil)
update_async(resource_group_name, profile_name, parameters, custom_headers:custom_headers).value!
end | ruby | def update_with_http_info(resource_group_name, profile_name, parameters, custom_headers:nil)
update_async(resource_group_name, profile_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"update_with_http_info",
"(",
"resource_group_name",
",",
"profile_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"update_async",
"(",
"resource_group_name",
",",
"profile_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Update a Traffic Manager profile.
@param resource_group_name [String] The name of the resource group containing
the Traffic Manager profile.
@param profile_name [String] The name of the Traffic Manager profile.
@param parameters [Profile] The Traffic Manager profile parameters supplied
to the Update operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Update",
"a",
"Traffic",
"Manager",
"profile",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_traffic_manager/lib/2017-03-01/generated/azure_mgmt_traffic_manager/profiles.rb#L651-L653 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_iot_hub/lib/2018-04-01/generated/azure_mgmt_iot_hub/certificates.rb | Azure::IotHub::Mgmt::V2018_04_01.Certificates.list_by_iot_hub | def list_by_iot_hub(resource_group_name, resource_name, custom_headers:nil)
response = list_by_iot_hub_async(resource_group_name, resource_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_by_iot_hub(resource_group_name, resource_name, custom_headers:nil)
response = list_by_iot_hub_async(resource_group_name, resource_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_by_iot_hub",
"(",
"resource_group_name",
",",
"resource_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_by_iot_hub_async",
"(",
"resource_group_name",
",",
"resource_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Get the certificate list.
Returns the list of certificates.
@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 custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [CertificateListDescription] operation results. | [
"Get",
"the",
"certificate",
"list",
"."
] | 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/certificates.rb#L37-L40 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_iot_hub/lib/2018-04-01/generated/azure_mgmt_iot_hub/certificates.rb | Azure::IotHub::Mgmt::V2018_04_01.Certificates.get_with_http_info | def get_with_http_info(resource_group_name, resource_name, certificate_name, custom_headers:nil)
get_async(resource_group_name, resource_name, certificate_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, resource_name, certificate_name, custom_headers:nil)
get_async(resource_group_name, resource_name, certificate_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"resource_name",
",",
"certificate_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"resource_name",
",",
"certificate_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Get the certificate.
Returns the certificate.
@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 certificate_name [String] The name of the 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. | [
"Get",
"the",
"certificate",
"."
] | 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/certificates.rb#L158-L160 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_api_management/lib/2019-01-01/generated/azure_mgmt_api_management/api.rb | Azure::ApiManagement::Mgmt::V2019_01_01.Api.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, service_name, api_id, parameters, if_match:nil, custom_headers:nil)
begin_create_or_update_async(resource_group_name, service_name, api_id, parameters, if_match:if_match, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, service_name, api_id, parameters, if_match:nil, custom_headers:nil)
begin_create_or_update_async(resource_group_name, service_name, api_id, parameters, if_match:if_match, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"service_name",
",",
"api_id",
",",
"parameters",
",",
"if_match",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"service_name",
",",
"api_id",
",",
"parameters",
",",
"if_match",
":if_match",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates new or updates existing specified API of the API Management service
instance.
@param resource_group_name [String] The name of the resource group.
@param service_name [String] The name of the API Management service.
@param api_id [String] API revision identifier. Must be unique in the current
API Management service instance. Non-current revision has ;rev=n as a suffix
where n is the revision number.
@param parameters [ApiCreateOrUpdateParameter] Create or update parameters.
@param if_match [String] ETag of the Entity. Not required when creating an
entity, but required when updating an entity.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Creates",
"new",
"or",
"updates",
"existing",
"specified",
"API",
"of",
"the",
"API",
"Management",
"service",
"instance",
"."
] | 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/api.rb#L849-L851 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_monitor/lib/2018-06-01-preview/generated/azure_mgmt_monitor/guest_diagnostics_settings_association.rb | Azure::Monitor::Mgmt::V2018_06_01_preview.GuestDiagnosticsSettingsAssociation.delete | def delete(resource_uri, association_name, custom_headers:nil)
response = delete_async(resource_uri, association_name, custom_headers:custom_headers).value!
nil
end | ruby | def delete(resource_uri, association_name, custom_headers:nil)
response = delete_async(resource_uri, association_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"delete",
"(",
"resource_uri",
",",
"association_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_async",
"(",
"resource_uri",
",",
"association_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Delete guest diagnostics association settings.
@param resource_uri [String] The fully qualified ID of the resource,
including the resource name and resource type.
@param association_name [String] The name of the diagnostic settings
association.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Delete",
"guest",
"diagnostics",
"association",
"settings",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_monitor/lib/2018-06-01-preview/generated/azure_mgmt_monitor/guest_diagnostics_settings_association.rb#L258-L261 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/operation_operations.rb | Azure::ApiManagement::Mgmt::V2018_01_01.OperationOperations.list_by_tags_with_http_info | def list_by_tags_with_http_info(resource_group_name, service_name, api_id, filter:nil, top:nil, skip:nil, custom_headers:nil)
list_by_tags_async(resource_group_name, service_name, api_id, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
end | ruby | def list_by_tags_with_http_info(resource_group_name, service_name, api_id, filter:nil, top:nil, skip:nil, custom_headers:nil)
list_by_tags_async(resource_group_name, service_name, api_id, filter:filter, top:top, skip:skip, custom_headers:custom_headers).value!
end | [
"def",
"list_by_tags_with_http_info",
"(",
"resource_group_name",
",",
"service_name",
",",
"api_id",
",",
"filter",
":",
"nil",
",",
"top",
":",
"nil",
",",
"skip",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"list_by_tags_async",
"(",
"resource_group_name",
",",
"service_name",
",",
"api_id",
",",
"filter",
":",
"filter",
",",
"top",
":",
"top",
",",
"skip",
":",
"skip",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Lists a collection of operations associated with tags.
@param resource_group_name [String] The name of the resource group.
@param service_name [String] The name of the API Management service.
@param api_id [String] API revision identifier. Must be unique in the current
API Management service instance. Non-current revision has ;rev=n as a suffix
where n is the revision number.
@param filter [String] | Field | Supported operators | Supported
functions |
|-------------|------------------------|---------------------------------------------|
| id | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
endswith |
| name | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
endswith |
| apiName | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
endswith |
| description | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
endswith |
| method | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
endswith |
| urlTemplate | ge, le, eq, ne, gt, lt | substringof, contains, startswith,
endswith |
@param top [Integer] Number of records to return.
@param skip [Integer] Number of records to skip.
@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",
"a",
"collection",
"of",
"operations",
"associated",
"with",
"tags",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_api_management/lib/2018-01-01/generated/azure_mgmt_api_management/operation_operations.rb#L89-L91 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/role_assignments.rb | Azure::CustomerInsights::Mgmt::V2017_01_01.RoleAssignments.get_with_http_info | def get_with_http_info(resource_group_name, hub_name, assignment_name, custom_headers:nil)
get_async(resource_group_name, hub_name, assignment_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, hub_name, assignment_name, custom_headers:nil)
get_async(resource_group_name, hub_name, assignment_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"hub_name",
",",
"assignment_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"hub_name",
",",
"assignment_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets the role assignment in the hub.
@param resource_group_name [String] The name of the resource group.
@param hub_name [String] The name of the hub.
@param assignment_name [String] The name of the role assignment.
@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",
"role",
"assignment",
"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/role_assignments.rb#L194-L196 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/role_assignments.rb | Azure::CustomerInsights::Mgmt::V2017_01_01.RoleAssignments.delete_with_http_info | def delete_with_http_info(resource_group_name, hub_name, assignment_name, custom_headers:nil)
delete_async(resource_group_name, hub_name, assignment_name, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, hub_name, assignment_name, custom_headers:nil)
delete_async(resource_group_name, hub_name, assignment_name, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"hub_name",
",",
"assignment_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"hub_name",
",",
"assignment_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes the role assignment in the hub.
@param resource_group_name [String] The name of the resource group.
@param hub_name [String] The name of the hub.
@param assignment_name [String] The name of the role assignment.
@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",
"role",
"assignment",
"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/role_assignments.rb#L289-L291 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/role_assignments.rb | Azure::CustomerInsights::Mgmt::V2017_01_01.RoleAssignments.begin_create_or_update_with_http_info | def begin_create_or_update_with_http_info(resource_group_name, hub_name, assignment_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, hub_name, assignment_name, parameters, custom_headers:custom_headers).value!
end | ruby | def begin_create_or_update_with_http_info(resource_group_name, hub_name, assignment_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, hub_name, assignment_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"begin_create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"hub_name",
",",
"assignment_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"begin_create_or_update_async",
"(",
"resource_group_name",
",",
"hub_name",
",",
"assignment_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Creates or updates a role assignment in the hub.
@param resource_group_name [String] The name of the resource group.
@param hub_name [String] The name of the hub.
@param assignment_name [String] The assignment name
@param parameters [RoleAssignmentResourceFormat] Parameters supplied to the
CreateOrUpdate RoleAssignment 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",
"role",
"assignment",
"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/role_assignments.rb#L379-L381 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/maps.rb | Azure::Logic::Mgmt::V2016_06_01.Maps.get_with_http_info | def get_with_http_info(resource_group_name, integration_account_name, map_name, custom_headers:nil)
get_async(resource_group_name, integration_account_name, map_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, integration_account_name, map_name, custom_headers:nil)
get_async(resource_group_name, integration_account_name, map_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"integration_account_name",
",",
"map_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"integration_account_name",
",",
"map_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets an integration account map.
@param resource_group_name [String] The resource group name.
@param integration_account_name [String] The integration account name.
@param map_name [String] The integration account map name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"an",
"integration",
"account",
"map",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/maps.rb#L152-L154 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/maps.rb | Azure::Logic::Mgmt::V2016_06_01.Maps.delete_with_http_info | def delete_with_http_info(resource_group_name, integration_account_name, map_name, custom_headers:nil)
delete_async(resource_group_name, integration_account_name, map_name, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, integration_account_name, map_name, custom_headers:nil)
delete_async(resource_group_name, integration_account_name, map_name, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"integration_account_name",
",",
"map_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"integration_account_name",
",",
"map_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes an integration account map.
@param resource_group_name [String] The resource group name.
@param integration_account_name [String] The integration account name.
@param map_name [String] The integration account map name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Deletes",
"an",
"integration",
"account",
"map",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_logic/lib/2016-06-01/generated/azure_mgmt_logic/maps.rb#L364-L366 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/service_association_link.rb | Azure::ContainerInstance::Mgmt::V2018_10_01.ServiceAssociationLink.delete_with_http_info | def delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil)
delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, virtual_network_name, subnet_name, custom_headers:nil)
delete_async(resource_group_name, virtual_network_name, subnet_name, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"virtual_network_name",
",",
"subnet_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"virtual_network_name",
",",
"subnet_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Delete the container instance service association link for the subnet.
Delete the container instance service association link for the subnet. This
operation unblocks user from deleting 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. | [
"Delete",
"the",
"container",
"instance",
"service",
"association",
"link",
"for",
"the",
"subnet",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_container_instance/lib/2018-10-01/generated/azure_mgmt_container_instance/service_association_link.rb#L56-L58 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2018-02-01/generated/azure_mgmt_web/domains.rb | Azure::Web::Mgmt::V2018_02_01.Domains.check_availability | def check_availability(identifier, custom_headers:nil)
response = check_availability_async(identifier, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def check_availability(identifier, custom_headers:nil)
response = check_availability_async(identifier, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"check_availability",
"(",
"identifier",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"check_availability_async",
"(",
"identifier",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Check if a domain is available for registration.
Check if a domain is available for registration.
@param identifier [NameIdentifier] Name of the domain.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [DomainAvailablilityCheckResult] operation results. | [
"Check",
"if",
"a",
"domain",
"is",
"available",
"for",
"registration",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_web/lib/2018-02-01/generated/azure_mgmt_web/domains.rb#L35-L38 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2018-02-01/generated/azure_mgmt_web/domains.rb | Azure::Web::Mgmt::V2018_02_01.Domains.get_control_center_sso_request | def get_control_center_sso_request(custom_headers:nil)
response = get_control_center_sso_request_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_control_center_sso_request(custom_headers:nil)
response = get_control_center_sso_request_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_control_center_sso_request",
"(",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_control_center_sso_request_async",
"(",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Generate a single sign-on request for the domain management portal.
Generate a single sign-on request for the domain management portal.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [DomainControlCenterSsoRequest] operation results. | [
"Generate",
"a",
"single",
"sign",
"-",
"on",
"request",
"for",
"the",
"domain",
"management",
"portal",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_web/lib/2018-02-01/generated/azure_mgmt_web/domains.rb#L225-L228 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2018-02-01/generated/azure_mgmt_web/domains.rb | Azure::Web::Mgmt::V2018_02_01.Domains.delete_with_http_info | def delete_with_http_info(resource_group_name, domain_name, force_hard_delete_domain:nil, custom_headers:nil)
delete_async(resource_group_name, domain_name, force_hard_delete_domain:force_hard_delete_domain, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, domain_name, force_hard_delete_domain:nil, custom_headers:nil)
delete_async(resource_group_name, domain_name, force_hard_delete_domain:force_hard_delete_domain, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"domain_name",
",",
"force_hard_delete_domain",
":",
"nil",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"domain_name",
",",
"force_hard_delete_domain",
":force_hard_delete_domain",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Delete a domain.
Delete a domain.
@param resource_group_name [String] Name of the resource group to which the
resource belongs.
@param domain_name [String] Name of the domain.
@param force_hard_delete_domain [Boolean] Specify <code>true</code> to delete
the domain immediately. The default is <code>false</code> which deletes the
domain after 24 hours.
@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",
"a",
"domain",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_web/lib/2018-02-01/generated/azure_mgmt_web/domains.rb#L697-L699 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_web/lib/2018-02-01/generated/azure_mgmt_web/domains.rb | Azure::Web::Mgmt::V2018_02_01.Domains.renew | def renew(resource_group_name, domain_name, custom_headers:nil)
response = renew_async(resource_group_name, domain_name, custom_headers:custom_headers).value!
nil
end | ruby | def renew(resource_group_name, domain_name, custom_headers:nil)
response = renew_async(resource_group_name, domain_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"renew",
"(",
"resource_group_name",
",",
"domain_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"renew_async",
"(",
"resource_group_name",
",",
"domain_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Renew a domain.
Renew a domain.
@param resource_group_name [String] Name of the resource group to which the
resource belongs.
@param domain_name [String] Name of the domain.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Renew",
"a",
"domain",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_web/lib/2018-02-01/generated/azure_mgmt_web/domains.rb#L1466-L1469 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_stream_analytics/lib/2016-03-01/generated/azure_mgmt_stream_analytics/functions.rb | Azure::StreamAnalytics::Mgmt::V2016_03_01.Functions.delete_with_http_info | def delete_with_http_info(resource_group_name, job_name, function_name, custom_headers:nil)
delete_async(resource_group_name, job_name, function_name, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, job_name, function_name, custom_headers:nil)
delete_async(resource_group_name, job_name, function_name, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"job_name",
",",
"function_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"job_name",
",",
"function_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes a function 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 function_name [String] The name of the function.
@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",
"function",
"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/functions.rb#L344-L346 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_stream_analytics/lib/2016-03-01/generated/azure_mgmt_stream_analytics/functions.rb | Azure::StreamAnalytics::Mgmt::V2016_03_01.Functions.get_with_http_info | def get_with_http_info(resource_group_name, job_name, function_name, custom_headers:nil)
get_async(resource_group_name, job_name, function_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, job_name, function_name, custom_headers:nil)
get_async(resource_group_name, job_name, function_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"job_name",
",",
"function_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"job_name",
",",
"function_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets details about the specified function.
@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 function_name [String] The name of the function.
@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",
"function",
"."
] | 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/functions.rb#L436-L438 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_locks/lib/2016-09-01/generated/azure_mgmt_locks/management_locks.rb | Azure::Locks::Mgmt::V2016_09_01.ManagementLocks.delete_by_scope | def delete_by_scope(scope, lock_name, custom_headers:nil)
response = delete_by_scope_async(scope, lock_name, custom_headers:custom_headers).value!
nil
end | ruby | def delete_by_scope(scope, lock_name, custom_headers:nil)
response = delete_by_scope_async(scope, lock_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"delete_by_scope",
"(",
"scope",
",",
"lock_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"delete_by_scope_async",
"(",
"scope",
",",
"lock_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Delete a management lock by scope.
@param scope [String] The scope for the lock.
@param lock_name [String] The name of lock.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Delete",
"a",
"management",
"lock",
"by",
"scope",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_locks/lib/2016-09-01/generated/azure_mgmt_locks/management_locks.rb#L498-L501 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_locks/lib/2016-09-01/generated/azure_mgmt_locks/management_locks.rb | Azure::Locks::Mgmt::V2016_09_01.ManagementLocks.get_by_scope | def get_by_scope(scope, lock_name, custom_headers:nil)
response = get_by_scope_async(scope, lock_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_by_scope(scope, lock_name, custom_headers:nil)
response = get_by_scope_async(scope, lock_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_by_scope",
"(",
"scope",
",",
"lock_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_by_scope_async",
"(",
"scope",
",",
"lock_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Get a management lock by scope.
@param scope [String] The scope for the lock.
@param lock_name [String] The name of lock.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [ManagementLockObject] operation results. | [
"Get",
"a",
"management",
"lock",
"by",
"scope",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_locks/lib/2016-09-01/generated/azure_mgmt_locks/management_locks.rb#L579-L582 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_locks/lib/2016-09-01/generated/azure_mgmt_locks/management_locks.rb | Azure::Locks::Mgmt::V2016_09_01.ManagementLocks.get_at_subscription_level | def get_at_subscription_level(lock_name, custom_headers:nil)
response = get_at_subscription_level_async(lock_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_at_subscription_level(lock_name, custom_headers:nil)
response = get_at_subscription_level_async(lock_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_at_subscription_level",
"(",
"lock_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_at_subscription_level_async",
"(",
"lock_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets a management lock at the subscription level.
@param lock_name [String] The name of the lock to get.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [ManagementLockObject] operation results. | [
"Gets",
"a",
"management",
"lock",
"at",
"the",
"subscription",
"level",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_locks/lib/2016-09-01/generated/azure_mgmt_locks/management_locks.rb#L1303-L1306 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_batch/lib/2015-12-01/generated/azure_mgmt_batch/location.rb | Azure::Batch::Mgmt::V2015_12_01.Location.get_quotas | def get_quotas(location_name, custom_headers:nil)
response = get_quotas_async(location_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_quotas(location_name, custom_headers:nil)
response = get_quotas_async(location_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_quotas",
"(",
"location_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_quotas_async",
"(",
"location_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets the Batch service quotas for the specified subscription at the given
location.
@param location_name [String] The desired region for the quotas.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [BatchLocationQuota] operation results. | [
"Gets",
"the",
"Batch",
"service",
"quotas",
"for",
"the",
"specified",
"subscription",
"at",
"the",
"given",
"location",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_batch/lib/2015-12-01/generated/azure_mgmt_batch/location.rb#L34-L37 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_traffic_manager/lib/2018-02-01/generated/azure_mgmt_traffic_manager/endpoints.rb | Azure::TrafficManager::Mgmt::V2018_02_01.Endpoints.update_with_http_info | def update_with_http_info(resource_group_name, profile_name, endpoint_type, endpoint_name, parameters, custom_headers:nil)
update_async(resource_group_name, profile_name, endpoint_type, endpoint_name, parameters, custom_headers:custom_headers).value!
end | ruby | def update_with_http_info(resource_group_name, profile_name, endpoint_type, endpoint_name, parameters, custom_headers:nil)
update_async(resource_group_name, profile_name, endpoint_type, endpoint_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"update_with_http_info",
"(",
"resource_group_name",
",",
"profile_name",
",",
"endpoint_type",
",",
"endpoint_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"update_async",
"(",
"resource_group_name",
",",
"profile_name",
",",
"endpoint_type",
",",
"endpoint_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Update a Traffic Manager endpoint.
@param resource_group_name [String] The name of the resource group containing
the Traffic Manager endpoint to be updated.
@param profile_name [String] The name of the Traffic Manager profile.
@param endpoint_type [String] The type of the Traffic Manager endpoint to be
updated.
@param endpoint_name [String] The name of the Traffic Manager endpoint to be
updated.
@param parameters [Endpoint] The Traffic Manager endpoint parameters supplied
to the Update operation.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Update",
"a",
"Traffic",
"Manager",
"endpoint",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_traffic_manager/lib/2018-02-01/generated/azure_mgmt_traffic_manager/endpoints.rb#L63-L65 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_traffic_manager/lib/2018-02-01/generated/azure_mgmt_traffic_manager/endpoints.rb | Azure::TrafficManager::Mgmt::V2018_02_01.Endpoints.create_or_update_with_http_info | def create_or_update_with_http_info(resource_group_name, profile_name, endpoint_type, endpoint_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, profile_name, endpoint_type, endpoint_name, parameters, custom_headers:custom_headers).value!
end | ruby | def create_or_update_with_http_info(resource_group_name, profile_name, endpoint_type, endpoint_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, profile_name, endpoint_type, endpoint_name, parameters, custom_headers:custom_headers).value!
end | [
"def",
"create_or_update_with_http_info",
"(",
"resource_group_name",
",",
"profile_name",
",",
"endpoint_type",
",",
"endpoint_name",
",",
"parameters",
",",
"custom_headers",
":",
"nil",
")",
"create_or_update_async",
"(",
"resource_group_name",
",",
"profile_name",
",",
"endpoint_type",
",",
"endpoint_name",
",",
"parameters",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Create or update a Traffic Manager endpoint.
@param resource_group_name [String] The name of the resource group containing
the Traffic Manager endpoint to be created or updated.
@param profile_name [String] The name of the Traffic Manager profile.
@param endpoint_type [String] The type of the Traffic Manager endpoint to be
created or updated.
@param endpoint_name [String] The name of the Traffic Manager endpoint to be
created or updated.
@param parameters [Endpoint] The Traffic Manager endpoint parameters supplied
to the CreateOrUpdate 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",
"Traffic",
"Manager",
"endpoint",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_traffic_manager/lib/2018-02-01/generated/azure_mgmt_traffic_manager/endpoints.rb#L289-L291 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_traffic_manager/lib/2018-02-01/generated/azure_mgmt_traffic_manager/endpoints.rb | Azure::TrafficManager::Mgmt::V2018_02_01.Endpoints.delete_with_http_info | def delete_with_http_info(resource_group_name, profile_name, endpoint_type, endpoint_name, custom_headers:nil)
delete_async(resource_group_name, profile_name, endpoint_type, endpoint_name, custom_headers:custom_headers).value!
end | ruby | def delete_with_http_info(resource_group_name, profile_name, endpoint_type, endpoint_name, custom_headers:nil)
delete_async(resource_group_name, profile_name, endpoint_type, endpoint_name, custom_headers:custom_headers).value!
end | [
"def",
"delete_with_http_info",
"(",
"resource_group_name",
",",
"profile_name",
",",
"endpoint_type",
",",
"endpoint_name",
",",
"custom_headers",
":",
"nil",
")",
"delete_async",
"(",
"resource_group_name",
",",
"profile_name",
",",
"endpoint_type",
",",
"endpoint_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes a Traffic Manager endpoint.
@param resource_group_name [String] The name of the resource group containing
the Traffic Manager endpoint to be deleted.
@param profile_name [String] The name of the Traffic Manager profile.
@param endpoint_type [String] The type of the Traffic Manager endpoint to be
deleted.
@param endpoint_name [String] The name of the Traffic Manager endpoint to be
deleted.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Deletes",
"a",
"Traffic",
"Manager",
"endpoint",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_traffic_manager/lib/2018-02-01/generated/azure_mgmt_traffic_manager/endpoints.rb#L418-L420 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb | Azure::Network::Mgmt::V2018_07_01.LoadBalancerFrontendIPConfigurations.get_with_http_info | def get_with_http_info(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:nil)
get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:nil)
get_async(resource_group_name, load_balancer_name, frontend_ipconfiguration_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"load_balancer_name",
",",
"frontend_ipconfiguration_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"load_balancer_name",
",",
"frontend_ipconfiguration_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets load balancer frontend IP configuration.
@param resource_group_name [String] The name of the resource group.
@param load_balancer_name [String] The name of the load balancer.
@param frontend_ipconfiguration_name [String] The name of the frontend IP
configuration.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Gets",
"load",
"balancer",
"frontend",
"IP",
"configuration",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_network/lib/2018-07-01/generated/azure_mgmt_network/load_balancer_frontend_ipconfigurations.rb#L145-L147 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_stor_simple8000_series/lib/2017-06-01/generated/azure_mgmt_stor_simple8000_series/backups.rb | Azure::StorSimple8000Series::Mgmt::V2017_06_01.Backups.begin_delete | def begin_delete(device_name, backup_name, resource_group_name, manager_name, custom_headers:nil)
response = begin_delete_async(device_name, backup_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
nil
end | ruby | def begin_delete(device_name, backup_name, resource_group_name, manager_name, custom_headers:nil)
response = begin_delete_async(device_name, backup_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
nil
end | [
"def",
"begin_delete",
"(",
"device_name",
",",
"backup_name",
",",
"resource_group_name",
",",
"manager_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"begin_delete_async",
"(",
"device_name",
",",
"backup_name",
",",
"resource_group_name",
",",
"manager_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"nil",
"end"
] | Deletes the backup.
@param device_name [String] The device name
@param backup_name [String] The backup name.
@param resource_group_name [String] The resource group name
@param manager_name [String] The manager name
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request. | [
"Deletes",
"the",
"backup",
"."
] | 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/backups.rb#L267-L270 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/dsc_configuration_operations.rb | Azure::Automation::Mgmt::V2015_10_31.DscConfigurationOperations.get_with_http_info | def get_with_http_info(resource_group_name, automation_account_name, configuration_name, custom_headers:nil)
get_async(resource_group_name, automation_account_name, configuration_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, automation_account_name, configuration_name, custom_headers:nil)
get_async(resource_group_name, automation_account_name, configuration_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"configuration_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"automation_account_name",
",",
"configuration_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Retrieve the configuration identified by configuration name.
@param resource_group_name [String] Name of an Azure Resource group.
@param automation_account_name [String] The name of the automation account.
@param configuration_name [String] The configuration name.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [MsRestAzure::AzureOperationResponse] HTTP response information. | [
"Retrieve",
"the",
"configuration",
"identified",
"by",
"configuration",
"name",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_automation/lib/2015-10-31/generated/azure_mgmt_automation/dsc_configuration_operations.rb#L139-L141 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_security/lib/2017-08-01-preview/generated/azure_mgmt_security/auto_provisioning_settings.rb | Azure::Security::Mgmt::V2017_08_01_preview.AutoProvisioningSettings.create | def create(setting_name, setting, custom_headers:nil)
response = create_async(setting_name, setting, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def create(setting_name, setting, custom_headers:nil)
response = create_async(setting_name, setting, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"create",
"(",
"setting_name",
",",
"setting",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"create_async",
"(",
"setting_name",
",",
"setting",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Details of a specific setting
@param setting_name [String] Auto provisioning setting key
@param setting [AutoProvisioningSetting] Auto provisioning setting key
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [AutoProvisioningSetting] operation results. | [
"Details",
"of",
"a",
"specific",
"setting"
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_security/lib/2017-08-01-preview/generated/azure_mgmt_security/auto_provisioning_settings.rb#L208-L211 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/relationship_links.rb | Azure::CustomerInsights::Mgmt::V2017_01_01.RelationshipLinks.get_with_http_info | def get_with_http_info(resource_group_name, hub_name, relationship_link_name, custom_headers:nil)
get_async(resource_group_name, hub_name, relationship_link_name, custom_headers:custom_headers).value!
end | ruby | def get_with_http_info(resource_group_name, hub_name, relationship_link_name, custom_headers:nil)
get_async(resource_group_name, hub_name, relationship_link_name, custom_headers:custom_headers).value!
end | [
"def",
"get_with_http_info",
"(",
"resource_group_name",
",",
"hub_name",
",",
"relationship_link_name",
",",
"custom_headers",
":",
"nil",
")",
"get_async",
"(",
"resource_group_name",
",",
"hub_name",
",",
"relationship_link_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Gets information about the specified relationship Link.
@param resource_group_name [String] The name of the resource group.
@param hub_name [String] The name of the hub.
@param relationship_link_name [String] The name of the relationship 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",
"information",
"about",
"the",
"specified",
"relationship",
"Link",
"."
] | 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/relationship_links.rb#L103-L105 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_customer_insights/lib/2017-01-01/generated/azure_mgmt_customer_insights/relationship_links.rb | Azure::CustomerInsights::Mgmt::V2017_01_01.RelationshipLinks.begin_delete_with_http_info | def begin_delete_with_http_info(resource_group_name, hub_name, relationship_link_name, custom_headers:nil)
begin_delete_async(resource_group_name, hub_name, relationship_link_name, custom_headers:custom_headers).value!
end | ruby | def begin_delete_with_http_info(resource_group_name, hub_name, relationship_link_name, custom_headers:nil)
begin_delete_async(resource_group_name, hub_name, relationship_link_name, custom_headers:custom_headers).value!
end | [
"def",
"begin_delete_with_http_info",
"(",
"resource_group_name",
",",
"hub_name",
",",
"relationship_link_name",
",",
"custom_headers",
":",
"nil",
")",
"begin_delete_async",
"(",
"resource_group_name",
",",
"hub_name",
",",
"relationship_link_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"end"
] | Deletes a relationship link 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_link_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. | [
"Deletes",
"a",
"relationship",
"link",
"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/relationship_links.rb#L446-L448 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/workspaces.rb | Azure::OperationalInsights::Mgmt::V2015_11_01_preview.Workspaces.list_intelligence_packs | def list_intelligence_packs(resource_group_name, workspace_name, custom_headers:nil)
response = list_intelligence_packs_async(resource_group_name, workspace_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_intelligence_packs(resource_group_name, workspace_name, custom_headers:nil)
response = list_intelligence_packs_async(resource_group_name, workspace_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_intelligence_packs",
"(",
"resource_group_name",
",",
"workspace_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_intelligence_packs_async",
"(",
"resource_group_name",
",",
"workspace_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Lists all the intelligence packs possible and whether they are enabled or
disabled 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] Name of the Log Analytics Workspace.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [Array] operation results. | [
"Lists",
"all",
"the",
"intelligence",
"packs",
"possible",
"and",
"whether",
"they",
"are",
"enabled",
"or",
"disabled",
"for",
"a",
"given",
"workspace",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/workspaces.rb#L224-L227 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/workspaces.rb | Azure::OperationalInsights::Mgmt::V2015_11_01_preview.Workspaces.get_shared_keys | def get_shared_keys(resource_group_name, workspace_name, custom_headers:nil)
response = get_shared_keys_async(resource_group_name, workspace_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def get_shared_keys(resource_group_name, workspace_name, custom_headers:nil)
response = get_shared_keys_async(resource_group_name, workspace_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"get_shared_keys",
"(",
"resource_group_name",
",",
"workspace_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"get_shared_keys_async",
"(",
"resource_group_name",
",",
"workspace_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets the shared keys for a workspace.
@param resource_group_name [String] The name of the resource group to get.
The name is case insensitive.
@param workspace_name [String] Name of the Log Analytics Workspace.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [SharedKeys] operation results. | [
"Gets",
"the",
"shared",
"keys",
"for",
"a",
"workspace",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/workspaces.rb#L340-L343 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/workspaces.rb | Azure::OperationalInsights::Mgmt::V2015_11_01_preview.Workspaces.list_usages | def list_usages(resource_group_name, workspace_name, custom_headers:nil)
response = list_usages_async(resource_group_name, workspace_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_usages(resource_group_name, workspace_name, custom_headers:nil)
response = list_usages_async(resource_group_name, workspace_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_usages",
"(",
"resource_group_name",
",",
"workspace_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_usages_async",
"(",
"resource_group_name",
",",
"workspace_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets a list of usage metrics for a workspace.
@param resource_group_name [String] The name of the resource group to get.
The name is case insensitive.
@param workspace_name [String] The name of the workspace.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [WorkspaceListUsagesResult] operation results. | [
"Gets",
"a",
"list",
"of",
"usage",
"metrics",
"for",
"a",
"workspace",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/workspaces.rb#L438-L441 | train |
Azure/azure-sdk-for-ruby | management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/workspaces.rb | Azure::OperationalInsights::Mgmt::V2015_11_01_preview.Workspaces.list_management_groups | def list_management_groups(resource_group_name, workspace_name, custom_headers:nil)
response = list_management_groups_async(resource_group_name, workspace_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | def list_management_groups(resource_group_name, workspace_name, custom_headers:nil)
response = list_management_groups_async(resource_group_name, workspace_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | [
"def",
"list_management_groups",
"(",
"resource_group_name",
",",
"workspace_name",
",",
"custom_headers",
":",
"nil",
")",
"response",
"=",
"list_management_groups_async",
"(",
"resource_group_name",
",",
"workspace_name",
",",
"custom_headers",
":custom_headers",
")",
".",
"value!",
"response",
".",
"body",
"unless",
"response",
".",
"nil?",
"end"
] | Gets a list of management groups connected to a workspace.
@param resource_group_name [String] The name of the resource group to get.
The name is case insensitive.
@param workspace_name [String] The name of the workspace.
@param custom_headers [Hash{String => String}] A hash of custom headers that
will be added to the HTTP request.
@return [WorkspaceListManagementGroupsResult] operation results. | [
"Gets",
"a",
"list",
"of",
"management",
"groups",
"connected",
"to",
"a",
"workspace",
"."
] | 78eedacf8f8cbd65c2d8a2af421405eaa4373d8e | https://github.com/Azure/azure-sdk-for-ruby/blob/78eedacf8f8cbd65c2d8a2af421405eaa4373d8e/management/azure_mgmt_operational_insights/lib/2015-11-01-preview/generated/azure_mgmt_operational_insights/workspaces.rb#L536-L539 | train |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.