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

com.pulumi.azurenative.recoveryservices.inputs.InMageRcmEnableProtectionInputArgs Maven / Gradle / Ivy

There is a newer version: 2.82.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.recoveryservices.inputs;

import com.pulumi.azurenative.recoveryservices.enums.LicenseType;
import com.pulumi.azurenative.recoveryservices.inputs.InMageRcmDiskInputArgs;
import com.pulumi.azurenative.recoveryservices.inputs.InMageRcmDisksDefaultInputArgs;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * InMageRcm specific enable protection input.
 * 
 */
public final class InMageRcmEnableProtectionInputArgs extends com.pulumi.resources.ResourceArgs {

    public static final InMageRcmEnableProtectionInputArgs Empty = new InMageRcmEnableProtectionInputArgs();

    /**
     * The default disk input.
     * 
     */
    @Import(name="disksDefault")
    private @Nullable Output disksDefault;

    /**
     * @return The default disk input.
     * 
     */
    public Optional> disksDefault() {
        return Optional.ofNullable(this.disksDefault);
    }

    /**
     * The disks to include list.
     * 
     */
    @Import(name="disksToInclude")
    private @Nullable Output> disksToInclude;

    /**
     * @return The disks to include list.
     * 
     */
    public Optional>> disksToInclude() {
        return Optional.ofNullable(this.disksToInclude);
    }

    /**
     * The ARM Id of discovered machine.
     * 
     */
    @Import(name="fabricDiscoveryMachineId", required=true)
    private Output fabricDiscoveryMachineId;

    /**
     * @return The ARM Id of discovered machine.
     * 
     */
    public Output fabricDiscoveryMachineId() {
        return this.fabricDiscoveryMachineId;
    }

    /**
     * The class type.
     * Expected value is 'InMageRcm'.
     * 
     */
    @Import(name="instanceType", required=true)
    private Output instanceType;

    /**
     * @return The class type.
     * Expected value is 'InMageRcm'.
     * 
     */
    public Output instanceType() {
        return this.instanceType;
    }

    /**
     * The license type.
     * 
     */
    @Import(name="licenseType")
    private @Nullable Output> licenseType;

    /**
     * @return The license type.
     * 
     */
    public Optional>> licenseType() {
        return Optional.ofNullable(this.licenseType);
    }

    /**
     * The multi VM group name.
     * 
     */
    @Import(name="multiVmGroupName")
    private @Nullable Output multiVmGroupName;

    /**
     * @return The multi VM group name.
     * 
     */
    public Optional> multiVmGroupName() {
        return Optional.ofNullable(this.multiVmGroupName);
    }

    /**
     * The process server Id.
     * 
     */
    @Import(name="processServerId", required=true)
    private Output processServerId;

    /**
     * @return The process server Id.
     * 
     */
    public Output processServerId() {
        return this.processServerId;
    }

    /**
     * The run-as account Id.
     * 
     */
    @Import(name="runAsAccountId")
    private @Nullable Output runAsAccountId;

    /**
     * @return The run-as account Id.
     * 
     */
    public Optional> runAsAccountId() {
        return Optional.ofNullable(this.runAsAccountId);
    }

    /**
     * The target availability set ARM Id.
     * 
     */
    @Import(name="targetAvailabilitySetId")
    private @Nullable Output targetAvailabilitySetId;

    /**
     * @return The target availability set ARM Id.
     * 
     */
    public Optional> targetAvailabilitySetId() {
        return Optional.ofNullable(this.targetAvailabilitySetId);
    }

    /**
     * The target availability zone.
     * 
     */
    @Import(name="targetAvailabilityZone")
    private @Nullable Output targetAvailabilityZone;

    /**
     * @return The target availability zone.
     * 
     */
    public Optional> targetAvailabilityZone() {
        return Optional.ofNullable(this.targetAvailabilityZone);
    }

