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

com.pulumi.azure.siterecovery.inputs.NetworkMappingState 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 NetworkMappingState extends com.pulumi.resources.ResourceArgs {

    public static final NetworkMappingState Empty = new NetworkMappingState();

    /**
     * The name of the network mapping. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name of the network mapping. Changing this forces a new resource to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The name of the vault that should be updated. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="recoveryVaultName")
    private @Nullable Output recoveryVaultName;

    /**
     * @return The name of the vault that should be updated. Changing this forces a new resource to be created.
     * 
     */
    public Optional> recoveryVaultName() {
        return Optional.ofNullable(this.recoveryVaultName);
    }

    /**
     * Name of the resource group where the vault that should be updated is located. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="resourceGroupName")
    private @Nullable Output resourceGroupName;

    /**
     * @return Name of the resource group where the vault that should be updated is located. Changing this forces a new resource to be created.
     * 
     */
    public Optional> resourceGroupName() {
        return Optional.ofNullable(this.resourceGroupName);
    }

    /**
     * The id of the primary network. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="sourceNetworkId")
    private @Nullable Output sourceNetworkId;

    /**
     * @return The id of the primary network. Changing this forces a new resource to be created.
     * 
     */
    public Optional> sourceNetworkId() {
        return Optional.ofNullable(this.sourceNetworkId);
    }

    /**
     * Specifies the ASR fabric where mapping should be created. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="sourceRecoveryFabricName")
    private @Nullable Output sourceRecoveryFabricName;

    /**
     * @return Specifies the ASR fabric where mapping should be created. Changing this forces a new resource to be created.
     * 
     */
    public Optional> sourceRecoveryFabricName() {
        return Optional.ofNullable(this.sourceRecoveryFabricName);
    }

    /**
     * The id of the recovery network. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="targetNetworkId")
    private @Nullable Output targetNetworkId;

    /**
     * @return The id of the recovery network. Changing this forces a new resource to be created.
     * 
     */
    public Optional> targetNetworkId() {
        return Optional.ofNullable(this.targetNetworkId);
    }

    /**
     * The Azure Site Recovery fabric object corresponding to the recovery Azure region. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="targetRecoveryFabricName")
    private @Nullable Output targetRecoveryFabricName;

    /**
     * @return The Azure Site Recovery fabric object corresponding to the recovery Azure region. Changing this forces a new resource to be created.
     * 
     */
    public Optional> targetRecoveryFabricName() {
        return Optional.ofNullable(this.targetRecoveryFabricName);
    }

    private NetworkMappingState() {}

    private NetworkMappingState(NetworkMappingState $) {
        this.name = $.name;
        this.recoveryVaultName = $.recoveryVaultName;
        this.resourceGroupName = $.resourceGroupName;
        this.sourceNetworkId = $.sourceNetworkId;
        this.sourceRecoveryFabricName = $.sourceRecoveryFabricName;
        this.targetNetworkId = $.targetNetworkId;
        this.targetRecoveryFabricName = $.targetRecoveryFabricName;
    }

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

    public static final class Builder {
        private NetworkMappingState $;

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

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

        /**
         * @param name The name of the network mapping. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the network mapping. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param recoveryVaultName The name of the vault that should be updated. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder recoveryVaultName(@Nullable Output recoveryVaultName) {
            $.recoveryVaultName = recoveryVaultName;
            return this;
        }

        /**
         * @param recoveryVaultName The name of the vault that should be updated. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder recoveryVaultName(String recoveryVaultName) {
            return recoveryVaultName(Output.of(recoveryVaultName));
        }

        /**
         * @param resourceGroupName Name of the resource group where the vault that should be updated is located. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(@Nullable Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName Name of the resource group where the vault that should be updated is located. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param sourceNetworkId The id of the primary network. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder sourceNetworkId(@Nullable Output sourceNetworkId) {
            $.sourceNetworkId = sourceNetworkId;
            return this;
        }

        /**
         * @param sourceNetworkId The id of the primary network. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder sourceNetworkId(String sourceNetworkId) {
            return sourceNetworkId(Output.of(sourceNetworkId));
        }

        /**
         * @param sourceRecoveryFabricName Specifies the ASR fabric where mapping should be created. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder sourceRecoveryFabricName(@Nullable Output sourceRecoveryFabricName) {
            $.sourceRecoveryFabricName = sourceRecoveryFabricName;
            return this;
        }

        /**
         * @param sourceRecoveryFabricName Specifies the ASR fabric where mapping should be created. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder sourceRecoveryFabricName(String sourceRecoveryFabricName) {
            return sourceRecoveryFabricName(Output.of(sourceRecoveryFabricName));
        }

        /**
         * @param targetNetworkId The id of the recovery network. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder targetNetworkId(@Nullable Output targetNetworkId) {
            $.targetNetworkId = targetNetworkId;
            return this;
        }

        /**
         * @param targetNetworkId The id of the recovery network. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder targetNetworkId(String targetNetworkId) {
            return targetNetworkId(Output.of(targetNetworkId));
        }

        /**
         * @param targetRecoveryFabricName The Azure Site Recovery fabric object corresponding to the recovery Azure region. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder targetRecoveryFabricName(@Nullable Output targetRecoveryFabricName) {
            $.targetRecoveryFabricName = targetRecoveryFabricName;
            return this;
        }

        /**
         * @param targetRecoveryFabricName The Azure Site Recovery fabric object corresponding to the recovery Azure region. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder targetRecoveryFabricName(String targetRecoveryFabricName) {
            return targetRecoveryFabricName(Output.of(targetRecoveryFabricName));
        }

        public NetworkMappingState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy