_id stringlengths 2 6 | title stringlengths 9 130 | partition stringclasses 3 values | text stringlengths 66 10.5k | language stringclasses 1 value | meta_information dict |
|---|---|---|---|---|---|
q13500 | Azure::Automation::Mgmt::V2015_10_31.ConnectionOperations.create_or_update_with_http_info | train | def create_or_update_with_http_info(resource_group_name, automation_account_name, connection_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, automation_account_name, connection_name, parameters, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13501 | Azure::Automation::Mgmt::V2015_10_31.ConnectionOperations.list_by_automation_account_as_lazy | train | def list_by_automation_account_as_lazy(resource_group_name, automation_account_name, custom_headers:nil)
response = list_by_automation_account_async(resource_group_name, automation_account_name, custom_headers:custom_headers).value!
unless response.nil?
page = response.body
page.next_method = Proc.new do |next_page_link|
list_by_automation_account_next_async(next_page_link, custom_headers:custom_headers)
end
page
end
end | ruby | {
"resource": ""
} |
q13502 | Azure::ServiceFabric::V6_3_0_9.ServiceFabricClientAPIs.create_application_resource | train | def create_application_resource(application_resource_name, application_resource_description, custom_headers:nil)
response = create_application_resource_async(application_resource_name, application_resource_description, custom_headers:custom_headers).value!
nil
end | ruby | {
"resource": ""
} |
q13503 | Azure::ServiceFabric::V6_3_0_9.ServiceFabricClientAPIs.get_application_resource | train | def get_application_resource(application_resource_name, custom_headers:nil)
response = get_application_resource_async(application_resource_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13504 | Azure::ServiceFabric::V6_3_0_9.ServiceFabricClientAPIs.get_services | train | def get_services(application_resource_name, custom_headers:nil)
response = get_services_async(application_resource_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13505 | Azure::ServiceFabric::V6_3_0_9.ServiceFabricClientAPIs.get_service | train | def get_service(application_resource_name, service_resource_name, custom_headers:nil)
response = get_service_async(application_resource_name, service_resource_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13506 | Azure::ServiceFabric::V6_3_0_9.ServiceFabricClientAPIs.get_replicas | train | def get_replicas(application_resource_name, service_resource_name, custom_headers:nil)
response = get_replicas_async(application_resource_name, service_resource_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13507 | Azure::ServiceFabric::V6_3_0_9.ServiceFabricClientAPIs.create_volume_resource | train | def create_volume_resource(volume_resource_name, volume_resource_description, custom_headers:nil)
response = create_volume_resource_async(volume_resource_name, volume_resource_description, custom_headers:custom_headers).value!
nil
end | ruby | {
"resource": ""
} |
q13508 | Azure::ServiceFabric::V6_3_0_9.ServiceFabricClientAPIs.get_volume_resource | train | def get_volume_resource(volume_resource_name, custom_headers:nil)
response = get_volume_resource_async(volume_resource_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13509 | Azure::Network::Mgmt::V2019_02_01.P2sVpnServerConfigurations.get_with_http_info | train | def get_with_http_info(resource_group_name, virtual_wan_name, p2svpn_server_configuration_name, custom_headers:nil)
get_async(resource_group_name, virtual_wan_name, p2svpn_server_configuration_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13510 | Azure::Signalr::Mgmt::V2018_03_01_preview.SignalR.begin_create_or_update_with_http_info | train | def begin_create_or_update_with_http_info(resource_group_name, resource_name, parameters:nil, custom_headers:nil)
begin_create_or_update_async(resource_group_name, resource_name, parameters:parameters, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13511 | Azure::Signalr::Mgmt::V2018_03_01_preview.SignalR.begin_update_with_http_info | train | def begin_update_with_http_info(resource_group_name, resource_name, parameters:nil, custom_headers:nil)
begin_update_async(resource_group_name, resource_name, parameters:parameters, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13512 | Azure::Compute::Mgmt::V2018_04_01.VirtualMachineExtensionImages.list_types | train | def list_types(location, publisher_name, custom_headers:nil)
response = list_types_async(location, publisher_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13513 | Azure::ServiceFabric::V6_4_0_36.MeshSecretValue.delete | train | def delete(secret_resource_name, secret_value_resource_name, custom_headers:nil)
response = delete_async(secret_resource_name, secret_value_resource_name, custom_headers:custom_headers).value!
nil
end | ruby | {
"resource": ""
} |
q13514 | Azure::ServiceFabric::V6_4_0_36.MeshSecretValue.show | train | def show(secret_resource_name, secret_value_resource_name, custom_headers:nil)
response = show_async(secret_resource_name, secret_value_resource_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13515 | Azure::MachineLearning::Mgmt::V2017_01_01.WebServices.get_with_http_info | train | def get_with_http_info(resource_group_name, web_service_name, region:nil, custom_headers:nil)
get_async(resource_group_name, web_service_name, region:region, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13516 | Azure::Web::Mgmt::V2018_02_01.AppServiceEnvironments.list_vips | train | def list_vips(resource_group_name, name, custom_headers:nil)
response = list_vips_async(resource_group_name, name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13517 | Azure::Web::Mgmt::V2018_02_01.AppServiceEnvironments.list_diagnostics | train | def list_diagnostics(resource_group_name, name, custom_headers:nil)
response = list_diagnostics_async(resource_group_name, name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13518 | Azure::Web::Mgmt::V2018_02_01.AppServiceEnvironments.list_metric_definitions | train | def list_metric_definitions(resource_group_name, name, custom_headers:nil)
response = list_metric_definitions_async(resource_group_name, name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13519 | Azure::Web::Mgmt::V2018_02_01.AppServiceEnvironments.get_multi_role_pool | train | def get_multi_role_pool(resource_group_name, name, custom_headers:nil)
response = get_multi_role_pool_async(resource_group_name, name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13520 | Azure::Web::Mgmt::V2018_02_01.AppServiceEnvironments.list_operations | train | def list_operations(resource_group_name, name, custom_headers:nil)
response = list_operations_async(resource_group_name, name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13521 | Azure::Web::Mgmt::V2018_02_01.AppServiceEnvironments.begin_delete_with_http_info | train | def begin_delete_with_http_info(resource_group_name, name, force_delete:nil, custom_headers:nil)
begin_delete_async(resource_group_name, name, force_delete:force_delete, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13522 | Azure::CognitiveServices::ContentModerator::V1_0.ListManagementImage.delete_all_images | train | def delete_all_images(list_id, custom_headers:nil)
response = delete_all_images_async(list_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13523 | Azure::CognitiveServices::ContentModerator::V1_0.ListManagementImage.get_all_image_ids | train | def get_all_image_ids(list_id, custom_headers:nil)
response = get_all_image_ids_async(list_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13524 | Azure::CognitiveServices::ContentModerator::V1_0.ListManagementImage.delete_image | train | def delete_image(list_id, image_id, custom_headers:nil)
response = delete_image_async(list_id, image_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13525 | Azure::IotCentral::Mgmt::V2017_07_01_privatepreview.Apps.check_name_availability | train | def check_name_availability(operation_inputs, custom_headers:nil)
response = check_name_availability_async(operation_inputs, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13526 | Azure::IotCentral::Mgmt::V2017_07_01_privatepreview.Apps.begin_create_or_update_with_http_info | train | def begin_create_or_update_with_http_info(resource_group_name, resource_name, app, custom_headers:nil)
begin_create_or_update_async(resource_group_name, resource_name, app, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13527 | Azure::IotCentral::Mgmt::V2017_07_01_privatepreview.Apps.begin_update_with_http_info | train | def begin_update_with_http_info(resource_group_name, resource_name, app_patch, custom_headers:nil)
begin_update_async(resource_group_name, resource_name, app_patch, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13528 | Azure::Authorization::Mgmt::V2015_07_01.RoleDefinitions.get_by_id | train | def get_by_id(role_definition_id, custom_headers:nil)
response = get_by_id_async(role_definition_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13529 | Azure::Network::Mgmt::V2018_10_01.ConnectionMonitors.get_with_http_info | train | def get_with_http_info(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:nil)
get_async(resource_group_name, network_watcher_name, connection_monitor_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13530 | Azure::ApiManagement::Mgmt::V2018_01_01.Property.get_with_http_info | train | def get_with_http_info(resource_group_name, service_name, prop_id, custom_headers:nil)
get_async(resource_group_name, service_name, prop_id, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13531 | Azure::ApiManagement::Mgmt::V2018_01_01.Property.create_or_update_with_http_info | train | def create_or_update_with_http_info(resource_group_name, service_name, prop_id, parameters, if_match:nil, custom_headers:nil)
create_or_update_async(resource_group_name, service_name, prop_id, parameters, if_match:if_match, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13532 | Azure::ApiManagement::Mgmt::V2016_10_10.ApiManagementServices.get_sso_token | train | def get_sso_token(resource_group_name, service_name, custom_headers:nil)
response = get_sso_token_async(resource_group_name, service_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13533 | Azure::ApiManagement::Mgmt::V2016_10_10.ApiManagementServices.upload_certificate_with_http_info | train | def upload_certificate_with_http_info(resource_group_name, service_name, parameters, custom_headers:nil)
upload_certificate_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13534 | Azure::ApiManagement::Mgmt::V2016_10_10.ApiManagementServices.begin_update_with_http_info | train | def begin_update_with_http_info(resource_group_name, service_name, parameters, custom_headers:nil)
begin_update_async(resource_group_name, service_name, parameters, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13535 | Azure::CDN::Mgmt::V2017_04_02.Endpoints.start | train | def start(resource_group_name, profile_name, endpoint_name, custom_headers:nil)
response = start_async(resource_group_name, profile_name, endpoint_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13536 | Azure::CDN::Mgmt::V2017_04_02.Endpoints.purge_content | train | def purge_content(resource_group_name, profile_name, endpoint_name, content_file_paths, custom_headers:nil)
response = purge_content_async(resource_group_name, profile_name, endpoint_name, content_file_paths, custom_headers:custom_headers).value!
nil
end | ruby | {
"resource": ""
} |
q13537 | Azure::CDN::Mgmt::V2017_04_02.Endpoints.load_content | train | def load_content(resource_group_name, profile_name, endpoint_name, content_file_paths, custom_headers:nil)
response = load_content_async(resource_group_name, profile_name, endpoint_name, content_file_paths, custom_headers:custom_headers).value!
nil
end | ruby | {
"resource": ""
} |
q13538 | Azure::CDN::Mgmt::V2017_04_02.Endpoints.begin_create_with_http_info | train | def begin_create_with_http_info(resource_group_name, profile_name, endpoint_name, endpoint, custom_headers:nil)
begin_create_async(resource_group_name, profile_name, endpoint_name, endpoint, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13539 | Azure::CDN::Mgmt::V2017_04_02.Endpoints.begin_delete | train | def begin_delete(resource_group_name, profile_name, endpoint_name, custom_headers:nil)
response = begin_delete_async(resource_group_name, profile_name, endpoint_name, custom_headers:custom_headers).value!
nil
end | ruby | {
"resource": ""
} |
q13540 | Azure::Reservations::Mgmt::V2018_06_01_preview.ReservationsManagementClient.get_applied_reservation_list | train | def get_applied_reservation_list(subscription_id, custom_headers:nil)
response = get_applied_reservation_list_async(subscription_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13541 | Azure::CognitiveServices::Face::V1_0.PersonGroupPerson.delete | train | def delete(person_group_id, person_id, custom_headers:nil)
response = delete_async(person_group_id, person_id, custom_headers:custom_headers).value!
nil
end | ruby | {
"resource": ""
} |
q13542 | Azure::SQL::Mgmt::V2017_03_01_preview.JobAgents.begin_delete_with_http_info | train | def begin_delete_with_http_info(resource_group_name, server_name, job_agent_name, custom_headers:nil)
begin_delete_async(resource_group_name, server_name, job_agent_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13543 | Azure::SQL::Mgmt::V2017_03_01_preview.JobAgents.list_by_server_as_lazy | train | def list_by_server_as_lazy(resource_group_name, server_name, custom_headers:nil)
response = list_by_server_async(resource_group_name, server_name, custom_headers:custom_headers).value!
unless response.nil?
page = response.body
page.next_method = Proc.new do |next_page_link|
list_by_server_next_async(next_page_link, custom_headers:custom_headers)
end
page
end
end | ruby | {
"resource": ""
} |
q13544 | Azure::Network::Mgmt::V2019_02_01.NetworkInterfaceTapConfigurations.get_with_http_info | train | def get_with_http_info(resource_group_name, network_interface_name, tap_configuration_name, custom_headers:nil)
get_async(resource_group_name, network_interface_name, tap_configuration_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13545 | Azure::CognitiveServices::Face::V1_0.LargePersonGroupPerson.create | train | def create(large_person_group_id, name:nil, user_data:nil, custom_headers:nil)
response = create_async(large_person_group_id, name:name, user_data:user_data, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13546 | Azure::CognitiveServices::Face::V1_0.LargePersonGroupPerson.delete | train | def delete(large_person_group_id, person_id, custom_headers:nil)
response = delete_async(large_person_group_id, person_id, custom_headers:custom_headers).value!
nil
end | ruby | {
"resource": ""
} |
q13547 | Azure::CognitiveServices::Face::V1_0.LargePersonGroupPerson.get | train | def get(large_person_group_id, person_id, custom_headers:nil)
response = get_async(large_person_group_id, person_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13548 | Azure::CognitiveServices::Face::V1_0.LargePersonGroupPerson.update_with_http_info | train | def update_with_http_info(large_person_group_id, person_id, name:nil, user_data:nil, custom_headers:nil)
update_async(large_person_group_id, person_id, name:name, user_data:user_data, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13549 | Azure::Search::Mgmt::V2015_08_19.Services.get_with_http_info | train | def get_with_http_info(resource_group_name, search_service_name, search_management_request_options:nil, custom_headers:nil)
get_async(resource_group_name, search_service_name, search_management_request_options:search_management_request_options, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13550 | Azure::Policy::Mgmt::V2017_06_01_preview.PolicySetDefinitions.get_built_in | train | def get_built_in(policy_set_definition_name, custom_headers:nil)
response = get_built_in_async(policy_set_definition_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13551 | Azure::Policy::Mgmt::V2017_06_01_preview.PolicySetDefinitions.create_or_update_at_management_group_with_http_info | train | def create_or_update_at_management_group_with_http_info(policy_set_definition_name, parameters, management_group_id, custom_headers:nil)
create_or_update_at_management_group_async(policy_set_definition_name, parameters, management_group_id, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13552 | Azure::Policy::Mgmt::V2017_06_01_preview.PolicySetDefinitions.delete_at_management_group | train | def delete_at_management_group(policy_set_definition_name, management_group_id, custom_headers:nil)
response = delete_at_management_group_async(policy_set_definition_name, management_group_id, custom_headers:custom_headers).value!
nil
end | ruby | {
"resource": ""
} |
q13553 | Azure::ServiceFabric::V6_4_0_36.MeshSecret.create_or_update | train | def create_or_update(secret_resource_name, secret_resource_description, custom_headers:nil)
response = create_or_update_async(secret_resource_name, secret_resource_description, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13554 | Azure::ApiManagement::Mgmt::V2018_01_01.IdentityProvider.list_by_service | train | def list_by_service(resource_group_name, service_name, custom_headers:nil)
first_page = list_by_service_as_lazy(resource_group_name, service_name, custom_headers:custom_headers)
first_page.get_all_items
end | ruby | {
"resource": ""
} |
q13555 | Azure::ApiManagement::Mgmt::V2018_01_01.IdentityProvider.get_with_http_info | train | def get_with_http_info(resource_group_name, service_name, identity_provider_name, custom_headers:nil)
get_async(resource_group_name, service_name, identity_provider_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13556 | Azure::Monitor::Mgmt::V2016_03_01.LogProfiles.update | train | def update(log_profile_name, log_profiles_resource, custom_headers:nil)
response = update_async(log_profile_name, log_profiles_resource, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13557 | Azure::MediaServices::Mgmt::V2018_07_01.Mediaservices.get_by_subscription | train | def get_by_subscription(account_name, custom_headers:nil)
response = get_by_subscription_async(account_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13558 | Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview.AvailabilityGroupListeners.get_with_http_info | train | def get_with_http_info(resource_group_name, sql_virtual_machine_group_name, availability_group_listener_name, custom_headers:nil)
get_async(resource_group_name, sql_virtual_machine_group_name, availability_group_listener_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13559 | Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview.AvailabilityGroupListeners.begin_delete_with_http_info | train | def begin_delete_with_http_info(resource_group_name, sql_virtual_machine_group_name, availability_group_listener_name, custom_headers:nil)
begin_delete_async(resource_group_name, sql_virtual_machine_group_name, availability_group_listener_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13560 | Azure::Subscriptions::Mgmt::V2016_06_01.Subscriptions.list_locations | train | def list_locations(subscription_id, custom_headers:nil)
response = list_locations_async(subscription_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13561 | Azure::Compute::Mgmt::V2018_04_01.Snapshots.begin_grant_access_with_http_info | train | def begin_grant_access_with_http_info(resource_group_name, snapshot_name, grant_access_data, custom_headers:nil)
begin_grant_access_async(resource_group_name, snapshot_name, grant_access_data, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13562 | Azure::Network::Mgmt::V2019_02_01.ExpressRouteLinks.get_with_http_info | train | def get_with_http_info(resource_group_name, express_route_port_name, link_name, custom_headers:nil)
get_async(resource_group_name, express_route_port_name, link_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13563 | Azure::Network::Mgmt::V2019_02_01.ExpressRouteLinks.list | train | def list(resource_group_name, express_route_port_name, custom_headers:nil)
first_page = list_as_lazy(resource_group_name, express_route_port_name, custom_headers:custom_headers)
first_page.get_all_items
end | ruby | {
"resource": ""
} |
q13564 | Azure::SQL::Mgmt::V2014_04_01.ElasticPools.delete_with_http_info | train | def delete_with_http_info(resource_group_name, server_name, elastic_pool_name, custom_headers:nil)
delete_async(resource_group_name, server_name, elastic_pool_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13565 | Azure::SQL::Mgmt::V2014_04_01.ElasticPools.list_metrics_with_http_info | train | def list_metrics_with_http_info(resource_group_name, server_name, elastic_pool_name, filter, custom_headers:nil)
list_metrics_async(resource_group_name, server_name, elastic_pool_name, filter, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13566 | Azure::GraphRbac::V1_6.Users.get_member_groups | train | def get_member_groups(object_id, parameters, custom_headers:nil)
response = get_member_groups_async(object_id, parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13567 | Azure::GraphRbac::V1_6.Users.list_next | train | def list_next(next_link, custom_headers:nil)
response = list_next_async(next_link, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13568 | Azure::Automation::Mgmt::V2015_10_31.DscNodeConfigurationOperations.get_with_http_info | train | def get_with_http_info(resource_group_name, automation_account_name, node_configuration_name, custom_headers:nil)
get_async(resource_group_name, automation_account_name, node_configuration_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13569 | Azure::Automation::Mgmt::V2015_10_31.DscNodeConfigurationOperations.create_or_update_with_http_info | train | def create_or_update_with_http_info(resource_group_name, automation_account_name, node_configuration_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, automation_account_name, node_configuration_name, parameters, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13570 | Azure::SQL::Mgmt::V2014_04_01.DisasterRecoveryConfigurations.get_with_http_info | train | def get_with_http_info(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:nil)
get_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13571 | Azure::SQL::Mgmt::V2014_04_01.DisasterRecoveryConfigurations.begin_create_or_update_with_http_info | train | def begin_create_or_update_with_http_info(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:nil)
begin_create_or_update_async(resource_group_name, server_name, disaster_recovery_configuration_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13572 | Azure::Batch::Mgmt::V2015_12_01.ApplicationOperations.get_with_http_info | train | def get_with_http_info(resource_group_name, account_name, application_id, custom_headers:nil)
get_async(resource_group_name, account_name, application_id, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13573 | Azure::Batch::Mgmt::V2015_12_01.ApplicationOperations.list_with_http_info | train | def list_with_http_info(resource_group_name, account_name, maxresults:nil, custom_headers:nil)
list_async(resource_group_name, account_name, maxresults:maxresults, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13574 | Azure::Relay::Mgmt::V2016_07_01.HybridConnections.delete_with_http_info | train | def delete_with_http_info(resource_group_name, namespace_name, hybrid_connection_name, custom_headers:nil)
delete_async(resource_group_name, namespace_name, hybrid_connection_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13575 | Azure::Relay::Mgmt::V2016_07_01.HybridConnections.get_with_http_info | train | def get_with_http_info(resource_group_name, namespace_name, hybrid_connection_name, custom_headers:nil)
get_async(resource_group_name, namespace_name, hybrid_connection_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13576 | Azure::Relay::Mgmt::V2016_07_01.HybridConnections.delete_authorization_rule_with_http_info | train | def delete_authorization_rule_with_http_info(resource_group_name, namespace_name, hybrid_connection_name, authorization_rule_name, custom_headers:nil)
delete_authorization_rule_async(resource_group_name, namespace_name, hybrid_connection_name, authorization_rule_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13577 | Azure::Monitor::Mgmt::V2017_04_01.ActivityLogAlerts.delete | train | def delete(resource_group_name, activity_log_alert_name, custom_headers:nil)
response = delete_async(resource_group_name, activity_log_alert_name, custom_headers:custom_headers).value!
nil
end | ruby | {
"resource": ""
} |
q13578 | Azure::Monitor::Mgmt::V2017_04_01.ActivityLogAlerts.list_by_subscription_id | train | def list_by_subscription_id(custom_headers:nil)
response = list_by_subscription_id_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13579 | Azure::ContainerService::Mgmt::V2019_02_01.AgentPools.list | train | def list(resource_group_name, managed_cluster_name, custom_headers:nil)
first_page = list_as_lazy(resource_group_name, managed_cluster_name, custom_headers:custom_headers)
first_page.get_all_items
end | ruby | {
"resource": ""
} |
q13580 | Azure::ContainerService::Mgmt::V2019_02_01.AgentPools.get_with_http_info | train | def get_with_http_info(resource_group_name, managed_cluster_name, agent_pool_name, custom_headers:nil)
get_async(resource_group_name, managed_cluster_name, agent_pool_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13581 | Azure::EventGrid::Mgmt::V2019_02_01_preview.Topics.regenerate_key_with_http_info | train | def regenerate_key_with_http_info(resource_group_name, topic_name, regenerate_key_request, custom_headers:nil)
regenerate_key_async(resource_group_name, topic_name, regenerate_key_request, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13582 | Azure::EventGrid::Mgmt::V2019_02_01_preview.Topics.list_by_subscription_as_lazy | train | def list_by_subscription_as_lazy(filter:nil, top:nil, custom_headers:nil)
response = list_by_subscription_async(filter:filter, top:top, custom_headers:custom_headers).value!
unless response.nil?
page = response.body
page.next_method = Proc.new do |next_page_link|
list_by_subscription_next_async(next_page_link, custom_headers:custom_headers)
end
page
end
end | ruby | {
"resource": ""
} |
q13583 | Azure::EventGrid::Mgmt::V2019_02_01_preview.Topics.list_by_resource_group_as_lazy | train | def list_by_resource_group_as_lazy(resource_group_name, filter:nil, top:nil, custom_headers:nil)
response = list_by_resource_group_async(resource_group_name, filter:filter, top:top, custom_headers:custom_headers).value!
unless response.nil?
page = response.body
page.next_method = Proc.new do |next_page_link|
list_by_resource_group_next_async(next_page_link, custom_headers:custom_headers)
end
page
end
end | ruby | {
"resource": ""
} |
q13584 | Azure::Network::Mgmt::V2018_07_01.ServiceEndpointPolicies.delete | train | def delete(resource_group_name, service_endpoint_policy_name, custom_headers:nil)
response = delete_async(resource_group_name, service_endpoint_policy_name, custom_headers:custom_headers).value!
nil
end | ruby | {
"resource": ""
} |
q13585 | Azure::Network::Mgmt::V2018_07_01.ServiceEndpointPolicies.get_with_http_info | train | def get_with_http_info(resource_group_name, service_endpoint_policy_name, expand:nil, custom_headers:nil)
get_async(resource_group_name, service_endpoint_policy_name, expand:expand, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13586 | Azure::Network::Mgmt::V2018_07_01.ServiceEndpointPolicies.begin_create_or_update_with_http_info | train | def begin_create_or_update_with_http_info(resource_group_name, service_endpoint_policy_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, service_endpoint_policy_name, parameters, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13587 | Azure::Network::Mgmt::V2018_07_01.ServiceEndpointPolicies.begin_update_with_http_info | train | def begin_update_with_http_info(resource_group_name, service_endpoint_policy_name, parameters, custom_headers:nil)
begin_update_async(resource_group_name, service_endpoint_policy_name, parameters, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13588 | Azure::CognitiveServices::WebSearch::V1_0.Web.search | train | def search(query, accept_language:nil, pragma:nil, user_agent:nil, client_id:nil, client_ip:nil, location:nil, answer_count:nil, country_code:nil, count:nil, freshness:nil, market:'en-us', offset:nil, promote:nil, response_filter:nil, safe_search:nil, set_lang:nil, text_decorations:nil, text_format:nil, custom_headers:nil)
response = search_async(query, accept_language:accept_language, pragma:pragma, user_agent:user_agent, client_id:client_id, client_ip:client_ip, location:location, answer_count:answer_count, country_code:country_code, count:count, freshness:freshness, market:market, offset:offset, promote:promote, response_filter:response_filter, safe_search:safe_search, set_lang:set_lang, text_decorations:text_decorations, text_format:text_format, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13589 | Azure::Kusto::Mgmt::V2018_09_07_privatepreview.Databases.list_by_cluster | train | def list_by_cluster(resource_group_name, cluster_name, custom_headers:nil)
response = list_by_cluster_async(resource_group_name, cluster_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13590 | Azure::Kusto::Mgmt::V2018_09_07_privatepreview.Databases.begin_update_with_http_info | train | def begin_update_with_http_info(resource_group_name, cluster_name, database_name, parameters, custom_headers:nil)
begin_update_async(resource_group_name, cluster_name, database_name, parameters, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13591 | Azure::StorSimple8000Series::Mgmt::V2017_06_01.StorageAccountCredentials.list_by_manager | train | def list_by_manager(resource_group_name, manager_name, custom_headers:nil)
response = list_by_manager_async(resource_group_name, manager_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13592 | Azure::StorSimple8000Series::Mgmt::V2017_06_01.StorageAccountCredentials.get_with_http_info | train | def get_with_http_info(storage_account_credential_name, resource_group_name, manager_name, custom_headers:nil)
get_async(storage_account_credential_name, resource_group_name, manager_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13593 | Azure::Web::Mgmt::V2018_02_01.Recommendations.list_with_http_info | train | def list_with_http_info(featured:nil, filter:nil, custom_headers:nil)
list_async(featured:featured, filter:filter, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13594 | Azure::Web::Mgmt::V2018_02_01.Recommendations.disable_all_for_web_app | train | def disable_all_for_web_app(resource_group_name, site_name, custom_headers:nil)
response = disable_all_for_web_app_async(resource_group_name, site_name, custom_headers:custom_headers).value!
nil
end | ruby | {
"resource": ""
} |
q13595 | Azure::Web::Mgmt::V2018_02_01.Recommendations.reset_all_filters_for_web_app | train | def reset_all_filters_for_web_app(resource_group_name, site_name, custom_headers:nil)
response = reset_all_filters_for_web_app_async(resource_group_name, site_name, custom_headers:custom_headers).value!
nil
end | ruby | {
"resource": ""
} |
q13596 | Azure::Automation::Mgmt::V2015_10_31.RunbookOperations.get_content_with_http_info | train | def get_content_with_http_info(resource_group_name, automation_account_name, runbook_name, custom_headers:nil)
get_content_async(resource_group_name, automation_account_name, runbook_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13597 | Azure::Automation::Mgmt::V2015_10_31.RunbookOperations.get_with_http_info | train | def get_with_http_info(resource_group_name, automation_account_name, runbook_name, custom_headers:nil)
get_async(resource_group_name, automation_account_name, runbook_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13598 | Azure::Automation::Mgmt::V2015_10_31.RunbookOperations.create_or_update_with_http_info | train | def create_or_update_with_http_info(resource_group_name, automation_account_name, runbook_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, automation_account_name, runbook_name, parameters, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13599 | Azure::Automation::Mgmt::V2015_10_31.RunbookOperations.update_with_http_info | train | def update_with_http_info(resource_group_name, automation_account_name, runbook_name, parameters, custom_headers:nil)
update_async(resource_group_name, automation_account_name, runbook_name, parameters, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.