    /**
     * The target boot diagnostics storage account ARM Id.
     * 
     */
    @Import(name="targetBootDiagnosticsStorageAccountId")
    private @Nullable Output targetBootDiagnosticsStorageAccountId;

    /**
     * @return The target boot diagnostics storage account ARM Id.
     * 
     */
    public Optional> targetBootDiagnosticsStorageAccountId() {
        return Optional.ofNullable(this.targetBootDiagnosticsStorageAccountId);
    }

    /**
     * The selected target network ARM Id.
     * 
     */
    @Import(name="targetNetworkId")
    private @Nullable Output targetNetworkId;

    /**
     * @return The selected target network ARM Id.
     * 
     */
    public Optional> targetNetworkId() {
        return Optional.ofNullable(this.targetNetworkId);
    }

    /**
     * The target proximity placement group Id.
     * 
     */
    @Import(name="targetProximityPlacementGroupId")
    private @Nullable Output targetProximityPlacementGroupId;

    /**
     * @return The target proximity placement group Id.
     * 
     */
    public Optional> targetProximityPlacementGroupId() {
        return Optional.ofNullable(this.targetProximityPlacementGroupId);
    }

    /**
     * The target resource group ARM Id.
     * 
     */
    @Import(name="targetResourceGroupId", required=true)
    private Output targetResourceGroupId;

    /**
     * @return The target resource group ARM Id.
     * 
     */
    public Output targetResourceGroupId() {
        return this.targetResourceGroupId;
    }

    /**
     * The selected target subnet name.
     * 
     */
    @Import(name="targetSubnetName")
    private @Nullable Output targetSubnetName;

    /**
     * @return The selected target subnet name.
     * 
     */
    public Optional> targetSubnetName() {
        return Optional.ofNullable(this.targetSubnetName);
    }

    /**
     * The target VM name.
     * 
     */
    @Import(name="targetVmName")
    private @Nullable Output targetVmName;

    /**
     * @return The target VM name.
     * 
     */
    public Optional> targetVmName() {
        return Optional.ofNullable(this.targetVmName);
    }

    /**
     * The target VM size.
     * 
     */
    @Import(name="targetVmSize")
    private @Nullable Output targetVmSize;

    /**
     * @return The target VM size.
     * 
     */
    public Optional> targetVmSize() {
        return Optional.ofNullable(this.targetVmSize);
    }

    /**
     * The selected test network ARM Id.
     * 
     */
    @Import(name="testNetworkId")
    private @Nullable Output testNetworkId;

    /**
     * @return The selected test network ARM Id.
     * 
     */
    public Optional> testNetworkId() {
        return Optional.ofNullable(this.testNetworkId);
    }

    /**
     * The selected test subnet name.
     * 
     */
    @Import(name="testSubnetName")
    private @Nullable Output testSubnetName;

    /**
     * @return The selected test subnet name.
     * 
     */
    public Optional> testSubnetName() {
        return Optional.ofNullable(this.testSubnetName);
    }

    private InMageRcmEnableProtectionInputArgs() {}

    private InMageRcmEnableProtectionInputArgs(InMageRcmEnableProtectionInputArgs $) {
        this.disksDefault = $.disksDefault;
        this.disksToInclude = $.disksToInclude;
        this.fabricDiscoveryMachineId = $.fabricDiscoveryMachineId;
        this.instanceType = $.instanceType;
        this.licenseType = $.licenseType;
        this.multiVmGroupName = $.multiVmGroupName;
        this.processServerId = $.processServerId;
        this.runAsAccountId = $.runAsAccountId;
        this.targetAvailabilitySetId = $.targetAvailabilitySetId;
        this.targetAvailabilityZone = $.targetAvailabilityZone;
        this.targetBootDiagnosticsStorageAccountId = $.targetBootDiagnosticsStorageAccountId;
        this.targetNetworkId = $.targetNetworkId;
        this.targetProximityPlacementGroupId = $.targetProximityPlacementGroupId;
        this.targetResourceGroupId = $.targetResourceGroupId;
        this.targetSubnetName = $.targetSubnetName;
        this.targetVmName = $.targetVmName;
        this.targetVmSize = $.targetVmSize;
        this.testNetworkId = $.testNetworkId;
        this.testSubnetName = $.testSubnetName;
    }

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

