Condividi tramite


PurviewAccountClient.RegenerateAccessKeyAsync Method

Definition

Regenerate the authorization keys associated with this data catalog.

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

Parameters

content
RequestContent

The content to send as the body of the request.

options
Azure.RequestOptions

The request options.

Returns

Exceptions

content is null.

Remarks

Schema for Request Body:

{
              keyType: "PrimaryAtlasKafkaKey" | "SecondaryAtlasKafkaKey"
            }

Schema for Response Body:

{
              atlasKafkaPrimaryEndpoint: string,
              atlasKafkaSecondaryEndpoint: string
            }

Schema for Response Error:

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

Applies to