azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.managem...

84 строки
6.9 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.network.AzureAsyncOperationResult"
fullName: "com.microsoft.azure.management.network.AzureAsyncOperationResult"
name: "AzureAsyncOperationResult"
nameWithType: "AzureAsyncOperationResult"
summary: "The response body contains the status of the specified asynchronous operation, indicating whether it has succeeded, is in progress, or has failed."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
syntax: "public class **AzureAsyncOperationResult**"
constructors:
- uid: "com.microsoft.azure.management.network.AzureAsyncOperationResult.AzureAsyncOperationResult()"
fullName: "com.microsoft.azure.management.network.AzureAsyncOperationResult.AzureAsyncOperationResult()"
name: "AzureAsyncOperationResult()"
nameWithType: "AzureAsyncOperationResult.AzureAsyncOperationResult()"
syntax: "public AzureAsyncOperationResult()"
methods:
- uid: "com.microsoft.azure.management.network.AzureAsyncOperationResult.error()"
fullName: "com.microsoft.azure.management.network.AzureAsyncOperationResult.error()"
name: "error()"
nameWithType: "AzureAsyncOperationResult.error()"
summary: "Get details of the error occurred during specified asynchronous operation."
syntax: "public Error error()"
desc: "Get details of the error occurred during specified asynchronous operation."
returns:
description: "the error value"
type: "<xref href=\"com.microsoft.azure.management.network.Error?alt=com.microsoft.azure.management.network.Error&text=Error\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.AzureAsyncOperationResult.status()"
fullName: "com.microsoft.azure.management.network.AzureAsyncOperationResult.status()"
name: "status()"
nameWithType: "AzureAsyncOperationResult.status()"
summary: "Get status of the Azure async operation."
syntax: "public NetworkOperationStatus status()"
desc: "Get status of the Azure async operation. Possible values include: 'InProgress', 'Succeeded', 'Failed'."
returns:
description: "the status value"
type: "<xref href=\"com.microsoft.azure.management.network.NetworkOperationStatus?alt=com.microsoft.azure.management.network.NetworkOperationStatus&text=NetworkOperationStatus\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.AzureAsyncOperationResult.withError(com.microsoft.azure.management.network.Error)"
fullName: "com.microsoft.azure.management.network.AzureAsyncOperationResult.withError(Error error)"
name: "withError(Error error)"
nameWithType: "AzureAsyncOperationResult.withError(Error error)"
summary: "Set details of the error occurred during specified asynchronous operation."
parameters:
- description: "the error value to set"
name: "error"
type: "<xref href=\"com.microsoft.azure.management.network.Error?alt=com.microsoft.azure.management.network.Error&text=Error\" data-throw-if-not-resolved=\"False\" />"
syntax: "public AzureAsyncOperationResult withError(Error error)"
desc: "Set details of the error occurred during specified asynchronous operation."
returns:
description: "the AzureAsyncOperationResult object itself."
type: "<xref href=\"com.microsoft.azure.management.network.AzureAsyncOperationResult?alt=com.microsoft.azure.management.network.AzureAsyncOperationResult&text=AzureAsyncOperationResult\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.network.AzureAsyncOperationResult.withStatus(com.microsoft.azure.management.network.NetworkOperationStatus)"
fullName: "com.microsoft.azure.management.network.AzureAsyncOperationResult.withStatus(NetworkOperationStatus status)"
name: "withStatus(NetworkOperationStatus status)"
nameWithType: "AzureAsyncOperationResult.withStatus(NetworkOperationStatus status)"
summary: "Set status of the Azure async operation."
parameters:
- description: "the status value to set"
name: "status"
type: "<xref href=\"com.microsoft.azure.management.network.NetworkOperationStatus?alt=com.microsoft.azure.management.network.NetworkOperationStatus&text=NetworkOperationStatus\" data-throw-if-not-resolved=\"False\" />"
syntax: "public AzureAsyncOperationResult withStatus(NetworkOperationStatus status)"
desc: "Set status of the Azure async operation. Possible values include: 'InProgress', 'Succeeded', 'Failed'."
returns:
description: "the AzureAsyncOperationResult object itself."
type: "<xref href=\"com.microsoft.azure.management.network.AzureAsyncOperationResult?alt=com.microsoft.azure.management.network.AzureAsyncOperationResult&text=AzureAsyncOperationResult\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The response body contains the status of the specified asynchronous operation, indicating whether it has succeeded, is in progress, or has failed. Note that this status is distinct from the HTTP status code returned for the Get Operation Status operation itself. If the asynchronous operation succeeded, the response body includes the HTTP status code for the successful request. If the asynchronous operation failed, the response body includes the HTTP status code for the failed request and error information regarding the failure."
metadata: {}
package: "com.microsoft.azure.management.network"
artifact: com.microsoft.azure:azure-mgmt-network:1.41.4