    public static final class Builder {
        private InMageRcmEnableProtectionInputArgs $;

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

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

        /**
         * @param disksDefault The default disk input.
         * 
         * @return builder
         * 
         */
        public Builder disksDefault(@Nullable Output disksDefault) {
            $.disksDefault = disksDefault;
            return this;
        }

        /**
         * @param disksDefault The default disk input.
         * 
         * @return builder
         * 
         */
        public Builder disksDefault(InMageRcmDisksDefaultInputArgs disksDefault) {
            return disksDefault(Output.of(disksDefault));
        }

        /**
         * @param disksToInclude The disks to include list.
         * 
         * @return builder
         * 
         */
        public Builder disksToInclude(@Nullable Output> disksToInclude) {
            $.disksToInclude = disksToInclude;
            return this;
        }

        /**
         * @param disksToInclude The disks to include list.
         * 
         * @return builder
         * 
         */
        public Builder disksToInclude(List disksToInclude) {
            return disksToInclude(Output.of(disksToInclude));
        }

        /**
         * @param disksToInclude The disks to include list.
         * 
         * @return builder
         * 
         */
        public Builder disksToInclude(InMageRcmDiskInputArgs... disksToInclude) {
            return disksToInclude(List.of(disksToInclude));
        }

        /**
         * @param fabricDiscoveryMachineId The ARM Id of discovered machine.
         * 
         * @return builder
         * 
         */
        public Builder fabricDiscoveryMachineId(Output fabricDiscoveryMachineId) {
            $.fabricDiscoveryMachineId = fabricDiscoveryMachineId;
            return this;
        }

        /**
         * @param fabricDiscoveryMachineId The ARM Id of discovered machine.
         * 
         * @return builder
         * 
         */
        public Builder fabricDiscoveryMachineId(String fabricDiscoveryMachineId) {
            return fabricDiscoveryMachineId(Output.of(fabricDiscoveryMachineId));
        }

        /**
         * @param instanceType The class type.
         * Expected value is 'InMageRcm'.
         * 
         * @return builder
         * 
         */
        public Builder instanceType(Output instanceType) {
            $.instanceType = instanceType;
            return this;
        }

        /**
         * @param instanceType The class type.
         * Expected value is 'InMageRcm'.
         * 
         * @return builder
         * 
         */
        public Builder instanceType(String instanceType) {
            return instanceType(Output.of(instanceType));
        }

        /**
         * @param licenseType The license type.
         * 
         * @return builder
         * 
         */
        public Builder licenseType(@Nullable Output> licenseType) {
            $.licenseType = licenseType;
            return this;
        }

        /**
         * @param licenseType The license type.
         * 
         * @return builder
         * 
         */
        public Builder licenseType(Either licenseType) {
            return licenseType(Output.of(licenseType));
        }

        /**
         * @param licenseType The license type.
         * 
         * @return builder
         * 
         */
        public Builder licenseType(String licenseType) {
            return licenseType(Either.ofLeft(licenseType));
        }

        /**
         * @param licenseType The license type.
         * 
         * @return builder
         * 
         */
        public Builder licenseType(LicenseType licenseType) {
            return licenseType(Either.ofRight(licenseType));
        }

        /**
         * @param multiVmGroupName The multi VM group name.
         * 
         * @return builder
         * 
         */
        public Builder multiVmGroupName(@Nullable Output multiVmGroupName) {
            $.multiVmGroupName = multiVmGroupName;
            return this;
        }

