idx int64 0 24.9k | question stringlengths 68 4.14k | target stringlengths 9 749 |
|---|---|---|
3,800 | def create_or_update_with_http_info ( vault_name , resource_group_name , fabric_name , container_name , protected_item_name , resource_protected_item , custom_headers : nil ) create_or_update_async ( vault_name , resource_group_name , fabric_name , container_name , protected_item_name , resource_protected_item , custom_headers : custom_headers ) . value! end | This operation enables an item to be backed up or modifies the existing backup policy information for an item that has been backed up . This is an asynchronous operation . To learn the status of the operation call the GetItemOperationResult API . |
3,801 | def get_with_http_info ( resource_group_name , hub_name , relationship_name , custom_headers : nil ) get_async ( resource_group_name , hub_name , relationship_name , custom_headers : custom_headers ) . value! end | Gets information about the specified relationship . |
3,802 | def begin_create_or_update_with_http_info ( resource_group_name , hub_name , relationship_name , parameters , custom_headers : nil ) begin_create_or_update_async ( resource_group_name , hub_name , relationship_name , parameters , custom_headers : custom_headers ) . value! end | Creates a relationship or updates an existing relationship within a hub . |
3,803 | def list ( detailed : nil , custom_headers : nil ) first_page = list_as_lazy ( detailed : detailed , custom_headers : custom_headers ) first_page . get_all_items end | Get all App Service plans for a subcription . |
3,804 | def list_capabilities ( resource_group_name , name , custom_headers : nil ) response = list_capabilities_async ( resource_group_name , name , custom_headers : custom_headers ) . value! response . body unless response . nil? end | List all capabilities of an App Service plan . |
3,805 | def get_hybrid_connection_plan_limit ( resource_group_name , name , custom_headers : nil ) response = get_hybrid_connection_plan_limit_async ( resource_group_name , name , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Get the maximum number of Hybrid Connections allowed in an App Service plan . |
3,806 | def get_server_farm_skus ( resource_group_name , name , custom_headers : nil ) response = get_server_farm_skus_async ( resource_group_name , name , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Gets all selectable sku s for a given App Service Plan |
3,807 | def list_vnets ( resource_group_name , name , custom_headers : nil ) response = list_vnets_async ( resource_group_name , name , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Get all Virtual Networks associated with an App Service plan . |
3,808 | def update_with_http_info ( resource_group_name , server_name , database_name , parameters , custom_headers : nil ) update_async ( resource_group_name , server_name , database_name , parameters , custom_headers : custom_headers ) . value! end | Update automatic tuning properties for target database . |
3,809 | def get_with_http_info ( resource_group_name , network_security_group_name , expand : nil , custom_headers : nil ) get_async ( resource_group_name , network_security_group_name , expand : expand , custom_headers : custom_headers ) . value! end | Gets the specified network security group . |
3,810 | def begin_create_or_update_with_http_info ( resource_group_name , network_security_group_name , parameters , custom_headers : nil ) begin_create_or_update_async ( resource_group_name , network_security_group_name , parameters , custom_headers : custom_headers ) . value! end | Creates or updates a network security group in the specified resource group . |
3,811 | def begin_update_tags_with_http_info ( resource_group_name , network_security_group_name , parameters , custom_headers : nil ) begin_update_tags_async ( resource_group_name , network_security_group_name , parameters , custom_headers : custom_headers ) . value! end | Updates a network security group tags . |
3,812 | def get_with_http_info ( device_name , backup_policy_name , resource_group_name , manager_name , custom_headers : nil ) get_async ( device_name , backup_policy_name , resource_group_name , manager_name , custom_headers : custom_headers ) . value! end | Gets the properties of the specified backup policy name . |
3,813 | def begin_create_or_update_with_http_info ( device_name , backup_policy_name , parameters , resource_group_name , manager_name , custom_headers : nil ) begin_create_or_update_async ( device_name , backup_policy_name , parameters , resource_group_name , manager_name , custom_headers : custom_headers ) . value! end | Creates or updates the backup policy . |
3,814 | def delete_with_http_info ( resource_group_name , job_name , input_name , custom_headers : nil ) delete_async ( resource_group_name , job_name , input_name , custom_headers : custom_headers ) . value! end | Deletes an input from the streaming job . |
3,815 | def get_with_http_info ( resource_group_name , job_name , input_name , custom_headers : nil ) get_async ( resource_group_name , job_name , input_name , custom_headers : custom_headers ) . value! end | Gets details about the specified input . |
3,816 | def create_or_update ( volume_resource_name , volume_resource_description , custom_headers : nil ) response = create_or_update_async ( volume_resource_name , volume_resource_description , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Creates or updates a Volume resource . |
3,817 | def get_with_http_info ( resource_group_name , hub_name , widget_type_name , custom_headers : nil ) get_async ( resource_group_name , hub_name , widget_type_name , custom_headers : custom_headers ) . value! end | Gets a widget type in the specified hub . |
3,818 | def complete_migration ( resource_group_name , namespace_name , custom_headers : nil ) response = complete_migration_async ( resource_group_name , namespace_name , custom_headers : custom_headers ) . value! nil end | This operation Completes Migration of entities by pointing the connection strings to Premium namespace and any entities created after the operation will be under Premium Namespace . CompleteMigration operation will fail when entity migration is in - progress . |
3,819 | def revert ( resource_group_name , namespace_name , custom_headers : nil ) response = revert_async ( resource_group_name , namespace_name , custom_headers : custom_headers ) . value! nil end | This operation reverts Migration |
3,820 | def create_or_update_with_http_info ( resource_group_name , policy_name , parameters , custom_headers : nil ) create_or_update_async ( resource_group_name , policy_name , parameters , custom_headers : custom_headers ) . value! end | Creates or update policy with specified rule set name within a resource group . |
3,821 | def pause ( resource_group_name , server_name , database_name , custom_headers : nil ) response = pause_async ( resource_group_name , server_name , database_name , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Pauses a database . |
3,822 | def resume ( resource_group_name , server_name , database_name , custom_headers : nil ) response = resume_async ( resource_group_name , server_name , database_name , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Resumes a database . |
3,823 | def begin_delete_with_http_info ( resource_group_name , server_name , database_name , custom_headers : nil ) begin_delete_async ( resource_group_name , server_name , database_name , custom_headers : custom_headers ) . value! end | Deletes the database . |
3,824 | def get_with_http_info ( resource_group_name , storage_sync_service_name , workflow_id , custom_headers : nil ) get_async ( resource_group_name , storage_sync_service_name , workflow_id , custom_headers : custom_headers ) . value! end | Get Workflows resource |
3,825 | def create_or_update_with_http_info ( resource_group_name , proximity_placement_group_name , parameters , custom_headers : nil ) create_or_update_async ( resource_group_name , proximity_placement_group_name , parameters , custom_headers : custom_headers ) . value! end | Create or update a proximity placement group . |
3,826 | def update_with_http_info ( resource_group_name , proximity_placement_group_name , parameters , custom_headers : nil ) update_async ( resource_group_name , proximity_placement_group_name , parameters , custom_headers : custom_headers ) . value! end | Update a proximity placement group . |
3,827 | def delete ( resource_group_name , proximity_placement_group_name , custom_headers : nil ) response = delete_async ( resource_group_name , proximity_placement_group_name , custom_headers : custom_headers ) . value! nil end | Delete a proximity placement group . |
3,828 | def get_with_http_info ( resource_group_name , automation_account_name , certificate_name , custom_headers : nil ) get_async ( resource_group_name , automation_account_name , certificate_name , custom_headers : custom_headers ) . value! end | Retrieve the certificate identified by certificate name . |
3,829 | def create_or_update_with_http_info ( resource_group_name , automation_account_name , certificate_name , parameters , custom_headers : nil ) create_or_update_async ( resource_group_name , automation_account_name , certificate_name , parameters , custom_headers : custom_headers ) . value! end | Create a certificate . |
3,830 | def update_with_http_info ( resource_group_name , automation_account_name , certificate_name , parameters , custom_headers : nil ) update_async ( resource_group_name , automation_account_name , certificate_name , parameters , custom_headers : custom_headers ) . value! end | Update a certificate . |
3,831 | def check_existence_at_subscription_scope ( deployment_name , custom_headers : nil ) response = check_existence_at_subscription_scope_async ( deployment_name , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Checks whether the deployment exists . |
3,832 | def validate_at_subscription_scope ( deployment_name , parameters , custom_headers : nil ) response = validate_at_subscription_scope_async ( deployment_name , parameters , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Validates whether the specified template is syntactically correct and will be accepted by Azure Resource Manager .. |
3,833 | def export_template_at_subscription_scope ( deployment_name , custom_headers : nil ) response = export_template_at_subscription_scope_async ( deployment_name , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Exports the template used for specified deployment . |
3,834 | def operations ( custom_headers : nil ) response = operations_async ( custom_headers : custom_headers ) . value! response . body unless response . nil? end | Gets a list of Serial Console API operations . |
3,835 | def create_or_update_async ( resource_group_name , service_name , parameters , if_match , custom_headers : nil ) fail ArgumentError , 'resource_group_name is nil' if resource_group_name . nil? fail ArgumentError , 'service_name is nil' if service_name . nil? fail ArgumentError , "'service_name' should satisfy the constraint - 'MaxLength': '50'" if ! service_name . nil? && service_name . length > 50 fail ArgumentError , "'service_name' should satisfy the constraint - 'MinLength': '1'" if ! service_name . nil? && service_name . length < 1 fail ArgumentError , "'service_name' should satisfy the constraint - 'Pattern': '^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$'" if ! service_name . nil? && service_name . match ( Regexp . new ( '^^[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?$$' ) ) . nil? fail ArgumentError , 'parameters is nil' if parameters . nil? fail ArgumentError , 'if_match is nil' if if_match . nil? fail ArgumentError , '@client.api_version is nil' if @client . api_version . nil? fail ArgumentError , '@client.subscription_id is nil' if @client . subscription_id . nil? request_headers = { } request_headers [ 'Content-Type' ] = 'application/vnd.ms-azure-apim.policy+xml' request_headers [ 'x-ms-client-request-id' ] = SecureRandom . uuid request_headers [ 'If-Match' ] = if_match unless if_match . nil? request_headers [ 'accept-language' ] = @client . accept_language unless @client . accept_language . nil? request_mapper = { client_side_validation : true , required : true , serialized_name : 'parameters' , type : { name : 'Stream' } } request_content = @client . serialize ( request_mapper , parameters ) path_template = 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/tenant/policy' request_url = @base_url || @client . base_url options = { middlewares : [ [ MsRest :: RetryPolicyMiddleware , times : 3 , retry : 0.02 ] , [ :cookie_jar ] ] , path_params : { 'resourceGroupName' => resource_group_name , 'serviceName' => service_name , 'subscriptionId' => @client . subscription_id } , query_params : { 'api-version' => @client . api_version } , body : request_content , headers : request_headers . merge ( custom_headers || { } ) , base_url : request_url } promise = @client . make_request_async ( :put , path_template , options ) promise = promise . then do | result | http_response = result . response status_code = http_response . status response_content = http_response . body unless status_code == 201 || status_code == 204 error_model = JSON . load ( response_content ) fail MsRest :: HttpOperationError . new ( result . request , http_response , error_model ) end result . request_id = http_response [ 'x-ms-request-id' ] unless http_response [ 'x-ms-request-id' ] . nil? result end promise . execute end | Creates or updates global policy configuration for the tenant . |
3,836 | def get_with_http_info ( resource_group_name , hub_name , profile_name , locale_code : 'en-us' , custom_headers : nil ) get_async ( resource_group_name , hub_name , profile_name , locale_code : locale_code , custom_headers : custom_headers ) . value! end | Gets information about the specified profile . |
3,837 | def begin_create_or_update_with_http_info ( resource_group_name , hub_name , profile_name , parameters , custom_headers : nil ) begin_create_or_update_async ( resource_group_name , hub_name , profile_name , parameters , custom_headers : custom_headers ) . value! end | Creates a profile within a Hub or updates an existing profile . |
3,838 | def get_by_id ( appliance_id , custom_headers : nil ) response = get_by_id_async ( appliance_id , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Gets the appliance . |
3,839 | def assign_to_app ( app_id , azure_account_info_object : nil , custom_headers : nil ) response = assign_to_app_async ( app_id , azure_account_info_object : azure_account_info_object , custom_headers : custom_headers ) . value! response . body unless response . nil? end | apps - Assign a LUIS Azure account to an application |
3,840 | def get_assigned ( app_id , custom_headers : nil ) response = get_assigned_async ( app_id , custom_headers : custom_headers ) . value! response . body unless response . nil? end | apps - Get LUIS Azure accounts assigned to the application |
3,841 | def remove_from_app ( app_id , azure_account_info_object : nil , custom_headers : nil ) response = remove_from_app_async ( app_id , azure_account_info_object : azure_account_info_object , custom_headers : custom_headers ) . value! response . body unless response . nil? end | apps - Removes an assigned LUIS Azure account from an application |
3,842 | def list_user_luisaccounts ( custom_headers : nil ) response = list_user_luisaccounts_async ( custom_headers : custom_headers ) . value! response . body unless response . nil? end | user - Get LUIS Azure accounts |
3,843 | def begin_create_or_update_with_http_info ( resource_group_name , resource_name , iot_hub_description , if_match : nil , custom_headers : nil ) begin_create_or_update_async ( resource_group_name , resource_name , iot_hub_description , if_match : if_match , custom_headers : custom_headers ) . value! end | Create or update the metadata of an IoT hub . |
3,844 | def begin_update_with_http_info ( resource_group_name , resource_name , iot_hub_tags , custom_headers : nil ) begin_update_async ( resource_group_name , resource_name , iot_hub_tags , custom_headers : custom_headers ) . value! end | Update an existing IoT Hubs tags . |
3,845 | def list_with_http_info ( resource_group_name , registry_name , build_task_name , custom_headers : nil ) list_async ( resource_group_name , registry_name , build_task_name , custom_headers : custom_headers ) . value! end | List all the build steps for a given build task . |
3,846 | def get_with_http_info ( resource_group_name , hub_name , prediction_name , custom_headers : nil ) get_async ( resource_group_name , hub_name , prediction_name , custom_headers : custom_headers ) . value! end | Gets a Prediction in the hub . |
3,847 | def begin_create_or_update_with_http_info ( resource_group_name , hub_name , prediction_name , parameters , custom_headers : nil ) begin_create_or_update_async ( resource_group_name , hub_name , prediction_name , parameters , custom_headers : custom_headers ) . value! end | Creates a Prediction or updates an existing Prediction in the hub . |
3,848 | def begin_delete_with_http_info ( resource_group_name , hub_name , prediction_name , custom_headers : nil ) begin_delete_async ( resource_group_name , hub_name , prediction_name , custom_headers : custom_headers ) . value! end | Deletes a Prediction in the hub . |
3,849 | def list_by_product_as_lazy ( resource_group_name , service_name , filter , top : nil , skip : nil , orderby : nil , custom_headers : nil ) response = list_by_product_async ( resource_group_name , service_name , filter , top : top , skip : skip , orderby : orderby , custom_headers : custom_headers ) . value! unless response . nil? page = response . body page . next_method = Proc . new do | next_page_link | list_by_product_next_async ( next_page_link , custom_headers : custom_headers ) end page end end | Lists report records by Product . |
3,850 | def disabled ( custom_headers : nil ) response = disabled_async ( custom_headers : custom_headers ) . value! response . body unless response . nil? end | Gets if Serial Console is disabled for a subscription . |
3,851 | def get_update_summary ( device_name , resource_group_name , custom_headers : nil ) response = get_update_summary_async ( device_name , resource_group_name , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Gets information about the availability of updates based on the last scan of the device . It also gets information about any ongoing download or install jobs on the device . |
3,852 | def get_with_http_info ( resource_group_name , cluster_name , extension_name , custom_headers : nil ) get_async ( resource_group_name , cluster_name , extension_name , custom_headers : custom_headers ) . value! end | Gets the extension properties for the specified HDInsight cluster extension . |
3,853 | def regenerate_key_with_http_info ( resource_group_name , account_name , key_name , custom_headers : nil ) regenerate_key_async ( resource_group_name , account_name , key_name , custom_headers : custom_headers ) . value! end | Regenerates the specified account key for the specified Cognitive Services account . |
3,854 | def begin_create_or_update_with_http_info ( body , resource_group_name , account_name , custom_headers : nil ) begin_create_or_update_async ( body , resource_group_name , account_name , custom_headers : custom_headers ) . value! end | Create or update a NetApp account |
3,855 | def begin_delete_with_http_info ( resource_group_name , virtual_network_name , subnet_name , custom_headers : nil ) begin_delete_async ( resource_group_name , virtual_network_name , subnet_name , custom_headers : custom_headers ) . value! end | The delete subnet operation deletes the specified subnet . |
3,856 | def validate ( resource_group_name , workflow_name , workflow , custom_headers : nil ) response = validate_async ( resource_group_name , workflow_name , workflow , custom_headers : custom_headers ) . value! nil end | Validates a workflow . |
3,857 | def check_existence_by_id ( resource_id , api_version , custom_headers : nil ) response = check_existence_by_id_async ( resource_id , api_version , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Checks by ID whether a resource exists . |
3,858 | def get_by_id ( resource_id , api_version , custom_headers : nil ) response = get_by_id_async ( resource_id , api_version , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Gets a resource by ID . |
3,859 | def update_with_http_info ( resource_group_name , cluster_name , parameters , custom_headers : nil ) update_async ( resource_group_name , cluster_name , parameters , custom_headers : custom_headers ) . value! end | Patch HDInsight cluster with the specified parameters . |
3,860 | def get_gateway_settings ( resource_group_name , cluster_name , custom_headers : nil ) response = get_gateway_settings_async ( resource_group_name , cluster_name , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Gets the gateway settings for the specified cluster . |
3,861 | def get_current_user ( custom_headers : nil ) response = get_current_user_async ( custom_headers : custom_headers ) . value! response . body unless response . nil? end | Gets the details for the currently logged - in user . |
3,862 | def create_or_update_with_http_info ( resource_uri , parameters , name , custom_headers : nil ) create_or_update_async ( resource_uri , parameters , name , custom_headers : custom_headers ) . value! end | Creates or updates diagnostic settings for the specified resource . |
3,863 | def get_with_http_info ( resource_group_name , service_name , user_id , custom_headers : nil ) get_async ( resource_group_name , service_name , user_id , custom_headers : custom_headers ) . value! end | Gets the details of the user specified by its identifier . |
3,864 | def get_with_http_info ( application_resource_name , service_resource_name , replica_name , custom_headers : nil ) get_async ( application_resource_name , service_resource_name , replica_name , custom_headers : custom_headers ) . value! end | Gets the given replica of the service of an application . |
3,865 | def list ( application_resource_name , service_resource_name , custom_headers : nil ) response = list_async ( application_resource_name , service_resource_name , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Lists all the replicas of a service . |
3,866 | def create_or_update_with_http_info ( resource_group_name , availability_set_name , parameters , custom_headers : nil ) create_or_update_async ( resource_group_name , availability_set_name , parameters , custom_headers : custom_headers ) . value! end | Create or update an availability set . |
3,867 | def update_with_http_info ( resource_group_name , availability_set_name , parameters , custom_headers : nil ) update_async ( resource_group_name , availability_set_name , parameters , custom_headers : custom_headers ) . value! end | Update an availability set . |
3,868 | def delete ( resource_group_name , availability_set_name , custom_headers : nil ) response = delete_async ( resource_group_name , availability_set_name , custom_headers : custom_headers ) . value! nil end | Delete an availability set . |
3,869 | def patch ( subscription_id , resource_group_name , cluster_name , application_name , api_version , parameters , custom_headers : nil ) response = patch_async ( subscription_id , resource_group_name , cluster_name , application_name , api_version , parameters , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Updates an application resource with the specified name . |
3,870 | def list_by_location ( resource_group_name , location_name , custom_headers : nil ) first_page = list_by_location_as_lazy ( resource_group_name , location_name , custom_headers : custom_headers ) first_page . get_all_items end | Lists the failover groups in a location . |
3,871 | def begin_create_or_update_with_http_info ( resource_group_name , location_name , failover_group_name , parameters , custom_headers : nil ) begin_create_or_update_async ( resource_group_name , location_name , failover_group_name , parameters , custom_headers : custom_headers ) . value! end | Creates or updates a failover group . |
3,872 | def begin_create_or_update_with_http_info ( resource_group_name , domain_name , domain_topic_name , custom_headers : nil ) begin_create_or_update_async ( resource_group_name , domain_name , domain_topic_name , custom_headers : custom_headers ) . value! end | Create or update a domain topic |
3,873 | def get_with_http_info ( resource_group_name , hub_name , link_name , custom_headers : nil ) get_async ( resource_group_name , hub_name , link_name , custom_headers : custom_headers ) . value! end | Gets a link in the hub . |
3,874 | def begin_create_or_update_with_http_info ( resource_group_name , hub_name , link_name , parameters , custom_headers : nil ) begin_create_or_update_async ( resource_group_name , hub_name , link_name , parameters , custom_headers : custom_headers ) . value! end | Creates a link or updates an existing link in the hub . |
3,875 | def begin_delete_with_http_info ( resource_group_name , managed_instance_name , database_name , custom_headers : nil ) begin_delete_async ( resource_group_name , managed_instance_name , database_name , custom_headers : custom_headers ) . value! end | Deletes a managed database . |
3,876 | def list_with_http_info ( resource_group_name , account_name , asset_name , custom_headers : nil ) list_async ( resource_group_name , account_name , asset_name , custom_headers : custom_headers ) . value! end | List Asset Filters |
3,877 | def get_with_http_info ( resource_group_name , account_name , virtual_network_rule_name , custom_headers : nil ) get_async ( resource_group_name , account_name , virtual_network_rule_name , custom_headers : custom_headers ) . value! end | Gets the specified Data Lake Store virtual network rule . |
3,878 | def delete_with_http_info ( resource_group_name , account_name , virtual_network_rule_name , custom_headers : nil ) delete_async ( resource_group_name , account_name , virtual_network_rule_name , custom_headers : custom_headers ) . value! end | Deletes the specified virtual network rule from the specified Data Lake Store account . |
3,879 | def delete_with_http_info ( resource_group_name , workspace_name , saved_search_name , custom_headers : nil ) delete_async ( resource_group_name , workspace_name , saved_search_name , custom_headers : custom_headers ) . value! end | Deletes the specified saved search in a given workspace . |
3,880 | def get_with_http_info ( resource_group_name , workspace_name , saved_search_name , custom_headers : nil ) get_async ( resource_group_name , workspace_name , saved_search_name , custom_headers : custom_headers ) . value! end | Gets the specified saved search for a given workspace . |
3,881 | def list_for_billing_period_by_billing_account_with_http_info ( billing_account_id , billing_period_name , filter : nil , top : nil , skiptoken : nil , custom_headers : nil ) list_for_billing_period_by_billing_account_async ( billing_account_id , billing_period_name , filter : filter , top : top , skiptoken : skiptoken , custom_headers : custom_headers ) . value! end | Lists the marketplaces for a scope by billing period and billingAccountId . Marketplaces are available via this API only for May 1 2014 or later . |
3,882 | def make_request_async ( base_url , method , path , options = { } ) options = @middlewares . merge ( options ) options [ :credentials ] = options [ :credentials ] || @credentials options [ :user_agent_extended ] = @user_agent_extended request = MsRest :: HttpOperationRequest . new ( base_url , path , method , options ) promise = request . run_promise do | req | options [ :credentials ] . sign_request ( req ) unless options [ :credentials ] . nil? end promise = promise . then do | http_response | response_content = http_response . body . to_s . empty? ? nil : http_response . body create_response ( request , http_response , response_content ) end promise . execute end | Creates and initialize new instance of the ServiceClient class . |
3,883 | def get_with_http_info ( resource_group_name , integration_account_name , assembly_artifact_name , custom_headers : nil ) get_async ( resource_group_name , integration_account_name , assembly_artifact_name , custom_headers : custom_headers ) . value! end | Get an assembly for an integration account . |
3,884 | def delete_with_http_info ( resource_group_name , integration_account_name , assembly_artifact_name , custom_headers : nil ) delete_async ( resource_group_name , integration_account_name , assembly_artifact_name , custom_headers : custom_headers ) . value! end | Delete an assembly for an integration account . |
3,885 | def list_content_callback_url_with_http_info ( resource_group_name , integration_account_name , assembly_artifact_name , custom_headers : nil ) list_content_callback_url_async ( resource_group_name , integration_account_name , assembly_artifact_name , custom_headers : custom_headers ) . value! end | Get the content callback url for an integration account assembly . |
3,886 | def add ( app_id , user_to_add , custom_headers : nil ) response = add_async ( app_id , user_to_add , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Adds a user to the allowed list of users to access this LUIS application . Users are added using their email address . |
3,887 | def delete ( app_id , user_to_delete , custom_headers : nil ) response = delete_async ( app_id , user_to_delete , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Removes a user from the allowed list of users to access this LUIS application . Users are removed using their email address . |
3,888 | def create_by_id ( role_assignment_id , parameters , custom_headers : nil ) response = create_by_id_async ( role_assignment_id , parameters , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Creates a role assignment by ID . |
3,889 | def delete ( resource_group_name , action_group_name , custom_headers : nil ) response = delete_async ( resource_group_name , action_group_name , custom_headers : custom_headers ) . value! nil end | Delete an action group . |
3,890 | def delete_with_http_info ( resource_group_name , server_name , job_agent_name , credential_name , custom_headers : nil ) delete_async ( resource_group_name , server_name , job_agent_name , credential_name , custom_headers : custom_headers ) . value! end | Deletes a job credential . |
3,891 | def get_with_http_info ( resource_group_name , server_name , job_agent_name , job_name , job_execution_id , step_name , custom_headers : nil ) get_async ( resource_group_name , server_name , job_agent_name , job_name , job_execution_id , step_name , custom_headers : custom_headers ) . value! end | Gets a step execution of a job execution . |
3,892 | def get_with_http_info ( resource_group_name , server_name , virtual_network_rule_name , custom_headers : nil ) get_async ( resource_group_name , server_name , virtual_network_rule_name , custom_headers : custom_headers ) . value! end | Gets a virtual network rule . |
3,893 | def begin_delete_with_http_info ( resource_group_name , server_name , virtual_network_rule_name , custom_headers : nil ) begin_delete_async ( resource_group_name , server_name , virtual_network_rule_name , custom_headers : custom_headers ) . value! end | Deletes the virtual network rule with the given name . |
3,894 | def get_with_http_info ( resource_group_name , automation_account_name , connection_type_name , custom_headers : nil ) get_async ( resource_group_name , automation_account_name , connection_type_name , custom_headers : custom_headers ) . value! end | Retrieve the connectiontype identified by connectiontype name . |
3,895 | def create_or_update_with_http_info ( resource_group_name , automation_account_name , connection_type_name , parameters , custom_headers : nil ) create_or_update_async ( resource_group_name , automation_account_name , connection_type_name , parameters , custom_headers : custom_headers ) . value! end | Create a connectiontype . |
3,896 | def create_or_update_with_http_info ( resource_group_name , account_name , compute_policy_name , parameters , custom_headers : nil ) create_or_update_async ( resource_group_name , account_name , compute_policy_name , parameters , custom_headers : custom_headers ) . value! end | Creates or updates the specified compute policy . During update the compute policy with the specified name will be replaced with this new compute policy . An account supports at most 50 policies |
3,897 | def get_with_http_info ( resource_group_name , account_name , compute_policy_name , custom_headers : nil ) get_async ( resource_group_name , account_name , compute_policy_name , custom_headers : custom_headers ) . value! end | Gets the specified Data Lake Analytics compute policy . |
3,898 | def delete_with_http_info ( resource_group_name , account_name , compute_policy_name , custom_headers : nil ) delete_async ( resource_group_name , account_name , compute_policy_name , custom_headers : custom_headers ) . value! end | Deletes the specified compute policy from the specified Data Lake Analytics account |
3,899 | def get_with_http_info ( resource_group_name , integration_account_name , batch_configuration_name , custom_headers : nil ) get_async ( resource_group_name , integration_account_name , batch_configuration_name , custom_headers : custom_headers ) . value! end | Get a batch configuration for an integration account . |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.