ArmKeyVaultModelFactory.SecretBaseAttributes Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of SecretBaseAttributes.
public static Azure.ResourceManager.KeyVault.Models.SecretBaseAttributes SecretBaseAttributes (bool? enabled = default, DateTimeOffset? notBefore = default, DateTimeOffset? expires = default, DateTimeOffset? created = default, DateTimeOffset? updated = default);
static member SecretBaseAttributes : Nullable<bool> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.ResourceManager.KeyVault.Models.SecretBaseAttributes
Public Shared Function SecretBaseAttributes (Optional enabled As Nullable(Of Boolean) = Nothing, Optional notBefore As Nullable(Of DateTimeOffset) = Nothing, Optional expires As Nullable(Of DateTimeOffset) = Nothing, Optional created As Nullable(Of DateTimeOffset) = Nothing, Optional updated As Nullable(Of DateTimeOffset) = Nothing) As SecretBaseAttributes
Parameters
- notBefore
- Nullable<DateTimeOffset>
Not before date in seconds since 1970-01-01T00:00:00Z.
- expires
- Nullable<DateTimeOffset>
Expiry date in seconds since 1970-01-01T00:00:00Z.
- created
- Nullable<DateTimeOffset>
Creation time in seconds since 1970-01-01T00:00:00Z.
- updated
- Nullable<DateTimeOffset>
Last updated time in seconds since 1970-01-01T00:00:00Z.
Returns
A new SecretBaseAttributes instance for mocking.