        /**
         * @param multiVmGroupName The multi VM group name.
         * 
         * @return builder
         * 
         */
        public Builder multiVmGroupName(String multiVmGroupName) {
            return multiVmGroupName(Output.of(multiVmGroupName));
        }

        /**
         * @param processServerId The process server Id.
         * 
         * @return builder
         * 
         */
        public Builder processServerId(Output processServerId) {
            $.processServerId = processServerId;
            return this;
        }

        /**
         * @param processServerId The process server Id.
         * 
         * @return builder
         * 
         */
        public Builder processServerId(String processServerId) {
            return processServerId(Output.of(processServerId));
        }

        /**
         * @param runAsAccountId The run-as account Id.
         * 
         * @return builder
         * 
         */
        public Builder runAsAccountId(@Nullable Output runAsAccountId) {
            $.runAsAccountId = runAsAccountId;
            return this;
        }

        /**
         * @param runAsAccountId The run-as account Id.
         * 
         * @return builder
         * 
         */
        public Builder runAsAccountId(String runAsAccountId) {
            return runAsAccountId(Output.of(runAsAccountId));
        }

        /**
         * @param targetAvailabilitySetId The target availability set ARM Id.
         * 
         * @return builder
         * 
         */
        public Builder targetAvailabilitySetId(@Nullable Output targetAvailabilitySetId) {
            $.targetAvailabilitySetId = targetAvailabilitySetId;
            return this;
        }

        /**
         * @param targetAvailabilitySetId The target availability set ARM Id.
         * 
         * @return builder
         * 
         */
        public Builder targetAvailabilitySetId(String targetAvailabilitySetId) {
            return targetAvailabilitySetId(Output.of(targetAvailabilitySetId));
        }

        /**
         * @param targetAvailabilityZone The target availability zone.
         * 
         * @return builder
         * 
         */
        public Builder targetAvailabilityZone(@Nullable Output targetAvailabilityZone) {
            $.targetAvailabilityZone = targetAvailabilityZone;
            return this;
        }

        /**
         * @param targetAvailabilityZone The target availability zone.
         * 
         * @return builder
         * 
         */
        public Builder targetAvailabilityZone(String targetAvailabilityZone) {
            return targetAvailabilityZone(Output.of(targetAvailabilityZone));
        }

        /**
         * @param targetBootDiagnosticsStorageAccountId The target boot diagnostics storage account ARM Id.
         * 
         * @return builder
         * 
         */
        public Builder targetBootDiagnosticsStorageAccountId(@Nullable Output targetBootDiagnosticsStorageAccountId) {
            $.targetBootDiagnosticsStorageAccountId = targetBootDiagnosticsStorageAccountId;
            return this;
        }

        /**
         * @param targetBootDiagnosticsStorageAccountId The target boot diagnostics storage account ARM Id.
         * 
         * @return builder
         * 
         */
        public Builder targetBootDiagnosticsStorageAccountId(String targetBootDiagnosticsStorageAccountId) {
            return targetBootDiagnosticsStorageAccountId(Output.of(targetBootDiagnosticsStorageAccountId));
        }

        /**
         * @param targetNetworkId The selected target network ARM Id.
         * 
         * @return builder
         * 
         */
        public Builder targetNetworkId(@Nullable Output targetNetworkId) {
            $.targetNetworkId = targetNetworkId;
            return this;
        }

        /**
         * @param targetNetworkId The selected target network ARM Id.
         * 
         * @return builder
         * 
         */
        public Builder targetNetworkId(String targetNetworkId) {
            return targetNetworkId(Output.of(targetNetworkId));
        }

        /**
         * @param targetProximityPlacementGroupId The target proximity placement group Id.
         * 
         * @return builder
         * 
         */
        public Builder targetProximityPlacementGroupId(@Nullable Output targetProximityPlacementGroupId) {
            $.targetProximityPlacementGroupId = targetProximityPlacementGroupId;
            return this;
        }

