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

com.pulumi.azurenative.compute.inputs.GetLogAnalyticExportRequestRateByIntervalArgs Maven / Gradle / Ivy

There is a newer version: 2.72.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.azurenative.compute.inputs;

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


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

    public static final GetLogAnalyticExportRequestRateByIntervalArgs Empty = new GetLogAnalyticExportRequestRateByIntervalArgs();

    /**
     * SAS Uri of the logging blob container to which LogAnalytics Api writes output logs to.
     * 
     */
    @Import(name="blobContainerSasUri", required=true)
    private Output blobContainerSasUri;

    /**
     * @return SAS Uri of the logging blob container to which LogAnalytics Api writes output logs to.
     * 
     */
    public Output blobContainerSasUri() {
        return this.blobContainerSasUri;
    }

    /**
     * From time of the query
     * 
     */
    @Import(name="fromTime", required=true)
    private Output fromTime;

    /**
     * @return From time of the query
     * 
     */
    public Output fromTime() {
        return this.fromTime;
    }

    /**
     * Group query result by Client Application ID.
     * 
     */
    @Import(name="groupByClientApplicationId")
    private @Nullable Output groupByClientApplicationId;

    /**
     * @return Group query result by Client Application ID.
     * 
     */
    public Optional> groupByClientApplicationId() {
        return Optional.ofNullable(this.groupByClientApplicationId);
    }

    /**
     * Group query result by Operation Name.
     * 
     */
    @Import(name="groupByOperationName")
    private @Nullable Output groupByOperationName;

    /**
     * @return Group query result by Operation Name.
     * 
     */
    public Optional> groupByOperationName() {
        return Optional.ofNullable(this.groupByOperationName);
    }

    /**
     * Group query result by Resource Name.
     * 
     */
    @Import(name="groupByResourceName")
    private @Nullable Output groupByResourceName;

    /**
     * @return Group query result by Resource Name.
     * 
     */
    public Optional> groupByResourceName() {
        return Optional.ofNullable(this.groupByResourceName);
    }

    /**
     * Group query result by Throttle Policy applied.
     * 
     */
    @Import(name="groupByThrottlePolicy")
    private @Nullable Output groupByThrottlePolicy;

    /**
     * @return Group query result by Throttle Policy applied.
     * 
     */
    public Optional> groupByThrottlePolicy() {
        return Optional.ofNullable(this.groupByThrottlePolicy);
    }

    /**
     * Group query result by User Agent.
     * 
     */
    @Import(name="groupByUserAgent")
    private @Nullable Output groupByUserAgent;

    /**
     * @return Group query result by User Agent.
     * 
     */
    public Optional> groupByUserAgent() {
        return Optional.ofNullable(this.groupByUserAgent);
    }

    /**
     * Interval value in minutes used to create LogAnalytics call rate logs.
     * 
     */
    @Import(name="intervalLength", required=true)
    private Output intervalLength;

    /**
     * @return Interval value in minutes used to create LogAnalytics call rate logs.
     * 
     */
    public Output intervalLength() {
        return this.intervalLength;
    }

    /**
     * The location upon which virtual-machine-sizes is queried.
     * 
     */
    @Import(name="location", required=true)
    private Output location;

    /**
     * @return The location upon which virtual-machine-sizes is queried.
     * 
     */
    public Output location() {
        return this.location;
    }

    /**
     * To time of the query
     * 
     */
    @Import(name="toTime", required=true)
    private Output toTime;

    /**
     * @return To time of the query
     * 
     */
    public Output toTime() {
        return this.toTime;
    }

    private GetLogAnalyticExportRequestRateByIntervalArgs() {}

    private GetLogAnalyticExportRequestRateByIntervalArgs(GetLogAnalyticExportRequestRateByIntervalArgs $) {
        this.blobContainerSasUri = $.blobContainerSasUri;
        this.fromTime = $.fromTime;
        this.groupByClientApplicationId = $.groupByClientApplicationId;
        this.groupByOperationName = $.groupByOperationName;
        this.groupByResourceName = $.groupByResourceName;
        this.groupByThrottlePolicy = $.groupByThrottlePolicy;
        this.groupByUserAgent = $.groupByUserAgent;
        this.intervalLength = $.intervalLength;
        this.location = $.location;
        this.toTime = $.toTime;
    }

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

    public static final class Builder {
        private GetLogAnalyticExportRequestRateByIntervalArgs $;

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

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

        /**
         * @param blobContainerSasUri SAS Uri of the logging blob container to which LogAnalytics Api writes output logs to.
         * 
         * @return builder
         * 
         */
        public Builder blobContainerSasUri(Output blobContainerSasUri) {
            $.blobContainerSasUri = blobContainerSasUri;
            return this;
        }

        /**
         * @param blobContainerSasUri SAS Uri of the logging blob container to which LogAnalytics Api writes output logs to.
         * 
         * @return builder
         * 
         */
        public Builder blobContainerSasUri(String blobContainerSasUri) {
            return blobContainerSasUri(Output.of(blobContainerSasUri));
        }

        /**
         * @param fromTime From time of the query
         * 
         * @return builder
         * 
         */
        public Builder fromTime(Output fromTime) {
            $.fromTime = fromTime;
            return this;
        }

        /**
         * @param fromTime From time of the query
         * 
         * @return builder
         * 
         */
        public Builder fromTime(String fromTime) {
            return fromTime(Output.of(fromTime));
        }

        /**
         * @param groupByClientApplicationId Group query result by Client Application ID.
         * 
         * @return builder
         * 
         */
        public Builder groupByClientApplicationId(@Nullable Output groupByClientApplicationId) {
            $.groupByClientApplicationId = groupByClientApplicationId;
            return this;
        }

        /**
         * @param groupByClientApplicationId Group query result by Client Application ID.
         * 
         * @return builder
         * 
         */
        public Builder groupByClientApplicationId(Boolean groupByClientApplicationId) {
            return groupByClientApplicationId(Output.of(groupByClientApplicationId));
        }

        /**
         * @param groupByOperationName Group query result by Operation Name.
         * 
         * @return builder
         * 
         */
        public Builder groupByOperationName(@Nullable Output groupByOperationName) {
            $.groupByOperationName = groupByOperationName;
            return this;
        }

        /**
         * @param groupByOperationName Group query result by Operation Name.
         * 
         * @return builder
         * 
         */
        public Builder groupByOperationName(Boolean groupByOperationName) {
            return groupByOperationName(Output.of(groupByOperationName));
        }

        /**
         * @param groupByResourceName Group query result by Resource Name.
         * 
         * @return builder
         * 
         */
        public Builder groupByResourceName(@Nullable Output groupByResourceName) {
            $.groupByResourceName = groupByResourceName;
            return this;
        }

        /**
         * @param groupByResourceName Group query result by Resource Name.
         * 
         * @return builder
         * 
         */
        public Builder groupByResourceName(Boolean groupByResourceName) {
            return groupByResourceName(Output.of(groupByResourceName));
        }

        /**
         * @param groupByThrottlePolicy Group query result by Throttle Policy applied.
         * 
         * @return builder
         * 
         */
        public Builder groupByThrottlePolicy(@Nullable Output groupByThrottlePolicy) {
            $.groupByThrottlePolicy = groupByThrottlePolicy;
            return this;
        }

        /**
         * @param groupByThrottlePolicy Group query result by Throttle Policy applied.
         * 
         * @return builder
         * 
         */
        public Builder groupByThrottlePolicy(Boolean groupByThrottlePolicy) {
            return groupByThrottlePolicy(Output.of(groupByThrottlePolicy));
        }

        /**
         * @param groupByUserAgent Group query result by User Agent.
         * 
         * @return builder
         * 
         */
        public Builder groupByUserAgent(@Nullable Output groupByUserAgent) {
            $.groupByUserAgent = groupByUserAgent;
            return this;
        }

        /**
         * @param groupByUserAgent Group query result by User Agent.
         * 
         * @return builder
         * 
         */
        public Builder groupByUserAgent(Boolean groupByUserAgent) {
            return groupByUserAgent(Output.of(groupByUserAgent));
        }

        /**
         * @param intervalLength Interval value in minutes used to create LogAnalytics call rate logs.
         * 
         * @return builder
         * 
         */
        public Builder intervalLength(Output intervalLength) {
            $.intervalLength = intervalLength;
            return this;
        }

        /**
         * @param intervalLength Interval value in minutes used to create LogAnalytics call rate logs.
         * 
         * @return builder
         * 
         */
        public Builder intervalLength(IntervalInMins intervalLength) {
            return intervalLength(Output.of(intervalLength));
        }

        /**
         * @param location The location upon which virtual-machine-sizes is queried.
         * 
         * @return builder
         * 
         */
        public Builder location(Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location The location upon which virtual-machine-sizes is queried.
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param toTime To time of the query
         * 
         * @return builder
         * 
         */
        public Builder toTime(Output toTime) {
            $.toTime = toTime;
            return this;
        }

        /**
         * @param toTime To time of the query
         * 
         * @return builder
         * 
         */
        public Builder toTime(String toTime) {
            return toTime(Output.of(toTime));
        }

        public GetLogAnalyticExportRequestRateByIntervalArgs build() {
            if ($.blobContainerSasUri == null) {
                throw new MissingRequiredPropertyException("GetLogAnalyticExportRequestRateByIntervalArgs", "blobContainerSasUri");
            }
            if ($.fromTime == null) {
                throw new MissingRequiredPropertyException("GetLogAnalyticExportRequestRateByIntervalArgs", "fromTime");
            }
            if ($.intervalLength == null) {
                throw new MissingRequiredPropertyException("GetLogAnalyticExportRequestRateByIntervalArgs", "intervalLength");
            }
            if ($.location == null) {
                throw new MissingRequiredPropertyException("GetLogAnalyticExportRequestRateByIntervalArgs", "location");
            }
            if ($.toTime == null) {
                throw new MissingRequiredPropertyException("GetLogAnalyticExportRequestRateByIntervalArgs", "toTime");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy