Share via


PurviewScanningServiceClient.DeleteKeyVaultReference Method

Definition

Deletes the key vault connection associated with the account.

public virtual Azure.Response DeleteKeyVaultReference (string keyVaultName, Azure.RequestOptions options = default);
abstract member DeleteKeyVaultReference : string * Azure.RequestOptions -> Azure.Response
override this.DeleteKeyVaultReference : string * Azure.RequestOptions -> Azure.Response
Public Overridable Function DeleteKeyVaultReference (keyVaultName As String, Optional options As RequestOptions = Nothing) As 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