ArmResourcesModelFactory.ArmDeploymentOperationProperties 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 ArmDeploymentOperationProperties.
public static Azure.ResourceManager.Resources.Models.ArmDeploymentOperationProperties ArmDeploymentOperationProperties (Azure.ResourceManager.Resources.Models.ProvisioningOperationKind? provisioningOperation = default, string provisioningState = default, DateTimeOffset? timestamp = default, TimeSpan? duration = default, string serviceRequestId = default, string statusCode = default, Azure.ResourceManager.Resources.Models.StatusMessage statusMessage = default, Azure.ResourceManager.Resources.Models.TargetResource targetResource = default, BinaryData requestContent = default, BinaryData responseContent = default);
static member ArmDeploymentOperationProperties : Nullable<Azure.ResourceManager.Resources.Models.ProvisioningOperationKind> * string * Nullable<DateTimeOffset> * Nullable<TimeSpan> * string * string * Azure.ResourceManager.Resources.Models.StatusMessage * Azure.ResourceManager.Resources.Models.TargetResource * BinaryData * BinaryData -> Azure.ResourceManager.Resources.Models.ArmDeploymentOperationProperties
Public Shared Function ArmDeploymentOperationProperties (Optional provisioningOperation As Nullable(Of ProvisioningOperationKind) = Nothing, Optional provisioningState As String = Nothing, Optional timestamp As Nullable(Of DateTimeOffset) = Nothing, Optional duration As Nullable(Of TimeSpan) = Nothing, Optional serviceRequestId As String = Nothing, Optional statusCode As String = Nothing, Optional statusMessage As StatusMessage = Nothing, Optional targetResource As TargetResource = Nothing, Optional requestContent As BinaryData = Nothing, Optional responseContent As BinaryData = Nothing) As ArmDeploymentOperationProperties
Parameters
- provisioningOperation
- Nullable<ProvisioningOperationKind>
The name of the current provisioning operation.
- provisioningState
- String
The state of the provisioning.
- timestamp
- Nullable<DateTimeOffset>
The date and time of the operation.
- serviceRequestId
- String
Deployment operation service request id.
- statusCode
- String
Operation status code from the resource provider. This property may not be set if a response has not yet been received.
- statusMessage
- StatusMessage
Operation status message from the resource provider. This property is optional. It will only be provided if an error was received from the resource provider.
- targetResource
- TargetResource
The target resource.
- requestContent
- BinaryData
The HTTP request message.
- responseContent
- BinaryData
The HTTP response message.
Returns
A new ArmDeploymentOperationProperties instance for mocking.
Applies to
Azure SDK for .NET