OperationResultContract Constructors
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.
Overloads
OperationResultContract() |
Initializes a new instance of the OperationResultContract class. |
OperationResultContract(String, String, String, String, Nullable<AsyncOperationStatus>, Nullable<DateTime>, Nullable<DateTime>, String, ErrorResponseBody, IList<OperationResultLogItemContract>) |
Initializes a new instance of the OperationResultContract class. |
OperationResultContract()
Initializes a new instance of the OperationResultContract class.
public OperationResultContract ();
Public Sub New ()
Applies to
OperationResultContract(String, String, String, String, Nullable<AsyncOperationStatus>, Nullable<DateTime>, Nullable<DateTime>, String, ErrorResponseBody, IList<OperationResultLogItemContract>)
Initializes a new instance of the OperationResultContract class.
public OperationResultContract (string id = default, string name = default, string type = default, string operationResultContractId = default, Microsoft.Azure.Management.ApiManagement.Models.AsyncOperationStatus? status = default, DateTime? started = default, DateTime? updated = default, string resultInfo = default, Microsoft.Azure.Management.ApiManagement.Models.ErrorResponseBody error = default, System.Collections.Generic.IList<Microsoft.Azure.Management.ApiManagement.Models.OperationResultLogItemContract> actionLog = default);
new Microsoft.Azure.Management.ApiManagement.Models.OperationResultContract : string * string * string * string * Nullable<Microsoft.Azure.Management.ApiManagement.Models.AsyncOperationStatus> * Nullable<DateTime> * Nullable<DateTime> * string * Microsoft.Azure.Management.ApiManagement.Models.ErrorResponseBody * System.Collections.Generic.IList<Microsoft.Azure.Management.ApiManagement.Models.OperationResultLogItemContract> -> Microsoft.Azure.Management.ApiManagement.Models.OperationResultContract
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional operationResultContractId As String = Nothing, Optional status As Nullable(Of AsyncOperationStatus) = Nothing, Optional started As Nullable(Of DateTime) = Nothing, Optional updated As Nullable(Of DateTime) = Nothing, Optional resultInfo As String = Nothing, Optional error As ErrorResponseBody = Nothing, Optional actionLog As IList(Of OperationResultLogItemContract) = Nothing)
Parameters
- id
- String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
The name of the resource
- type
- String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- operationResultContractId
- String
Operation result identifier.
- status
- Nullable<AsyncOperationStatus>
Status of an async operation. Possible values include: 'Started', 'InProgress', 'Succeeded', 'Failed'
Start time of an async operation. The date
conforms to the following format: yyyy-MM-ddTHH:mm:ssZ
as
specified by the ISO 8601 standard.
Last update time of an async operation. The
date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ
as
specified by the ISO 8601 standard.
- resultInfo
- String
Optional result info.
- error
- ErrorResponseBody
Error Body Contract
- actionLog
- IList<OperationResultLogItemContract>
This property if only provided as part of the TenantConfiguration_Validate operation. It contains the log the entities which will be updated/created/deleted as part of the TenantConfiguration_Deploy operation.
Applies to
Azure SDK for .NET