PolicyInsightsClientOptionalParams interface
Optional parameters.
- Extends
-
ServiceClientOptions
Properties
| $host | server parameter |
| endpoint | Overrides client endpoint. |
Inherited Properties
| additional |
Additional policies to include in the HTTP pipeline. |
| allow |
Set to true if the request is sent over HTTP instead of HTTPS |
| base |
If specified, this is the base URI that requests will be made against for this ServiceClient. If it is not specified, then all OperationSpecs must contain a baseUrl property. |
| credential | Credential used to authenticate the request. |
| credential |
If specified, will be used to build the BearerTokenAuthenticationPolicy. |
| http |
The HttpClient that will be used to send HTTP requests. |
| pipeline | A customized pipeline to use, otherwise a default one will be created. |
| proxy |
Options to configure a proxy for outgoing requests. |
| redirect |
Options for how redirect responses are handled. |
| request |
The default request content type for the service. Used if no requestContentType is present on an OperationSpec. |
| retry |
Options that control how to retry failed requests. |
| tls |
Options for configuring TLS authentication |
| user |
Options for adding user agent details to outgoing requests. |
Property Details
$host
server parameter
$host?: undefined | string
Property Value
undefined | string
endpoint
Overrides client endpoint.
endpoint?: undefined | string
Property Value
undefined | string
Inherited Property Details
additionalPolicies
Additional policies to include in the HTTP pipeline.
additionalPolicies?: AdditionalPolicyConfig[]
Property Value
AdditionalPolicyConfig[]
allowInsecureConnection
Set to true if the request is sent over HTTP instead of HTTPS
allowInsecureConnection?: undefined | false | true
Property Value
undefined | false | true
baseUri
Warning
This API is now deprecated.
This property is deprecated and will be removed soon, please use endpoint instead
If specified, this is the base URI that requests will be made against for this ServiceClient. If it is not specified, then all OperationSpecs must contain a baseUrl property.
baseUri?: undefined | string
Property Value
undefined | string
credential
Credential used to authenticate the request.
credential?: TokenCredential
Property Value
TokenCredential
credentialScopes
If specified, will be used to build the BearerTokenAuthenticationPolicy.
credentialScopes?: string | string[]
Property Value
string | string[]
httpClient
The HttpClient that will be used to send HTTP requests.
httpClient?: HttpClient
Property Value
HttpClient
pipeline
A customized pipeline to use, otherwise a default one will be created.
pipeline?: Pipeline
Property Value
Pipeline
proxyOptions
Options to configure a proxy for outgoing requests.
proxyOptions?: ProxySettings
Property Value
ProxySettings
redirectOptions
Options for how redirect responses are handled.
redirectOptions?: RedirectPolicyOptions
Property Value
RedirectPolicyOptions
requestContentType
The default request content type for the service. Used if no requestContentType is present on an OperationSpec.
requestContentType?: undefined | string
Property Value
undefined | string
retryOptions
Options that control how to retry failed requests.
retryOptions?: PipelineRetryOptions
Property Value
PipelineRetryOptions
tlsOptions
Options for configuring TLS authentication
tlsOptions?: TlsSettings
Property Value
TlsSettings
userAgentOptions
Options for adding user agent details to outgoing requests.
userAgentOptions?: UserAgentPolicyOptions
Property Value
UserAgentPolicyOptions