Share via


PurviewScanningServiceClient.DeleteKeyVaultReferenceAsync Method

Definition

Deletes the key vault connection associated with the account.

public virtual System.Threading.Tasks.Task<Azure.Response> DeleteKeyVaultReferenceAsync (string keyVaultName, Azure.RequestOptions options = default);
abstract member DeleteKeyVaultReferenceAsync : string * Azure.RequestOptions -> System.Threading.Tasks.Task<Azure.Response>
override this.DeleteKeyVaultReferenceAsync : string * Azure.RequestOptions -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function DeleteKeyVaultReferenceAsync (keyVaultName As String, Optional options As RequestOptions = Nothing) As Task(Of Response)

Parameters

keyVaultName
String

The String to use.

options
Azure.RequestOptions

The request options.

Returns

Exceptions

keyVaultName is null.

Remarks

Schema for Response Body:

{
              id: string,
              name: string,
              properties: {
                baseUrl: string,
                description: string
              }
            }

Schema for Response Error:

{
              error: {
                code: string,
                message: string,
                target: string,
                details: [
                  {
                    code: string,
                    message: string,
                    target: string,
                    details: [ErrorModel]
                  }
                ]
              }
            }

Applies to