com.pulumi.scm.WildfireAntiVirusProfile Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scm Show documentation
Show all versions of scm Show documentation
A Pulumi package for managing resources on Strata Cloud Manager.
// *** 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.scm;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import com.pulumi.scm.Utilities;
import com.pulumi.scm.WildfireAntiVirusProfileArgs;
import com.pulumi.scm.inputs.WildfireAntiVirusProfileState;
import com.pulumi.scm.outputs.WildfireAntiVirusProfileMlavException;
import com.pulumi.scm.outputs.WildfireAntiVirusProfileRule;
import com.pulumi.scm.outputs.WildfireAntiVirusProfileThreatException;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* Retrieves a config item.
*
* ## Example Usage
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* package generated_program;
*
* import com.pulumi.Context;
* import com.pulumi.Pulumi;
* import com.pulumi.core.Output;
* import com.pulumi.scm.WildfireAntiVirusProfile;
* import com.pulumi.scm.WildfireAntiVirusProfileArgs;
* import java.util.List;
* import java.util.ArrayList;
* import java.util.Map;
* import java.io.File;
* import java.nio.file.Files;
* import java.nio.file.Paths;
*
* public class App {
* public static void main(String[] args) {
* Pulumi.run(App::stack);
* }
*
* public static void stack(Context ctx) {
* var example = new WildfireAntiVirusProfile("example", WildfireAntiVirusProfileArgs.builder()
* .folder("Shared")
* .build());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
*/
@ResourceType(type="scm:index/wildfireAntiVirusProfile:WildfireAntiVirusProfile")
public class WildfireAntiVirusProfile extends com.pulumi.resources.CustomResource {
/**
* The Description param.
*
*/
@Export(name="description", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> description;
/**
* @return The Description param.
*
*/
public Output> description() {
return Codegen.optional(this.description);
}
/**
* The Device param.
*
*/
@Export(name="device", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> device;
/**
* @return The Device param.
*
*/
public Output> device() {
return Codegen.optional(this.device);
}
/**
* The Folder param.
*
*/
@Export(name="folder", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> folder;
/**
* @return The Folder param.
*
*/
public Output> folder() {
return Codegen.optional(this.folder);
}
/**
* The MlavExceptions param.
*
*/
@Export(name="mlavExceptions", refs={List.class,WildfireAntiVirusProfileMlavException.class}, tree="[0,1]")
private Output* @Nullable */ List> mlavExceptions;
/**
* @return The MlavExceptions param.
*
*/
public Output>> mlavExceptions() {
return Codegen.optional(this.mlavExceptions);
}
/**
* The Name param. String validation regex: `^[a-zA-Z0-9._-]+$`.
*
*/
@Export(name="name", refs={String.class}, tree="[0]")
private Output name;
/**
* @return The Name param. String validation regex: `^[a-zA-Z0-9._-]+$`.
*
*/
public Output name() {
return this.name;
}
/**
* The PacketCapture param.
*
*/
@Export(name="packetCapture", refs={Boolean.class}, tree="[0]")
private Output* @Nullable */ Boolean> packetCapture;
/**
* @return The PacketCapture param.
*
*/
public Output> packetCapture() {
return Codegen.optional(this.packetCapture);
}
/**
* The Rules param.
*
*/
@Export(name="rules", refs={List.class,WildfireAntiVirusProfileRule.class}, tree="[0,1]")
private Output* @Nullable */ List> rules;
/**
* @return The Rules param.
*
*/
public Output>> rules() {
return Codegen.optional(this.rules);
}
/**
* The Snippet param.
*
*/
@Export(name="snippet", refs={String.class}, tree="[0]")
private Output* @Nullable */ String> snippet;
/**
* @return The Snippet param.
*
*/
public Output> snippet() {
return Codegen.optional(this.snippet);
}
@Export(name="tfid", refs={String.class}, tree="[0]")
private Output tfid;
public Output tfid() {
return this.tfid;
}
/**
* The ThreatExceptions param.
*
*/
@Export(name="threatExceptions", refs={List.class,WildfireAntiVirusProfileThreatException.class}, tree="[0,1]")
private Output* @Nullable */ List> threatExceptions;
/**
* @return The ThreatExceptions param.
*
*/
public Output>> threatExceptions() {
return Codegen.optional(this.threatExceptions);
}
/**
*
* @param name The _unique_ name of the resulting resource.
*/
public WildfireAntiVirusProfile(java.lang.String name) {
this(name, WildfireAntiVirusProfileArgs.Empty);
}
/**
*
* @param name The _unique_ name of the resulting resource.
* @param args The arguments to use to populate this resource's properties.
*/
public WildfireAntiVirusProfile(java.lang.String name, @Nullable WildfireAntiVirusProfileArgs args) {
this(name, args, null);
}
/**
*
* @param name The _unique_ name of the resulting resource.
* @param args The arguments to use to populate this resource's properties.
* @param options A bag of options that control this resource's behavior.
*/
public WildfireAntiVirusProfile(java.lang.String name, @Nullable WildfireAntiVirusProfileArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("scm:index/wildfireAntiVirusProfile:WildfireAntiVirusProfile", name, makeArgs(args, options), makeResourceOptions(options, Codegen.empty()), false);
}
private WildfireAntiVirusProfile(java.lang.String name, Output id, @Nullable WildfireAntiVirusProfileState state, @Nullable com.pulumi.resources.CustomResourceOptions options) {
super("scm:index/wildfireAntiVirusProfile:WildfireAntiVirusProfile", name, state, makeResourceOptions(options, id), false);
}
private static WildfireAntiVirusProfileArgs makeArgs(@Nullable WildfireAntiVirusProfileArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options) {
if (options != null && options.getUrn().isPresent()) {
return null;
}
return args == null ? WildfireAntiVirusProfileArgs.Empty : args;
}
private static com.pulumi.resources.CustomResourceOptions makeResourceOptions(@Nullable com.pulumi.resources.CustomResourceOptions options, @Nullable Output id) {
var defaultOptions = com.pulumi.resources.CustomResourceOptions.builder()
.version(Utilities.getVersion())
.build();
return com.pulumi.resources.CustomResourceOptions.merge(defaultOptions, options, id);
}
/**
* Get an existing Host resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state
* @param options Optional settings to control the behavior of the CustomResource.
*/
public static WildfireAntiVirusProfile get(java.lang.String name, Output id, @Nullable WildfireAntiVirusProfileState state, @Nullable com.pulumi.resources.CustomResourceOptions options) {
return new WildfireAntiVirusProfile(name, id, state, options);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy