nsxt

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Servicechain

type Servicechain struct {
	pulumi.CustomResourceState

	// Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
	DynamicSortSubtable pulumi.StringPtrOutput `pulumi:"dynamicSortSubtable"`
	// Chain ID.
	Fosid pulumi.IntOutput `pulumi:"fosid"`
	// Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
	GetAllTables pulumi.StringPtrOutput `pulumi:"getAllTables"`
	// Chain name.
	Name pulumi.StringOutput `pulumi:"name"`
	// Configure service index. The structure of `serviceIndex` block is documented below.
	ServiceIndices ServicechainServiceIndexArrayOutput `pulumi:"serviceIndices"`
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrOutput `pulumi:"vdomparam"`
}

Configure NSX-T service chain. Applies to FortiOS Version `>= 6.4.10`.

## Import

Nsxt ServiceChain can be imported using any of these accepted formats:

```sh $ pulumi import fortios:nsxt/servicechain:Servicechain labelname {{fosid}} ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:nsxt/servicechain:Servicechain labelname {{fosid}} ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetServicechain

func GetServicechain(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServicechainState, opts ...pulumi.ResourceOption) (*Servicechain, error)

GetServicechain gets an existing Servicechain resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewServicechain

func NewServicechain(ctx *pulumi.Context,
	name string, args *ServicechainArgs, opts ...pulumi.ResourceOption) (*Servicechain, error)

NewServicechain registers a new resource with the given unique name, arguments, and options.

func (*Servicechain) ElementType

func (*Servicechain) ElementType() reflect.Type

func (*Servicechain) ToServicechainOutput

func (i *Servicechain) ToServicechainOutput() ServicechainOutput

func (*Servicechain) ToServicechainOutputWithContext

func (i *Servicechain) ToServicechainOutputWithContext(ctx context.Context) ServicechainOutput

type ServicechainArgs

type ServicechainArgs struct {
	// Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
	DynamicSortSubtable pulumi.StringPtrInput
	// Chain ID.
	Fosid pulumi.IntPtrInput
	// Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
	GetAllTables pulumi.StringPtrInput
	// Chain name.
	Name pulumi.StringPtrInput
	// Configure service index. The structure of `serviceIndex` block is documented below.
	ServiceIndices ServicechainServiceIndexArrayInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
}

The set of arguments for constructing a Servicechain resource.

func (ServicechainArgs) ElementType

func (ServicechainArgs) ElementType() reflect.Type

type ServicechainArray

type ServicechainArray []ServicechainInput

func (ServicechainArray) ElementType

func (ServicechainArray) ElementType() reflect.Type

func (ServicechainArray) ToServicechainArrayOutput

func (i ServicechainArray) ToServicechainArrayOutput() ServicechainArrayOutput

func (ServicechainArray) ToServicechainArrayOutputWithContext

func (i ServicechainArray) ToServicechainArrayOutputWithContext(ctx context.Context) ServicechainArrayOutput

type ServicechainArrayInput

type ServicechainArrayInput interface {
	pulumi.Input

	ToServicechainArrayOutput() ServicechainArrayOutput
	ToServicechainArrayOutputWithContext(context.Context) ServicechainArrayOutput
}

ServicechainArrayInput is an input type that accepts ServicechainArray and ServicechainArrayOutput values. You can construct a concrete instance of `ServicechainArrayInput` via:

ServicechainArray{ ServicechainArgs{...} }

type ServicechainArrayOutput

type ServicechainArrayOutput struct{ *pulumi.OutputState }

func (ServicechainArrayOutput) ElementType

func (ServicechainArrayOutput) ElementType() reflect.Type

func (ServicechainArrayOutput) Index

func (ServicechainArrayOutput) ToServicechainArrayOutput

func (o ServicechainArrayOutput) ToServicechainArrayOutput() ServicechainArrayOutput

func (ServicechainArrayOutput) ToServicechainArrayOutputWithContext

func (o ServicechainArrayOutput) ToServicechainArrayOutputWithContext(ctx context.Context) ServicechainArrayOutput

type ServicechainInput

type ServicechainInput interface {
	pulumi.Input

	ToServicechainOutput() ServicechainOutput
	ToServicechainOutputWithContext(ctx context.Context) ServicechainOutput
}

type ServicechainMap

type ServicechainMap map[string]ServicechainInput

func (ServicechainMap) ElementType

func (ServicechainMap) ElementType() reflect.Type

func (ServicechainMap) ToServicechainMapOutput

func (i ServicechainMap) ToServicechainMapOutput() ServicechainMapOutput

func (ServicechainMap) ToServicechainMapOutputWithContext

func (i ServicechainMap) ToServicechainMapOutputWithContext(ctx context.Context) ServicechainMapOutput

type ServicechainMapInput

type ServicechainMapInput interface {
	pulumi.Input

	ToServicechainMapOutput() ServicechainMapOutput
	ToServicechainMapOutputWithContext(context.Context) ServicechainMapOutput
}

ServicechainMapInput is an input type that accepts ServicechainMap and ServicechainMapOutput values. You can construct a concrete instance of `ServicechainMapInput` via:

ServicechainMap{ "key": ServicechainArgs{...} }

type ServicechainMapOutput

type ServicechainMapOutput struct{ *pulumi.OutputState }

func (ServicechainMapOutput) ElementType

func (ServicechainMapOutput) ElementType() reflect.Type

func (ServicechainMapOutput) MapIndex

func (ServicechainMapOutput) ToServicechainMapOutput

func (o ServicechainMapOutput) ToServicechainMapOutput() ServicechainMapOutput

func (ServicechainMapOutput) ToServicechainMapOutputWithContext

func (o ServicechainMapOutput) ToServicechainMapOutputWithContext(ctx context.Context) ServicechainMapOutput

type ServicechainOutput

type ServicechainOutput struct{ *pulumi.OutputState }

func (ServicechainOutput) DynamicSortSubtable

func (o ServicechainOutput) DynamicSortSubtable() pulumi.StringPtrOutput

Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].

func (ServicechainOutput) ElementType

func (ServicechainOutput) ElementType() reflect.Type

func (ServicechainOutput) Fosid

Chain ID.

func (ServicechainOutput) GetAllTables

func (o ServicechainOutput) GetAllTables() pulumi.StringPtrOutput

Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.

func (ServicechainOutput) Name

Chain name.

func (ServicechainOutput) ServiceIndices

Configure service index. The structure of `serviceIndex` block is documented below.

func (ServicechainOutput) ToServicechainOutput

func (o ServicechainOutput) ToServicechainOutput() ServicechainOutput

func (ServicechainOutput) ToServicechainOutputWithContext

func (o ServicechainOutput) ToServicechainOutputWithContext(ctx context.Context) ServicechainOutput

func (ServicechainOutput) Vdomparam

Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

type ServicechainServiceIndex

type ServicechainServiceIndex struct {
	// Service index.
	Id *int `pulumi:"id"`
	// Index name.
	Name *string `pulumi:"name"`
	// Reverse service index.
	ReverseIndex *int `pulumi:"reverseIndex"`
	// VDOM name.
	Vd *string `pulumi:"vd"`
}

type ServicechainServiceIndexArgs

type ServicechainServiceIndexArgs struct {
	// Service index.
	Id pulumi.IntPtrInput `pulumi:"id"`
	// Index name.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// Reverse service index.
	ReverseIndex pulumi.IntPtrInput `pulumi:"reverseIndex"`
	// VDOM name.
	Vd pulumi.StringPtrInput `pulumi:"vd"`
}

func (ServicechainServiceIndexArgs) ElementType

func (ServicechainServiceIndexArgs) ToServicechainServiceIndexOutput

func (i ServicechainServiceIndexArgs) ToServicechainServiceIndexOutput() ServicechainServiceIndexOutput

func (ServicechainServiceIndexArgs) ToServicechainServiceIndexOutputWithContext

func (i ServicechainServiceIndexArgs) ToServicechainServiceIndexOutputWithContext(ctx context.Context) ServicechainServiceIndexOutput

type ServicechainServiceIndexArray

type ServicechainServiceIndexArray []ServicechainServiceIndexInput

func (ServicechainServiceIndexArray) ElementType

func (ServicechainServiceIndexArray) ToServicechainServiceIndexArrayOutput

func (i ServicechainServiceIndexArray) ToServicechainServiceIndexArrayOutput() ServicechainServiceIndexArrayOutput

func (ServicechainServiceIndexArray) ToServicechainServiceIndexArrayOutputWithContext

func (i ServicechainServiceIndexArray) ToServicechainServiceIndexArrayOutputWithContext(ctx context.Context) ServicechainServiceIndexArrayOutput

type ServicechainServiceIndexArrayInput

type ServicechainServiceIndexArrayInput interface {
	pulumi.Input

	ToServicechainServiceIndexArrayOutput() ServicechainServiceIndexArrayOutput
	ToServicechainServiceIndexArrayOutputWithContext(context.Context) ServicechainServiceIndexArrayOutput
}

ServicechainServiceIndexArrayInput is an input type that accepts ServicechainServiceIndexArray and ServicechainServiceIndexArrayOutput values. You can construct a concrete instance of `ServicechainServiceIndexArrayInput` via:

ServicechainServiceIndexArray{ ServicechainServiceIndexArgs{...} }

type ServicechainServiceIndexArrayOutput

type ServicechainServiceIndexArrayOutput struct{ *pulumi.OutputState }

func (ServicechainServiceIndexArrayOutput) ElementType

func (ServicechainServiceIndexArrayOutput) Index

func (ServicechainServiceIndexArrayOutput) ToServicechainServiceIndexArrayOutput

func (o ServicechainServiceIndexArrayOutput) ToServicechainServiceIndexArrayOutput() ServicechainServiceIndexArrayOutput

func (ServicechainServiceIndexArrayOutput) ToServicechainServiceIndexArrayOutputWithContext

func (o ServicechainServiceIndexArrayOutput) ToServicechainServiceIndexArrayOutputWithContext(ctx context.Context) ServicechainServiceIndexArrayOutput

type ServicechainServiceIndexInput

type ServicechainServiceIndexInput interface {
	pulumi.Input

	ToServicechainServiceIndexOutput() ServicechainServiceIndexOutput
	ToServicechainServiceIndexOutputWithContext(context.Context) ServicechainServiceIndexOutput
}

ServicechainServiceIndexInput is an input type that accepts ServicechainServiceIndexArgs and ServicechainServiceIndexOutput values. You can construct a concrete instance of `ServicechainServiceIndexInput` via:

ServicechainServiceIndexArgs{...}

type ServicechainServiceIndexOutput

type ServicechainServiceIndexOutput struct{ *pulumi.OutputState }

func (ServicechainServiceIndexOutput) ElementType

func (ServicechainServiceIndexOutput) Id

Service index.

func (ServicechainServiceIndexOutput) Name

Index name.

func (ServicechainServiceIndexOutput) ReverseIndex

Reverse service index.

func (ServicechainServiceIndexOutput) ToServicechainServiceIndexOutput

func (o ServicechainServiceIndexOutput) ToServicechainServiceIndexOutput() ServicechainServiceIndexOutput

func (ServicechainServiceIndexOutput) ToServicechainServiceIndexOutputWithContext

func (o ServicechainServiceIndexOutput) ToServicechainServiceIndexOutputWithContext(ctx context.Context) ServicechainServiceIndexOutput

func (ServicechainServiceIndexOutput) Vd

VDOM name.

type ServicechainState

type ServicechainState struct {
	// Sort sub-tables, please do not set this parameter when configuring static sub-tables. Options: [ false, true, natural, alphabetical ]. false: Default value, do not sort tables; true/natural: sort tables in natural order. For example: [ a10, a2 ] -> [ a2, a10 ]; alphabetical: sort tables in alphabetical order. For example: [ a10, a2 ] -> [ a10, a2 ].
	DynamicSortSubtable pulumi.StringPtrInput
	// Chain ID.
	Fosid pulumi.IntPtrInput
	// Get all sub-tables including unconfigured tables. Do not set this variable to true if you configure sub-table in another resource, otherwish conflicts and overwrite will occur. Options: [ false, true ]. false: Default value, do not get unconfigured tables; true: get all tables including unconfigured tables.
	GetAllTables pulumi.StringPtrInput
	// Chain name.
	Name pulumi.StringPtrInput
	// Configure service index. The structure of `serviceIndex` block is documented below.
	ServiceIndices ServicechainServiceIndexArrayInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
}

func (ServicechainState) ElementType

func (ServicechainState) ElementType() reflect.Type

type Setting

type Setting struct {
	pulumi.CustomResourceState

	// Enable/disable liveness detection packet forwarding. Valid values: `enable`, `disable`.
	Liveness pulumi.StringOutput `pulumi:"liveness"`
	// Service name.
	Service pulumi.StringOutput `pulumi:"service"`
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrOutput `pulumi:"vdomparam"`
}

Configure NSX-T setting. Applies to FortiOS Version `>= 6.4.10`.

## Import

Nsxt Setting can be imported using any of these accepted formats:

```sh $ pulumi import fortios:nsxt/setting:Setting labelname NsxtSetting ```

If you do not want to import arguments of block:

$ export "FORTIOS_IMPORT_TABLE"="false"

```sh $ pulumi import fortios:nsxt/setting:Setting labelname NsxtSetting ```

$ unset "FORTIOS_IMPORT_TABLE"

func GetSetting

func GetSetting(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SettingState, opts ...pulumi.ResourceOption) (*Setting, error)

GetSetting gets an existing Setting resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSetting

func NewSetting(ctx *pulumi.Context,
	name string, args *SettingArgs, opts ...pulumi.ResourceOption) (*Setting, error)

NewSetting registers a new resource with the given unique name, arguments, and options.

func (*Setting) ElementType

func (*Setting) ElementType() reflect.Type

func (*Setting) ToSettingOutput

func (i *Setting) ToSettingOutput() SettingOutput

func (*Setting) ToSettingOutputWithContext

func (i *Setting) ToSettingOutputWithContext(ctx context.Context) SettingOutput

type SettingArgs

type SettingArgs struct {
	// Enable/disable liveness detection packet forwarding. Valid values: `enable`, `disable`.
	Liveness pulumi.StringPtrInput
	// Service name.
	Service pulumi.StringPtrInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
}

The set of arguments for constructing a Setting resource.

func (SettingArgs) ElementType

func (SettingArgs) ElementType() reflect.Type

type SettingArray

type SettingArray []SettingInput

func (SettingArray) ElementType

func (SettingArray) ElementType() reflect.Type

func (SettingArray) ToSettingArrayOutput

func (i SettingArray) ToSettingArrayOutput() SettingArrayOutput

func (SettingArray) ToSettingArrayOutputWithContext

func (i SettingArray) ToSettingArrayOutputWithContext(ctx context.Context) SettingArrayOutput

type SettingArrayInput

type SettingArrayInput interface {
	pulumi.Input

	ToSettingArrayOutput() SettingArrayOutput
	ToSettingArrayOutputWithContext(context.Context) SettingArrayOutput
}

SettingArrayInput is an input type that accepts SettingArray and SettingArrayOutput values. You can construct a concrete instance of `SettingArrayInput` via:

SettingArray{ SettingArgs{...} }

type SettingArrayOutput

type SettingArrayOutput struct{ *pulumi.OutputState }

func (SettingArrayOutput) ElementType

func (SettingArrayOutput) ElementType() reflect.Type

func (SettingArrayOutput) Index

func (SettingArrayOutput) ToSettingArrayOutput

func (o SettingArrayOutput) ToSettingArrayOutput() SettingArrayOutput

func (SettingArrayOutput) ToSettingArrayOutputWithContext

func (o SettingArrayOutput) ToSettingArrayOutputWithContext(ctx context.Context) SettingArrayOutput

type SettingInput

type SettingInput interface {
	pulumi.Input

	ToSettingOutput() SettingOutput
	ToSettingOutputWithContext(ctx context.Context) SettingOutput
}

type SettingMap

type SettingMap map[string]SettingInput

func (SettingMap) ElementType

func (SettingMap) ElementType() reflect.Type

func (SettingMap) ToSettingMapOutput

func (i SettingMap) ToSettingMapOutput() SettingMapOutput

func (SettingMap) ToSettingMapOutputWithContext

func (i SettingMap) ToSettingMapOutputWithContext(ctx context.Context) SettingMapOutput

type SettingMapInput

type SettingMapInput interface {
	pulumi.Input

	ToSettingMapOutput() SettingMapOutput
	ToSettingMapOutputWithContext(context.Context) SettingMapOutput
}

SettingMapInput is an input type that accepts SettingMap and SettingMapOutput values. You can construct a concrete instance of `SettingMapInput` via:

SettingMap{ "key": SettingArgs{...} }

type SettingMapOutput

type SettingMapOutput struct{ *pulumi.OutputState }

func (SettingMapOutput) ElementType

func (SettingMapOutput) ElementType() reflect.Type

func (SettingMapOutput) MapIndex

func (SettingMapOutput) ToSettingMapOutput

func (o SettingMapOutput) ToSettingMapOutput() SettingMapOutput

func (SettingMapOutput) ToSettingMapOutputWithContext

func (o SettingMapOutput) ToSettingMapOutputWithContext(ctx context.Context) SettingMapOutput

type SettingOutput

type SettingOutput struct{ *pulumi.OutputState }

func (SettingOutput) ElementType

func (SettingOutput) ElementType() reflect.Type

func (SettingOutput) Liveness

func (o SettingOutput) Liveness() pulumi.StringOutput

Enable/disable liveness detection packet forwarding. Valid values: `enable`, `disable`.

func (SettingOutput) Service

func (o SettingOutput) Service() pulumi.StringOutput

Service name.

func (SettingOutput) ToSettingOutput

func (o SettingOutput) ToSettingOutput() SettingOutput

func (SettingOutput) ToSettingOutputWithContext

func (o SettingOutput) ToSettingOutputWithContext(ctx context.Context) SettingOutput

func (SettingOutput) Vdomparam

func (o SettingOutput) Vdomparam() pulumi.StringPtrOutput

Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.

type SettingState

type SettingState struct {
	// Enable/disable liveness detection packet forwarding. Valid values: `enable`, `disable`.
	Liveness pulumi.StringPtrInput
	// Service name.
	Service pulumi.StringPtrInput
	// Specifies the vdom to which the resource will be applied when the FortiGate unit is running in VDOM mode. Only one vdom can be specified. If you want to inherit the vdom configuration of the provider, please do not set this parameter.
	Vdomparam pulumi.StringPtrInput
}

func (SettingState) ElementType

func (SettingState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL