Documentation ¶
Index ¶
Constants ¶
View Source
const (
// HeaderCorrelationRequestID is the Azure extension header to set a user-specified correlation request ID.
HeaderCorrelationRequestID = "x-ms-correlation-request-id"
)
Variables ¶
This section is empty.
Functions ¶
func CorrelationRequestID ¶
func CorrelationRequestID() string
CorrelationRequestID generates an UUID to pass through `x-ms-correlation-request-id` header. todo 2.0 change to correlationRequestID
func WithCorrelationRequestID ¶
func WithCorrelationRequestID(uuid string) autorest.PrepareDecorator
WithCorrelationRequestID returns a PrepareDecorator that adds an HTTP extension header of `x-ms-correlation-request-id` whose value is passed, undecorated UUID (e.g.,7F5A6223-F475-4A9C-B9D5-12575AA6B11B`). todo 2.0 change to withCorrelationRequestID
Types ¶
type ClientOptions ¶
type ClientOptions struct { SubscriptionId string TenantID string PartnerId string TerraformVersion string GraphAuthorizer autorest.Authorizer GraphEndpoint string KeyVaultAuthorizer autorest.Authorizer ResourceManagerAuthorizer autorest.Authorizer ResourceManagerEndpoint string StorageAuthorizer autorest.Authorizer PollingDuration time.Duration SkipProviderReg bool DisableCorrelationRequestID bool Environment azure.Environment }
func (ClientOptions) ConfigureClient ¶
func (o ClientOptions) ConfigureClient(c *autorest.Client, authorizer autorest.Authorizer)
Click to show internal directories.
Click to hide internal directories.