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

com.pulumi.azurenative.scom.inputs.AzureHybridBenefitPropertiesArgs 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.azurenative.scom.inputs;

import com.pulumi.azurenative.scom.enums.HybridLicenseType;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * The properties to maximize savings by using Azure Hybrid Benefit
 * 
 */
public final class AzureHybridBenefitPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final AzureHybridBenefitPropertiesArgs Empty = new AzureHybridBenefitPropertiesArgs();

    /**
     * SCOM license type. Maximize savings by using license you already own
     * 
     */
    @Import(name="scomLicenseType")
    private @Nullable Output> scomLicenseType;

    /**
     * @return SCOM license type. Maximize savings by using license you already own
     * 
     */
    public Optional>> scomLicenseType() {
        return Optional.ofNullable(this.scomLicenseType);
    }

    /**
     * SQL Server license type. Maximize savings by using Azure Hybrid Benefit for SQL Server with license you already own
     * 
     */
    @Import(name="sqlServerLicenseType")
    private @Nullable Output> sqlServerLicenseType;

    /**
     * @return SQL Server license type. Maximize savings by using Azure Hybrid Benefit for SQL Server with license you already own
     * 
     */
    public Optional>> sqlServerLicenseType() {
        return Optional.ofNullable(this.sqlServerLicenseType);
    }

    /**
     * Specifies that the image or disk that is being used was licensed on-premises. <br><br> For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
     * 
     */
    @Import(name="windowsServerLicenseType")
    private @Nullable Output> windowsServerLicenseType;

    /**
     * @return Specifies that the image or disk that is being used was licensed on-premises. <br><br> For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
     * 
     */
    public Optional>> windowsServerLicenseType() {
        return Optional.ofNullable(this.windowsServerLicenseType);
    }

    private AzureHybridBenefitPropertiesArgs() {}

    private AzureHybridBenefitPropertiesArgs(AzureHybridBenefitPropertiesArgs $) {
        this.scomLicenseType = $.scomLicenseType;
        this.sqlServerLicenseType = $.sqlServerLicenseType;
        this.windowsServerLicenseType = $.windowsServerLicenseType;
    }

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

    public static final class Builder {
        private AzureHybridBenefitPropertiesArgs $;

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

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

        /**
         * @param scomLicenseType SCOM license type. Maximize savings by using license you already own
         * 
         * @return builder
         * 
         */
        public Builder scomLicenseType(@Nullable Output> scomLicenseType) {
            $.scomLicenseType = scomLicenseType;
            return this;
        }

        /**
         * @param scomLicenseType SCOM license type. Maximize savings by using license you already own
         * 
         * @return builder
         * 
         */
        public Builder scomLicenseType(Either scomLicenseType) {
            return scomLicenseType(Output.of(scomLicenseType));
        }

        /**
         * @param scomLicenseType SCOM license type. Maximize savings by using license you already own
         * 
         * @return builder
         * 
         */
        public Builder scomLicenseType(String scomLicenseType) {
            return scomLicenseType(Either.ofLeft(scomLicenseType));
        }

        /**
         * @param scomLicenseType SCOM license type. Maximize savings by using license you already own
         * 
         * @return builder
         * 
         */
        public Builder scomLicenseType(HybridLicenseType scomLicenseType) {
            return scomLicenseType(Either.ofRight(scomLicenseType));
        }

        /**
         * @param sqlServerLicenseType SQL Server license type. Maximize savings by using Azure Hybrid Benefit for SQL Server with license you already own
         * 
         * @return builder
         * 
         */
        public Builder sqlServerLicenseType(@Nullable Output> sqlServerLicenseType) {
            $.sqlServerLicenseType = sqlServerLicenseType;
            return this;
        }

        /**
         * @param sqlServerLicenseType SQL Server license type. Maximize savings by using Azure Hybrid Benefit for SQL Server with license you already own
         * 
         * @return builder
         * 
         */
        public Builder sqlServerLicenseType(Either sqlServerLicenseType) {
            return sqlServerLicenseType(Output.of(sqlServerLicenseType));
        }

        /**
         * @param sqlServerLicenseType SQL Server license type. Maximize savings by using Azure Hybrid Benefit for SQL Server with license you already own
         * 
         * @return builder
         * 
         */
        public Builder sqlServerLicenseType(String sqlServerLicenseType) {
            return sqlServerLicenseType(Either.ofLeft(sqlServerLicenseType));
        }

        /**
         * @param sqlServerLicenseType SQL Server license type. Maximize savings by using Azure Hybrid Benefit for SQL Server with license you already own
         * 
         * @return builder
         * 
         */
        public Builder sqlServerLicenseType(HybridLicenseType sqlServerLicenseType) {
            return sqlServerLicenseType(Either.ofRight(sqlServerLicenseType));
        }

        /**
         * @param windowsServerLicenseType Specifies that the image or disk that is being used was licensed on-premises. <br><br> For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
         * 
         * @return builder
         * 
         */
        public Builder windowsServerLicenseType(@Nullable Output> windowsServerLicenseType) {
            $.windowsServerLicenseType = windowsServerLicenseType;
            return this;
        }

        /**
         * @param windowsServerLicenseType Specifies that the image or disk that is being used was licensed on-premises. <br><br> For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
         * 
         * @return builder
         * 
         */
        public Builder windowsServerLicenseType(Either windowsServerLicenseType) {
            return windowsServerLicenseType(Output.of(windowsServerLicenseType));
        }

        /**
         * @param windowsServerLicenseType Specifies that the image or disk that is being used was licensed on-premises. <br><br> For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
         * 
         * @return builder
         * 
         */
        public Builder windowsServerLicenseType(String windowsServerLicenseType) {
            return windowsServerLicenseType(Either.ofLeft(windowsServerLicenseType));
        }

        /**
         * @param windowsServerLicenseType Specifies that the image or disk that is being used was licensed on-premises. <br><br> For more information, see [Azure Hybrid Use Benefit for Windows Server](https://docs.microsoft.com/azure/virtual-machines/virtual-machines-windows-hybrid-use-benefit-licensing?toc=%2fazure%2fvirtual-machines%2fwindows%2ftoc.json)
         * 
         * @return builder
         * 
         */
        public Builder windowsServerLicenseType(HybridLicenseType windowsServerLicenseType) {
            return windowsServerLicenseType(Either.ofRight(windowsServerLicenseType));
        }

        public AzureHybridBenefitPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy