SumoLogic

Pulumi Official
Package maintained by Pulumi
v0.7.1 published on Tuesday, Jun 14, 2022 by Pulumi

CseNetworkBlock

Provides a Sumo Logic CSE Network Block.

Example Usage

using Pulumi;
using SumoLogic = Pulumi.SumoLogic;

class MyStack : Stack
{
    public MyStack()
    {
        var networkBlock = new SumoLogic.CseNetworkBlock("networkBlock", new SumoLogic.CseNetworkBlockArgs
        {
            AddressBlock = "10.0.1.0/26",
            Internal = true,
            Label = "network block from terraform",
            SuppressesSignals = false,
        });
    }

}
package main

import (
	"github.com/pulumi/pulumi-sumologic/sdk/go/sumologic"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sumologic.NewCseNetworkBlock(ctx, "networkBlock", &sumologic.CseNetworkBlockArgs{
			AddressBlock:      pulumi.String("10.0.1.0/26"),
			Internal:          pulumi.Bool(true),
			Label:             pulumi.String("network block from terraform"),
			SuppressesSignals: pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_sumologic as sumologic

network_block = sumologic.CseNetworkBlock("networkBlock",
    address_block="10.0.1.0/26",
    internal=True,
    label="network block from terraform",
    suppresses_signals=False)
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",
    internal: true,
    label: "network block from terraform",
    suppressesSignals: false,
});

Coming soon!

Create a CseNetworkBlock Resource

new CseNetworkBlock(name: string, args: CseNetworkBlockArgs, opts?: CustomResourceOptions);
@overload
def CseNetworkBlock(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    address_block: Optional[str] = None,
                    internal: Optional[bool] = None,
                    label: Optional[str] = None,
                    suppresses_signals: Optional[bool] = None)
@overload
def CseNetworkBlock(resource_name: str,
                    args: CseNetworkBlockArgs,
                    opts: Optional[ResourceOptions] = None)
func NewCseNetworkBlock(ctx *Context, name string, args CseNetworkBlockArgs, opts ...ResourceOption) (*CseNetworkBlock, error)
public CseNetworkBlock(string name, CseNetworkBlockArgs args, CustomResourceOptions? opts = null)
public CseNetworkBlock(String name, CseNetworkBlockArgs args)
public CseNetworkBlock(String name, CseNetworkBlockArgs args, CustomResourceOptions options)
type: sumologic:CseNetworkBlock
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args CseNetworkBlockArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args CseNetworkBlockArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args CseNetworkBlockArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args CseNetworkBlockArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args CseNetworkBlockArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

CseNetworkBlock Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The CseNetworkBlock resource accepts the following input properties:

AddressBlock string

The address block.

Internal bool

Internal flag.

Label string

The displayable label of the address block.

SuppressesSignals bool

Suppresses signal flag.

AddressBlock string

The address block.

Internal bool

Internal flag.

Label string

The displayable label of the address block.

SuppressesSignals bool

Suppresses signal flag.

addressBlock String

The address block.

internal Boolean

Internal flag.

label String

The displayable label of the address block.

suppressesSignals Boolean

Suppresses signal flag.

addressBlock string

The address block.

internal boolean

Internal flag.

label string

The displayable label of the address block.

suppressesSignals boolean

Suppresses signal flag.

address_block str

The address block.

internal bool

Internal flag.

label str

The displayable label of the address block.

suppresses_signals bool

Suppresses signal flag.

addressBlock String

The address block.

internal Boolean

Internal flag.

label String

The displayable label of the address block.

suppressesSignals Boolean

Suppresses signal flag.

Outputs

All input properties are implicitly available as output properties. Additionally, the CseNetworkBlock resource produces the following output properties:

Id string

The provider-assigned unique ID for this managed resource.

Id string

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

id string

The provider-assigned unique ID for this managed resource.

id str

The provider-assigned unique ID for this managed resource.

id String

The provider-assigned unique ID for this managed resource.

Look up an Existing CseNetworkBlock Resource

Get an existing CseNetworkBlock resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: CseNetworkBlockState, opts?: CustomResourceOptions): CseNetworkBlock
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        address_block: Optional[str] = None,
        internal: Optional[bool] = None,
        label: Optional[str] = None,
        suppresses_signals: Optional[bool] = None) -> CseNetworkBlock
func GetCseNetworkBlock(ctx *Context, name string, id IDInput, state *CseNetworkBlockState, opts ...ResourceOption) (*CseNetworkBlock, error)
public static CseNetworkBlock Get(string name, Input<string> id, CseNetworkBlockState? state, CustomResourceOptions? opts = null)
public static CseNetworkBlock get(String name, Output<String> id, CseNetworkBlockState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AddressBlock string

The address block.

Internal bool

Internal flag.

Label string

The displayable label of the address block.

SuppressesSignals bool

Suppresses signal flag.

AddressBlock string

The address block.

Internal bool

Internal flag.

Label string

The displayable label of the address block.

SuppressesSignals bool

Suppresses signal flag.

addressBlock String

The address block.

internal Boolean

Internal flag.

label String

The displayable label of the address block.

suppressesSignals Boolean

Suppresses signal flag.

addressBlock string

The address block.

internal boolean

Internal flag.

label string

The displayable label of the address block.

suppressesSignals boolean

Suppresses signal flag.

address_block str

The address block.

internal bool

Internal flag.

label str

The displayable label of the address block.

suppresses_signals bool

Suppresses signal flag.

addressBlock String

The address block.

internal Boolean

Internal flag.

label String

The displayable label of the address block.

suppressesSignals Boolean

Suppresses signal flag.

Import

Network Block can be imported using the field id, e.g.hcl

 $ pulumi import sumologic:index/cseNetworkBlock:CseNetworkBlock network_block id

Package Details

Repository
https://github.com/pulumi/pulumi-sumologic
License
Apache-2.0
Notes

This Pulumi package is based on the sumologic Terraform Provider.