networkfunction

package
v5.53.0 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AzureTrafficCollector

type AzureTrafficCollector struct {
	pulumi.CustomResourceState

	// The list of Resource IDs of collector policies.
	CollectorPolicyIds pulumi.StringArrayOutput `pulumi:"collectorPolicyIds"`
	// Specifies the Azure Region where the Network Function Azure Traffic Collector should exist. Changing this forces a new Network Function Azure Traffic Collector to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// Specifies the name which should be used for this Network Function Azure Traffic Collector. Changing this forces a new Network Function Azure Traffic Collector to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the name of the Resource Group where the Network Function Azure Traffic Collector should exist. Changing this forces a new Network Function Azure Traffic Collector to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// A mapping of tags which should be assigned to the Network Function Azure Traffic Collector.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// The Resource ID of virtual hub.
	VirtualHubIds pulumi.StringArrayOutput `pulumi:"virtualHubIds"`
}

Manages a Network Function Azure Traffic Collector.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/networkfunction"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
			Location: pulumi.String("West US"),
		})
		if err != nil {
			return err
		}
		_, err = networkfunction.NewAzureTrafficCollector(ctx, "exampleAzureTrafficCollector", &networkfunction.AzureTrafficCollectorArgs{
			ResourceGroupName: exampleResourceGroup.Name,
			Location:          pulumi.String("West US"),
			Tags: pulumi.StringMap{
				"key": pulumi.String("value"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Network Function Azure Traffic Collector can be imported using the `resource id`, e.g.

```sh

$ pulumi import azure:networkfunction/azureTrafficCollector:AzureTrafficCollector example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.NetworkFunction/azureTrafficCollectors/azureTrafficCollector1

```

func GetAzureTrafficCollector

func GetAzureTrafficCollector(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AzureTrafficCollectorState, opts ...pulumi.ResourceOption) (*AzureTrafficCollector, error)

GetAzureTrafficCollector gets an existing AzureTrafficCollector 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 NewAzureTrafficCollector

func NewAzureTrafficCollector(ctx *pulumi.Context,
	name string, args *AzureTrafficCollectorArgs, opts ...pulumi.ResourceOption) (*AzureTrafficCollector, error)

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

func (*AzureTrafficCollector) ElementType

func (*AzureTrafficCollector) ElementType() reflect.Type

func (*AzureTrafficCollector) ToAzureTrafficCollectorOutput

func (i *AzureTrafficCollector) ToAzureTrafficCollectorOutput() AzureTrafficCollectorOutput

func (*AzureTrafficCollector) ToAzureTrafficCollectorOutputWithContext

func (i *AzureTrafficCollector) ToAzureTrafficCollectorOutputWithContext(ctx context.Context) AzureTrafficCollectorOutput

func (*AzureTrafficCollector) ToOutput added in v5.52.0

type AzureTrafficCollectorArgs

type AzureTrafficCollectorArgs struct {
	// Specifies the Azure Region where the Network Function Azure Traffic Collector should exist. Changing this forces a new Network Function Azure Traffic Collector to be created.
	Location pulumi.StringPtrInput
	// Specifies the name which should be used for this Network Function Azure Traffic Collector. Changing this forces a new Network Function Azure Traffic Collector to be created.
	Name pulumi.StringPtrInput
	// Specifies the name of the Resource Group where the Network Function Azure Traffic Collector should exist. Changing this forces a new Network Function Azure Traffic Collector to be created.
	ResourceGroupName pulumi.StringInput
	// A mapping of tags which should be assigned to the Network Function Azure Traffic Collector.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a AzureTrafficCollector resource.

func (AzureTrafficCollectorArgs) ElementType

func (AzureTrafficCollectorArgs) ElementType() reflect.Type

type AzureTrafficCollectorArray

type AzureTrafficCollectorArray []AzureTrafficCollectorInput

func (AzureTrafficCollectorArray) ElementType

func (AzureTrafficCollectorArray) ElementType() reflect.Type

func (AzureTrafficCollectorArray) ToAzureTrafficCollectorArrayOutput

func (i AzureTrafficCollectorArray) ToAzureTrafficCollectorArrayOutput() AzureTrafficCollectorArrayOutput

func (AzureTrafficCollectorArray) ToAzureTrafficCollectorArrayOutputWithContext

func (i AzureTrafficCollectorArray) ToAzureTrafficCollectorArrayOutputWithContext(ctx context.Context) AzureTrafficCollectorArrayOutput

func (AzureTrafficCollectorArray) ToOutput added in v5.52.0

type AzureTrafficCollectorArrayInput

type AzureTrafficCollectorArrayInput interface {
	pulumi.Input

	ToAzureTrafficCollectorArrayOutput() AzureTrafficCollectorArrayOutput
	ToAzureTrafficCollectorArrayOutputWithContext(context.Context) AzureTrafficCollectorArrayOutput
}

AzureTrafficCollectorArrayInput is an input type that accepts AzureTrafficCollectorArray and AzureTrafficCollectorArrayOutput values. You can construct a concrete instance of `AzureTrafficCollectorArrayInput` via:

AzureTrafficCollectorArray{ AzureTrafficCollectorArgs{...} }

type AzureTrafficCollectorArrayOutput

type AzureTrafficCollectorArrayOutput struct{ *pulumi.OutputState }

func (AzureTrafficCollectorArrayOutput) ElementType

func (AzureTrafficCollectorArrayOutput) Index

func (AzureTrafficCollectorArrayOutput) ToAzureTrafficCollectorArrayOutput

func (o AzureTrafficCollectorArrayOutput) ToAzureTrafficCollectorArrayOutput() AzureTrafficCollectorArrayOutput

func (AzureTrafficCollectorArrayOutput) ToAzureTrafficCollectorArrayOutputWithContext

func (o AzureTrafficCollectorArrayOutput) ToAzureTrafficCollectorArrayOutputWithContext(ctx context.Context) AzureTrafficCollectorArrayOutput

func (AzureTrafficCollectorArrayOutput) ToOutput added in v5.52.0

type AzureTrafficCollectorInput

type AzureTrafficCollectorInput interface {
	pulumi.Input

	ToAzureTrafficCollectorOutput() AzureTrafficCollectorOutput
	ToAzureTrafficCollectorOutputWithContext(ctx context.Context) AzureTrafficCollectorOutput
}

type AzureTrafficCollectorMap

type AzureTrafficCollectorMap map[string]AzureTrafficCollectorInput

func (AzureTrafficCollectorMap) ElementType

func (AzureTrafficCollectorMap) ElementType() reflect.Type

func (AzureTrafficCollectorMap) ToAzureTrafficCollectorMapOutput

func (i AzureTrafficCollectorMap) ToAzureTrafficCollectorMapOutput() AzureTrafficCollectorMapOutput

func (AzureTrafficCollectorMap) ToAzureTrafficCollectorMapOutputWithContext

func (i AzureTrafficCollectorMap) ToAzureTrafficCollectorMapOutputWithContext(ctx context.Context) AzureTrafficCollectorMapOutput

func (AzureTrafficCollectorMap) ToOutput added in v5.52.0

type AzureTrafficCollectorMapInput

type AzureTrafficCollectorMapInput interface {
	pulumi.Input

	ToAzureTrafficCollectorMapOutput() AzureTrafficCollectorMapOutput
	ToAzureTrafficCollectorMapOutputWithContext(context.Context) AzureTrafficCollectorMapOutput
}

AzureTrafficCollectorMapInput is an input type that accepts AzureTrafficCollectorMap and AzureTrafficCollectorMapOutput values. You can construct a concrete instance of `AzureTrafficCollectorMapInput` via:

AzureTrafficCollectorMap{ "key": AzureTrafficCollectorArgs{...} }

type AzureTrafficCollectorMapOutput

type AzureTrafficCollectorMapOutput struct{ *pulumi.OutputState }

func (AzureTrafficCollectorMapOutput) ElementType

func (AzureTrafficCollectorMapOutput) MapIndex

func (AzureTrafficCollectorMapOutput) ToAzureTrafficCollectorMapOutput

func (o AzureTrafficCollectorMapOutput) ToAzureTrafficCollectorMapOutput() AzureTrafficCollectorMapOutput

func (AzureTrafficCollectorMapOutput) ToAzureTrafficCollectorMapOutputWithContext

func (o AzureTrafficCollectorMapOutput) ToAzureTrafficCollectorMapOutputWithContext(ctx context.Context) AzureTrafficCollectorMapOutput

func (AzureTrafficCollectorMapOutput) ToOutput added in v5.52.0

type AzureTrafficCollectorOutput

type AzureTrafficCollectorOutput struct{ *pulumi.OutputState }

func (AzureTrafficCollectorOutput) CollectorPolicyIds

func (o AzureTrafficCollectorOutput) CollectorPolicyIds() pulumi.StringArrayOutput

The list of Resource IDs of collector policies.

func (AzureTrafficCollectorOutput) ElementType

func (AzureTrafficCollectorOutput) Location

Specifies the Azure Region where the Network Function Azure Traffic Collector should exist. Changing this forces a new Network Function Azure Traffic Collector to be created.

func (AzureTrafficCollectorOutput) Name

Specifies the name which should be used for this Network Function Azure Traffic Collector. Changing this forces a new Network Function Azure Traffic Collector to be created.

func (AzureTrafficCollectorOutput) ResourceGroupName

func (o AzureTrafficCollectorOutput) ResourceGroupName() pulumi.StringOutput

Specifies the name of the Resource Group where the Network Function Azure Traffic Collector should exist. Changing this forces a new Network Function Azure Traffic Collector to be created.

func (AzureTrafficCollectorOutput) Tags

A mapping of tags which should be assigned to the Network Function Azure Traffic Collector.

func (AzureTrafficCollectorOutput) ToAzureTrafficCollectorOutput

func (o AzureTrafficCollectorOutput) ToAzureTrafficCollectorOutput() AzureTrafficCollectorOutput

func (AzureTrafficCollectorOutput) ToAzureTrafficCollectorOutputWithContext

func (o AzureTrafficCollectorOutput) ToAzureTrafficCollectorOutputWithContext(ctx context.Context) AzureTrafficCollectorOutput

func (AzureTrafficCollectorOutput) ToOutput added in v5.52.0

func (AzureTrafficCollectorOutput) VirtualHubIds

The Resource ID of virtual hub.

type AzureTrafficCollectorState

type AzureTrafficCollectorState struct {
	// The list of Resource IDs of collector policies.
	CollectorPolicyIds pulumi.StringArrayInput
	// Specifies the Azure Region where the Network Function Azure Traffic Collector should exist. Changing this forces a new Network Function Azure Traffic Collector to be created.
	Location pulumi.StringPtrInput
	// Specifies the name which should be used for this Network Function Azure Traffic Collector. Changing this forces a new Network Function Azure Traffic Collector to be created.
	Name pulumi.StringPtrInput
	// Specifies the name of the Resource Group where the Network Function Azure Traffic Collector should exist. Changing this forces a new Network Function Azure Traffic Collector to be created.
	ResourceGroupName pulumi.StringPtrInput
	// A mapping of tags which should be assigned to the Network Function Azure Traffic Collector.
	Tags pulumi.StringMapInput
	// The Resource ID of virtual hub.
	VirtualHubIds pulumi.StringArrayInput
}

func (AzureTrafficCollectorState) ElementType

func (AzureTrafficCollectorState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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