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

com.pulumi.azurenative.compute.inputs.GalleryTargetExtendedLocationArgs Maven / Gradle / Ivy

There is a newer version: 2.72.0
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.azurenative.compute.inputs;

import com.pulumi.azurenative.compute.enums.EdgeZoneStorageAccountType;
import com.pulumi.azurenative.compute.inputs.EncryptionImagesArgs;
import com.pulumi.azurenative.compute.inputs.GalleryExtendedLocationArgs;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GalleryTargetExtendedLocationArgs Empty = new GalleryTargetExtendedLocationArgs();

    /**
     * Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.
     * 
     */
    @Import(name="encryption")
    private @Nullable Output encryption;

    /**
     * @return Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.
     * 
     */
    public Optional> encryption() {
        return Optional.ofNullable(this.encryption);
    }

    /**
     * The name of the extended location.
     * 
     */
    @Import(name="extendedLocation")
    private @Nullable Output extendedLocation;

    /**
     * @return The name of the extended location.
     * 
     */
    public Optional> extendedLocation() {
        return Optional.ofNullable(this.extendedLocation);
    }

    /**
     * The number of replicas of the Image Version to be created per extended location. This property is updatable.
     * 
     */
    @Import(name="extendedLocationReplicaCount")
    private @Nullable Output extendedLocationReplicaCount;

    /**
     * @return The number of replicas of the Image Version to be created per extended location. This property is updatable.
     * 
     */
    public Optional> extendedLocationReplicaCount() {
        return Optional.ofNullable(this.extendedLocationReplicaCount);
    }

    /**
     * The name of the region.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name of the region.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Specifies the storage account type to be used to store the image. This property is not updatable.
     * 
     */
    @Import(name="storageAccountType")
    private @Nullable Output> storageAccountType;

    /**
     * @return Specifies the storage account type to be used to store the image. This property is not updatable.
     * 
     */
    public Optional>> storageAccountType() {
        return Optional.ofNullable(this.storageAccountType);
    }

    private GalleryTargetExtendedLocationArgs() {}

    private GalleryTargetExtendedLocationArgs(GalleryTargetExtendedLocationArgs $) {
        this.encryption = $.encryption;
        this.extendedLocation = $.extendedLocation;
        this.extendedLocationReplicaCount = $.extendedLocationReplicaCount;
        this.name = $.name;
        this.storageAccountType = $.storageAccountType;
    }

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

    public static final class Builder {
        private GalleryTargetExtendedLocationArgs $;

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

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

        /**
         * @param encryption Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.
         * 
         * @return builder
         * 
         */
        public Builder encryption(@Nullable Output encryption) {
            $.encryption = encryption;
            return this;
        }

        /**
         * @param encryption Optional. Allows users to provide customer managed keys for encrypting the OS and data disks in the gallery artifact.
         * 
         * @return builder
         * 
         */
        public Builder encryption(EncryptionImagesArgs encryption) {
            return encryption(Output.of(encryption));
        }

        /**
         * @param extendedLocation The name of the extended location.
         * 
         * @return builder
         * 
         */
        public Builder extendedLocation(@Nullable Output extendedLocation) {
            $.extendedLocation = extendedLocation;
            return this;
        }

        /**
         * @param extendedLocation The name of the extended location.
         * 
         * @return builder
         * 
         */
        public Builder extendedLocation(GalleryExtendedLocationArgs extendedLocation) {
            return extendedLocation(Output.of(extendedLocation));
        }

        /**
         * @param extendedLocationReplicaCount The number of replicas of the Image Version to be created per extended location. This property is updatable.
         * 
         * @return builder
         * 
         */
        public Builder extendedLocationReplicaCount(@Nullable Output extendedLocationReplicaCount) {
            $.extendedLocationReplicaCount = extendedLocationReplicaCount;
            return this;
        }

        /**
         * @param extendedLocationReplicaCount The number of replicas of the Image Version to be created per extended location. This property is updatable.
         * 
         * @return builder
         * 
         */
        public Builder extendedLocationReplicaCount(Integer extendedLocationReplicaCount) {
            return extendedLocationReplicaCount(Output.of(extendedLocationReplicaCount));
        }

        /**
         * @param name The name of the region.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the region.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param storageAccountType Specifies the storage account type to be used to store the image. This property is not updatable.
         * 
         * @return builder
         * 
         */
        public Builder storageAccountType(@Nullable Output> storageAccountType) {
            $.storageAccountType = storageAccountType;
            return this;
        }

        /**
         * @param storageAccountType Specifies the storage account type to be used to store the image. This property is not updatable.
         * 
         * @return builder
         * 
         */
        public Builder storageAccountType(Either storageAccountType) {
            return storageAccountType(Output.of(storageAccountType));
        }

        /**
         * @param storageAccountType Specifies the storage account type to be used to store the image. This property is not updatable.
         * 
         * @return builder
         * 
         */
        public Builder storageAccountType(String storageAccountType) {
            return storageAccountType(Either.ofLeft(storageAccountType));
        }

        /**
         * @param storageAccountType Specifies the storage account type to be used to store the image. This property is not updatable.
         * 
         * @return builder
         * 
         */
        public Builder storageAccountType(EdgeZoneStorageAccountType storageAccountType) {
            return storageAccountType(Either.ofRight(storageAccountType));
        }

        public GalleryTargetExtendedLocationArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy