UNPKG

@pulumi/sumologic

Version:

A Pulumi package for creating and managing sumologic cloud resources.

118 lines (117 loc) 3.54 kB
import * as pulumi from "@pulumi/pulumi"; /** * Provides a Sumo Logic CSE Network Block. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as sumologic from "@pulumi/sumologic"; * * const networkBlock = new sumologic.CseNetworkBlock("network_block", { * addressBlock: "10.0.1.0/26", * label: "network block from terraform", * internal: true, * suppressesSignals: false, * }); * ``` * * ## Import * * Network Block can be imported using the field id, e.g.: * * hcl * * ```sh * $ pulumi import sumologic:index/cseNetworkBlock:CseNetworkBlock network_block id * ``` */ export declare class CseNetworkBlock extends pulumi.CustomResource { /** * Get an existing CseNetworkBlock 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 Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CseNetworkBlockState, opts?: pulumi.CustomResourceOptions): CseNetworkBlock; /** * Returns true if the given object is an instance of CseNetworkBlock. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is CseNetworkBlock; /** * The address block. */ readonly addressBlock: pulumi.Output<string>; /** * Internal flag. */ readonly internal: pulumi.Output<boolean | undefined>; /** * The displayable label of the address block. */ readonly label: pulumi.Output<string | undefined>; /** * Suppresses signal flag. * * The following attributes are exported: */ readonly suppressesSignals: pulumi.Output<boolean | undefined>; /** * Create a CseNetworkBlock resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: CseNetworkBlockArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CseNetworkBlock resources. */ export interface CseNetworkBlockState { /** * The address block. */ addressBlock?: pulumi.Input<string>; /** * Internal flag. */ internal?: pulumi.Input<boolean>; /** * The displayable label of the address block. */ label?: pulumi.Input<string>; /** * Suppresses signal flag. * * The following attributes are exported: */ suppressesSignals?: pulumi.Input<boolean>; } /** * The set of arguments for constructing a CseNetworkBlock resource. */ export interface CseNetworkBlockArgs { /** * The address block. */ addressBlock: pulumi.Input<string>; /** * Internal flag. */ internal?: pulumi.Input<boolean>; /** * The displayable label of the address block. */ label?: pulumi.Input<string>; /** * Suppresses signal flag. * * The following attributes are exported: */ suppressesSignals?: pulumi.Input<boolean>; }