共用方式為


ArmCosmosDBModelFactory.CassandraClusterBackupResourceInfo Method

Definition

Initializes a new instance of CassandraClusterBackupResourceInfo.

public static Azure.ResourceManager.CosmosDB.Models.CassandraClusterBackupResourceInfo CassandraClusterBackupResourceInfo (string backupId = default, Azure.ResourceManager.CosmosDB.Models.CassandraClusterBackupState? backupState = default, DateTimeOffset? backupStartTimestamp = default, DateTimeOffset? backupStopTimestamp = default, DateTimeOffset? backupExpiryTimestamp = default);
static member CassandraClusterBackupResourceInfo : string * Nullable<Azure.ResourceManager.CosmosDB.Models.CassandraClusterBackupState> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.ResourceManager.CosmosDB.Models.CassandraClusterBackupResourceInfo
Public Shared Function CassandraClusterBackupResourceInfo (Optional backupId As String = Nothing, Optional backupState As Nullable(Of CassandraClusterBackupState) = Nothing, Optional backupStartTimestamp As Nullable(Of DateTimeOffset) = Nothing, Optional backupStopTimestamp As Nullable(Of DateTimeOffset) = Nothing, Optional backupExpiryTimestamp As Nullable(Of DateTimeOffset) = Nothing) As CassandraClusterBackupResourceInfo

Parameters

backupId
String

The unique identifier of backup.

backupState
Nullable<CassandraClusterBackupState>

The current state of the backup.

backupStartTimestamp
Nullable<DateTimeOffset>

The time at which the backup process begins.

backupStopTimestamp
Nullable<DateTimeOffset>

The time at which the backup process ends.

backupExpiryTimestamp
Nullable<DateTimeOffset>

The time at which the backup will expire.

Returns

A new CassandraClusterBackupResourceInfo instance for mocking.

Applies to