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

com.pulumi.azure.relay.inputs.HybridConnectionAuthorizationRuleState 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.15.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.azure.relay.inputs;

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


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

    public static final HybridConnectionAuthorizationRuleState Empty = new HybridConnectionAuthorizationRuleState();

    /**
     * Name of the Azure Relay Hybrid Connection for which this Azure Relay Hybrid Connection Authorization Rule will be created. Changing this forces a new Azure Relay Hybrid Connection Authorization Rule to be created.
     * 
     */
    @Import(name="hybridConnectionName")
    private @Nullable Output hybridConnectionName;

    /**
     * @return Name of the Azure Relay Hybrid Connection for which this Azure Relay Hybrid Connection Authorization Rule will be created. Changing this forces a new Azure Relay Hybrid Connection Authorization Rule to be created.
     * 
     */
    public Optional> hybridConnectionName() {
        return Optional.ofNullable(this.hybridConnectionName);
    }

    /**
     * Grants listen access to this Authorization Rule. Defaults to `false`.
     * 
     */
    @Import(name="listen")
    private @Nullable Output listen;

    /**
     * @return Grants listen access to this Authorization Rule. Defaults to `false`.
     * 
     */
    public Optional> listen() {
        return Optional.ofNullable(this.listen);
    }

    /**
     * Grants manage access to this Authorization Rule. When this property is `true` - both `listen` and `send` must be set to `true` too. Defaults to `false`.
     * 
     */
    @Import(name="manage")
    private @Nullable Output manage;

    /**
     * @return Grants manage access to this Authorization Rule. When this property is `true` - both `listen` and `send` must be set to `true` too. Defaults to `false`.
     * 
     */
    public Optional> manage() {
        return Optional.ofNullable(this.manage);
    }

    /**
     * The name which should be used for this Azure Relay Hybrid Connection Authorization Rule. Changing this forces a new Azure Relay Hybrid Connection Authorization Rule to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name which should be used for this Azure Relay Hybrid Connection Authorization Rule. Changing this forces a new Azure Relay Hybrid Connection Authorization Rule to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Name of the Azure Relay Namespace for which this Azure Relay Hybrid Connection Authorization Rule will be created. Changing this forces a new Azure Relay Hybrid Connection Authorization Rule to be created.
     * 
     */
    @Import(name="namespaceName")
    private @Nullable Output namespaceName;

    /**
     * @return Name of the Azure Relay Namespace for which this Azure Relay Hybrid Connection Authorization Rule will be created. Changing this forces a new Azure Relay Hybrid Connection Authorization Rule to be created.
     * 
     */
    public Optional> namespaceName() {
        return Optional.ofNullable(this.namespaceName);
    }

    /**
     * The Primary Connection String for the Azure Relay Hybrid Connection Authorization Rule.
     * 
     */
    @Import(name="primaryConnectionString")
    private @Nullable Output primaryConnectionString;

    /**
     * @return The Primary Connection String for the Azure Relay Hybrid Connection Authorization Rule.
     * 
     */
    public Optional> primaryConnectionString() {
        return Optional.ofNullable(this.primaryConnectionString);
    }

    /**
     * The Primary Key for the Azure Relay Hybrid Connection Authorization Rule.
     * 
     */
    @Import(name="primaryKey")
    private @Nullable Output primaryKey;

    /**
     * @return The Primary Key for the Azure Relay Hybrid Connection Authorization Rule.
     * 
     */
    public Optional> primaryKey() {
        return Optional.ofNullable(this.primaryKey);
    }

    /**
     * The name of the Resource Group where the Azure Relay Hybrid Connection Authorization Rule should exist. Changing this forces a new Azure Relay Hybrid Connection Authorization Rule to be created.
     * 
     */
    @Import(name="resourceGroupName")
    private @Nullable Output resourceGroupName;

    /**
     * @return The name of the Resource Group where the Azure Relay Hybrid Connection Authorization Rule should exist. Changing this forces a new Azure Relay Hybrid Connection Authorization Rule to be created.
     * 
     */
    public Optional> resourceGroupName() {
        return Optional.ofNullable(this.resourceGroupName);
    }

    /**
     * The Secondary Connection String for the Azure Relay Hybrid Connection Authorization Rule.
     * 
     */
    @Import(name="secondaryConnectionString")
    private @Nullable Output secondaryConnectionString;

    /**
     * @return The Secondary Connection String for the Azure Relay Hybrid Connection Authorization Rule.
     * 
     */
    public Optional> secondaryConnectionString() {
        return Optional.ofNullable(this.secondaryConnectionString);
    }

    /**
     * The Secondary Key for the Azure Relay Hybrid Connection Authorization Rule.
     * 
     */
    @Import(name="secondaryKey")
    private @Nullable Output secondaryKey;

    /**
     * @return The Secondary Key for the Azure Relay Hybrid Connection Authorization Rule.
     * 
     */
    public Optional> secondaryKey() {
        return Optional.ofNullable(this.secondaryKey);
    }

    /**
     * Grants send access to this Authorization Rule. Defaults to `false`.
     * 
     */
    @Import(name="send")
    private @Nullable Output send;

    /**
     * @return Grants send access to this Authorization Rule. Defaults to `false`.
     * 
     */
    public Optional> send() {
        return Optional.ofNullable(this.send);
    }

    private HybridConnectionAuthorizationRuleState() {}

    private HybridConnectionAuthorizationRuleState(HybridConnectionAuthorizationRuleState $) {
        this.hybridConnectionName = $.hybridConnectionName;
        this.listen = $.listen;
        this.manage = $.manage;
        this.name = $.name;
        this.namespaceName = $.namespaceName;
        this.primaryConnectionString = $.primaryConnectionString;
        this.primaryKey = $.primaryKey;
        this.resourceGroupName = $.resourceGroupName;
        this.secondaryConnectionString = $.secondaryConnectionString;
        this.secondaryKey = $.secondaryKey;
        this.send = $.send;
    }

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

    public static final class Builder {
        private HybridConnectionAuthorizationRuleState $;

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

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

        /**
         * @param hybridConnectionName Name of the Azure Relay Hybrid Connection for which this Azure Relay Hybrid Connection Authorization Rule will be created. Changing this forces a new Azure Relay Hybrid Connection Authorization Rule to be created.
         * 
         * @return builder
         * 
         */
        public Builder hybridConnectionName(@Nullable Output hybridConnectionName) {
            $.hybridConnectionName = hybridConnectionName;
            return this;
        }

        /**
         * @param hybridConnectionName Name of the Azure Relay Hybrid Connection for which this Azure Relay Hybrid Connection Authorization Rule will be created. Changing this forces a new Azure Relay Hybrid Connection Authorization Rule to be created.
         * 
         * @return builder
         * 
         */
        public Builder hybridConnectionName(String hybridConnectionName) {
            return hybridConnectionName(Output.of(hybridConnectionName));
        }

        /**
         * @param listen Grants listen access to this Authorization Rule. Defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder listen(@Nullable Output listen) {
            $.listen = listen;
            return this;
        }

        /**
         * @param listen Grants listen access to this Authorization Rule. Defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder listen(Boolean listen) {
            return listen(Output.of(listen));
        }

        /**
         * @param manage Grants manage access to this Authorization Rule. When this property is `true` - both `listen` and `send` must be set to `true` too. Defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder manage(@Nullable Output manage) {
            $.manage = manage;
            return this;
        }

        /**
         * @param manage Grants manage access to this Authorization Rule. When this property is `true` - both `listen` and `send` must be set to `true` too. Defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder manage(Boolean manage) {
            return manage(Output.of(manage));
        }

        /**
         * @param name The name which should be used for this Azure Relay Hybrid Connection Authorization Rule. Changing this forces a new Azure Relay Hybrid Connection Authorization Rule to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name which should be used for this Azure Relay Hybrid Connection Authorization Rule. Changing this forces a new Azure Relay Hybrid Connection Authorization Rule to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param namespaceName Name of the Azure Relay Namespace for which this Azure Relay Hybrid Connection Authorization Rule will be created. Changing this forces a new Azure Relay Hybrid Connection Authorization Rule to be created.
         * 
         * @return builder
         * 
         */
        public Builder namespaceName(@Nullable Output namespaceName) {
            $.namespaceName = namespaceName;
            return this;
        }

        /**
         * @param namespaceName Name of the Azure Relay Namespace for which this Azure Relay Hybrid Connection Authorization Rule will be created. Changing this forces a new Azure Relay Hybrid Connection Authorization Rule to be created.
         * 
         * @return builder
         * 
         */
        public Builder namespaceName(String namespaceName) {
            return namespaceName(Output.of(namespaceName));
        }

        /**
         * @param primaryConnectionString The Primary Connection String for the Azure Relay Hybrid Connection Authorization Rule.
         * 
         * @return builder
         * 
         */
        public Builder primaryConnectionString(@Nullable Output primaryConnectionString) {
            $.primaryConnectionString = primaryConnectionString;
            return this;
        }

        /**
         * @param primaryConnectionString The Primary Connection String for the Azure Relay Hybrid Connection Authorization Rule.
         * 
         * @return builder
         * 
         */
        public Builder primaryConnectionString(String primaryConnectionString) {
            return primaryConnectionString(Output.of(primaryConnectionString));
        }

        /**
         * @param primaryKey The Primary Key for the Azure Relay Hybrid Connection Authorization Rule.
         * 
         * @return builder
         * 
         */
        public Builder primaryKey(@Nullable Output primaryKey) {
            $.primaryKey = primaryKey;
            return this;
        }

        /**
         * @param primaryKey The Primary Key for the Azure Relay Hybrid Connection Authorization Rule.
         * 
         * @return builder
         * 
         */
        public Builder primaryKey(String primaryKey) {
            return primaryKey(Output.of(primaryKey));
        }

        /**
         * @param resourceGroupName The name of the Resource Group where the Azure Relay Hybrid Connection Authorization Rule should exist. Changing this forces a new Azure Relay Hybrid Connection Authorization Rule to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(@Nullable Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the Resource Group where the Azure Relay Hybrid Connection Authorization Rule should exist. Changing this forces a new Azure Relay Hybrid Connection Authorization Rule to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param secondaryConnectionString The Secondary Connection String for the Azure Relay Hybrid Connection Authorization Rule.
         * 
         * @return builder
         * 
         */
        public Builder secondaryConnectionString(@Nullable Output secondaryConnectionString) {
            $.secondaryConnectionString = secondaryConnectionString;
            return this;
        }

        /**
         * @param secondaryConnectionString The Secondary Connection String for the Azure Relay Hybrid Connection Authorization Rule.
         * 
         * @return builder
         * 
         */
        public Builder secondaryConnectionString(String secondaryConnectionString) {
            return secondaryConnectionString(Output.of(secondaryConnectionString));
        }

        /**
         * @param secondaryKey The Secondary Key for the Azure Relay Hybrid Connection Authorization Rule.
         * 
         * @return builder
         * 
         */
        public Builder secondaryKey(@Nullable Output secondaryKey) {
            $.secondaryKey = secondaryKey;
            return this;
        }

        /**
         * @param secondaryKey The Secondary Key for the Azure Relay Hybrid Connection Authorization Rule.
         * 
         * @return builder
         * 
         */
        public Builder secondaryKey(String secondaryKey) {
            return secondaryKey(Output.of(secondaryKey));
        }

        /**
         * @param send Grants send access to this Authorization Rule. Defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder send(@Nullable Output send) {
            $.send = send;
            return this;
        }

        /**
         * @param send Grants send access to this Authorization Rule. Defaults to `false`.
         * 
         * @return builder
         * 
         */
        public Builder send(Boolean send) {
            return send(Output.of(send));
        }

        public HybridConnectionAuthorizationRuleState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy