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

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

    public static final SharedPrivateLinkServiceState Empty = new SharedPrivateLinkServiceState();

    /**
     * Specify the name of the Azure Search Shared Private Link Resource. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Specify the name of the Azure Search Shared Private Link Resource. Changing this forces a new resource to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Specify the request message for requesting approval of the Shared Private Link Enabled Remote Resource.
     * 
     */
    @Import(name="requestMessage")
    private @Nullable Output requestMessage;

    /**
     * @return Specify the request message for requesting approval of the Shared Private Link Enabled Remote Resource.
     * 
     */
    public Optional> requestMessage() {
        return Optional.ofNullable(this.requestMessage);
    }

    /**
     * Specify the id of the Azure Search Service. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="searchServiceId")
    private @Nullable Output searchServiceId;

    /**
     * @return Specify the id of the Azure Search Service. Changing this forces a new resource to be created.
     * 
     */
    public Optional> searchServiceId() {
        return Optional.ofNullable(this.searchServiceId);
    }

    /**
     * The status of a private endpoint connection. Possible values are Pending, Approved, Rejected or Disconnected.
     * 
     */
    @Import(name="status")
    private @Nullable Output status;

    /**
     * @return The status of a private endpoint connection. Possible values are Pending, Approved, Rejected or Disconnected.
     * 
     */
    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    /**
     * Specify the sub resource name which the Azure Search Private Endpoint is able to connect to. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="subresourceName")
    private @Nullable Output subresourceName;

    /**
     * @return Specify the sub resource name which the Azure Search Private Endpoint is able to connect to. Changing this forces a new resource to be created.
     * 
     */
    public Optional> subresourceName() {
        return Optional.ofNullable(this.subresourceName);
    }

    /**
     * Specify the ID of the Shared Private Link Enabled Remote Resource which this Azure Search Private Endpoint should be connected to. Changing this forces a new resource to be created.
     * 
     * > **NOTE:** The sub resource name should match with the type of the target resource id that's being specified.
     * 
     */
    @Import(name="targetResourceId")
    private @Nullable Output targetResourceId;

    /**
     * @return Specify the ID of the Shared Private Link Enabled Remote Resource which this Azure Search Private Endpoint should be connected to. Changing this forces a new resource to be created.
     * 
     * > **NOTE:** The sub resource name should match with the type of the target resource id that's being specified.
     * 
     */
    public Optional> targetResourceId() {
        return Optional.ofNullable(this.targetResourceId);
    }

    private SharedPrivateLinkServiceState() {}

    private SharedPrivateLinkServiceState(SharedPrivateLinkServiceState $) {
        this.name = $.name;
        this.requestMessage = $.requestMessage;
        this.searchServiceId = $.searchServiceId;
        this.status = $.status;
        this.subresourceName = $.subresourceName;
        this.targetResourceId = $.targetResourceId;
    }

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

    public static final class Builder {
        private SharedPrivateLinkServiceState $;

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

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

        /**
         * @param name Specify the name of the Azure Search Shared Private Link Resource. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Specify the name of the Azure Search Shared Private Link Resource. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param requestMessage Specify the request message for requesting approval of the Shared Private Link Enabled Remote Resource.
         * 
         * @return builder
         * 
         */
        public Builder requestMessage(@Nullable Output requestMessage) {
            $.requestMessage = requestMessage;
            return this;
        }

        /**
         * @param requestMessage Specify the request message for requesting approval of the Shared Private Link Enabled Remote Resource.
         * 
         * @return builder
         * 
         */
        public Builder requestMessage(String requestMessage) {
            return requestMessage(Output.of(requestMessage));
        }

        /**
         * @param searchServiceId Specify the id of the Azure Search Service. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder searchServiceId(@Nullable Output searchServiceId) {
            $.searchServiceId = searchServiceId;
            return this;
        }

        /**
         * @param searchServiceId Specify the id of the Azure Search Service. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder searchServiceId(String searchServiceId) {
            return searchServiceId(Output.of(searchServiceId));
        }

        /**
         * @param status The status of a private endpoint connection. Possible values are Pending, Approved, Rejected or Disconnected.
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output status) {
            $.status = status;
            return this;
        }

        /**
         * @param status The status of a private endpoint connection. Possible values are Pending, Approved, Rejected or Disconnected.
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Output.of(status));
        }

        /**
         * @param subresourceName Specify the sub resource name which the Azure Search Private Endpoint is able to connect to. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder subresourceName(@Nullable Output subresourceName) {
            $.subresourceName = subresourceName;
            return this;
        }

        /**
         * @param subresourceName Specify the sub resource name which the Azure Search Private Endpoint is able to connect to. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder subresourceName(String subresourceName) {
            return subresourceName(Output.of(subresourceName));
        }

        /**
         * @param targetResourceId Specify the ID of the Shared Private Link Enabled Remote Resource which this Azure Search Private Endpoint should be connected to. Changing this forces a new resource to be created.
         * 
         * > **NOTE:** The sub resource name should match with the type of the target resource id that's being specified.
         * 
         * @return builder
         * 
         */
        public Builder targetResourceId(@Nullable Output targetResourceId) {
            $.targetResourceId = targetResourceId;
            return this;
        }

        /**
         * @param targetResourceId Specify the ID of the Shared Private Link Enabled Remote Resource which this Azure Search Private Endpoint should be connected to. Changing this forces a new resource to be created.
         * 
         * > **NOTE:** The sub resource name should match with the type of the target resource id that's being specified.
         * 
         * @return builder
         * 
         */
        public Builder targetResourceId(String targetResourceId) {
            return targetResourceId(Output.of(targetResourceId));
        }

        public SharedPrivateLinkServiceState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy