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

com.pulumi.azure.apimanagement.inputs.LoggerState 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.apimanagement.inputs;

import com.pulumi.azure.apimanagement.inputs.LoggerApplicationInsightsArgs;
import com.pulumi.azure.apimanagement.inputs.LoggerEventhubArgs;
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 LoggerState extends com.pulumi.resources.ResourceArgs {

    public static final LoggerState Empty = new LoggerState();

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

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

    /**
     * An `application_insights` block as documented below. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="applicationInsights")
    private @Nullable Output applicationInsights;

    /**
     * @return An `application_insights` block as documented below. Changing this forces a new resource to be created.
     * 
     */
    public Optional> applicationInsights() {
        return Optional.ofNullable(this.applicationInsights);
    }

    /**
     * Specifies whether records should be buffered in the Logger prior to publishing. Defaults to `true`.
     * 
     */
    @Import(name="buffered")
    private @Nullable Output buffered;

    /**
     * @return Specifies whether records should be buffered in the Logger prior to publishing. Defaults to `true`.
     * 
     */
    public Optional> buffered() {
        return Optional.ofNullable(this.buffered);
    }

    /**
     * A description of this Logger.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return A description of this Logger.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * An `eventhub` block as documented below. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="eventhub")
    private @Nullable Output eventhub;

    /**
     * @return An `eventhub` block as documented below. Changing this forces a new resource to be created.
     * 
     */
    public Optional> eventhub() {
        return Optional.ofNullable(this.eventhub);
    }

    /**
     * The name of this Logger, which must be unique within the API Management Service. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name of this Logger, which must be unique within the API Management Service. Changing this forces a new resource to be created.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The name of the Resource Group in which the API Management Service exists. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="resourceGroupName")
    private @Nullable Output resourceGroupName;

    /**
     * @return The name of the Resource Group in which the API Management Service exists. Changing this forces a new resource to be created.
     * 
     */
    public Optional> resourceGroupName() {
        return Optional.ofNullable(this.resourceGroupName);
    }

    /**
     * The target resource id which will be linked in the API-Management portal page. Changing this forces a new resource to be created.
     * 
     */
    @Import(name="resourceId")
    private @Nullable Output resourceId;

    /**
     * @return The target resource id which will be linked in the API-Management portal page. Changing this forces a new resource to be created.
     * 
     */
    public Optional> resourceId() {
        return Optional.ofNullable(this.resourceId);
    }

    private LoggerState() {}

    private LoggerState(LoggerState $) {
        this.apiManagementName = $.apiManagementName;
        this.applicationInsights = $.applicationInsights;
        this.buffered = $.buffered;
        this.description = $.description;
        this.eventhub = $.eventhub;
        this.name = $.name;
        this.resourceGroupName = $.resourceGroupName;
        this.resourceId = $.resourceId;
    }

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

    public static final class Builder {
        private LoggerState $;

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

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

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

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

        /**
         * @param applicationInsights An `application_insights` block as documented below. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder applicationInsights(@Nullable Output applicationInsights) {
            $.applicationInsights = applicationInsights;
            return this;
        }

        /**
         * @param applicationInsights An `application_insights` block as documented below. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder applicationInsights(LoggerApplicationInsightsArgs applicationInsights) {
            return applicationInsights(Output.of(applicationInsights));
        }

        /**
         * @param buffered Specifies whether records should be buffered in the Logger prior to publishing. Defaults to `true`.
         * 
         * @return builder
         * 
         */
        public Builder buffered(@Nullable Output buffered) {
            $.buffered = buffered;
            return this;
        }

        /**
         * @param buffered Specifies whether records should be buffered in the Logger prior to publishing. Defaults to `true`.
         * 
         * @return builder
         * 
         */
        public Builder buffered(Boolean buffered) {
            return buffered(Output.of(buffered));
        }

        /**
         * @param description A description of this Logger.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description A description of this Logger.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param eventhub An `eventhub` block as documented below. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder eventhub(@Nullable Output eventhub) {
            $.eventhub = eventhub;
            return this;
        }

        /**
         * @param eventhub An `eventhub` block as documented below. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder eventhub(LoggerEventhubArgs eventhub) {
            return eventhub(Output.of(eventhub));
        }

        /**
         * @param name The name of this Logger, which must be unique within the API Management Service. 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 this Logger, which must be unique within the API Management Service. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param resourceGroupName The name of the Resource Group in which the API Management Service exists. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(@Nullable Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the Resource Group in which the API Management Service exists. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param resourceId The target resource id which will be linked in the API-Management portal page. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceId(@Nullable Output resourceId) {
            $.resourceId = resourceId;
            return this;
        }

        /**
         * @param resourceId The target resource id which will be linked in the API-Management portal page. Changing this forces a new resource to be created.
         * 
         * @return builder
         * 
         */
        public Builder resourceId(String resourceId) {
            return resourceId(Output.of(resourceId));
        }

        public LoggerState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy