共用方式為


ArmApiManagementModelFactory.GitOperationResultContractData Method

Definition

Initializes a new instance of GitOperationResultContractData.

public static Azure.ResourceManager.ApiManagement.Models.GitOperationResultContractData GitOperationResultContractData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string operationResultIdentifier = default, Azure.ResourceManager.ApiManagement.Models.AsyncOperationStatus? status = default, DateTimeOffset? startedOn = default, DateTimeOffset? updatedOn = default, string resultInfo = default, Azure.ResourceManager.ApiManagement.Models.ErrorResponseBody error = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ApiManagement.Models.OperationResultLogItemContract> actionLog = default);
static member GitOperationResultContractData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ResourceManager.ApiManagement.Models.AsyncOperationStatus> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Azure.ResourceManager.ApiManagement.Models.ErrorResponseBody * seq<Azure.ResourceManager.ApiManagement.Models.OperationResultLogItemContract> -> Azure.ResourceManager.ApiManagement.Models.GitOperationResultContractData
Public Shared Function GitOperationResultContractData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional operationResultIdentifier As String = Nothing, Optional status As Nullable(Of AsyncOperationStatus) = Nothing, Optional startedOn As Nullable(Of DateTimeOffset) = Nothing, Optional updatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional resultInfo As String = Nothing, Optional error As ErrorResponseBody = Nothing, Optional actionLog As IEnumerable(Of OperationResultLogItemContract) = Nothing) As GitOperationResultContractData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

operationResultIdentifier
String

Operation result identifier.

status
Nullable<AsyncOperationStatus>

Status of an async operation.

startedOn
Nullable<DateTimeOffset>

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.

updatedOn
Nullable<DateTimeOffset>

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
IEnumerable<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.

Returns

A new GitOperationResultContractData instance for mocking.

Applies to