Share via


PurviewScanningServiceClient.GetKeyVaultReference Method

Definition

Gets key vault information.

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