_id stringlengths 2 6 | title stringlengths 9 130 | partition stringclasses 3 values | text stringlengths 66 10.5k | language stringclasses 1 value | meta_information dict |
|---|---|---|---|---|---|
q13800 | Azure::Batch::Mgmt::V2017_09_01.PoolOperations.update_with_http_info | train | def update_with_http_info(resource_group_name, account_name, pool_name, parameters, if_match:nil, custom_headers:nil)
update_async(resource_group_name, account_name, pool_name, parameters, if_match:if_match, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13801 | Azure::Batch::Mgmt::V2017_09_01.PoolOperations.begin_create | train | def begin_create(resource_group_name, account_name, pool_name, parameters, if_match:nil, if_none_match:nil, custom_headers:nil)
response = begin_create_async(resource_group_name, account_name, pool_name, parameters, if_match:if_match, if_none_match:if_none_match, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13802 | Azure::Batch::Mgmt::V2015_12_01.ApplicationPackageOperations.create_with_http_info | train | def create_with_http_info(resource_group_name, account_name, application_id, version, custom_headers:nil)
create_async(resource_group_name, account_name, application_id, version, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13803 | Azure::Batch::Mgmt::V2015_12_01.ApplicationPackageOperations.delete_with_http_info | train | def delete_with_http_info(resource_group_name, account_name, application_id, version, custom_headers:nil)
delete_async(resource_group_name, account_name, application_id, version, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13804 | Azure::DataLakeAnalytics::Mgmt::V2016_11_01.FirewallRules.get_with_http_info | train | def get_with_http_info(resource_group_name, account_name, firewall_rule_name, custom_headers:nil)
get_async(resource_group_name, account_name, firewall_rule_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13805 | Azure::DataLakeAnalytics::Mgmt::V2016_11_01.FirewallRules.delete_with_http_info | train | def delete_with_http_info(resource_group_name, account_name, firewall_rule_name, custom_headers:nil)
delete_async(resource_group_name, account_name, firewall_rule_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13806 | Azure::Hdinsight::Mgmt::V2018_06_01_preview.Configurations.get_with_http_info | train | def get_with_http_info(resource_group_name, cluster_name, configuration_name, custom_headers:nil)
get_async(resource_group_name, cluster_name, configuration_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13807 | Azure::Network::Mgmt::V2019_02_01.ExpressRoutePorts.begin_create_or_update_with_http_info | train | def begin_create_or_update_with_http_info(resource_group_name, express_route_port_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, express_route_port_name, parameters, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13808 | Azure::Network::Mgmt::V2019_02_01.ExpressRoutePorts.begin_update_tags_with_http_info | train | def begin_update_tags_with_http_info(resource_group_name, express_route_port_name, parameters, custom_headers:nil)
begin_update_tags_async(resource_group_name, express_route_port_name, parameters, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13809 | Azure::ApiManagement::Mgmt::V2018_01_01.Tag.get_with_http_info | train | def get_with_http_info(resource_group_name, service_name, tag_id, custom_headers:nil)
get_async(resource_group_name, service_name, tag_id, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13810 | Azure::ApiManagement::Mgmt::V2018_01_01.Tag.list_by_operation_next | train | def list_by_operation_next(next_page_link, custom_headers:nil)
response = list_by_operation_next_async(next_page_link, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13811 | Azure::GraphRbac::V1_6.Groups.is_member_of | train | def is_member_of(parameters, custom_headers:nil)
response = is_member_of_async(parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13812 | Azure::GraphRbac::V1_6.Groups.remove_member | train | def remove_member(group_object_id, member_object_id, custom_headers:nil)
response = remove_member_async(group_object_id, member_object_id, custom_headers:custom_headers).value!
nil
end | ruby | {
"resource": ""
} |
q13813 | Azure::GraphRbac::V1_6.Groups.add_member | train | def add_member(group_object_id, parameters, custom_headers:nil)
response = add_member_async(group_object_id, parameters, custom_headers:custom_headers).value!
nil
end | ruby | {
"resource": ""
} |
q13814 | Azure::CognitiveServices::Qnamaker::V4_0.EndpointKeys.get_keys | train | def get_keys(custom_headers:nil)
response = get_keys_async(custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13815 | Azure::CognitiveServices::Qnamaker::V4_0.EndpointKeys.refresh_keys | train | def refresh_keys(key_type, custom_headers:nil)
response = refresh_keys_async(key_type, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13816 | Azure::RecoveryServicesBackup::Mgmt::V2016_12_01.ProtectionContainers.refresh | train | def refresh(vault_name, resource_group_name, fabric_name, filter:nil, custom_headers:nil)
response = refresh_async(vault_name, resource_group_name, fabric_name, filter:filter, custom_headers:custom_headers).value!
nil
end | ruby | {
"resource": ""
} |
q13817 | Azure::CDN::Mgmt::V2015_06_01.Endpoints.list_by_profile | train | def list_by_profile(profile_name, resource_group_name, custom_headers:nil)
response = list_by_profile_async(profile_name, resource_group_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13818 | Azure::CDN::Mgmt::V2015_06_01.Endpoints.begin_delete_if_exists_with_http_info | train | def begin_delete_if_exists_with_http_info(endpoint_name, profile_name, resource_group_name, custom_headers:nil)
begin_delete_if_exists_async(endpoint_name, profile_name, resource_group_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13819 | Azure::Network::Mgmt::V2018_07_01.VpnGateways.begin_update_tags_with_http_info | train | def begin_update_tags_with_http_info(resource_group_name, gateway_name, vpn_gateway_parameters, custom_headers:nil)
begin_update_tags_async(resource_group_name, gateway_name, vpn_gateway_parameters, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13820 | Azure::SQL::Mgmt::V2017_03_01_preview.DatabaseOperations.cancel_with_http_info | train | def cancel_with_http_info(resource_group_name, server_name, database_name, operation_id, custom_headers:nil)
cancel_async(resource_group_name, server_name, database_name, operation_id, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13821 | Azure::SQL::Mgmt::V2014_04_01.ServiceObjectives.get_with_http_info | train | def get_with_http_info(resource_group_name, server_name, service_objective_name, custom_headers:nil)
get_async(resource_group_name, server_name, service_objective_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13822 | Azure::CognitiveServices::Qnamaker::V4_0.Operations.get_details | train | def get_details(operation_id, custom_headers:nil)
response = get_details_async(operation_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13823 | Azure::CDN::Mgmt::V2016_04_02.Profiles.begin_create_with_http_info | train | def begin_create_with_http_info(profile_name, profile_properties, resource_group_name, custom_headers:nil)
begin_create_async(profile_name, profile_properties, resource_group_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13824 | Azure::Labservices::Mgmt::V2018_10_15.LabAccounts.get_with_http_info | train | def get_with_http_info(resource_group_name, lab_account_name, expand:nil, custom_headers:nil)
get_async(resource_group_name, lab_account_name, expand:expand, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13825 | Azure::Labservices::Mgmt::V2018_10_15.LabAccounts.delete | train | def delete(resource_group_name, lab_account_name, custom_headers:nil)
response = delete_async(resource_group_name, lab_account_name, custom_headers:custom_headers).value!
nil
end | ruby | {
"resource": ""
} |
q13826 | Azure::Labservices::Mgmt::V2018_10_15.LabAccounts.get_regional_availability | train | def get_regional_availability(resource_group_name, lab_account_name, custom_headers:nil)
response = get_regional_availability_async(resource_group_name, lab_account_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13827 | Azure::Monitor::Mgmt::V2016_03_01.AlertRules.update_with_http_info | train | def update_with_http_info(resource_group_name, rule_name, alert_rules_resource, custom_headers:nil)
update_async(resource_group_name, rule_name, alert_rules_resource, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13828 | Azure::Scheduler::Mgmt::V2016_03_01.JobCollections.begin_delete | train | def begin_delete(resource_group_name, job_collection_name, custom_headers:nil)
response = begin_delete_async(resource_group_name, job_collection_name, custom_headers:custom_headers).value!
nil
end | ruby | {
"resource": ""
} |
q13829 | Azure::SQL::Mgmt::V2014_04_01.RestorableDroppedDatabases.get_with_http_info | train | def get_with_http_info(resource_group_name, server_name, restorable_droppeded_database_id, custom_headers:nil)
get_async(resource_group_name, server_name, restorable_droppeded_database_id, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13830 | Azure::Network::Mgmt::V2018_07_01.RouteFilters.delete | train | def delete(resource_group_name, route_filter_name, custom_headers:nil)
response = delete_async(resource_group_name, route_filter_name, custom_headers:custom_headers).value!
nil
end | ruby | {
"resource": ""
} |
q13831 | Azure::Network::Mgmt::V2018_07_01.RouteFilters.get_with_http_info | train | def get_with_http_info(resource_group_name, route_filter_name, expand:nil, custom_headers:nil)
get_async(resource_group_name, route_filter_name, expand:expand, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13832 | Azure::Hdinsight::Mgmt::V2015_03_01_preview.ScriptActions.delete_with_http_info | train | def delete_with_http_info(resource_group_name, cluster_name, script_name, custom_headers:nil)
delete_async(resource_group_name, cluster_name, script_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13833 | Azure::ApiManagement::Mgmt::V2018_01_01.ApiVersionSet.get_with_http_info | train | def get_with_http_info(resource_group_name, service_name, version_set_id, custom_headers:nil)
get_async(resource_group_name, service_name, version_set_id, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13834 | Azure::SQL::Mgmt::V2015_05_01_preview.Servers.begin_create_or_update_with_http_info | train | def begin_create_or_update_with_http_info(resource_group_name, server_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, server_name, parameters, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13835 | Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview.UserAssignedIdentities.create_or_update_with_http_info | train | def create_or_update_with_http_info(resource_group_name, resource_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, resource_name, parameters, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13836 | Azure::ManagedServiceIdentity::Mgmt::V2015_08_31_preview.UserAssignedIdentities.update_with_http_info | train | def update_with_http_info(resource_group_name, resource_name, parameters, custom_headers:nil)
update_async(resource_group_name, resource_name, parameters, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13837 | Azure::Network::Mgmt::V2019_02_01.NatGateways.get_with_http_info | train | def get_with_http_info(resource_group_name, nat_gateway_name, expand:nil, custom_headers:nil)
get_async(resource_group_name, nat_gateway_name, expand:expand, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13838 | Azure::Network::Mgmt::V2019_02_01.NatGateways.update_tags_with_http_info | train | def update_tags_with_http_info(resource_group_name, nat_gateway_name, parameters, custom_headers:nil)
update_tags_async(resource_group_name, nat_gateway_name, parameters, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13839 | Azure::Network::Mgmt::V2019_02_01.NatGateways.begin_create_or_update_with_http_info | train | def begin_create_or_update_with_http_info(resource_group_name, nat_gateway_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, nat_gateway_name, parameters, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13840 | Azure::Network::Mgmt::V2018_07_01.AzureFirewalls.begin_create_or_update_with_http_info | train | def begin_create_or_update_with_http_info(resource_group_name, azure_firewall_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, azure_firewall_name, parameters, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13841 | Azure::MediaServices::Mgmt::V2018_07_01.Assets.get_with_http_info | train | def get_with_http_info(resource_group_name, account_name, asset_name, custom_headers:nil)
get_async(resource_group_name, account_name, asset_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13842 | Azure::MediaServices::Mgmt::V2018_07_01.Assets.delete_with_http_info | train | def delete_with_http_info(resource_group_name, account_name, asset_name, custom_headers:nil)
delete_async(resource_group_name, account_name, asset_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13843 | Azure::Network::Mgmt::V2018_07_01.LoadBalancerLoadBalancingRules.get_with_http_info | train | def get_with_http_info(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:nil)
get_async(resource_group_name, load_balancer_name, load_balancing_rule_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13844 | Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10.ReplicationPolicies.create | train | def create(policy_name, input, custom_headers:nil)
response = create_async(policy_name, input, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13845 | Azure::RecoveryServicesSiteRecovery::Mgmt::V2016_08_10.ReplicationPolicies.begin_update | train | def begin_update(policy_name, input, custom_headers:nil)
response = begin_update_async(policy_name, input, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13846 | Azure::CDN::Mgmt::V2017_04_02.CustomDomains.get_with_http_info | train | def get_with_http_info(resource_group_name, profile_name, endpoint_name, custom_domain_name, custom_headers:nil)
get_async(resource_group_name, profile_name, endpoint_name, custom_domain_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13847 | Azure::Locks::Mgmt::V2015_01_01.ManagementLocks.delete_at_resource_group_level | train | def delete_at_resource_group_level(resource_group_name, lock_name, custom_headers:nil)
response = delete_at_resource_group_level_async(resource_group_name, lock_name, custom_headers:custom_headers).value!
nil
end | ruby | {
"resource": ""
} |
q13848 | Azure::Locks::Mgmt::V2015_01_01.ManagementLocks.get_at_resource_group_level | train | def get_at_resource_group_level(resource_group_name, lock_name, custom_headers:nil)
response = get_at_resource_group_level_async(resource_group_name, lock_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13849 | Azure::Locks::Mgmt::V2015_01_01.ManagementLocks.create_or_update_at_subscription_level | train | def create_or_update_at_subscription_level(lock_name, parameters, custom_headers:nil)
response = create_or_update_at_subscription_level_async(lock_name, parameters, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13850 | Azure::CustomerInsights::Mgmt::V2017_01_01.AuthorizationPolicies.get_with_http_info | train | def get_with_http_info(resource_group_name, hub_name, authorization_policy_name, custom_headers:nil)
get_async(resource_group_name, hub_name, authorization_policy_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13851 | Azure::DataLakeAnalytics::Mgmt::V2016_11_01.Locations.get_capability | train | def get_capability(location, custom_headers:nil)
response = get_capability_async(location, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13852 | Azure::ContainerService::Mgmt::V2017_09_30.ContainerServices.list_orchestrators | train | def list_orchestrators(location, resource_type:nil, custom_headers:nil)
response = list_orchestrators_async(location, resource_type:resource_type, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13853 | Azure::MixedReality::Mgmt::V2019_02_28_preview.SpatialAnchorsAccounts.delete | train | def delete(resource_group_name, spatial_anchors_account_name, custom_headers:nil)
response = delete_async(resource_group_name, spatial_anchors_account_name, custom_headers:custom_headers).value!
nil
end | ruby | {
"resource": ""
} |
q13854 | Azure::MixedReality::Mgmt::V2019_02_28_preview.SpatialAnchorsAccounts.get_keys | train | def get_keys(resource_group_name, spatial_anchors_account_name, custom_headers:nil)
response = get_keys_async(resource_group_name, spatial_anchors_account_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13855 | Azure::ApiManagement::Mgmt::V2019_01_01.Logger.delete_with_http_info | train | def delete_with_http_info(resource_group_name, service_name, logger_id, if_match, force:nil, custom_headers:nil)
delete_async(resource_group_name, service_name, logger_id, if_match, force:force, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13856 | Azure::Advisor::Mgmt::V2017_03_31.Suppressions.get_with_http_info | train | def get_with_http_info(resource_uri, recommendation_id, name, custom_headers:nil)
get_async(resource_uri, recommendation_id, name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13857 | Azure::Compute::Mgmt::V2019_03_01.VirtualMachineScaleSetExtensions.list | train | def list(resource_group_name, vm_scale_set_name, custom_headers:nil)
first_page = list_as_lazy(resource_group_name, vm_scale_set_name, custom_headers:custom_headers)
first_page.get_all_items
end | ruby | {
"resource": ""
} |
q13858 | Azure::Automation::Mgmt::V2015_10_31.DscNodeOperations.delete_with_http_info | train | def delete_with_http_info(resource_group_name, automation_account_name, node_id, custom_headers:nil)
delete_async(resource_group_name, automation_account_name, node_id, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13859 | Azure::Automation::Mgmt::V2015_10_31.DscNodeOperations.update_with_http_info | train | def update_with_http_info(resource_group_name, automation_account_name, node_id, parameters, custom_headers:nil)
update_async(resource_group_name, automation_account_name, node_id, parameters, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13860 | Azure::Automation::Mgmt::V2015_10_31.DscCompilationJobStream.list_by_job | train | def list_by_job(resource_group_name, automation_account_name, job_id, custom_headers:nil)
response = list_by_job_async(resource_group_name, automation_account_name, job_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13861 | Azure::CDN::Mgmt::V2016_10_02.Profiles.delete | train | def delete(resource_group_name, profile_name, custom_headers:nil)
response = delete_async(resource_group_name, profile_name, custom_headers:custom_headers).value!
nil
end | ruby | {
"resource": ""
} |
q13862 | Azure::CDN::Mgmt::V2016_10_02.Profiles.generate_sso_uri | train | def generate_sso_uri(resource_group_name, profile_name, custom_headers:nil)
response = generate_sso_uri_async(resource_group_name, profile_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13863 | Azure::CDN::Mgmt::V2016_10_02.Profiles.begin_update_with_http_info | train | def begin_update_with_http_info(resource_group_name, profile_name, profile_update_parameters, custom_headers:nil)
begin_update_async(resource_group_name, profile_name, profile_update_parameters, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13864 | Azure::StorSimple8000Series::Mgmt::V2017_06_01.Managers.create_or_update_with_http_info | train | def create_or_update_with_http_info(parameters, resource_group_name, manager_name, custom_headers:nil)
create_or_update_async(parameters, resource_group_name, manager_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13865 | Azure::StorSimple8000Series::Mgmt::V2017_06_01.Managers.get_encryption_settings | train | def get_encryption_settings(resource_group_name, manager_name, custom_headers:nil)
response = get_encryption_settings_async(resource_group_name, manager_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13866 | Azure::StorSimple8000Series::Mgmt::V2017_06_01.Managers.get_extended_info | train | def get_extended_info(resource_group_name, manager_name, custom_headers:nil)
response = get_extended_info_async(resource_group_name, manager_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13867 | Azure::StorSimple8000Series::Mgmt::V2017_06_01.Managers.delete_extended_info | train | def delete_extended_info(resource_group_name, manager_name, custom_headers:nil)
response = delete_extended_info_async(resource_group_name, manager_name, custom_headers:custom_headers).value!
nil
end | ruby | {
"resource": ""
} |
q13868 | Azure::StorSimple8000Series::Mgmt::V2017_06_01.Managers.get_activation_key | train | def get_activation_key(resource_group_name, manager_name, custom_headers:nil)
response = get_activation_key_async(resource_group_name, manager_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13869 | Azure::StorSimple8000Series::Mgmt::V2017_06_01.Managers.get_public_encryption_key | train | def get_public_encryption_key(resource_group_name, manager_name, custom_headers:nil)
response = get_public_encryption_key_async(resource_group_name, manager_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13870 | Azure::StorSimple8000Series::Mgmt::V2017_06_01.Managers.regenerate_activation_key | train | def regenerate_activation_key(resource_group_name, manager_name, custom_headers:nil)
response = regenerate_activation_key_async(resource_group_name, manager_name, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13871 | Azure::Network::Mgmt::V2018_07_01.VirtualNetworks.delete | train | def delete(resource_group_name, virtual_network_name, custom_headers:nil)
response = delete_async(resource_group_name, virtual_network_name, custom_headers:custom_headers).value!
nil
end | ruby | {
"resource": ""
} |
q13872 | Azure::Network::Mgmt::V2018_07_01.VirtualNetworks.begin_create_or_update_with_http_info | train | def begin_create_or_update_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers:nil)
begin_create_or_update_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13873 | Azure::Network::Mgmt::V2018_07_01.VirtualNetworks.begin_update_tags_with_http_info | train | def begin_update_tags_with_http_info(resource_group_name, virtual_network_name, parameters, custom_headers:nil)
begin_update_tags_async(resource_group_name, virtual_network_name, parameters, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13874 | Azure::Network::Mgmt::V2018_08_01.ServiceEndpointPolicyDefinitions.get_with_http_info | train | def get_with_http_info(resource_group_name, service_endpoint_policy_name, service_endpoint_policy_definition_name, custom_headers:nil)
get_async(resource_group_name, service_endpoint_policy_name, service_endpoint_policy_definition_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13875 | Azure::Network::Mgmt::V2018_08_01.ServiceEndpointPolicyDefinitions.list_by_resource_group | train | def list_by_resource_group(resource_group_name, service_endpoint_policy_name, custom_headers:nil)
first_page = list_by_resource_group_as_lazy(resource_group_name, service_endpoint_policy_name, custom_headers:custom_headers)
first_page.get_all_items
end | ruby | {
"resource": ""
} |
q13876 | MsRestAzure.PollingState.get_provisioning_state | train | def get_provisioning_state
# On non flattened resource, we should find provisioning_state inside 'properties'
if (!@resource.nil? && @resource.respond_to?(:properties) && @resource.properties.respond_to?(:provisioning_state) && !@resource.properties.provisioning_state.nil?)
@resource.properties.provisioning_state
# On flattened resource, we should find provisioning_state at the top level
elsif !@resource.nil? && @resource.respond_to?(:provisioning_state) && !@resource.provisioning_state.nil?
@resource.provisioning_state
else
nil
end
end | ruby | {
"resource": ""
} |
q13877 | MsRestAzure.PollingState.get_delay | train | def get_delay
return @retry_timeout unless @retry_timeout.nil?
if !response.nil? && !response.headers['Retry-After'].nil?
return response.headers['Retry-After'].to_i
end
return AsyncOperationStatus::DEFAULT_DELAY
end | ruby | {
"resource": ""
} |
q13878 | MsRestAzure.PollingState.update_response | train | def update_response(response)
@response = response
unless response.nil?
@azure_async_operation_header_link = response.headers['Azure-AsyncOperation'] unless response.headers['Azure-AsyncOperation'].nil?
@location_header_link = response.headers['Location'] unless response.headers['Location'].nil?
end
end | ruby | {
"resource": ""
} |
q13879 | Azure::DataLakeStore::Mgmt::V2016_11_01.TrustedIdProviders.get_with_http_info | train | def get_with_http_info(resource_group_name, account_name, trusted_id_provider_name, custom_headers:nil)
get_async(resource_group_name, account_name, trusted_id_provider_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13880 | Azure::DataLakeStore::Mgmt::V2016_11_01.TrustedIdProviders.delete_with_http_info | train | def delete_with_http_info(resource_group_name, account_name, trusted_id_provider_name, custom_headers:nil)
delete_async(resource_group_name, account_name, trusted_id_provider_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13881 | Azure::PolicyInsights::Mgmt::V2018_04_04.PolicyStates.summarize_for_management_group | train | def summarize_for_management_group(management_group_name, query_options:nil, custom_headers:nil)
response = summarize_for_management_group_async(management_group_name, query_options:query_options, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13882 | Azure::PolicyInsights::Mgmt::V2018_04_04.PolicyStates.list_query_results_for_subscription_with_http_info | train | def list_query_results_for_subscription_with_http_info(policy_states_resource, subscription_id, query_options:nil, custom_headers:nil)
list_query_results_for_subscription_async(policy_states_resource, subscription_id, query_options:query_options, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13883 | Azure::PolicyInsights::Mgmt::V2018_04_04.PolicyStates.summarize_for_subscription | train | def summarize_for_subscription(subscription_id, query_options:nil, custom_headers:nil)
response = summarize_for_subscription_async(subscription_id, query_options:query_options, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13884 | Azure::PolicyInsights::Mgmt::V2018_04_04.PolicyStates.summarize_for_resource | train | def summarize_for_resource(resource_id, query_options:nil, custom_headers:nil)
response = summarize_for_resource_async(resource_id, query_options:query_options, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13885 | Azure::PolicyInsights::Mgmt::V2018_04_04.PolicyStates.list_query_results_for_policy_set_definition | train | def list_query_results_for_policy_set_definition(policy_states_resource, subscription_id, policy_set_definition_name, query_options:nil, custom_headers:nil)
response = list_query_results_for_policy_set_definition_async(policy_states_resource, subscription_id, policy_set_definition_name, query_options:query_options, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13886 | Azure::PolicyInsights::Mgmt::V2018_04_04.PolicyStates.list_query_results_for_policy_definition | train | def list_query_results_for_policy_definition(policy_states_resource, subscription_id, policy_definition_name, query_options:nil, custom_headers:nil)
response = list_query_results_for_policy_definition_async(policy_states_resource, subscription_id, policy_definition_name, query_options:query_options, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13887 | Azure::PolicyInsights::Mgmt::V2018_04_04.PolicyStates.get_metadata | train | def get_metadata(scope, custom_headers:nil)
response = get_metadata_async(scope, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13888 | MsRest.DeserializationError.to_json | train | def to_json(*a)
{exception_message: exception_message, message: @msg, stacktrace: exception_stacktrace, result: result}.to_json(*a)
end | ruby | {
"resource": ""
} |
q13889 | Azure::Storage::Mgmt::V2018_07_01.Usages.list_by_location | train | def list_by_location(location, custom_headers:nil)
response = list_by_location_async(location, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13890 | Azure::CognitiveServices::ContentModerator::V1_0.Reviews.get_review | train | def get_review(team_name, review_id, custom_headers:nil)
response = get_review_async(team_name, review_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13891 | Azure::CognitiveServices::ContentModerator::V1_0.Reviews.get_job_details | train | def get_job_details(team_name, job_id, custom_headers:nil)
response = get_job_details_async(team_name, job_id, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13892 | Azure::CognitiveServices::ContentModerator::V1_0.Reviews.publish_video_review | train | def publish_video_review(team_name, review_id, custom_headers:nil)
response = publish_video_review_async(team_name, review_id, custom_headers:custom_headers).value!
nil
end | ruby | {
"resource": ""
} |
q13893 | Azure::Network::Mgmt::V2016_12_01.NetworkInterfaces.get_with_http_info | train | def get_with_http_info(resource_group_name, network_interface_name, expand:nil, custom_headers:nil)
get_async(resource_group_name, network_interface_name, expand:expand, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13894 | Azure::Hdinsight::Mgmt::V2015_03_01_preview.Locations.get_capabilities | train | def get_capabilities(location, custom_headers:nil)
response = get_capabilities_async(location, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13895 | Azure::Hdinsight::Mgmt::V2015_03_01_preview.Locations.list_usages | train | def list_usages(location, custom_headers:nil)
response = list_usages_async(location, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13896 | Azure::Automation::Mgmt::V2015_10_31.AgentRegistrationInformation.regenerate_key_with_http_info | train | def regenerate_key_with_http_info(resource_group_name, automation_account_name, parameters, custom_headers:nil)
regenerate_key_async(resource_group_name, automation_account_name, parameters, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13897 | Azure::Logic::Mgmt::V2015_02_01_preview.WorkflowAccessKeys.get_with_http_info | train | def get_with_http_info(resource_group_name, workflow_name, access_key_name, custom_headers:nil)
get_async(resource_group_name, workflow_name, access_key_name, custom_headers:custom_headers).value!
end | ruby | {
"resource": ""
} |
q13898 | Azure::PrivateDns::Mgmt::V2018_09_01.PrivateZones.update | train | def update(resource_group_name, private_zone_name, parameters, if_match:nil, custom_headers:nil)
response = update_async(resource_group_name, private_zone_name, parameters, if_match:if_match, custom_headers:custom_headers).value!
response.body unless response.nil?
end | ruby | {
"resource": ""
} |
q13899 | Azure::CustomerInsights::Mgmt::V2017_01_01.Views.create_or_update_with_http_info | train | def create_or_update_with_http_info(resource_group_name, hub_name, view_name, parameters, custom_headers:nil)
create_or_update_async(resource_group_name, hub_name, view_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.