        /**
         * @param targetProximityPlacementGroupId The target proximity placement group Id.
         * 
         * @return builder
         * 
         */
        public Builder targetProximityPlacementGroupId(String targetProximityPlacementGroupId) {
            return targetProximityPlacementGroupId(Output.of(targetProximityPlacementGroupId));
        }

        /**
         * @param targetResourceGroupId The target resource group ARM Id.
         * 
         * @return builder
         * 
         */
        public Builder targetResourceGroupId(Output targetResourceGroupId) {
            $.targetResourceGroupId = targetResourceGroupId;
            return this;
        }

        /**
         * @param targetResourceGroupId The target resource group ARM Id.
         * 
         * @return builder
         * 
         */
        public Builder targetResourceGroupId(String targetResourceGroupId) {
            return targetResourceGroupId(Output.of(targetResourceGroupId));
        }

        /**
         * @param targetSubnetName The selected target subnet name.
         * 
         * @return builder
         * 
         */
        public Builder targetSubnetName(@Nullable Output targetSubnetName) {
            $.targetSubnetName = targetSubnetName;
            return this;
        }

        /**
         * @param targetSubnetName The selected target subnet name.
         * 
         * @return builder
         * 
         */
        public Builder targetSubnetName(String targetSubnetName) {
            return targetSubnetName(Output.of(targetSubnetName));
        }

        /**
         * @param targetVmName The target VM name.
         * 
         * @return builder
         * 
         */
        public Builder targetVmName(@Nullable Output targetVmName) {
            $.targetVmName = targetVmName;
            return this;
        }

        /**
         * @param targetVmName The target VM name.
         * 
         * @return builder
         * 
         */
        public Builder targetVmName(String targetVmName) {
            return targetVmName(Output.of(targetVmName));
        }

        /**
         * @param targetVmSize The target VM size.
         * 
         * @return builder
         * 
         */
        public Builder targetVmSize(@Nullable Output targetVmSize) {
            $.targetVmSize = targetVmSize;
            return this;
        }

        /**
         * @param targetVmSize The target VM size.
         * 
         * @return builder
         * 
         */
        public Builder targetVmSize(String targetVmSize) {
            return targetVmSize(Output.of(targetVmSize));
        }

        /**
         * @param testNetworkId The selected test network ARM Id.
         * 
         * @return builder
         * 
         */
        public Builder testNetworkId(@Nullable Output testNetworkId) {
            $.testNetworkId = testNetworkId;
            return this;
        }

        /**
         * @param testNetworkId The selected test network ARM Id.
         * 
         * @return builder
         * 
         */
        public Builder testNetworkId(String testNetworkId) {
            return testNetworkId(Output.of(testNetworkId));
        }

        /**
         * @param testSubnetName The selected test subnet name.
         * 
         * @return builder
         * 
         */
        public Builder testSubnetName(@Nullable Output testSubnetName) {
            $.testSubnetName = testSubnetName;
            return this;
        }

        /**
         * @param testSubnetName The selected test subnet name.
         * 
         * @return builder
         * 
         */
        public Builder testSubnetName(String testSubnetName) {
            return testSubnetName(Output.of(testSubnetName));
        }

        public InMageRcmEnableProtectionInputArgs build() {
            if ($.fabricDiscoveryMachineId == null) {
                throw new MissingRequiredPropertyException("InMageRcmEnableProtectionInputArgs", "fabricDiscoveryMachineId");
            }
            $.instanceType = Codegen.stringProp("instanceType").output().arg($.instanceType).require();
            if ($.processServerId == null) {
                throw new MissingRequiredPropertyException("InMageRcmEnableProtectionInputArgs", "processServerId");
            }
            if ($.targetResourceGroupId == null) {
                throw new MissingRequiredPropertyException("InMageRcmEnableProtectionInputArgs", "targetResourceGroupId");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy