Condividi tramite


PurviewAccountClient.RegenerateAccessKey Method

Definition

Regenerate the authorization keys associated with this data catalog.

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