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

com.pulumi.azurenative.security.inputs.AutomationActionWorkspaceArgs 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.security.inputs;

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


/**
 * The Log Analytics Workspace to which event data will be exported. Security alerts data will reside in the 'SecurityAlert' table and the assessments data will reside in the 'SecurityRecommendation' table (under the 'Security'/'SecurityCenterFree' solutions). Note that in order to view the data in the workspace, the Security Center Log Analytics free/standard solution needs to be enabled on that workspace. To learn more about Microsoft Defender for Cloud continuous export capabilities, visit https://aka.ms/ASCExportLearnMore
 * 
 */
public final class AutomationActionWorkspaceArgs extends com.pulumi.resources.ResourceArgs {

    public static final AutomationActionWorkspaceArgs Empty = new AutomationActionWorkspaceArgs();

    /**
     * The type of the action that will be triggered by the Automation
     * Expected value is 'Workspace'.
     * 
     */
    @Import(name="actionType", required=true)
    private Output actionType;

    /**
     * @return The type of the action that will be triggered by the Automation
     * Expected value is 'Workspace'.
     * 
     */
    public Output actionType() {
        return this.actionType;
    }

    /**
     * The fully qualified Log Analytics Workspace Azure Resource ID.
     * 
     */
    @Import(name="workspaceResourceId")
    private @Nullable Output workspaceResourceId;

    /**
     * @return The fully qualified Log Analytics Workspace Azure Resource ID.
     * 
     */
    public Optional> workspaceResourceId() {
        return Optional.ofNullable(this.workspaceResourceId);
    }

    private AutomationActionWorkspaceArgs() {}

    private AutomationActionWorkspaceArgs(AutomationActionWorkspaceArgs $) {
        this.actionType = $.actionType;
        this.workspaceResourceId = $.workspaceResourceId;
    }

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

    public static final class Builder {
        private AutomationActionWorkspaceArgs $;

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

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

        /**
         * @param actionType The type of the action that will be triggered by the Automation
         * Expected value is 'Workspace'.
         * 
         * @return builder
         * 
         */
        public Builder actionType(Output actionType) {
            $.actionType = actionType;
            return this;
        }

        /**
         * @param actionType The type of the action that will be triggered by the Automation
         * Expected value is 'Workspace'.
         * 
         * @return builder
         * 
         */
        public Builder actionType(String actionType) {
            return actionType(Output.of(actionType));
        }

        /**
         * @param workspaceResourceId The fully qualified Log Analytics Workspace Azure Resource ID.
         * 
         * @return builder
         * 
         */
        public Builder workspaceResourceId(@Nullable Output workspaceResourceId) {
            $.workspaceResourceId = workspaceResourceId;
            return this;
        }

        /**
         * @param workspaceResourceId The fully qualified Log Analytics Workspace Azure Resource ID.
         * 
         * @return builder
         * 
         */
        public Builder workspaceResourceId(String workspaceResourceId) {
            return workspaceResourceId(Output.of(workspaceResourceId));
        }

        public AutomationActionWorkspaceArgs build() {
            $.actionType = Codegen.stringProp("actionType").output().arg($.actionType).require();
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy