Class ResourceOperation
java.lang.Object
com.azure.resourcemanager.deploymentmanager.models.ResourceOperation
Individual resource operation information.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the operationId property: Unique identifier of the operation.Get the provisioningState property: State of the resource deployment.Get the resourceName property: Name of the resource as specified in the artifacts.Get the resourceType property: Type of the resource as specified in the artifacts.Get the statusCode property: Http status code of the operation.Get the statusMessage property: Descriptive information of the resource operation.void
validate()
Validates the instance.withResourceName
(String resourceName) Set the resourceName property: Name of the resource as specified in the artifacts.withResourceType
(String resourceType) Set the resourceType property: Type of the resource as specified in the artifacts.
-
Constructor Details
-
ResourceOperation
public ResourceOperation()Creates an instance of ResourceOperation class.
-
-
Method Details
-
resourceName
Get the resourceName property: Name of the resource as specified in the artifacts. For ARM resources, this is the name of the resource specified in the template.- Returns:
- the resourceName value.
-
withResourceName
Set the resourceName property: Name of the resource as specified in the artifacts. For ARM resources, this is the name of the resource specified in the template.- Parameters:
resourceName
- the resourceName value to set.- Returns:
- the ResourceOperation object itself.
-
operationId
Get the operationId property: Unique identifier of the operation. For ARM resources, this is the operationId obtained from ARM service.- Returns:
- the operationId value.
-
resourceType
Get the resourceType property: Type of the resource as specified in the artifacts. For ARM resources, this is the type of the resource specified in the template.- Returns:
- the resourceType value.
-
withResourceType
Set the resourceType property: Type of the resource as specified in the artifacts. For ARM resources, this is the type of the resource specified in the template.- Parameters:
resourceType
- the resourceType value to set.- Returns:
- the ResourceOperation object itself.
-
provisioningState
Get the provisioningState property: State of the resource deployment. For ARM resources, this is the current provisioning state of the resource.- Returns:
- the provisioningState value.
-
statusMessage
Get the statusMessage property: Descriptive information of the resource operation.- Returns:
- the statusMessage value.
-
statusCode
Get the statusCode property: Http status code of the operation.- Returns:
- the statusCode value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-