All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azure.containerservice.inputs.RegistryGeoreplicationArgs Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 6.10.0-alpha.1731737215
Show newest version
// *** 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.containerservice.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class RegistryGeoreplicationArgs extends com.pulumi.resources.ResourceArgs {

    public static final RegistryGeoreplicationArgs Empty = new RegistryGeoreplicationArgs();

    /**
     * A location where the container registry should be geo-replicated.
     * 
     */
    @Import(name="location", required=true)
    private Output location;

    /**
     * @return A location where the container registry should be geo-replicated.
     * 
     */
    public Output location() {
        return this.location;
    }

    /**
     * Whether regional endpoint is enabled for this Container Registry?
     * 
     */
    @Import(name="regionalEndpointEnabled")
    private @Nullable Output regionalEndpointEnabled;

    /**
     * @return Whether regional endpoint is enabled for this Container Registry?
     * 
     */
    public Optional> regionalEndpointEnabled() {
        return Optional.ofNullable(this.regionalEndpointEnabled);
    }

    /**
     * A mapping of tags to assign to this replication location.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return A mapping of tags to assign to this replication location.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * Whether zone redundancy is enabled for this replication location? Defaults to `false`.
     * 
     * > **NOTE:** Changing the `zone_redundancy_enabled` forces the a underlying replication to be created.
     * 
     */
    @Import(name="zoneRedundancyEnabled")
    private @Nullable Output zoneRedundancyEnabled;

    /**
     * @return Whether zone redundancy is enabled for this replication location? Defaults to `false`.
     * 
     * > **NOTE:** Changing the `zone_redundancy_enabled` forces the a underlying replication to be created.
     * 
     */
    public Optional> zoneRedundancyEnabled() {
        return Optional.ofNullable(this.zoneRedundancyEnabled);
    }

    private RegistryGeoreplicationArgs() {}

    private RegistryGeoreplicationArgs(RegistryGeoreplicationArgs $) {
        this.location = $.location;
        this.regionalEndpointEnabled = $.regionalEndpointEnabled;
        this.tags = $.tags;
        this.zoneRedundancyEnabled = $.zoneRedundancyEnabled;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(RegistryGeoreplicationArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private RegistryGeoreplicationArgs $;

        public Builder() {
            $ = new RegistryGeoreplicationArgs();
        }

        public Builder(RegistryGeoreplicationArgs defaults) {
            $ = new RegistryGeoreplicationArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param location A location where the container registry should be geo-replicated.
         * 
         * @return builder
         * 
         */
        public Builder location(Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location A location where the container registry should be geo-replicated.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param regionalEndpointEnabled Whether regional endpoint is enabled for this Container Registry?
         * 
         * @return builder
         * 
         */
        public Builder regionalEndpointEnabled(@Nullable Output regionalEndpointEnabled) {
            $.regionalEndpointEnabled = regionalEndpointEnabled;
            return this;
        }

        /**
         * @param regionalEndpointEnabled Whether regional endpoint is enabled for this Container Registry?
         * 
         * @return builder
         * 
         */
        public Builder regionalEndpointEnabled(Boolean regionalEndpointEnabled) {
            return regionalEndpointEnabled(Output.of(regionalEndpointEnabled));
        }

        /**
         * @param tags A mapping of tags to assign to this replication location.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags A mapping of tags to assign to this replication location.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @param zoneRedundancyEnabled Whether zone redundancy is enabled for this replication location? Defaults to `false`.
         * 
         * > **NOTE:** Changing the `zone_redundancy_enabled` forces the a underlying replication to be created.
         * 
         * @return builder
         * 
         */
        public Builder zoneRedundancyEnabled(@Nullable Output zoneRedundancyEnabled) {
            $.zoneRedundancyEnabled = zoneRedundancyEnabled;
            return this;
        }

        /**
         * @param zoneRedundancyEnabled Whether zone redundancy is enabled for this replication location? Defaults to `false`.
         * 
         * > **NOTE:** Changing the `zone_redundancy_enabled` forces the a underlying replication to be created.
         * 
         * @return builder
         * 
         */
        public Builder zoneRedundancyEnabled(Boolean zoneRedundancyEnabled) {
            return zoneRedundancyEnabled(Output.of(zoneRedundancyEnabled));
        }

        public RegistryGeoreplicationArgs build() {
            if ($.location == null) {
                throw new MissingRequiredPropertyException("RegistryGeoreplicationArgs", "location");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy