common

package
v0.0.41 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CorrelationIDKey      = "correlationid"
	OperationIDKey        = "operationid"
	ARMClientRequestIDKey = "armclientrequestid"
	RequestIDLogKey       = "request-id"

	// Details can be found here:
	// https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#client-request-headers
	RequestCorrelationIDHeader = "x-ms-correlation-request-id"
	// RequestAcsOperationIDHeader is the http header name ACS RP adds for operation ID (AKS specific)
	RequestAcsOperationIDHeader = "x-ms-acs-operation-id"
	// RequestARMClientRequestIDHeader  Caller-specified value identifying the request, in the form of a GUID
	RequestARMClientRequestIDHeader = "x-ms-client-request-id"
	// RequestIDMetadataKey is the key in the gRPC
	// metadata.
	RequestIDMetadataHeader     = "x-request-id"
	RequestAcceptLanguageHeader = "Accept-Language"
)
View Source
const (
	SubscriptionIDKey   = "subscriptionID"
	ResourceGroupKey    = "resourceGroup"
	APIVersionKey       = "api-version"
	ResourceProviderKey = "resourceProvider"
	ResourceTypeKey     = "resourceType"
	ResourceNameKey     = "resourceName"
)

Variables

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL