azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.r...

145 строки
12 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.resourcehealth.ResourceHealthManager.Configurable"
fullName: "com.azure.resourcemanager.resourcehealth.ResourceHealthManager.Configurable"
name: "ResourceHealthManager.Configurable"
nameWithType: "ResourceHealthManager.Configurable"
summary: "The Configurable allowing configurations to be set."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public static final class **ResourceHealthManager.Configurable**"
methods:
- uid: "com.azure.resourcemanager.resourcehealth.ResourceHealthManager.Configurable.authenticate(com.azure.core.credential.TokenCredential,com.azure.core.management.profile.AzureProfile)"
fullName: "com.azure.resourcemanager.resourcehealth.ResourceHealthManager.Configurable.authenticate(TokenCredential credential, AzureProfile profile)"
name: "authenticate(TokenCredential credential, AzureProfile profile)"
nameWithType: "ResourceHealthManager.Configurable.authenticate(TokenCredential credential, AzureProfile profile)"
summary: "Creates an instance of Resource<wbr>Health service API entry point."
parameters:
- description: "the credential to use."
name: "credential"
type: "<xref href=\"com.azure.core.credential.TokenCredential?alt=com.azure.core.credential.TokenCredential&text=TokenCredential\" data-throw-if-not-resolved=\"False\" />"
- description: "the Azure profile for client."
name: "profile"
type: "<xref href=\"com.azure.core.management.profile.AzureProfile?alt=com.azure.core.management.profile.AzureProfile&text=AzureProfile\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ResourceHealthManager authenticate(TokenCredential credential, AzureProfile profile)"
desc: "Creates an instance of ResourceHealth service API entry point."
returns:
description: "the ResourceHealth service API instance."
type: "<xref href=\"com.azure.resourcemanager.resourcehealth.ResourceHealthManager?alt=com.azure.resourcemanager.resourcehealth.ResourceHealthManager&text=ResourceHealthManager\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.resourcehealth.ResourceHealthManager.Configurable.withDefaultPollInterval(java.time.Duration)"
fullName: "com.azure.resourcemanager.resourcehealth.ResourceHealthManager.Configurable.withDefaultPollInterval(Duration defaultPollInterval)"
name: "withDefaultPollInterval(Duration defaultPollInterval)"
nameWithType: "ResourceHealthManager.Configurable.withDefaultPollInterval(Duration defaultPollInterval)"
summary: "Sets the default poll interval, used when service does not provide \"Retry-After\" header."
parameters:
- description: "the default poll interval."
name: "defaultPollInterval"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html\">Duration</a>"
syntax: "public ResourceHealthManager.Configurable withDefaultPollInterval(Duration defaultPollInterval)"
desc: "Sets the default poll interval, used when service does not provide \"Retry-After\" header."
returns:
description: "the configurable object itself."
type: "<xref href=\"com.azure.resourcemanager.resourcehealth.ResourceHealthManager.Configurable?alt=com.azure.resourcemanager.resourcehealth.ResourceHealthManager.Configurable&text=Configurable\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.resourcehealth.ResourceHealthManager.Configurable.withHttpClient(com.azure.core.http.HttpClient)"
fullName: "com.azure.resourcemanager.resourcehealth.ResourceHealthManager.Configurable.withHttpClient(HttpClient httpClient)"
name: "withHttpClient(HttpClient httpClient)"
nameWithType: "ResourceHealthManager.Configurable.withHttpClient(HttpClient httpClient)"
summary: "Sets the http client."
parameters:
- description: "the HTTP client."
name: "httpClient"
type: "<xref href=\"com.azure.core.http.HttpClient?alt=com.azure.core.http.HttpClient&text=HttpClient\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ResourceHealthManager.Configurable withHttpClient(HttpClient httpClient)"
desc: "Sets the http client."
returns:
description: "the configurable object itself."
type: "<xref href=\"com.azure.resourcemanager.resourcehealth.ResourceHealthManager.Configurable?alt=com.azure.resourcemanager.resourcehealth.ResourceHealthManager.Configurable&text=Configurable\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.resourcehealth.ResourceHealthManager.Configurable.withLogOptions(com.azure.core.http.policy.HttpLogOptions)"
fullName: "com.azure.resourcemanager.resourcehealth.ResourceHealthManager.Configurable.withLogOptions(HttpLogOptions httpLogOptions)"
name: "withLogOptions(HttpLogOptions httpLogOptions)"
nameWithType: "ResourceHealthManager.Configurable.withLogOptions(HttpLogOptions httpLogOptions)"
summary: "Sets the logging options to the HTTP pipeline."
parameters:
- description: "the HTTP log options."
name: "httpLogOptions"
type: "<xref href=\"com.azure.core.http.policy.HttpLogOptions?alt=com.azure.core.http.policy.HttpLogOptions&text=HttpLogOptions\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ResourceHealthManager.Configurable withLogOptions(HttpLogOptions httpLogOptions)"
desc: "Sets the logging options to the HTTP pipeline."
returns:
description: "the configurable object itself."
type: "<xref href=\"com.azure.resourcemanager.resourcehealth.ResourceHealthManager.Configurable?alt=com.azure.resourcemanager.resourcehealth.ResourceHealthManager.Configurable&text=Configurable\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.resourcehealth.ResourceHealthManager.Configurable.withPolicy(com.azure.core.http.policy.HttpPipelinePolicy)"
fullName: "com.azure.resourcemanager.resourcehealth.ResourceHealthManager.Configurable.withPolicy(HttpPipelinePolicy policy)"
name: "withPolicy(HttpPipelinePolicy policy)"
nameWithType: "ResourceHealthManager.Configurable.withPolicy(HttpPipelinePolicy policy)"
summary: "Adds the pipeline policy to the HTTP pipeline."
parameters:
- description: "the HTTP pipeline policy."
name: "policy"
type: "<xref href=\"com.azure.core.http.policy.HttpPipelinePolicy?alt=com.azure.core.http.policy.HttpPipelinePolicy&text=HttpPipelinePolicy\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ResourceHealthManager.Configurable withPolicy(HttpPipelinePolicy policy)"
desc: "Adds the pipeline policy to the HTTP pipeline."
returns:
description: "the configurable object itself."
type: "<xref href=\"com.azure.resourcemanager.resourcehealth.ResourceHealthManager.Configurable?alt=com.azure.resourcemanager.resourcehealth.ResourceHealthManager.Configurable&text=Configurable\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.resourcehealth.ResourceHealthManager.Configurable.withRetryOptions(com.azure.core.http.policy.RetryOptions)"
fullName: "com.azure.resourcemanager.resourcehealth.ResourceHealthManager.Configurable.withRetryOptions(RetryOptions retryOptions)"
name: "withRetryOptions(RetryOptions retryOptions)"
nameWithType: "ResourceHealthManager.Configurable.withRetryOptions(RetryOptions retryOptions)"
summary: "Sets the retry options for the HTTP pipeline retry policy."
parameters:
- description: "the retry options for the HTTP pipeline retry policy."
name: "retryOptions"
type: "<xref href=\"com.azure.core.http.policy.RetryOptions?alt=com.azure.core.http.policy.RetryOptions&text=RetryOptions\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ResourceHealthManager.Configurable withRetryOptions(RetryOptions retryOptions)"
desc: "Sets the retry options for the HTTP pipeline retry policy.\n\nThis setting has no effect, if retry policy is set via <xref uid=\"com.azure.resourcemanager.resourcehealth.ResourceHealthManager.Configurable.withRetryPolicy(com.azure.core.http.policy.RetryPolicy)\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#withRetryPolicy(RetryPolicy)\"></xref>."
returns:
description: "the configurable object itself."
type: "<xref href=\"com.azure.resourcemanager.resourcehealth.ResourceHealthManager.Configurable?alt=com.azure.resourcemanager.resourcehealth.ResourceHealthManager.Configurable&text=Configurable\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.resourcehealth.ResourceHealthManager.Configurable.withRetryPolicy(com.azure.core.http.policy.RetryPolicy)"
fullName: "com.azure.resourcemanager.resourcehealth.ResourceHealthManager.Configurable.withRetryPolicy(RetryPolicy retryPolicy)"
name: "withRetryPolicy(RetryPolicy retryPolicy)"
nameWithType: "ResourceHealthManager.Configurable.withRetryPolicy(RetryPolicy retryPolicy)"
summary: "Sets the retry policy to the HTTP pipeline."
parameters:
- description: "the HTTP pipeline retry policy."
name: "retryPolicy"
type: "<xref href=\"com.azure.core.http.policy.RetryPolicy?alt=com.azure.core.http.policy.RetryPolicy&text=RetryPolicy\" data-throw-if-not-resolved=\"False\" />"
syntax: "public ResourceHealthManager.Configurable withRetryPolicy(RetryPolicy retryPolicy)"
desc: "Sets the retry policy to the HTTP pipeline."
returns:
description: "the configurable object itself."
type: "<xref href=\"com.azure.resourcemanager.resourcehealth.ResourceHealthManager.Configurable?alt=com.azure.resourcemanager.resourcehealth.ResourceHealthManager.Configurable&text=Configurable\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.resourcehealth.ResourceHealthManager.Configurable.withScope(java.lang.String)"
fullName: "com.azure.resourcemanager.resourcehealth.ResourceHealthManager.Configurable.withScope(String scope)"
name: "withScope(String scope)"
nameWithType: "ResourceHealthManager.Configurable.withScope(String scope)"
summary: "Adds the scope to permission sets."
parameters:
- description: "the scope."
name: "scope"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public ResourceHealthManager.Configurable withScope(String scope)"
desc: "Adds the scope to permission sets."
returns:
description: "the configurable object itself."
type: "<xref href=\"com.azure.resourcemanager.resourcehealth.ResourceHealthManager.Configurable?alt=com.azure.resourcemanager.resourcehealth.ResourceHealthManager.Configurable&text=Configurable\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The Configurable allowing configurations to be set."
metadata: {}
package: "com.azure.resourcemanager.resourcehealth"
artifact: com.azure.resourcemanager:azure-resourcemanager-resourcehealth:1.0.0