com.pulumi.cloudflare.AccessKeysConfiguration Maven / Gradle / Ivy
// *** 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.cloudflare;
import com.pulumi.cloudflare.AccessKeysConfigurationArgs;
import com.pulumi.cloudflare.Utilities;
import com.pulumi.cloudflare.inputs.AccessKeysConfigurationState;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import java.lang.Integer;
import java.lang.String;
import javax.annotation.Nullable;
@ResourceType(type="cloudflare:index/accessKeysConfiguration:AccessKeysConfiguration")
public class AccessKeysConfiguration extends com.pulumi.resources.CustomResource {
/**
* The account identifier to target for the resource.
*
*/
@Export(name="accountId", type=String.class, parameters={})
private Output accountId;
/**
* @return The account identifier to target for the resource.
*
*/
public Output accountId() {
return this.accountId;
}
/**
* Number of days to trigger a rotation of the keys.
*
*/
@Export(name="keyRotationIntervalDays", type=Integer.class, parameters={})
private Output keyRotationIntervalDays;
/**
* @return Number of days to trigger a rotation of the keys.
*
*/
public Output keyRotationIntervalDays() {
return this.keyRotationIntervalDays;
}
/**
*
* @param name The _unique_ name of the resulting resource.
*/
public AccessKeysConfiguration(String name) {
this(name, AccessKeysConfigurationArgs.Empty);
}
/**
*
* @param name The _unique_ name of the resulting resource.
* @param args The arguments to use to populate this resource's properties.
*/
public AccessKeysConfiguration(String name, AccessKeysConfigurationArgs args) {
this(name, args, null);
}
/**
*
* @param name The _unique_ name of the resulting resource.
* @param args The arguments to use to populate this resource's properties.
* @param options A bag of options that control this resource's behavior.
*/
public AccessKeysConfiguration(String name, AccessKeysConfigurationArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("cloudflare:index/accessKeysConfiguration:AccessKeysConfiguration", name, args == null ? AccessKeysConfigurationArgs.Empty : args, makeResourceOptions(options, Codegen.empty()));
}
private AccessKeysConfiguration(String name, Output id, @Nullable AccessKeysConfigurationState state, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("cloudflare:index/accessKeysConfiguration:AccessKeysConfiguration", name, state, makeResourceOptions(options, id));
}
private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) {
var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder()
.version(Utilities.getVersion())
.build();
return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id);
}
/**
* Get an existing Host resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state
* @param options Optional settings to control the behavior of the CustomResource.
*/
public static AccessKeysConfiguration get(String name, Output id, @Nullable AccessKeysConfigurationState state, @Nullable com.pulumi.resources.CustomResourceOptions options) {
return new AccessKeysConfiguration(name, id, state, options);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy