com.pulumi.azure.keyvault.ManagedHardwareSecurityModuleKeyRotationPolicyArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure Show documentation
Show all versions of azure Show documentation
A Pulumi package for creating and managing Microsoft Azure cloud resources, based on the Terraform azurerm provider. We recommend using the [Azure Native provider](https://github.com/pulumi/pulumi-azure-native) to provision Azure infrastructure. Azure Native provides complete coverage of Azure resources and same-day access to new resources and resource updates.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azure.keyvault;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class ManagedHardwareSecurityModuleKeyRotationPolicyArgs extends com.pulumi.resources.ResourceArgs {
public static final ManagedHardwareSecurityModuleKeyRotationPolicyArgs Empty = new ManagedHardwareSecurityModuleKeyRotationPolicyArgs();
/**
* Specify the expiration duration on a newly rotated key as an [ISO 8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations). The minimum duration is `P28D`.
*
*/
@Import(name="expireAfter", required=true)
private Output expireAfter;
/**
* @return Specify the expiration duration on a newly rotated key as an [ISO 8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations). The minimum duration is `P28D`.
*
*/
public Output expireAfter() {
return this.expireAfter;
}
/**
* The ID of the Managed HSM Key. Changing this forces a new Managed HSM Key rotation policy to be created.
*
*/
@Import(name="managedHsmKeyId", required=true)
private Output managedHsmKeyId;
/**
* @return The ID of the Managed HSM Key. Changing this forces a new Managed HSM Key rotation policy to be created.
*
*/
public Output managedHsmKeyId() {
return this.managedHsmKeyId;
}
/**
* Rotate automatically at a duration after key creation as an [ISO 8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations). Exactly one of `time_after_creation` or `time_before_expiry` should be specified.
*
*/
@Import(name="timeAfterCreation")
private @Nullable Output timeAfterCreation;
/**
* @return Rotate automatically at a duration after key creation as an [ISO 8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations). Exactly one of `time_after_creation` or `time_before_expiry` should be specified.
*
*/
public Optional