次の方法で共有


ArmNetworkCloudModelFactory.SecretRotationStatus Method

Definition

Initializes a new instance of SecretRotationStatus.

public static Azure.ResourceManager.NetworkCloud.Models.SecretRotationStatus SecretRotationStatus (long? expirePeriodDays = default, DateTimeOffset? lastRotationOn = default, long? rotationPeriodDays = default, Azure.ResourceManager.NetworkCloud.Models.SecretArchiveReference secretArchiveReference = default, string secretType = default);
static member SecretRotationStatus : Nullable<int64> * Nullable<DateTimeOffset> * Nullable<int64> * Azure.ResourceManager.NetworkCloud.Models.SecretArchiveReference * string -> Azure.ResourceManager.NetworkCloud.Models.SecretRotationStatus
Public Shared Function SecretRotationStatus (Optional expirePeriodDays As Nullable(Of Long) = Nothing, Optional lastRotationOn As Nullable(Of DateTimeOffset) = Nothing, Optional rotationPeriodDays As Nullable(Of Long) = Nothing, Optional secretArchiveReference As SecretArchiveReference = Nothing, Optional secretType As String = Nothing) As SecretRotationStatus

Parameters

expirePeriodDays
Nullable<Int64>

The maximum number of days the secret may be used before it must be changed.

lastRotationOn
Nullable<DateTimeOffset>

The date and time when the secret was last changed.

rotationPeriodDays
Nullable<Int64>

The number of days a secret exists before rotations will be attempted.

secretArchiveReference
SecretArchiveReference

The reference to the secret in a key vault.

secretType
String

The type name used to identify the purpose of the secret.

Returns

A new SecretRotationStatus instance for mocking.

Applies to