Share via


PurviewScanningServiceClient.GetKeyVaultReferenceAsync Method

Definition

Gets key vault information.

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