Class ResourceOperation
Individual resource operation information.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.DeploymentManager.dll
Syntax
public class ResourceOperation
Constructors
ResourceOperation()
Initializes a new instance of the ResourceOperation class.
Declaration
public ResourceOperation ();
ResourceOperation(String, String, String, String, String, String)
Initializes a new instance of the ResourceOperation class.
Declaration
public ResourceOperation (string resourceName = null, string operationId = null, string resourceType = null, string provisioningState = null, string statusMessage = null, string statusCode = null);
Parameters
|
String
resourceName
Name of the resource as specified in the artifacts. For ARM resources, this is the name of the resource specified in the template. |
|
String
operationId
Unique identifier of the operation. For ARM resources, this is the operationId obtained from ARM service. |
|
String
resourceType
Type of the resource as specified in the artifacts. For ARM resources, this is the type of the resource specified in the template. |
|
String
provisioningState
State of the resource deployment. For ARM resources, this is the current provisioning state of the resource. |
|
String
statusMessage
Descriptive information of the resource operation. |
|
String
statusCode
Http status code of the operation. |
Properties
OperationId
Gets unique identifier of the operation. For ARM resources, this is the operationId obtained from ARM service.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="operationId")]
public string OperationId { get; }
Property Value
|
String
|
ProvisioningState
Gets state of the resource deployment. For ARM resources, this is the current provisioning state of the resource.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="provisioningState")]
public string ProvisioningState { get; }
Property Value
|
String
|
ResourceName
Gets or sets name of the resource as specified in the artifacts. For ARM resources, this is the name of the resource specified in the template.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="resourceName")]
public string ResourceName { get; set; }
Property Value
|
String
|
ResourceType
Gets or sets type of the resource as specified in the artifacts. For ARM resources, this is the type of the resource specified in the template.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="resourceType")]
public string ResourceType { get; set; }
Property Value
|
String
|
StatusCode
Gets http status code of the operation.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="statusCode")]
public string StatusCode { get; }
Property Value
|
String
|
StatusMessage
Gets descriptive information of the resource operation.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="statusMessage")]
public string StatusMessage { get; }
Property Value
|
String
|