Udostępnij za pośrednictwem


ArmHardwareSecurityModulesModelFactory.BackupRestoreBaseResultProperties Method

Definition

Initializes a new instance of BackupRestoreBaseResultProperties.

public static Azure.ResourceManager.HardwareSecurityModules.Models.BackupRestoreBaseResultProperties BackupRestoreBaseResultProperties (Azure.ResourceManager.HardwareSecurityModules.Models.BackupRestoreOperationStatus? status = default, string statusDetails = default, Azure.ResponseError error = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, string jobId = default);
static member BackupRestoreBaseResultProperties : Nullable<Azure.ResourceManager.HardwareSecurityModules.Models.BackupRestoreOperationStatus> * string * Azure.ResponseError * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string -> Azure.ResourceManager.HardwareSecurityModules.Models.BackupRestoreBaseResultProperties
Public Shared Function BackupRestoreBaseResultProperties (Optional status As Nullable(Of BackupRestoreOperationStatus) = Nothing, Optional statusDetails As String = Nothing, Optional error As ResponseError = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional jobId As String = Nothing) As BackupRestoreBaseResultProperties

Parameters

status
Nullable<BackupRestoreOperationStatus>

Status of the backup/restore operation.

statusDetails
String

The status details of backup/restore operation.

error
ResponseError

Error encountered, if any, during the backup/restore operation.

startOn
Nullable<DateTimeOffset>

The start time of the backup/restore operation in UTC.

endOn
Nullable<DateTimeOffset>

The end time of the backup/restore operation in UTC.

jobId
String

Identifier for the backup/restore operation.

Returns

A new BackupRestoreBaseResultProperties instance for mocking.

Applies to