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

com.pulumi.azure.servicebus.inputs.GetNamespaceDisasterRecoveryConfigArgs 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.servicebus.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class GetNamespaceDisasterRecoveryConfigArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetNamespaceDisasterRecoveryConfigArgs Empty = new GetNamespaceDisasterRecoveryConfigArgs();

    @Import(name="aliasAuthorizationRuleId")
    private @Nullable Output aliasAuthorizationRuleId;

    public Optional> aliasAuthorizationRuleId() {
        return Optional.ofNullable(this.aliasAuthorizationRuleId);
    }

    @Import(name="name", required=true)
    private Output name;

    public Output name() {
        return this.name;
    }

    @Import(name="namespaceId")
    private @Nullable Output namespaceId;

    public Optional> namespaceId() {
        return Optional.ofNullable(this.namespaceId);
    }

    /**
     * @deprecated
     * `namespace_name` will be removed in favour of the property `namespace_id` in version 4.0 of the AzureRM Provider.
     * 
     */
    @Deprecated /* `namespace_name` will be removed in favour of the property `namespace_id` in version 4.0 of the AzureRM Provider. */
    @Import(name="namespaceName")
    private @Nullable Output namespaceName;

    /**
     * @deprecated
     * `namespace_name` will be removed in favour of the property `namespace_id` in version 4.0 of the AzureRM Provider.
     * 
     */
    @Deprecated /* `namespace_name` will be removed in favour of the property `namespace_id` in version 4.0 of the AzureRM Provider. */
    public Optional> namespaceName() {
        return Optional.ofNullable(this.namespaceName);
    }

    /**
     * @deprecated
     * `resource_group_name` will be removed in favour of the property `namespace_id` in version 4.0 of the AzureRM Provider.
     * 
     */
    @Deprecated /* `resource_group_name` will be removed in favour of the property `namespace_id` in version 4.0 of the AzureRM Provider. */
    @Import(name="resourceGroupName")
    private @Nullable Output resourceGroupName;

    /**
     * @deprecated
     * `resource_group_name` will be removed in favour of the property `namespace_id` in version 4.0 of the AzureRM Provider.
     * 
     */
    @Deprecated /* `resource_group_name` will be removed in favour of the property `namespace_id` in version 4.0 of the AzureRM Provider. */
    public Optional> resourceGroupName() {
        return Optional.ofNullable(this.resourceGroupName);
    }

    private GetNamespaceDisasterRecoveryConfigArgs() {}

    private GetNamespaceDisasterRecoveryConfigArgs(GetNamespaceDisasterRecoveryConfigArgs $) {
        this.aliasAuthorizationRuleId = $.aliasAuthorizationRuleId;
        this.name = $.name;
        this.namespaceId = $.namespaceId;
        this.namespaceName = $.namespaceName;
        this.resourceGroupName = $.resourceGroupName;
    }

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

    public static final class Builder {
        private GetNamespaceDisasterRecoveryConfigArgs $;

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

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

        public Builder aliasAuthorizationRuleId(@Nullable Output aliasAuthorizationRuleId) {
            $.aliasAuthorizationRuleId = aliasAuthorizationRuleId;
            return this;
        }

        public Builder aliasAuthorizationRuleId(String aliasAuthorizationRuleId) {
            return aliasAuthorizationRuleId(Output.of(aliasAuthorizationRuleId));
        }

        public Builder name(Output name) {
            $.name = name;
            return this;
        }

        public Builder name(String name) {
            return name(Output.of(name));
        }

        public Builder namespaceId(@Nullable Output namespaceId) {
            $.namespaceId = namespaceId;
            return this;
        }

        public Builder namespaceId(String namespaceId) {
            return namespaceId(Output.of(namespaceId));
        }

        /**
         * @return builder
         * 
         * @deprecated
         * `namespace_name` will be removed in favour of the property `namespace_id` in version 4.0 of the AzureRM Provider.
         * 
         */
        @Deprecated /* `namespace_name` will be removed in favour of the property `namespace_id` in version 4.0 of the AzureRM Provider. */
        public Builder namespaceName(@Nullable Output namespaceName) {
            $.namespaceName = namespaceName;
            return this;
        }

        /**
         * @return builder
         * 
         * @deprecated
         * `namespace_name` will be removed in favour of the property `namespace_id` in version 4.0 of the AzureRM Provider.
         * 
         */
        @Deprecated /* `namespace_name` will be removed in favour of the property `namespace_id` in version 4.0 of the AzureRM Provider. */
        public Builder namespaceName(String namespaceName) {
            return namespaceName(Output.of(namespaceName));
        }

        /**
         * @return builder
         * 
         * @deprecated
         * `resource_group_name` will be removed in favour of the property `namespace_id` in version 4.0 of the AzureRM Provider.
         * 
         */
        @Deprecated /* `resource_group_name` will be removed in favour of the property `namespace_id` in version 4.0 of the AzureRM Provider. */
        public Builder resourceGroupName(@Nullable Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @return builder
         * 
         * @deprecated
         * `resource_group_name` will be removed in favour of the property `namespace_id` in version 4.0 of the AzureRM Provider.
         * 
         */
        @Deprecated /* `resource_group_name` will be removed in favour of the property `namespace_id` in version 4.0 of the AzureRM Provider. */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        public GetNamespaceDisasterRecoveryConfigArgs build() {
            if ($.name == null) {
                throw new MissingRequiredPropertyException("GetNamespaceDisasterRecoveryConfigArgs", "name");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy