Documentation
¶
Index ¶
- type AzureTrafficCollector
- type AzureTrafficCollectorArgs
- type AzureTrafficCollectorArray
- func (AzureTrafficCollectorArray) ElementType() reflect.Type
- func (i AzureTrafficCollectorArray) ToAzureTrafficCollectorArrayOutput() AzureTrafficCollectorArrayOutput
- func (i AzureTrafficCollectorArray) ToAzureTrafficCollectorArrayOutputWithContext(ctx context.Context) AzureTrafficCollectorArrayOutput
- type AzureTrafficCollectorArrayInput
- type AzureTrafficCollectorArrayOutput
- func (AzureTrafficCollectorArrayOutput) ElementType() reflect.Type
- func (o AzureTrafficCollectorArrayOutput) Index(i pulumi.IntInput) AzureTrafficCollectorOutput
- func (o AzureTrafficCollectorArrayOutput) ToAzureTrafficCollectorArrayOutput() AzureTrafficCollectorArrayOutput
- func (o AzureTrafficCollectorArrayOutput) ToAzureTrafficCollectorArrayOutputWithContext(ctx context.Context) AzureTrafficCollectorArrayOutput
- type AzureTrafficCollectorInput
- type AzureTrafficCollectorMap
- type AzureTrafficCollectorMapInput
- type AzureTrafficCollectorMapOutput
- func (AzureTrafficCollectorMapOutput) ElementType() reflect.Type
- func (o AzureTrafficCollectorMapOutput) MapIndex(k pulumi.StringInput) AzureTrafficCollectorOutput
- func (o AzureTrafficCollectorMapOutput) ToAzureTrafficCollectorMapOutput() AzureTrafficCollectorMapOutput
- func (o AzureTrafficCollectorMapOutput) ToAzureTrafficCollectorMapOutputWithContext(ctx context.Context) AzureTrafficCollectorMapOutput
- type AzureTrafficCollectorOutput
- func (o AzureTrafficCollectorOutput) CollectorPolicyIds() pulumi.StringArrayOutput
- func (AzureTrafficCollectorOutput) ElementType() reflect.Type
- func (o AzureTrafficCollectorOutput) Location() pulumi.StringOutput
- func (o AzureTrafficCollectorOutput) Name() pulumi.StringOutput
- func (o AzureTrafficCollectorOutput) ResourceGroupName() pulumi.StringOutput
- func (o AzureTrafficCollectorOutput) Tags() pulumi.StringMapOutput
- func (o AzureTrafficCollectorOutput) ToAzureTrafficCollectorOutput() AzureTrafficCollectorOutput
- func (o AzureTrafficCollectorOutput) ToAzureTrafficCollectorOutputWithContext(ctx context.Context) AzureTrafficCollectorOutput
- func (o AzureTrafficCollectorOutput) VirtualHubIds() pulumi.StringArrayOutput
- type AzureTrafficCollectorState
- type CollectorPolicy
- type CollectorPolicyArgs
- type CollectorPolicyArray
- type CollectorPolicyArrayInput
- type CollectorPolicyArrayOutput
- func (CollectorPolicyArrayOutput) ElementType() reflect.Type
- func (o CollectorPolicyArrayOutput) Index(i pulumi.IntInput) CollectorPolicyOutput
- func (o CollectorPolicyArrayOutput) ToCollectorPolicyArrayOutput() CollectorPolicyArrayOutput
- func (o CollectorPolicyArrayOutput) ToCollectorPolicyArrayOutputWithContext(ctx context.Context) CollectorPolicyArrayOutput
- type CollectorPolicyInput
- type CollectorPolicyIpfxEmission
- type CollectorPolicyIpfxEmissionArgs
- func (CollectorPolicyIpfxEmissionArgs) ElementType() reflect.Type
- func (i CollectorPolicyIpfxEmissionArgs) ToCollectorPolicyIpfxEmissionOutput() CollectorPolicyIpfxEmissionOutput
- func (i CollectorPolicyIpfxEmissionArgs) ToCollectorPolicyIpfxEmissionOutputWithContext(ctx context.Context) CollectorPolicyIpfxEmissionOutput
- func (i CollectorPolicyIpfxEmissionArgs) ToCollectorPolicyIpfxEmissionPtrOutput() CollectorPolicyIpfxEmissionPtrOutput
- func (i CollectorPolicyIpfxEmissionArgs) ToCollectorPolicyIpfxEmissionPtrOutputWithContext(ctx context.Context) CollectorPolicyIpfxEmissionPtrOutput
- type CollectorPolicyIpfxEmissionInput
- type CollectorPolicyIpfxEmissionOutput
- func (o CollectorPolicyIpfxEmissionOutput) DestinationTypes() pulumi.StringOutput
- func (CollectorPolicyIpfxEmissionOutput) ElementType() reflect.Type
- func (o CollectorPolicyIpfxEmissionOutput) ToCollectorPolicyIpfxEmissionOutput() CollectorPolicyIpfxEmissionOutput
- func (o CollectorPolicyIpfxEmissionOutput) ToCollectorPolicyIpfxEmissionOutputWithContext(ctx context.Context) CollectorPolicyIpfxEmissionOutput
- func (o CollectorPolicyIpfxEmissionOutput) ToCollectorPolicyIpfxEmissionPtrOutput() CollectorPolicyIpfxEmissionPtrOutput
- func (o CollectorPolicyIpfxEmissionOutput) ToCollectorPolicyIpfxEmissionPtrOutputWithContext(ctx context.Context) CollectorPolicyIpfxEmissionPtrOutput
- type CollectorPolicyIpfxEmissionPtrInput
- type CollectorPolicyIpfxEmissionPtrOutput
- func (o CollectorPolicyIpfxEmissionPtrOutput) DestinationTypes() pulumi.StringPtrOutput
- func (o CollectorPolicyIpfxEmissionPtrOutput) Elem() CollectorPolicyIpfxEmissionOutput
- func (CollectorPolicyIpfxEmissionPtrOutput) ElementType() reflect.Type
- func (o CollectorPolicyIpfxEmissionPtrOutput) ToCollectorPolicyIpfxEmissionPtrOutput() CollectorPolicyIpfxEmissionPtrOutput
- func (o CollectorPolicyIpfxEmissionPtrOutput) ToCollectorPolicyIpfxEmissionPtrOutputWithContext(ctx context.Context) CollectorPolicyIpfxEmissionPtrOutput
- type CollectorPolicyIpfxIngestion
- type CollectorPolicyIpfxIngestionArgs
- func (CollectorPolicyIpfxIngestionArgs) ElementType() reflect.Type
- func (i CollectorPolicyIpfxIngestionArgs) ToCollectorPolicyIpfxIngestionOutput() CollectorPolicyIpfxIngestionOutput
- func (i CollectorPolicyIpfxIngestionArgs) ToCollectorPolicyIpfxIngestionOutputWithContext(ctx context.Context) CollectorPolicyIpfxIngestionOutput
- func (i CollectorPolicyIpfxIngestionArgs) ToCollectorPolicyIpfxIngestionPtrOutput() CollectorPolicyIpfxIngestionPtrOutput
- func (i CollectorPolicyIpfxIngestionArgs) ToCollectorPolicyIpfxIngestionPtrOutputWithContext(ctx context.Context) CollectorPolicyIpfxIngestionPtrOutput
- type CollectorPolicyIpfxIngestionInput
- type CollectorPolicyIpfxIngestionOutput
- func (CollectorPolicyIpfxIngestionOutput) ElementType() reflect.Type
- func (o CollectorPolicyIpfxIngestionOutput) SourceResourceIds() pulumi.StringArrayOutput
- func (o CollectorPolicyIpfxIngestionOutput) ToCollectorPolicyIpfxIngestionOutput() CollectorPolicyIpfxIngestionOutput
- func (o CollectorPolicyIpfxIngestionOutput) ToCollectorPolicyIpfxIngestionOutputWithContext(ctx context.Context) CollectorPolicyIpfxIngestionOutput
- func (o CollectorPolicyIpfxIngestionOutput) ToCollectorPolicyIpfxIngestionPtrOutput() CollectorPolicyIpfxIngestionPtrOutput
- func (o CollectorPolicyIpfxIngestionOutput) ToCollectorPolicyIpfxIngestionPtrOutputWithContext(ctx context.Context) CollectorPolicyIpfxIngestionPtrOutput
- type CollectorPolicyIpfxIngestionPtrInput
- type CollectorPolicyIpfxIngestionPtrOutput
- func (o CollectorPolicyIpfxIngestionPtrOutput) Elem() CollectorPolicyIpfxIngestionOutput
- func (CollectorPolicyIpfxIngestionPtrOutput) ElementType() reflect.Type
- func (o CollectorPolicyIpfxIngestionPtrOutput) SourceResourceIds() pulumi.StringArrayOutput
- func (o CollectorPolicyIpfxIngestionPtrOutput) ToCollectorPolicyIpfxIngestionPtrOutput() CollectorPolicyIpfxIngestionPtrOutput
- func (o CollectorPolicyIpfxIngestionPtrOutput) ToCollectorPolicyIpfxIngestionPtrOutputWithContext(ctx context.Context) CollectorPolicyIpfxIngestionPtrOutput
- type CollectorPolicyMap
- type CollectorPolicyMapInput
- type CollectorPolicyMapOutput
- func (CollectorPolicyMapOutput) ElementType() reflect.Type
- func (o CollectorPolicyMapOutput) MapIndex(k pulumi.StringInput) CollectorPolicyOutput
- func (o CollectorPolicyMapOutput) ToCollectorPolicyMapOutput() CollectorPolicyMapOutput
- func (o CollectorPolicyMapOutput) ToCollectorPolicyMapOutputWithContext(ctx context.Context) CollectorPolicyMapOutput
- type CollectorPolicyOutput
- func (CollectorPolicyOutput) ElementType() reflect.Type
- func (o CollectorPolicyOutput) IpfxEmission() CollectorPolicyIpfxEmissionOutput
- func (o CollectorPolicyOutput) IpfxIngestion() CollectorPolicyIpfxIngestionOutput
- func (o CollectorPolicyOutput) Location() pulumi.StringOutput
- func (o CollectorPolicyOutput) Name() pulumi.StringOutput
- func (o CollectorPolicyOutput) Tags() pulumi.StringMapOutput
- func (o CollectorPolicyOutput) ToCollectorPolicyOutput() CollectorPolicyOutput
- func (o CollectorPolicyOutput) ToCollectorPolicyOutputWithContext(ctx context.Context) CollectorPolicyOutput
- func (o CollectorPolicyOutput) TrafficCollectorId() pulumi.StringOutput
- type CollectorPolicyState
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 { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("West US"), }) if err != nil { return err } _, err = networkfunction.NewAzureTrafficCollector(ctx, "example", &networkfunction.AzureTrafficCollectorArgs{ Name: pulumi.String("example-nfatc"), ResourceGroupName: example.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
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
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) ElementType() reflect.Type
func (AzureTrafficCollectorArrayOutput) Index ¶
func (o AzureTrafficCollectorArrayOutput) Index(i pulumi.IntInput) AzureTrafficCollectorOutput
func (AzureTrafficCollectorArrayOutput) ToAzureTrafficCollectorArrayOutput ¶
func (o AzureTrafficCollectorArrayOutput) ToAzureTrafficCollectorArrayOutput() AzureTrafficCollectorArrayOutput
func (AzureTrafficCollectorArrayOutput) ToAzureTrafficCollectorArrayOutputWithContext ¶
func (o AzureTrafficCollectorArrayOutput) ToAzureTrafficCollectorArrayOutputWithContext(ctx context.Context) AzureTrafficCollectorArrayOutput
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
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) ElementType() reflect.Type
func (AzureTrafficCollectorMapOutput) MapIndex ¶
func (o AzureTrafficCollectorMapOutput) MapIndex(k pulumi.StringInput) AzureTrafficCollectorOutput
func (AzureTrafficCollectorMapOutput) ToAzureTrafficCollectorMapOutput ¶
func (o AzureTrafficCollectorMapOutput) ToAzureTrafficCollectorMapOutput() AzureTrafficCollectorMapOutput
func (AzureTrafficCollectorMapOutput) ToAzureTrafficCollectorMapOutputWithContext ¶
func (o AzureTrafficCollectorMapOutput) ToAzureTrafficCollectorMapOutputWithContext(ctx context.Context) AzureTrafficCollectorMapOutput
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) ElementType() reflect.Type
func (AzureTrafficCollectorOutput) Location ¶
func (o AzureTrafficCollectorOutput) Location() pulumi.StringOutput
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 ¶
func (o AzureTrafficCollectorOutput) Name() pulumi.StringOutput
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 ¶
func (o AzureTrafficCollectorOutput) Tags() pulumi.StringMapOutput
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) VirtualHubIds ¶
func (o AzureTrafficCollectorOutput) VirtualHubIds() pulumi.StringArrayOutput
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
type CollectorPolicy ¶ added in v5.55.0
type CollectorPolicy struct { pulumi.CustomResourceState // An `ipfxEmission` block as defined below. Changing this forces a new Network Function Collector Policy to be created. IpfxEmission CollectorPolicyIpfxEmissionOutput `pulumi:"ipfxEmission"` // An `ipfxIngestion` block as defined below. Changing this forces a new Network Function Collector Policy to be created. IpfxIngestion CollectorPolicyIpfxIngestionOutput `pulumi:"ipfxIngestion"` // Specifies the Azure Region where the Network Function Collector Policy should exist. Changing this forces a new Network Function Collector Policy to be created. Location pulumi.StringOutput `pulumi:"location"` // Specifies the name which should be used for this Network Function Collector Policy. Changing this forces a new Network Function Collector Policy to be created. Name pulumi.StringOutput `pulumi:"name"` // A mapping of tags which should be assigned to the Network Function Collector Policy. Tags pulumi.StringMapOutput `pulumi:"tags"` // Specifies the Azure Traffic Collector ID of the Network Function Collector Policy. Changing this forces a new Network Function Collector Policy to be created. TrafficCollectorId pulumi.StringOutput `pulumi:"trafficCollectorId"` }
Manages a Network Function Collector Policy.
## 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/network" "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 { example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{ Name: pulumi.String("example-resources"), Location: pulumi.String("West US 2"), }) if err != nil { return err } exampleExpressRoutePort, err := network.NewExpressRoutePort(ctx, "example", &network.ExpressRoutePortArgs{ Name: pulumi.String("example-erp"), ResourceGroupName: example.Name, Location: example.Location, PeeringLocation: pulumi.String("Equinix-Seattle-SE2"), BandwidthInGbps: pulumi.Int(10), Encapsulation: pulumi.String("Dot1Q"), }) if err != nil { return err } exampleExpressRouteCircuit, err := network.NewExpressRouteCircuit(ctx, "example", &network.ExpressRouteCircuitArgs{ Name: pulumi.String("example-erc"), Location: example.Location, ResourceGroupName: example.Name, ExpressRoutePortId: exampleExpressRoutePort.ID(), BandwidthInGbps: pulumi.Float64(1), Sku: &network.ExpressRouteCircuitSkuArgs{ Tier: pulumi.String("Standard"), Family: pulumi.String("MeteredData"), }, }) if err != nil { return err } exampleExpressRouteCircuitPeering, err := network.NewExpressRouteCircuitPeering(ctx, "example", &network.ExpressRouteCircuitPeeringArgs{ PeeringType: pulumi.String("MicrosoftPeering"), ExpressRouteCircuitName: exampleExpressRouteCircuit.Name, ResourceGroupName: example.Name, PeerAsn: pulumi.Int(100), PrimaryPeerAddressPrefix: pulumi.String("192.168.199.0/30"), SecondaryPeerAddressPrefix: pulumi.String("192.168.200.0/30"), VlanId: pulumi.Int(300), MicrosoftPeeringConfig: &network.ExpressRouteCircuitPeeringMicrosoftPeeringConfigArgs{ AdvertisedPublicPrefixes: pulumi.StringArray{ pulumi.String("123.6.0.0/24"), }, }, }) if err != nil { return err } exampleAzureTrafficCollector, err := networkfunction.NewAzureTrafficCollector(ctx, "example", &networkfunction.AzureTrafficCollectorArgs{ Name: pulumi.String("example-nfatc"), Location: example.Location, ResourceGroupName: example.Name, }, pulumi.DependsOn([]pulumi.Resource{ exampleExpressRouteCircuitPeering, })) if err != nil { return err } _, err = networkfunction.NewCollectorPolicy(ctx, "example", &networkfunction.CollectorPolicyArgs{ Name: pulumi.String("example-nfcp"), TrafficCollectorId: exampleAzureTrafficCollector.ID(), Location: example.Location, IpfxEmission: &networkfunction.CollectorPolicyIpfxEmissionArgs{ DestinationTypes: pulumi.String("AzureMonitor"), }, IpfxIngestion: &networkfunction.CollectorPolicyIpfxIngestionArgs{ SourceResourceIds: pulumi.StringArray{ exampleExpressRouteCircuit.ID(), }, }, Tags: pulumi.StringMap{ "key": pulumi.String("value"), }, }) if err != nil { return err } return nil }) }
```
## Import
Network Function Collector Policy can be imported using the `resource id`, e.g.
```sh $ pulumi import azure:networkfunction/collectorPolicy:CollectorPolicy example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.NetworkFunction/azureTrafficCollectors/azureTrafficCollector1/collectorPolicies/collectorPolicy1 ```
func GetCollectorPolicy ¶ added in v5.55.0
func GetCollectorPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *CollectorPolicyState, opts ...pulumi.ResourceOption) (*CollectorPolicy, error)
GetCollectorPolicy gets an existing CollectorPolicy 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 NewCollectorPolicy ¶ added in v5.55.0
func NewCollectorPolicy(ctx *pulumi.Context, name string, args *CollectorPolicyArgs, opts ...pulumi.ResourceOption) (*CollectorPolicy, error)
NewCollectorPolicy registers a new resource with the given unique name, arguments, and options.
func (*CollectorPolicy) ElementType ¶ added in v5.55.0
func (*CollectorPolicy) ElementType() reflect.Type
func (*CollectorPolicy) ToCollectorPolicyOutput ¶ added in v5.55.0
func (i *CollectorPolicy) ToCollectorPolicyOutput() CollectorPolicyOutput
func (*CollectorPolicy) ToCollectorPolicyOutputWithContext ¶ added in v5.55.0
func (i *CollectorPolicy) ToCollectorPolicyOutputWithContext(ctx context.Context) CollectorPolicyOutput
type CollectorPolicyArgs ¶ added in v5.55.0
type CollectorPolicyArgs struct { // An `ipfxEmission` block as defined below. Changing this forces a new Network Function Collector Policy to be created. IpfxEmission CollectorPolicyIpfxEmissionInput // An `ipfxIngestion` block as defined below. Changing this forces a new Network Function Collector Policy to be created. IpfxIngestion CollectorPolicyIpfxIngestionInput // Specifies the Azure Region where the Network Function Collector Policy should exist. Changing this forces a new Network Function Collector Policy to be created. Location pulumi.StringPtrInput // Specifies the name which should be used for this Network Function Collector Policy. Changing this forces a new Network Function Collector Policy to be created. Name pulumi.StringPtrInput // A mapping of tags which should be assigned to the Network Function Collector Policy. Tags pulumi.StringMapInput // Specifies the Azure Traffic Collector ID of the Network Function Collector Policy. Changing this forces a new Network Function Collector Policy to be created. TrafficCollectorId pulumi.StringInput }
The set of arguments for constructing a CollectorPolicy resource.
func (CollectorPolicyArgs) ElementType ¶ added in v5.55.0
func (CollectorPolicyArgs) ElementType() reflect.Type
type CollectorPolicyArray ¶ added in v5.55.0
type CollectorPolicyArray []CollectorPolicyInput
func (CollectorPolicyArray) ElementType ¶ added in v5.55.0
func (CollectorPolicyArray) ElementType() reflect.Type
func (CollectorPolicyArray) ToCollectorPolicyArrayOutput ¶ added in v5.55.0
func (i CollectorPolicyArray) ToCollectorPolicyArrayOutput() CollectorPolicyArrayOutput
func (CollectorPolicyArray) ToCollectorPolicyArrayOutputWithContext ¶ added in v5.55.0
func (i CollectorPolicyArray) ToCollectorPolicyArrayOutputWithContext(ctx context.Context) CollectorPolicyArrayOutput
type CollectorPolicyArrayInput ¶ added in v5.55.0
type CollectorPolicyArrayInput interface { pulumi.Input ToCollectorPolicyArrayOutput() CollectorPolicyArrayOutput ToCollectorPolicyArrayOutputWithContext(context.Context) CollectorPolicyArrayOutput }
CollectorPolicyArrayInput is an input type that accepts CollectorPolicyArray and CollectorPolicyArrayOutput values. You can construct a concrete instance of `CollectorPolicyArrayInput` via:
CollectorPolicyArray{ CollectorPolicyArgs{...} }
type CollectorPolicyArrayOutput ¶ added in v5.55.0
type CollectorPolicyArrayOutput struct{ *pulumi.OutputState }
func (CollectorPolicyArrayOutput) ElementType ¶ added in v5.55.0
func (CollectorPolicyArrayOutput) ElementType() reflect.Type
func (CollectorPolicyArrayOutput) Index ¶ added in v5.55.0
func (o CollectorPolicyArrayOutput) Index(i pulumi.IntInput) CollectorPolicyOutput
func (CollectorPolicyArrayOutput) ToCollectorPolicyArrayOutput ¶ added in v5.55.0
func (o CollectorPolicyArrayOutput) ToCollectorPolicyArrayOutput() CollectorPolicyArrayOutput
func (CollectorPolicyArrayOutput) ToCollectorPolicyArrayOutputWithContext ¶ added in v5.55.0
func (o CollectorPolicyArrayOutput) ToCollectorPolicyArrayOutputWithContext(ctx context.Context) CollectorPolicyArrayOutput
type CollectorPolicyInput ¶ added in v5.55.0
type CollectorPolicyInput interface { pulumi.Input ToCollectorPolicyOutput() CollectorPolicyOutput ToCollectorPolicyOutputWithContext(ctx context.Context) CollectorPolicyOutput }
type CollectorPolicyIpfxEmission ¶ added in v5.55.0
type CollectorPolicyIpfxEmission struct { // A list of emission destination types. The only possible value is `AzureMonitor`. Changing this forces a new Network Function Collector Policy to be created. DestinationTypes string `pulumi:"destinationTypes"` }
type CollectorPolicyIpfxEmissionArgs ¶ added in v5.55.0
type CollectorPolicyIpfxEmissionArgs struct { // A list of emission destination types. The only possible value is `AzureMonitor`. Changing this forces a new Network Function Collector Policy to be created. DestinationTypes pulumi.StringInput `pulumi:"destinationTypes"` }
func (CollectorPolicyIpfxEmissionArgs) ElementType ¶ added in v5.55.0
func (CollectorPolicyIpfxEmissionArgs) ElementType() reflect.Type
func (CollectorPolicyIpfxEmissionArgs) ToCollectorPolicyIpfxEmissionOutput ¶ added in v5.55.0
func (i CollectorPolicyIpfxEmissionArgs) ToCollectorPolicyIpfxEmissionOutput() CollectorPolicyIpfxEmissionOutput
func (CollectorPolicyIpfxEmissionArgs) ToCollectorPolicyIpfxEmissionOutputWithContext ¶ added in v5.55.0
func (i CollectorPolicyIpfxEmissionArgs) ToCollectorPolicyIpfxEmissionOutputWithContext(ctx context.Context) CollectorPolicyIpfxEmissionOutput
func (CollectorPolicyIpfxEmissionArgs) ToCollectorPolicyIpfxEmissionPtrOutput ¶ added in v5.55.0
func (i CollectorPolicyIpfxEmissionArgs) ToCollectorPolicyIpfxEmissionPtrOutput() CollectorPolicyIpfxEmissionPtrOutput
func (CollectorPolicyIpfxEmissionArgs) ToCollectorPolicyIpfxEmissionPtrOutputWithContext ¶ added in v5.55.0
func (i CollectorPolicyIpfxEmissionArgs) ToCollectorPolicyIpfxEmissionPtrOutputWithContext(ctx context.Context) CollectorPolicyIpfxEmissionPtrOutput
type CollectorPolicyIpfxEmissionInput ¶ added in v5.55.0
type CollectorPolicyIpfxEmissionInput interface { pulumi.Input ToCollectorPolicyIpfxEmissionOutput() CollectorPolicyIpfxEmissionOutput ToCollectorPolicyIpfxEmissionOutputWithContext(context.Context) CollectorPolicyIpfxEmissionOutput }
CollectorPolicyIpfxEmissionInput is an input type that accepts CollectorPolicyIpfxEmissionArgs and CollectorPolicyIpfxEmissionOutput values. You can construct a concrete instance of `CollectorPolicyIpfxEmissionInput` via:
CollectorPolicyIpfxEmissionArgs{...}
type CollectorPolicyIpfxEmissionOutput ¶ added in v5.55.0
type CollectorPolicyIpfxEmissionOutput struct{ *pulumi.OutputState }
func (CollectorPolicyIpfxEmissionOutput) DestinationTypes ¶ added in v5.55.0
func (o CollectorPolicyIpfxEmissionOutput) DestinationTypes() pulumi.StringOutput
A list of emission destination types. The only possible value is `AzureMonitor`. Changing this forces a new Network Function Collector Policy to be created.
func (CollectorPolicyIpfxEmissionOutput) ElementType ¶ added in v5.55.0
func (CollectorPolicyIpfxEmissionOutput) ElementType() reflect.Type
func (CollectorPolicyIpfxEmissionOutput) ToCollectorPolicyIpfxEmissionOutput ¶ added in v5.55.0
func (o CollectorPolicyIpfxEmissionOutput) ToCollectorPolicyIpfxEmissionOutput() CollectorPolicyIpfxEmissionOutput
func (CollectorPolicyIpfxEmissionOutput) ToCollectorPolicyIpfxEmissionOutputWithContext ¶ added in v5.55.0
func (o CollectorPolicyIpfxEmissionOutput) ToCollectorPolicyIpfxEmissionOutputWithContext(ctx context.Context) CollectorPolicyIpfxEmissionOutput
func (CollectorPolicyIpfxEmissionOutput) ToCollectorPolicyIpfxEmissionPtrOutput ¶ added in v5.55.0
func (o CollectorPolicyIpfxEmissionOutput) ToCollectorPolicyIpfxEmissionPtrOutput() CollectorPolicyIpfxEmissionPtrOutput
func (CollectorPolicyIpfxEmissionOutput) ToCollectorPolicyIpfxEmissionPtrOutputWithContext ¶ added in v5.55.0
func (o CollectorPolicyIpfxEmissionOutput) ToCollectorPolicyIpfxEmissionPtrOutputWithContext(ctx context.Context) CollectorPolicyIpfxEmissionPtrOutput
type CollectorPolicyIpfxEmissionPtrInput ¶ added in v5.55.0
type CollectorPolicyIpfxEmissionPtrInput interface { pulumi.Input ToCollectorPolicyIpfxEmissionPtrOutput() CollectorPolicyIpfxEmissionPtrOutput ToCollectorPolicyIpfxEmissionPtrOutputWithContext(context.Context) CollectorPolicyIpfxEmissionPtrOutput }
CollectorPolicyIpfxEmissionPtrInput is an input type that accepts CollectorPolicyIpfxEmissionArgs, CollectorPolicyIpfxEmissionPtr and CollectorPolicyIpfxEmissionPtrOutput values. You can construct a concrete instance of `CollectorPolicyIpfxEmissionPtrInput` via:
CollectorPolicyIpfxEmissionArgs{...} or: nil
func CollectorPolicyIpfxEmissionPtr ¶ added in v5.55.0
func CollectorPolicyIpfxEmissionPtr(v *CollectorPolicyIpfxEmissionArgs) CollectorPolicyIpfxEmissionPtrInput
type CollectorPolicyIpfxEmissionPtrOutput ¶ added in v5.55.0
type CollectorPolicyIpfxEmissionPtrOutput struct{ *pulumi.OutputState }
func (CollectorPolicyIpfxEmissionPtrOutput) DestinationTypes ¶ added in v5.55.0
func (o CollectorPolicyIpfxEmissionPtrOutput) DestinationTypes() pulumi.StringPtrOutput
A list of emission destination types. The only possible value is `AzureMonitor`. Changing this forces a new Network Function Collector Policy to be created.
func (CollectorPolicyIpfxEmissionPtrOutput) ElementType ¶ added in v5.55.0
func (CollectorPolicyIpfxEmissionPtrOutput) ElementType() reflect.Type
func (CollectorPolicyIpfxEmissionPtrOutput) ToCollectorPolicyIpfxEmissionPtrOutput ¶ added in v5.55.0
func (o CollectorPolicyIpfxEmissionPtrOutput) ToCollectorPolicyIpfxEmissionPtrOutput() CollectorPolicyIpfxEmissionPtrOutput
func (CollectorPolicyIpfxEmissionPtrOutput) ToCollectorPolicyIpfxEmissionPtrOutputWithContext ¶ added in v5.55.0
func (o CollectorPolicyIpfxEmissionPtrOutput) ToCollectorPolicyIpfxEmissionPtrOutputWithContext(ctx context.Context) CollectorPolicyIpfxEmissionPtrOutput
type CollectorPolicyIpfxIngestion ¶ added in v5.55.0
type CollectorPolicyIpfxIngestion struct { // A list of ingestion source resource IDs. Changing this forces a new Network Function Collector Policy to be created. SourceResourceIds []string `pulumi:"sourceResourceIds"` }
type CollectorPolicyIpfxIngestionArgs ¶ added in v5.55.0
type CollectorPolicyIpfxIngestionArgs struct { // A list of ingestion source resource IDs. Changing this forces a new Network Function Collector Policy to be created. SourceResourceIds pulumi.StringArrayInput `pulumi:"sourceResourceIds"` }
func (CollectorPolicyIpfxIngestionArgs) ElementType ¶ added in v5.55.0
func (CollectorPolicyIpfxIngestionArgs) ElementType() reflect.Type
func (CollectorPolicyIpfxIngestionArgs) ToCollectorPolicyIpfxIngestionOutput ¶ added in v5.55.0
func (i CollectorPolicyIpfxIngestionArgs) ToCollectorPolicyIpfxIngestionOutput() CollectorPolicyIpfxIngestionOutput
func (CollectorPolicyIpfxIngestionArgs) ToCollectorPolicyIpfxIngestionOutputWithContext ¶ added in v5.55.0
func (i CollectorPolicyIpfxIngestionArgs) ToCollectorPolicyIpfxIngestionOutputWithContext(ctx context.Context) CollectorPolicyIpfxIngestionOutput
func (CollectorPolicyIpfxIngestionArgs) ToCollectorPolicyIpfxIngestionPtrOutput ¶ added in v5.55.0
func (i CollectorPolicyIpfxIngestionArgs) ToCollectorPolicyIpfxIngestionPtrOutput() CollectorPolicyIpfxIngestionPtrOutput
func (CollectorPolicyIpfxIngestionArgs) ToCollectorPolicyIpfxIngestionPtrOutputWithContext ¶ added in v5.55.0
func (i CollectorPolicyIpfxIngestionArgs) ToCollectorPolicyIpfxIngestionPtrOutputWithContext(ctx context.Context) CollectorPolicyIpfxIngestionPtrOutput
type CollectorPolicyIpfxIngestionInput ¶ added in v5.55.0
type CollectorPolicyIpfxIngestionInput interface { pulumi.Input ToCollectorPolicyIpfxIngestionOutput() CollectorPolicyIpfxIngestionOutput ToCollectorPolicyIpfxIngestionOutputWithContext(context.Context) CollectorPolicyIpfxIngestionOutput }
CollectorPolicyIpfxIngestionInput is an input type that accepts CollectorPolicyIpfxIngestionArgs and CollectorPolicyIpfxIngestionOutput values. You can construct a concrete instance of `CollectorPolicyIpfxIngestionInput` via:
CollectorPolicyIpfxIngestionArgs{...}
type CollectorPolicyIpfxIngestionOutput ¶ added in v5.55.0
type CollectorPolicyIpfxIngestionOutput struct{ *pulumi.OutputState }
func (CollectorPolicyIpfxIngestionOutput) ElementType ¶ added in v5.55.0
func (CollectorPolicyIpfxIngestionOutput) ElementType() reflect.Type
func (CollectorPolicyIpfxIngestionOutput) SourceResourceIds ¶ added in v5.55.0
func (o CollectorPolicyIpfxIngestionOutput) SourceResourceIds() pulumi.StringArrayOutput
A list of ingestion source resource IDs. Changing this forces a new Network Function Collector Policy to be created.
func (CollectorPolicyIpfxIngestionOutput) ToCollectorPolicyIpfxIngestionOutput ¶ added in v5.55.0
func (o CollectorPolicyIpfxIngestionOutput) ToCollectorPolicyIpfxIngestionOutput() CollectorPolicyIpfxIngestionOutput
func (CollectorPolicyIpfxIngestionOutput) ToCollectorPolicyIpfxIngestionOutputWithContext ¶ added in v5.55.0
func (o CollectorPolicyIpfxIngestionOutput) ToCollectorPolicyIpfxIngestionOutputWithContext(ctx context.Context) CollectorPolicyIpfxIngestionOutput
func (CollectorPolicyIpfxIngestionOutput) ToCollectorPolicyIpfxIngestionPtrOutput ¶ added in v5.55.0
func (o CollectorPolicyIpfxIngestionOutput) ToCollectorPolicyIpfxIngestionPtrOutput() CollectorPolicyIpfxIngestionPtrOutput
func (CollectorPolicyIpfxIngestionOutput) ToCollectorPolicyIpfxIngestionPtrOutputWithContext ¶ added in v5.55.0
func (o CollectorPolicyIpfxIngestionOutput) ToCollectorPolicyIpfxIngestionPtrOutputWithContext(ctx context.Context) CollectorPolicyIpfxIngestionPtrOutput
type CollectorPolicyIpfxIngestionPtrInput ¶ added in v5.55.0
type CollectorPolicyIpfxIngestionPtrInput interface { pulumi.Input ToCollectorPolicyIpfxIngestionPtrOutput() CollectorPolicyIpfxIngestionPtrOutput ToCollectorPolicyIpfxIngestionPtrOutputWithContext(context.Context) CollectorPolicyIpfxIngestionPtrOutput }
CollectorPolicyIpfxIngestionPtrInput is an input type that accepts CollectorPolicyIpfxIngestionArgs, CollectorPolicyIpfxIngestionPtr and CollectorPolicyIpfxIngestionPtrOutput values. You can construct a concrete instance of `CollectorPolicyIpfxIngestionPtrInput` via:
CollectorPolicyIpfxIngestionArgs{...} or: nil
func CollectorPolicyIpfxIngestionPtr ¶ added in v5.55.0
func CollectorPolicyIpfxIngestionPtr(v *CollectorPolicyIpfxIngestionArgs) CollectorPolicyIpfxIngestionPtrInput
type CollectorPolicyIpfxIngestionPtrOutput ¶ added in v5.55.0
type CollectorPolicyIpfxIngestionPtrOutput struct{ *pulumi.OutputState }
func (CollectorPolicyIpfxIngestionPtrOutput) ElementType ¶ added in v5.55.0
func (CollectorPolicyIpfxIngestionPtrOutput) ElementType() reflect.Type
func (CollectorPolicyIpfxIngestionPtrOutput) SourceResourceIds ¶ added in v5.55.0
func (o CollectorPolicyIpfxIngestionPtrOutput) SourceResourceIds() pulumi.StringArrayOutput
A list of ingestion source resource IDs. Changing this forces a new Network Function Collector Policy to be created.
func (CollectorPolicyIpfxIngestionPtrOutput) ToCollectorPolicyIpfxIngestionPtrOutput ¶ added in v5.55.0
func (o CollectorPolicyIpfxIngestionPtrOutput) ToCollectorPolicyIpfxIngestionPtrOutput() CollectorPolicyIpfxIngestionPtrOutput
func (CollectorPolicyIpfxIngestionPtrOutput) ToCollectorPolicyIpfxIngestionPtrOutputWithContext ¶ added in v5.55.0
func (o CollectorPolicyIpfxIngestionPtrOutput) ToCollectorPolicyIpfxIngestionPtrOutputWithContext(ctx context.Context) CollectorPolicyIpfxIngestionPtrOutput
type CollectorPolicyMap ¶ added in v5.55.0
type CollectorPolicyMap map[string]CollectorPolicyInput
func (CollectorPolicyMap) ElementType ¶ added in v5.55.0
func (CollectorPolicyMap) ElementType() reflect.Type
func (CollectorPolicyMap) ToCollectorPolicyMapOutput ¶ added in v5.55.0
func (i CollectorPolicyMap) ToCollectorPolicyMapOutput() CollectorPolicyMapOutput
func (CollectorPolicyMap) ToCollectorPolicyMapOutputWithContext ¶ added in v5.55.0
func (i CollectorPolicyMap) ToCollectorPolicyMapOutputWithContext(ctx context.Context) CollectorPolicyMapOutput
type CollectorPolicyMapInput ¶ added in v5.55.0
type CollectorPolicyMapInput interface { pulumi.Input ToCollectorPolicyMapOutput() CollectorPolicyMapOutput ToCollectorPolicyMapOutputWithContext(context.Context) CollectorPolicyMapOutput }
CollectorPolicyMapInput is an input type that accepts CollectorPolicyMap and CollectorPolicyMapOutput values. You can construct a concrete instance of `CollectorPolicyMapInput` via:
CollectorPolicyMap{ "key": CollectorPolicyArgs{...} }
type CollectorPolicyMapOutput ¶ added in v5.55.0
type CollectorPolicyMapOutput struct{ *pulumi.OutputState }
func (CollectorPolicyMapOutput) ElementType ¶ added in v5.55.0
func (CollectorPolicyMapOutput) ElementType() reflect.Type
func (CollectorPolicyMapOutput) MapIndex ¶ added in v5.55.0
func (o CollectorPolicyMapOutput) MapIndex(k pulumi.StringInput) CollectorPolicyOutput
func (CollectorPolicyMapOutput) ToCollectorPolicyMapOutput ¶ added in v5.55.0
func (o CollectorPolicyMapOutput) ToCollectorPolicyMapOutput() CollectorPolicyMapOutput
func (CollectorPolicyMapOutput) ToCollectorPolicyMapOutputWithContext ¶ added in v5.55.0
func (o CollectorPolicyMapOutput) ToCollectorPolicyMapOutputWithContext(ctx context.Context) CollectorPolicyMapOutput
type CollectorPolicyOutput ¶ added in v5.55.0
type CollectorPolicyOutput struct{ *pulumi.OutputState }
func (CollectorPolicyOutput) ElementType ¶ added in v5.55.0
func (CollectorPolicyOutput) ElementType() reflect.Type
func (CollectorPolicyOutput) IpfxEmission ¶ added in v5.55.0
func (o CollectorPolicyOutput) IpfxEmission() CollectorPolicyIpfxEmissionOutput
An `ipfxEmission` block as defined below. Changing this forces a new Network Function Collector Policy to be created.
func (CollectorPolicyOutput) IpfxIngestion ¶ added in v5.55.0
func (o CollectorPolicyOutput) IpfxIngestion() CollectorPolicyIpfxIngestionOutput
An `ipfxIngestion` block as defined below. Changing this forces a new Network Function Collector Policy to be created.
func (CollectorPolicyOutput) Location ¶ added in v5.55.0
func (o CollectorPolicyOutput) Location() pulumi.StringOutput
Specifies the Azure Region where the Network Function Collector Policy should exist. Changing this forces a new Network Function Collector Policy to be created.
func (CollectorPolicyOutput) Name ¶ added in v5.55.0
func (o CollectorPolicyOutput) Name() pulumi.StringOutput
Specifies the name which should be used for this Network Function Collector Policy. Changing this forces a new Network Function Collector Policy to be created.
func (CollectorPolicyOutput) Tags ¶ added in v5.55.0
func (o CollectorPolicyOutput) Tags() pulumi.StringMapOutput
A mapping of tags which should be assigned to the Network Function Collector Policy.
func (CollectorPolicyOutput) ToCollectorPolicyOutput ¶ added in v5.55.0
func (o CollectorPolicyOutput) ToCollectorPolicyOutput() CollectorPolicyOutput
func (CollectorPolicyOutput) ToCollectorPolicyOutputWithContext ¶ added in v5.55.0
func (o CollectorPolicyOutput) ToCollectorPolicyOutputWithContext(ctx context.Context) CollectorPolicyOutput
func (CollectorPolicyOutput) TrafficCollectorId ¶ added in v5.55.0
func (o CollectorPolicyOutput) TrafficCollectorId() pulumi.StringOutput
Specifies the Azure Traffic Collector ID of the Network Function Collector Policy. Changing this forces a new Network Function Collector Policy to be created.
type CollectorPolicyState ¶ added in v5.55.0
type CollectorPolicyState struct { // An `ipfxEmission` block as defined below. Changing this forces a new Network Function Collector Policy to be created. IpfxEmission CollectorPolicyIpfxEmissionPtrInput // An `ipfxIngestion` block as defined below. Changing this forces a new Network Function Collector Policy to be created. IpfxIngestion CollectorPolicyIpfxIngestionPtrInput // Specifies the Azure Region where the Network Function Collector Policy should exist. Changing this forces a new Network Function Collector Policy to be created. Location pulumi.StringPtrInput // Specifies the name which should be used for this Network Function Collector Policy. Changing this forces a new Network Function Collector Policy to be created. Name pulumi.StringPtrInput // A mapping of tags which should be assigned to the Network Function Collector Policy. Tags pulumi.StringMapInput // Specifies the Azure Traffic Collector ID of the Network Function Collector Policy. Changing this forces a new Network Function Collector Policy to be created. TrafficCollectorId pulumi.StringPtrInput }
func (CollectorPolicyState) ElementType ¶ added in v5.55.0
func (CollectorPolicyState) ElementType() reflect.Type