ArmAppServiceModelFactory.AppServiceOperation Method

Definition

Initializes a new instance of AppServiceOperation.

public static Azure.ResourceManager.AppService.Models.AppServiceOperation AppServiceOperation (string id = default, string name = default, Azure.ResourceManager.AppService.Models.AppServiceOperationStatus? status = default, System.Collections.Generic.IEnumerable<Azure.ResponseError> errors = default, DateTimeOffset? createdOn = default, DateTimeOffset? modifiedOn = default, DateTimeOffset? expireOn = default, Guid? geoMasterOperationId = default);
static member AppServiceOperation : string * string * Nullable<Azure.ResourceManager.AppService.Models.AppServiceOperationStatus> * seq<Azure.ResponseError> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Guid> -> Azure.ResourceManager.AppService.Models.AppServiceOperation
Public Shared Function AppServiceOperation (Optional id As String = Nothing, Optional name As String = Nothing, Optional status As Nullable(Of AppServiceOperationStatus) = Nothing, Optional errors As IEnumerable(Of ResponseError) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional modifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional geoMasterOperationId As Nullable(Of Guid) = Nothing) As AppServiceOperation

Parameters

id
String

Operation ID.

name
String

Operation name.

status
Nullable<AppServiceOperationStatus>

The current status of the operation.

errors
IEnumerable<ResponseError>

Any errors associate with the operation.

createdOn
Nullable<DateTimeOffset>

Time when operation has started.

modifiedOn
Nullable<DateTimeOffset>

Time when operation has been updated.

expireOn
Nullable<DateTimeOffset>

Time when operation will expire.

geoMasterOperationId
Nullable<Guid>

Applicable only for stamp operation ids.

Returns

A new AppServiceOperation instance for mocking.

Applies to