AzureStackManagementClientOptions interface

An interface representing AzureStackManagementClientOptions.

Extends
@azure/ms-rest-azure-js.AzureServiceClientOptions

Properties

baseUri

Inherited Properties

acceptLanguage

Gets or sets the preferred language for the response. Default value is: "en-US".

agentSettings

HTTP and HTTPS agents which will be used for every HTTP request (Node.js only).

clientRequestIdHeaderName

If specified, a GenerateRequestIdPolicy will be added to the HTTP pipeline that will add a header to all outgoing requests with this header name and a random UUID as the request ID.

deserializationContentTypes

The content-types that will be associated with JSON or XML serialization.

generateClientRequestIdHeader

Whether or not to generate a client request ID header for each HTTP request.

httpClient

The HttpClient that will be used to send HTTP requests.

httpPipelineLogger

The HttpPipelineLogger that can be used to debug RequestPolicies within the HTTP pipeline.

longRunningOperationRetryTimeout

Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.

noRetryPolicy

If set to true, turn off the default retry policy.

proxySettings

Proxy settings which will be used for every HTTP request (Node.js only).

redirectOptions

Options for how redirect responses are handled.

requestPolicyFactories

An array of factories which get called to create the RequestPolicy pipeline used to send a HTTP request on the wire, or a function that takes in the defaultRequestPolicyFactories and returns the requestPolicyFactories that will be used.

rpRegistrationRetryTimeout

Gets or sets the retry timeout in seconds for AutomaticRPRegistration. Default value is 30.

userAgent

The string to be set to the telemetry header while sending the request, or a function that takes in the default user-agent string and returns the user-agent string that will be used.

userAgentHeaderName

The header name to use for the telemetry header while sending the request. If this is not specified, then "User-Agent" will be used when running on Node.js and "x-ms-command-name" will be used when running in a browser.

withCredentials

Whether to include credentials in CORS requests in the browser. See https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/withCredentials for more information.

Property Details

baseUri

baseUri?: string

Property Value

string

Inherited Property Details

acceptLanguage

Gets or sets the preferred language for the response. Default value is: "en-US".

acceptLanguage?: string

Property Value

string

Inherited From AzureServiceClientOptions.acceptLanguage

agentSettings

HTTP and HTTPS agents which will be used for every HTTP request (Node.js only).

agentSettings?: AgentSettings

Property Value

Inherited From AzureServiceClientOptions.agentSettings

clientRequestIdHeaderName

If specified, a GenerateRequestIdPolicy will be added to the HTTP pipeline that will add a header to all outgoing requests with this header name and a random UUID as the request ID.

clientRequestIdHeaderName?: string

Property Value

string

Inherited From AzureServiceClientOptions.clientRequestIdHeaderName

deserializationContentTypes

The content-types that will be associated with JSON or XML serialization.

deserializationContentTypes?: DeserializationContentTypes

Property Value

Inherited From AzureServiceClientOptions.deserializationContentTypes

generateClientRequestIdHeader

Whether or not to generate a client request ID header for each HTTP request.

generateClientRequestIdHeader?: boolean

Property Value

boolean

Inherited From AzureServiceClientOptions.generateClientRequestIdHeader

httpClient

The HttpClient that will be used to send HTTP requests.

httpClient?: HttpClient

Property Value

Inherited From AzureServiceClientOptions.httpClient

httpPipelineLogger

The HttpPipelineLogger that can be used to debug RequestPolicies within the HTTP pipeline.

httpPipelineLogger?: HttpPipelineLogger

Property Value

Inherited From AzureServiceClientOptions.httpPipelineLogger

longRunningOperationRetryTimeout

Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30.

longRunningOperationRetryTimeout?: number

Property Value

number

Inherited From AzureServiceClientOptions.longRunningOperationRetryTimeout

noRetryPolicy

If set to true, turn off the default retry policy.

noRetryPolicy?: boolean

Property Value

boolean

Inherited From AzureServiceClientOptions.noRetryPolicy

proxySettings

Proxy settings which will be used for every HTTP request (Node.js only).

proxySettings?: ProxySettings

Property Value

Inherited From AzureServiceClientOptions.proxySettings

redirectOptions

Options for how redirect responses are handled.

redirectOptions?: RedirectOptions

Property Value

Inherited From AzureServiceClientOptions.redirectOptions

requestPolicyFactories

An array of factories which get called to create the RequestPolicy pipeline used to send a HTTP request on the wire, or a function that takes in the defaultRequestPolicyFactories and returns the requestPolicyFactories that will be used.

requestPolicyFactories?: RequestPolicyFactory[] | (defaultRequestPolicyFactories: RequestPolicyFactory[]) => void | RequestPolicyFactory[]

Property Value

RequestPolicyFactory[] | (defaultRequestPolicyFactories: RequestPolicyFactory[]) => void | RequestPolicyFactory[]

Inherited From AzureServiceClientOptions.requestPolicyFactories

rpRegistrationRetryTimeout

Gets or sets the retry timeout in seconds for AutomaticRPRegistration. Default value is 30.

rpRegistrationRetryTimeout?: number

Property Value

number

Inherited From AzureServiceClientOptions.rpRegistrationRetryTimeout

userAgent

The string to be set to the telemetry header while sending the request, or a function that takes in the default user-agent string and returns the user-agent string that will be used.

userAgent?: string | (defaultUserAgent: string) => string

Property Value

string | (defaultUserAgent: string) => string

Inherited From AzureServiceClientOptions.userAgent

userAgentHeaderName

The header name to use for the telemetry header while sending the request. If this is not specified, then "User-Agent" will be used when running on Node.js and "x-ms-command-name" will be used when running in a browser.

userAgentHeaderName?: string | (defaultUserAgentHeaderName: string) => string

Property Value

string | (defaultUserAgentHeaderName: string) => string

Inherited From AzureServiceClientOptions.userAgentHeaderName

withCredentials

Whether to include credentials in CORS requests in the browser. See https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/withCredentials for more information.

withCredentials?: boolean

Property Value

boolean

Inherited From AzureServiceClientOptions.withCredentials