ArmDeploymentManagerModelFactory.ResourceOperation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ResourceOperation.
public static Azure.ResourceManager.DeploymentManager.Models.ResourceOperation ResourceOperation (string resourceName = default, string operationId = default, string resourceType = default, string provisioningState = default, string statusMessage = default, string statusCode = default);
static member ResourceOperation : string * string * string * string * string * string -> Azure.ResourceManager.DeploymentManager.Models.ResourceOperation
Public Shared Function ResourceOperation (Optional resourceName As String = Nothing, Optional operationId As String = Nothing, Optional resourceType As String = Nothing, Optional provisioningState As String = Nothing, Optional statusMessage As String = Nothing, Optional statusCode As String = Nothing) As ResourceOperation
Parameters
- resourceName
- String
Name of the resource as specified in the artifacts. For ARM resources, this is the name of the resource specified in the template.
- operationId
- String
Unique identifier of the operation. For ARM resources, this is the operationId obtained from ARM service.
- resourceType
- String
Type of the resource as specified in the artifacts. For ARM resources, this is the type of the resource specified in the template.
- provisioningState
- String
State of the resource deployment. For ARM resources, this is the current provisioning state of the resource.
- statusMessage
- String
Descriptive information of the resource operation.
- statusCode
- String
Http status code of the operation.
Returns
A new ResourceOperation instance for mocking.
Applies to
Azure SDK for .NET