idx int64 0 24.9k | question stringlengths 68 4.14k | target stringlengths 9 749 |
|---|---|---|
3,000 | def decorate_association ( owner , target ) owner . is_a? ( ActiveDecorator :: Decorated ) ? decorate ( target ) : target end | Decorates AR model object s association only when the object was decorated . Returns the association instance . |
3,001 | def decorator_for ( model_class ) return @@decorators [ model_class ] if @@decorators . key? model_class decorator_name = "#{model_class.name}#{ActiveDecorator.config.decorator_suffix}" d = Object . const_get decorator_name , false unless Class === d d . send :include , ActiveDecorator :: Helpers @@decorators [ model_class ] = d else @@decorators [ model_class ] = nil end rescue NameError if model_class . respond_to? ( :base_class ) && ( model_class . base_class != model_class ) @@decorators [ model_class ] = decorator_for model_class . base_class else @@decorators [ model_class ] = nil end end | Returns a decorator module for the given class . Returns nil if no decorator module was found . |
3,002 | def delete ( resource_group_name , certificate_order_name , custom_headers : nil ) response = delete_async ( resource_group_name , certificate_order_name , custom_headers : custom_headers ) . value! nil end | Delete an existing certificate order . |
3,003 | def resend_email ( resource_group_name , certificate_order_name , custom_headers : nil ) response = resend_email_async ( resource_group_name , certificate_order_name , custom_headers : custom_headers ) . value! nil end | Resend certificate email . |
3,004 | def retrieve_certificate_actions ( resource_group_name , name , custom_headers : nil ) response = retrieve_certificate_actions_async ( resource_group_name , name , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Retrieve the list of certificate actions . |
3,005 | def retrieve_certificate_email_history ( resource_group_name , name , custom_headers : nil ) response = retrieve_certificate_email_history_async ( resource_group_name , name , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Retrieve email history . |
3,006 | def list_by_resource_group_next ( next_page_link , custom_headers : nil ) response = list_by_resource_group_next_async ( next_page_link , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Get certificate orders in a resource group . |
3,007 | def get_with_http_info ( resource_group_name , virtual_network_name , virtual_network_peering_name , custom_headers : nil ) get_async ( resource_group_name , virtual_network_name , virtual_network_peering_name , custom_headers : custom_headers ) . value! end | Gets the specified virtual network peering . |
3,008 | def list ( resource_group_name , virtual_network_name , custom_headers : nil ) first_page = list_as_lazy ( resource_group_name , virtual_network_name , custom_headers : custom_headers ) first_page . get_all_items end | Gets all virtual network peerings in a virtual network . |
3,009 | def check_for_status_code_failure ( azure_response ) fail MsRest :: ValidationError , 'Azure response cannot be nil' if azure_response . nil? fail MsRest :: ValidationError , 'Azure response cannot have empty response object' if azure_response . response . nil? fail MsRest :: ValidationError , 'Azure response cannot have empty request object' if azure_response . request . nil? status_code = azure_response . response . status http_method = azure_response . request . method fail AzureOperationError , "Unexpected polling status code from long running operation #{status_code}" unless status_code === 200 || status_code === 202 || ( status_code === 201 && http_method === :put ) || ( status_code === 204 && ( http_method === :delete || http_method === :post ) ) end | Verifies for unexpected polling status code |
3,010 | def update_state_from_get_resource_operation ( request , polling_state , custom_deserialization_block ) result = get_async_with_custom_deserialization ( request , custom_deserialization_block ) fail AzureOperationError , 'The response from long running operation does not contain a body' if result . response . body . nil? || result . response . body . empty? if result . body . respond_to? ( :properties ) && result . body . properties . respond_to? ( :provisioning_state ) && ! result . body . properties . provisioning_state . nil? polling_state . status = result . body . properties . provisioning_state elsif result . body . respond_to? ( :provisioning_state ) && ! result . body . provisioning_state . nil? polling_state . status = result . body . provisioning_state else polling_state . status = AsyncOperationStatus :: SUCCESS_STATUS end error_data = CloudErrorData . new error_data . code = polling_state . status error_data . message = "Long running operation failed with status #{polling_state.status}" polling_state . error_data = error_data polling_state . update_response ( result . response ) polling_state . request = result . request polling_state . resource = result . body end | Updates polling state based on location header for PUT HTTP requests . |
3,011 | def update_state_from_location_header ( request , polling_state , custom_deserialization_block , final_state_via = FinalStateVia :: DEFAULT ) result = get_async_with_custom_deserialization ( request , custom_deserialization_block ) polling_state . update_response ( result . response ) polling_state . request = result . request status_code = result . response . status http_method = request . method if status_code === 202 polling_state . status = AsyncOperationStatus :: IN_PROGRESS_STATUS elsif status_code === 200 || ( status_code === 201 && http_method === :put ) || ( status_code === 204 && ( http_method === :delete || http_method === :post || http_method === :get ) ) polling_state . status = AsyncOperationStatus :: SUCCESS_STATUS error_data = CloudErrorData . new error_data . code = polling_state . status error_data . message = "Long running operation failed with status #{polling_state.status}" polling_state . error_data = error_data polling_state . resource = result . body elsif final_state_via == FinalStateVia :: LOCATION && status_code === 404 && http_method === :delete && ! polling_state . azure_async_operation_header_link . nil? && ! polling_state . location_header_link . nil? polling_state . status = AsyncOperationStatus :: SUCCESS_STATUS else fail AzureOperationError , "The response from long running operation does not have a valid status code. Method: #{http_method}, Status Code: #{status_code}" end end | Updates polling state based on location header for HTTP requests . |
3,012 | def update_state_from_azure_async_operation_header ( request , polling_state ) result = get_async_with_async_operation_deserialization ( request ) fail AzureOperationError , 'The response from long running operation does not contain a body' if result . body . nil? || result . body . status . nil? polling_state . status = result . body . status polling_state . error_data = result . body . error polling_state . response = result . response polling_state . request = result . request polling_state . resource = nil polling_state end | Updates polling state from Azure async operation header . |
3,013 | def create ( alert_setting_name , request , custom_headers : nil ) response = create_async ( alert_setting_name , request , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Configures email notifications for this vault . |
3,014 | def create_or_update_with_http_info ( resource_group_name , private_zone_name , record_type , relative_record_set_name , parameters , if_match : nil , if_none_match : nil , custom_headers : nil ) create_or_update_async ( resource_group_name , private_zone_name , record_type , relative_record_set_name , parameters , if_match : if_match , if_none_match : if_none_match , custom_headers : custom_headers ) . value! end | Creates or updates a record set within a Private DNS zone . |
3,015 | def list_with_http_info ( resource_group_name , private_zone_name , top : nil , recordsetnamesuffix : nil , custom_headers : nil ) list_async ( resource_group_name , private_zone_name , top : top , recordsetnamesuffix : recordsetnamesuffix , custom_headers : custom_headers ) . value! end | Lists all record sets in a Private DNS zone . |
3,016 | def get_with_http_info ( resource_group_name , server_name , configuration_name , custom_headers : nil ) get_async ( resource_group_name , server_name , configuration_name , custom_headers : custom_headers ) . value! end | Gets information about a configuration of server . |
3,017 | def get_with_http_info ( resource_group_name , storage_sync_service_name , sync_group_name , server_endpoint_name , custom_headers : nil ) get_async ( resource_group_name , storage_sync_service_name , sync_group_name , server_endpoint_name , custom_headers : custom_headers ) . value! end | Get a ServerEndpoint . |
3,018 | def begin_delete_with_http_info ( resource_group_name , storage_sync_service_name , sync_group_name , server_endpoint_name , custom_headers : nil ) begin_delete_async ( resource_group_name , storage_sync_service_name , sync_group_name , server_endpoint_name , custom_headers : custom_headers ) . value! end | Delete a given ServerEndpoint . |
3,019 | def make_request_with_http_info ( method , path , options = { } ) result = make_request_async ( method , path , options ) . value! result . body = result . response . body . to_s . empty? ? nil : JSON . load ( result . response . body ) result end | Makes a request and returns the operation response . |
3,020 | def make_request_async ( method , path , options = { } ) fail ArgumentError , 'method is nil' if method . nil? fail ArgumentError , 'path is nil' if path . nil? request_url = options [ :base_url ] || @base_url if ( ! options [ :headers ] . nil? && ! options [ :headers ] [ 'Content-Type' ] . nil? ) @request_headers [ 'Content-Type' ] = options [ :headers ] [ 'Content-Type' ] end request_headers = @request_headers request_headers . merge! ( { 'accept-language' => @accept_language } ) unless @accept_language . nil? options . merge! ( { headers : request_headers . merge ( options [ :headers ] || { } ) } ) options . merge! ( { credentials : @credentials } ) unless @credentials . nil? super ( request_url , method , path , options ) end | Makes a request asynchronously . |
3,021 | def get_text_operation_result ( operation_id , custom_headers : nil ) response = get_text_operation_result_async ( operation_id , custom_headers : custom_headers ) . value! response . body unless response . nil? end | This interface is used for getting text operation result . The URL to this interface should be retrieved from Operation - Location field returned from Recognize Text interface . |
3,022 | def get_read_operation_result ( operation_id , custom_headers : nil ) response = get_read_operation_result_async ( operation_id , custom_headers : custom_headers ) . value! response . body unless response . nil? end | This interface is used for getting OCR results of Read operation . The URL to this interface should be retrieved from Operation - Location field returned from Batch Read File interface . |
3,023 | def update_with_http_info ( resource_group_name , name , parameters , custom_headers : nil ) update_async ( resource_group_name , name , parameters , custom_headers : custom_headers ) . value! end | Update an existing Redis cache . |
3,024 | def list_keys ( resource_group_name , name , custom_headers : nil ) response = list_keys_async ( resource_group_name , name , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Retrieve a Redis cache s access keys . This operation requires write permission to the cache resource . |
3,025 | def create_or_update_with_http_info ( resource_group_name , cache_name , rule_name , parameters , custom_headers : nil ) create_or_update_async ( resource_group_name , cache_name , rule_name , parameters , custom_headers : custom_headers ) . value! end | Create or update a redis cache firewall rule |
3,026 | def get_with_http_info ( resource_group_name , cache_name , rule_name , custom_headers : nil ) get_async ( resource_group_name , cache_name , rule_name , custom_headers : custom_headers ) . value! end | Gets a single firewall rule in a specified redis cache . |
3,027 | def delete_with_http_info ( resource_group_name , cache_name , rule_name , custom_headers : nil ) delete_async ( resource_group_name , cache_name , rule_name , custom_headers : custom_headers ) . value! end | Deletes a single firewall rule in a specified redis cache . |
3,028 | def begin_delete_if_exists ( custom_domain_name , endpoint_name , profile_name , resource_group_name , custom_headers : nil ) response = begin_delete_if_exists_async ( custom_domain_name , endpoint_name , profile_name , resource_group_name , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Deletes an existing CDN custom domain within an endpoint . |
3,029 | def update_with_http_info ( resource_group_name , zone_name , relative_record_set_name , record_type , parameters , if_match : nil , custom_headers : nil ) update_async ( resource_group_name , zone_name , relative_record_set_name , record_type , parameters , if_match : if_match , custom_headers : custom_headers ) . value! end | Updates a record set within a DNS zone . |
3,030 | def delete_with_http_info ( resource_group_name , zone_name , relative_record_set_name , record_type , if_match : nil , custom_headers : nil ) delete_async ( resource_group_name , zone_name , relative_record_set_name , record_type , if_match : if_match , custom_headers : custom_headers ) . value! end | Deletes a record set from a DNS zone . This operation cannot be undone . |
3,031 | def call ( request_env ) request_body = request_env [ :body ] begin request_env [ :body ] = request_body @app . call ( request_env ) . on_complete do | response_env | status_code = response_env . status if @times > 0 && ( status_code == 408 || ( status_code >= 500 && status_code != 501 && status_code != 505 ) ) sleep @delay fail 'faraday_retry' end end rescue Exception => e raise e if e . message != 'faraday_retry' @times = @times - 1 retry end end | Initializes a new instance of the RetryPolicyMiddleware class . |
3,032 | def list_all_next ( next_page_link , custom_headers : nil ) response = list_all_next_async ( next_page_link , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Gets a list of all VM Scale Sets in the subscription regardless of the associated resource group . Use nextLink property in the response to get the next page of VM Scale Sets . Do this till nextLink is null to fetch all the VM Scale Sets . |
3,033 | def get_with_http_info ( resource_group_name , network_watcher_name , packet_capture_name , custom_headers : nil ) get_async ( resource_group_name , network_watcher_name , packet_capture_name , custom_headers : custom_headers ) . value! end | Gets a packet capture session by name . |
3,034 | def begin_delete_with_http_info ( resource_group_name , network_watcher_name , packet_capture_name , custom_headers : nil ) begin_delete_async ( resource_group_name , network_watcher_name , packet_capture_name , custom_headers : custom_headers ) . value! end | Deletes the specified packet capture session . |
3,035 | def update_with_http_info ( resource_group_name , namespace_name , parameters , custom_headers : nil ) update_async ( resource_group_name , namespace_name , parameters , custom_headers : custom_headers ) . value! end | Updates a service namespace . Once created this namespace s resource manifest is immutable . This operation is idempotent . |
3,036 | def delete_authorization_rule ( resource_group_name , namespace_name , authorization_rule_name , custom_headers : nil ) response = delete_authorization_rule_async ( resource_group_name , namespace_name , authorization_rule_name , custom_headers : custom_headers ) . value! nil end | Deletes a namespace authorization rule . |
3,037 | def begin_create_or_update_with_http_info ( resource_group_name , namespace_name , parameters , custom_headers : nil ) begin_create_or_update_async ( resource_group_name , namespace_name , parameters , custom_headers : custom_headers ) . value! end | Creates or updates a service namespace . Once created this namespace s resource manifest is immutable . This operation is idempotent . |
3,038 | def begin_delete ( resource_group_name , namespace_name , custom_headers : nil ) response = begin_delete_async ( resource_group_name , namespace_name , custom_headers : custom_headers ) . value! nil end | Deletes an existing namespace . This operation also removes all associated resources under the namespace . |
3,039 | def list_by_subscription_next ( next_page_link , custom_headers : nil ) response = list_by_subscription_next_async ( next_page_link , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Gets all the available namespaces within the subscription irrespective of the resource groups . |
3,040 | def clone_with_http_info ( app_id , version_id , version_clone_object , custom_headers : nil ) clone_async ( app_id , version_id , version_clone_object , custom_headers : custom_headers ) . value! end | Creates a new version from the selected version . |
3,041 | def list ( app_id , skip : 0 , take : 100 , custom_headers : nil ) response = list_async ( app_id , skip : skip , take : take , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Gets a list of versions for this application ID . |
3,042 | def export ( app_id , version_id , custom_headers : nil ) response = export_async ( app_id , version_id , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Exports a LUIS application to JSON format . |
3,043 | def update_with_http_info ( resource_group_name , account_name , container_name , blob_container , custom_headers : nil ) update_async ( resource_group_name , account_name , container_name , blob_container , custom_headers : custom_headers ) . value! end | Updates container properties as specified in request body . Properties not mentioned in the request will be unchanged . Update fails if the specified container doesn t already exist . |
3,044 | def get_with_http_info ( resource_group_name , account_name , container_name , custom_headers : nil ) get_async ( resource_group_name , account_name , container_name , custom_headers : custom_headers ) . value! end | Gets properties of a specified container . |
3,045 | def delete_with_http_info ( resource_group_name , account_name , container_name , custom_headers : nil ) delete_async ( resource_group_name , account_name , container_name , custom_headers : custom_headers ) . value! end | Deletes specified container under its account . |
3,046 | def begin_delete ( resource_group_name , network_interface_name , custom_headers : nil ) response = begin_delete_async ( resource_group_name , network_interface_name , custom_headers : custom_headers ) . value! nil end | The delete networkInterface operation deletes the specified networkInterface . |
3,047 | def get_network_rule_set ( resource_group_name , namespace_name , custom_headers : nil ) response = get_network_rule_set_async ( resource_group_name , namespace_name , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Gets NetworkRuleSet for a Namespace . |
3,048 | def get_stats ( resource_group_name , circuit_name , custom_headers : nil ) response = get_stats_async ( resource_group_name , circuit_name , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Gets all the stats from an express route circuit in a resource group . |
3,049 | def begin_delete ( resource_group_name , circuit_name , custom_headers : nil ) response = begin_delete_async ( resource_group_name , circuit_name , custom_headers : custom_headers ) . value! nil end | Deletes the specified express route circuit . |
3,050 | def begin_create_or_update_with_http_info ( resource_group_name , circuit_name , parameters , custom_headers : nil ) begin_create_or_update_async ( resource_group_name , circuit_name , parameters , custom_headers : custom_headers ) . value! end | Creates or updates an express route circuit . |
3,051 | def begin_update_tags_with_http_info ( resource_group_name , circuit_name , parameters , custom_headers : nil ) begin_update_tags_async ( resource_group_name , circuit_name , parameters , custom_headers : custom_headers ) . value! end | Updates an express route circuit tags . |
3,052 | def begin_list_routes_table_with_http_info ( resource_group_name , circuit_name , peering_name , device_path , custom_headers : nil ) begin_list_routes_table_async ( resource_group_name , circuit_name , peering_name , device_path , custom_headers : custom_headers ) . value! end | Gets the currently advertised routes table associated with the express route circuit in a resource group . |
3,053 | def get_with_http_info ( resource_group_name , express_route_gateway_name , connection_name , custom_headers : nil ) get_async ( resource_group_name , express_route_gateway_name , connection_name , custom_headers : custom_headers ) . value! end | Gets the specified ExpressRouteConnection . |
3,054 | def get_with_http_info ( resource_group_name , workflow_name , trigger_name , history_name , custom_headers : nil ) get_async ( resource_group_name , workflow_name , trigger_name , history_name , custom_headers : custom_headers ) . value! end | Gets a workflow trigger history . |
3,055 | def get_cluster_manifest ( timeout : 60 , custom_headers : nil ) response = get_cluster_manifest_async ( timeout : timeout , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Get the Service Fabric cluster manifest . |
3,056 | def get_cluster_upgrade_progress ( timeout : 60 , custom_headers : nil ) response = get_cluster_upgrade_progress_async ( timeout : timeout , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Gets the progress of the current cluster upgrade . |
3,057 | def get_cluster_configuration_upgrade_status ( timeout : 60 , custom_headers : nil ) response = get_cluster_configuration_upgrade_status_async ( timeout : timeout , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Get the cluster configuration upgrade status of a Service Fabric standalone cluster . |
3,058 | def get_upgrade_orchestration_service_state ( timeout : 60 , custom_headers : nil ) response = get_upgrade_orchestration_service_state_async ( timeout : timeout , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Get the service state of Service Fabric Upgrade Orchestration Service . |
3,059 | def get_aad_metadata ( timeout : 60 , custom_headers : nil ) response = get_aad_metadata_async ( timeout : timeout , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Gets the Azure Active Directory metadata used for secured connection to cluster . |
3,060 | def create_repair_task ( repair_task , custom_headers : nil ) response = create_repair_task_async ( repair_task , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Creates a new repair task . |
3,061 | def cancel_repair_task ( repair_task_cancel_description , custom_headers : nil ) response = cancel_repair_task_async ( repair_task_cancel_description , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Requests the cancellation of the given repair task . |
3,062 | def force_approve_repair_task ( repair_task_approve_description , custom_headers : nil ) response = force_approve_repair_task_async ( repair_task_approve_description , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Forces the approval of the given repair task . |
3,063 | def update_repair_task_health_policy ( repair_task_update_health_policy_description , custom_headers : nil ) response = update_repair_task_health_policy_async ( repair_task_update_health_policy_description , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Updates the health policy of the given repair task . |
3,064 | def update_repair_execution_state ( repair_task , custom_headers : nil ) response = update_repair_execution_state_async ( repair_task , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Updates the execution state of a repair task . |
3,065 | def get_chaos ( timeout : 60 , custom_headers : nil ) response = get_chaos_async ( timeout : timeout , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Get the status of Chaos . |
3,066 | def get_chaos_schedule ( custom_headers : nil ) response = get_chaos_schedule_async ( custom_headers : custom_headers ) . value! response . body unless response . nil? end | Get the Chaos Schedule defining when and how to run Chaos . |
3,067 | def get_image_store_root_content ( timeout : 60 , custom_headers : nil ) response = get_image_store_root_content_async ( timeout : timeout , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Gets the content information at the root of the image store . |
3,068 | def list_by_storage_sync_service ( resource_group_name , storage_sync_service_name , custom_headers : nil ) response = list_by_storage_sync_service_async ( resource_group_name , storage_sync_service_name , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Get a given registered server list . |
3,069 | def get_with_http_info ( resource_group_name , storage_sync_service_name , server_id , custom_headers : nil ) get_async ( resource_group_name , storage_sync_service_name , server_id , custom_headers : custom_headers ) . value! end | Get a given registered server . |
3,070 | def begin_create_or_update ( device_name , backup_policy_name , backup_schedule_name , parameters , resource_group_name , manager_name , custom_headers : nil ) response = begin_create_or_update_async ( device_name , backup_policy_name , backup_schedule_name , parameters , resource_group_name , manager_name , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Creates or updates the backup schedule . |
3,071 | def begin_delete ( resource_group_name , managed_instance_name , custom_headers : nil ) response = begin_delete_async ( resource_group_name , managed_instance_name , custom_headers : custom_headers ) . value! nil end | Deletes a managed instance . |
3,072 | def get_with_http_info ( resource_group_name , registry_name , webhook_name , custom_headers : nil ) get_async ( resource_group_name , registry_name , webhook_name , custom_headers : custom_headers ) . value! end | Gets the properties of the specified webhook . |
3,073 | def list ( resource_group_name , registry_name , custom_headers : nil ) first_page = list_as_lazy ( resource_group_name , registry_name , custom_headers : custom_headers ) first_page . get_all_items end | Lists all the webhooks for the specified container registry . |
3,074 | def begin_delete_with_http_info ( resource_group_name , registry_name , webhook_name , custom_headers : nil ) begin_delete_async ( resource_group_name , registry_name , webhook_name , custom_headers : custom_headers ) . value! end | Deletes a webhook from a container registry . |
3,075 | def list ( resource_group_name , load_balancer_name , custom_headers : nil ) first_page = list_as_lazy ( resource_group_name , load_balancer_name , custom_headers : custom_headers ) first_page . get_all_items end | Gets all the inbound nat rules in a load balancer . |
3,076 | def get_with_http_info ( resource_group_name , load_balancer_name , inbound_nat_rule_name , expand : nil , custom_headers : nil ) get_async ( resource_group_name , load_balancer_name , inbound_nat_rule_name , expand : expand , custom_headers : custom_headers ) . value! end | Gets the specified load balancer inbound nat rule . |
3,077 | def delete_key ( vault_base_url , key_name , custom_headers : nil ) response = delete_key_async ( vault_base_url , key_name , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Deletes a key of any type from storage in Azure Key Vault . |
3,078 | def backup_key ( vault_base_url , key_name , custom_headers : nil ) response = backup_key_async ( vault_base_url , key_name , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Requests that a backup of the specified key be downloaded to the client . |
3,079 | def restore_key ( vault_base_url , key_bundle_backup , custom_headers : nil ) response = restore_key_async ( vault_base_url , key_bundle_backup , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Restores a backed up key to a vault . |
3,080 | def get_deleted_key ( vault_base_url , key_name , custom_headers : nil ) response = get_deleted_key_async ( vault_base_url , key_name , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Gets the public part of a deleted key . |
3,081 | def purge_deleted_key ( vault_base_url , key_name , custom_headers : nil ) response = purge_deleted_key_async ( vault_base_url , key_name , custom_headers : custom_headers ) . value! nil end | Permanently deletes the specified key . |
3,082 | def recover_deleted_key ( vault_base_url , key_name , custom_headers : nil ) response = recover_deleted_key_async ( vault_base_url , key_name , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Recovers the deleted key to its latest version . |
3,083 | def delete_secret ( vault_base_url , secret_name , custom_headers : nil ) response = delete_secret_async ( vault_base_url , secret_name , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Deletes a secret from a specified key vault . |
3,084 | def get_deleted_secret ( vault_base_url , secret_name , custom_headers : nil ) response = get_deleted_secret_async ( vault_base_url , secret_name , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Gets the specified deleted secret . |
3,085 | def purge_deleted_secret ( vault_base_url , secret_name , custom_headers : nil ) response = purge_deleted_secret_async ( vault_base_url , secret_name , custom_headers : custom_headers ) . value! nil end | Permanently deletes the specified secret . |
3,086 | def recover_deleted_secret ( vault_base_url , secret_name , custom_headers : nil ) response = recover_deleted_secret_async ( vault_base_url , secret_name , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Recovers the deleted secret to the latest version . |
3,087 | def backup_secret ( vault_base_url , secret_name , custom_headers : nil ) response = backup_secret_async ( vault_base_url , secret_name , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Backs up the specified secret . |
3,088 | def restore_secret ( vault_base_url , secret_bundle_backup , custom_headers : nil ) response = restore_secret_async ( vault_base_url , secret_bundle_backup , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Restores a backed up secret to a vault . |
3,089 | def delete_certificate ( vault_base_url , certificate_name , custom_headers : nil ) response = delete_certificate_async ( vault_base_url , certificate_name , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Deletes a certificate from a specified key vault . |
3,090 | def set_certificate_contacts ( vault_base_url , contacts , custom_headers : nil ) response = set_certificate_contacts_async ( vault_base_url , contacts , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Sets the certificate contacts for the specified key vault . |
3,091 | def get_certificate_contacts ( vault_base_url , custom_headers : nil ) response = get_certificate_contacts_async ( vault_base_url , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Lists the certificate contacts for a specified key vault . |
3,092 | def delete_certificate_contacts ( vault_base_url , custom_headers : nil ) response = delete_certificate_contacts_async ( vault_base_url , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Deletes the certificate contacts for a specified key vault . |
3,093 | def get_certificate_issuer ( vault_base_url , issuer_name , custom_headers : nil ) response = get_certificate_issuer_async ( vault_base_url , issuer_name , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Lists the specified certificate issuer . |
3,094 | def delete_certificate_issuer ( vault_base_url , issuer_name , custom_headers : nil ) response = delete_certificate_issuer_async ( vault_base_url , issuer_name , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Deletes the specified certificate issuer . |
3,095 | def get_certificate_policy ( vault_base_url , certificate_name , custom_headers : nil ) response = get_certificate_policy_async ( vault_base_url , certificate_name , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Lists the policy for a certificate . |
3,096 | def get_certificate_operation ( vault_base_url , certificate_name , custom_headers : nil ) response = get_certificate_operation_async ( vault_base_url , certificate_name , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Gets the creation operation of a certificate . |
3,097 | def delete_certificate_operation ( vault_base_url , certificate_name , custom_headers : nil ) response = delete_certificate_operation_async ( vault_base_url , certificate_name , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Deletes the creation operation for a specific certificate . |
3,098 | def get_deleted_certificate ( vault_base_url , certificate_name , custom_headers : nil ) response = get_deleted_certificate_async ( vault_base_url , certificate_name , custom_headers : custom_headers ) . value! response . body unless response . nil? end | Retrieves information about the specified deleted certificate . |
3,099 | def purge_deleted_certificate ( vault_base_url , certificate_name , custom_headers : nil ) response = purge_deleted_certificate_async ( vault_base_url , certificate_name , custom_headers : custom_headers ) . value! nil end | Permanently deletes the specified deleted certificate . |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.