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

com.pulumi.azure.siterecovery.inputs.ReplicatedVMNetworkInterfaceArgs 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.siterecovery.inputs;

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;


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

    public static final ReplicatedVMNetworkInterfaceArgs Empty = new ReplicatedVMNetworkInterfaceArgs();

    /**
     * Id of the public IP object to use when a test failover is done.
     * 
     */
    @Import(name="failoverTestPublicIpAddressId")
    private @Nullable Output failoverTestPublicIpAddressId;

    /**
     * @return Id of the public IP object to use when a test failover is done.
     * 
     */
    public Optional> failoverTestPublicIpAddressId() {
        return Optional.ofNullable(this.failoverTestPublicIpAddressId);
    }

    /**
     * Static IP to assign when a test failover is done.
     * 
     */
    @Import(name="failoverTestStaticIp")
    private @Nullable Output failoverTestStaticIp;

    /**
     * @return Static IP to assign when a test failover is done.
     * 
     */
    public Optional> failoverTestStaticIp() {
        return Optional.ofNullable(this.failoverTestStaticIp);
    }

    /**
     * Name of the subnet to to use when a test failover is done.
     * 
     */
    @Import(name="failoverTestSubnetName")
    private @Nullable Output failoverTestSubnetName;

    /**
     * @return Name of the subnet to to use when a test failover is done.
     * 
     */
    public Optional> failoverTestSubnetName() {
        return Optional.ofNullable(this.failoverTestSubnetName);
    }

    /**
     * Id of the public IP object to use when a failover is done.
     * 
     */
    @Import(name="recoveryPublicIpAddressId")
    private @Nullable Output recoveryPublicIpAddressId;

    /**
     * @return Id of the public IP object to use when a failover is done.
     * 
     */
    public Optional> recoveryPublicIpAddressId() {
        return Optional.ofNullable(this.recoveryPublicIpAddressId);
    }

    /**
     * (Required if the network_interface block is specified) Id source network interface.
     * 
     */
    @Import(name="sourceNetworkInterfaceId")
    private @Nullable Output sourceNetworkInterfaceId;

    /**
     * @return (Required if the network_interface block is specified) Id source network interface.
     * 
     */
    public Optional> sourceNetworkInterfaceId() {
        return Optional.ofNullable(this.sourceNetworkInterfaceId);
    }

    /**
     * Static IP to assign when a failover is done.
     * 
     */
    @Import(name="targetStaticIp")
    private @Nullable Output targetStaticIp;

    /**
     * @return Static IP to assign when a failover is done.
     * 
     */
    public Optional> targetStaticIp() {
        return Optional.ofNullable(this.targetStaticIp);
    }

    /**
     * Name of the subnet to to use when a failover is done.
     * 
     */
    @Import(name="targetSubnetName")
    private @Nullable Output targetSubnetName;

    /**
     * @return Name of the subnet to to use when a failover is done.
     * 
     */
    public Optional> targetSubnetName() {
        return Optional.ofNullable(this.targetSubnetName);
    }

    private ReplicatedVMNetworkInterfaceArgs() {}

    private ReplicatedVMNetworkInterfaceArgs(ReplicatedVMNetworkInterfaceArgs $) {
        this.failoverTestPublicIpAddressId = $.failoverTestPublicIpAddressId;
        this.failoverTestStaticIp = $.failoverTestStaticIp;
        this.failoverTestSubnetName = $.failoverTestSubnetName;
        this.recoveryPublicIpAddressId = $.recoveryPublicIpAddressId;
        this.sourceNetworkInterfaceId = $.sourceNetworkInterfaceId;
        this.targetStaticIp = $.targetStaticIp;
        this.targetSubnetName = $.targetSubnetName;
    }

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

    public static final class Builder {
        private ReplicatedVMNetworkInterfaceArgs $;

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

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

        /**
         * @param failoverTestPublicIpAddressId Id of the public IP object to use when a test failover is done.
         * 
         * @return builder
         * 
         */
        public Builder failoverTestPublicIpAddressId(@Nullable Output failoverTestPublicIpAddressId) {
            $.failoverTestPublicIpAddressId = failoverTestPublicIpAddressId;
            return this;
        }

        /**
         * @param failoverTestPublicIpAddressId Id of the public IP object to use when a test failover is done.
         * 
         * @return builder
         * 
         */
        public Builder failoverTestPublicIpAddressId(String failoverTestPublicIpAddressId) {
            return failoverTestPublicIpAddressId(Output.of(failoverTestPublicIpAddressId));
        }

        /**
         * @param failoverTestStaticIp Static IP to assign when a test failover is done.
         * 
         * @return builder
         * 
         */
        public Builder failoverTestStaticIp(@Nullable Output failoverTestStaticIp) {
            $.failoverTestStaticIp = failoverTestStaticIp;
            return this;
        }

        /**
         * @param failoverTestStaticIp Static IP to assign when a test failover is done.
         * 
         * @return builder
         * 
         */
        public Builder failoverTestStaticIp(String failoverTestStaticIp) {
            return failoverTestStaticIp(Output.of(failoverTestStaticIp));
        }

        /**
         * @param failoverTestSubnetName Name of the subnet to to use when a test failover is done.
         * 
         * @return builder
         * 
         */
        public Builder failoverTestSubnetName(@Nullable Output failoverTestSubnetName) {
            $.failoverTestSubnetName = failoverTestSubnetName;
            return this;
        }

        /**
         * @param failoverTestSubnetName Name of the subnet to to use when a test failover is done.
         * 
         * @return builder
         * 
         */
        public Builder failoverTestSubnetName(String failoverTestSubnetName) {
            return failoverTestSubnetName(Output.of(failoverTestSubnetName));
        }

        /**
         * @param recoveryPublicIpAddressId Id of the public IP object to use when a failover is done.
         * 
         * @return builder
         * 
         */
        public Builder recoveryPublicIpAddressId(@Nullable Output recoveryPublicIpAddressId) {
            $.recoveryPublicIpAddressId = recoveryPublicIpAddressId;
            return this;
        }

        /**
         * @param recoveryPublicIpAddressId Id of the public IP object to use when a failover is done.
         * 
         * @return builder
         * 
         */
        public Builder recoveryPublicIpAddressId(String recoveryPublicIpAddressId) {
            return recoveryPublicIpAddressId(Output.of(recoveryPublicIpAddressId));
        }

        /**
         * @param sourceNetworkInterfaceId (Required if the network_interface block is specified) Id source network interface.
         * 
         * @return builder
         * 
         */
        public Builder sourceNetworkInterfaceId(@Nullable Output sourceNetworkInterfaceId) {
            $.sourceNetworkInterfaceId = sourceNetworkInterfaceId;
            return this;
        }

        /**
         * @param sourceNetworkInterfaceId (Required if the network_interface block is specified) Id source network interface.
         * 
         * @return builder
         * 
         */
        public Builder sourceNetworkInterfaceId(String sourceNetworkInterfaceId) {
            return sourceNetworkInterfaceId(Output.of(sourceNetworkInterfaceId));
        }

        /**
         * @param targetStaticIp Static IP to assign when a failover is done.
         * 
         * @return builder
         * 
         */
        public Builder targetStaticIp(@Nullable Output targetStaticIp) {
            $.targetStaticIp = targetStaticIp;
            return this;
        }

        /**
         * @param targetStaticIp Static IP to assign when a failover is done.
         * 
         * @return builder
         * 
         */
        public Builder targetStaticIp(String targetStaticIp) {
            return targetStaticIp(Output.of(targetStaticIp));
        }

        /**
         * @param targetSubnetName Name of the subnet to to use when a failover is done.
         * 
         * @return builder
         * 
         */
        public Builder targetSubnetName(@Nullable Output targetSubnetName) {
            $.targetSubnetName = targetSubnetName;
            return this;
        }

        /**
         * @param targetSubnetName Name of the subnet to to use when a failover is done.
         * 
         * @return builder
         * 
         */
        public Builder targetSubnetName(String targetSubnetName) {
            return targetSubnetName(Output.of(targetSubnetName));
        }

        public ReplicatedVMNetworkInterfaceArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy