avi.L4policyset
Explore with Pulumi AI
<!–
Copyright 2021 VMware, Inc.
SPDX-License-Identifier: Mozilla Public License 2.0
–>
layout: “avi”
page_title: “Avi: avi.L4policyset” sidebar_current: “docs-avi-resource-l4policyset” description: |- Creates and manages Avi L4PolicySet.
avi.L4policyset
The L4PolicySet resource allows the creation and management of Avi L4PolicySet
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as avi from "@pulumi/avi";
const foo = new avi.L4policyset("foo", {tenantRef: "/api/tenant/?name=admin"});
import pulumi
import pulumi_avi as avi
foo = avi.L4policyset("foo", tenant_ref="/api/tenant/?name=admin")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/avi/v31/avi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := avi.NewL4policyset(ctx, "foo", &avi.L4policysetArgs{
TenantRef: pulumi.String("/api/tenant/?name=admin"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Avi = Pulumi.Avi;
return await Deployment.RunAsync(() =>
{
var foo = new Avi.L4policyset("foo", new()
{
TenantRef = "/api/tenant/?name=admin",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.avi.L4policyset;
import com.pulumi.avi.L4policysetArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var foo = new L4policyset("foo", L4policysetArgs.builder()
.tenantRef("/api/tenant/?name=admin")
.build());
}
}
resources:
foo:
type: avi:L4policyset
properties:
tenantRef: /api/tenant/?name=admin
Create L4policyset Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new L4policyset(name: string, args?: L4policysetArgs, opts?: CustomResourceOptions);
@overload
def L4policyset(resource_name: str,
args: Optional[L4policysetArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def L4policyset(resource_name: str,
opts: Optional[ResourceOptions] = None,
configpb_attributes: Optional[Sequence[L4policysetConfigpbAttributeArgs]] = None,
created_by: Optional[str] = None,
description: Optional[str] = None,
is_internal_policy: Optional[str] = None,
l4_connection_policies: Optional[Sequence[L4policysetL4ConnectionPolicyArgs]] = None,
l4policyset_id: Optional[str] = None,
markers: Optional[Sequence[L4policysetMarkerArgs]] = None,
name: Optional[str] = None,
tenant_ref: Optional[str] = None,
uuid: Optional[str] = None)
func NewL4policyset(ctx *Context, name string, args *L4policysetArgs, opts ...ResourceOption) (*L4policyset, error)
public L4policyset(string name, L4policysetArgs? args = null, CustomResourceOptions? opts = null)
public L4policyset(String name, L4policysetArgs args)
public L4policyset(String name, L4policysetArgs args, CustomResourceOptions options)
type: avi:L4policyset
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args L4policysetArgs
- 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 L4policysetArgs
- 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 L4policysetArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args L4policysetArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args L4policysetArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var l4policysetResource = new Avi.L4policyset("l4policysetResource", new()
{
ConfigpbAttributes = new[]
{
new Avi.Inputs.L4policysetConfigpbAttributeArgs
{
Version = "string",
},
},
CreatedBy = "string",
Description = "string",
IsInternalPolicy = "string",
L4ConnectionPolicies = new[]
{
new Avi.Inputs.L4policysetL4ConnectionPolicyArgs
{
Rules = new[]
{
new Avi.Inputs.L4policysetL4ConnectionPolicyRuleArgs
{
Index = "string",
Name = "string",
Actions = new[]
{
new Avi.Inputs.L4policysetL4ConnectionPolicyRuleActionArgs
{
SelectPools = new[]
{
new Avi.Inputs.L4policysetL4ConnectionPolicyRuleActionSelectPoolArgs
{
ActionType = "string",
PoolGroupRef = "string",
PoolRef = "string",
},
},
},
},
Enable = "string",
Matches = new[]
{
new Avi.Inputs.L4policysetL4ConnectionPolicyRuleMatchArgs
{
ClientIps = new[]
{
new Avi.Inputs.L4policysetL4ConnectionPolicyRuleMatchClientIpArgs
{
MatchCriteria = "string",
Addrs = new[]
{
new Avi.Inputs.L4policysetL4ConnectionPolicyRuleMatchClientIpAddrArgs
{
Addr = "string",
Type = "string",
},
},
GroupRefs = new[]
{
"string",
},
Prefixes = new[]
{
new Avi.Inputs.L4policysetL4ConnectionPolicyRuleMatchClientIpPrefixArgs
{
IpAddrs = new[]
{
new Avi.Inputs.L4policysetL4ConnectionPolicyRuleMatchClientIpPrefixIpAddrArgs
{
Addr = "string",
Type = "string",
},
},
Mask = "string",
},
},
Ranges = new[]
{
new Avi.Inputs.L4policysetL4ConnectionPolicyRuleMatchClientIpRangeArgs
{
Begins = new[]
{
new Avi.Inputs.L4policysetL4ConnectionPolicyRuleMatchClientIpRangeBeginArgs
{
Addr = "string",
Type = "string",
},
},
Ends = new[]
{
new Avi.Inputs.L4policysetL4ConnectionPolicyRuleMatchClientIpRangeEndArgs
{
Addr = "string",
Type = "string",
},
},
},
},
},
},
Ports = new[]
{
new Avi.Inputs.L4policysetL4ConnectionPolicyRuleMatchPortArgs
{
MatchCriteria = "string",
PortRanges = new[]
{
new Avi.Inputs.L4policysetL4ConnectionPolicyRuleMatchPortPortRangeArgs
{
End = "string",
Start = "string",
},
},
Ports = new[]
{
0,
},
},
},
Protocols = new[]
{
new Avi.Inputs.L4policysetL4ConnectionPolicyRuleMatchProtocolArgs
{
MatchCriteria = "string",
Protocol = "string",
},
},
},
},
},
},
},
},
L4policysetId = "string",
Markers = new[]
{
new Avi.Inputs.L4policysetMarkerArgs
{
Key = "string",
Values = new[]
{
"string",
},
},
},
Name = "string",
TenantRef = "string",
Uuid = "string",
});
example, err := avi.NewL4policyset(ctx, "l4policysetResource", &avi.L4policysetArgs{
ConfigpbAttributes: avi.L4policysetConfigpbAttributeArray{
&avi.L4policysetConfigpbAttributeArgs{
Version: pulumi.String("string"),
},
},
CreatedBy: pulumi.String("string"),
Description: pulumi.String("string"),
IsInternalPolicy: pulumi.String("string"),
L4ConnectionPolicies: avi.L4policysetL4ConnectionPolicyArray{
&avi.L4policysetL4ConnectionPolicyArgs{
Rules: avi.L4policysetL4ConnectionPolicyRuleArray{
&avi.L4policysetL4ConnectionPolicyRuleArgs{
Index: pulumi.String("string"),
Name: pulumi.String("string"),
Actions: avi.L4policysetL4ConnectionPolicyRuleActionArray{
&avi.L4policysetL4ConnectionPolicyRuleActionArgs{
SelectPools: avi.L4policysetL4ConnectionPolicyRuleActionSelectPoolArray{
&avi.L4policysetL4ConnectionPolicyRuleActionSelectPoolArgs{
ActionType: pulumi.String("string"),
PoolGroupRef: pulumi.String("string"),
PoolRef: pulumi.String("string"),
},
},
},
},
Enable: pulumi.String("string"),
Matches: avi.L4policysetL4ConnectionPolicyRuleMatchArray{
&avi.L4policysetL4ConnectionPolicyRuleMatchArgs{
ClientIps: avi.L4policysetL4ConnectionPolicyRuleMatchClientIpArray{
&avi.L4policysetL4ConnectionPolicyRuleMatchClientIpArgs{
MatchCriteria: pulumi.String("string"),
Addrs: avi.L4policysetL4ConnectionPolicyRuleMatchClientIpAddrArray{
&avi.L4policysetL4ConnectionPolicyRuleMatchClientIpAddrArgs{
Addr: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
GroupRefs: pulumi.StringArray{
pulumi.String("string"),
},
Prefixes: avi.L4policysetL4ConnectionPolicyRuleMatchClientIpPrefixArray{
&avi.L4policysetL4ConnectionPolicyRuleMatchClientIpPrefixArgs{
IpAddrs: avi.L4policysetL4ConnectionPolicyRuleMatchClientIpPrefixIpAddrArray{
&avi.L4policysetL4ConnectionPolicyRuleMatchClientIpPrefixIpAddrArgs{
Addr: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
Mask: pulumi.String("string"),
},
},
Ranges: avi.L4policysetL4ConnectionPolicyRuleMatchClientIpRangeArray{
&avi.L4policysetL4ConnectionPolicyRuleMatchClientIpRangeArgs{
Begins: avi.L4policysetL4ConnectionPolicyRuleMatchClientIpRangeBeginArray{
&avi.L4policysetL4ConnectionPolicyRuleMatchClientIpRangeBeginArgs{
Addr: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
Ends: avi.L4policysetL4ConnectionPolicyRuleMatchClientIpRangeEndArray{
&avi.L4policysetL4ConnectionPolicyRuleMatchClientIpRangeEndArgs{
Addr: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
},
},
},
},
Ports: avi.L4policysetL4ConnectionPolicyRuleMatchPortArray{
&avi.L4policysetL4ConnectionPolicyRuleMatchPortArgs{
MatchCriteria: pulumi.String("string"),
PortRanges: avi.L4policysetL4ConnectionPolicyRuleMatchPortPortRangeArray{
&avi.L4policysetL4ConnectionPolicyRuleMatchPortPortRangeArgs{
End: pulumi.String("string"),
Start: pulumi.String("string"),
},
},
Ports: pulumi.Float64Array{
pulumi.Float64(0),
},
},
},
Protocols: avi.L4policysetL4ConnectionPolicyRuleMatchProtocolArray{
&avi.L4policysetL4ConnectionPolicyRuleMatchProtocolArgs{
MatchCriteria: pulumi.String("string"),
Protocol: pulumi.String("string"),
},
},
},
},
},
},
},
},
L4policysetId: pulumi.String("string"),
Markers: avi.L4policysetMarkerArray{
&avi.L4policysetMarkerArgs{
Key: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Name: pulumi.String("string"),
TenantRef: pulumi.String("string"),
Uuid: pulumi.String("string"),
})
var l4policysetResource = new L4policyset("l4policysetResource", L4policysetArgs.builder()
.configpbAttributes(L4policysetConfigpbAttributeArgs.builder()
.version("string")
.build())
.createdBy("string")
.description("string")
.isInternalPolicy("string")
.l4ConnectionPolicies(L4policysetL4ConnectionPolicyArgs.builder()
.rules(L4policysetL4ConnectionPolicyRuleArgs.builder()
.index("string")
.name("string")
.actions(L4policysetL4ConnectionPolicyRuleActionArgs.builder()
.selectPools(L4policysetL4ConnectionPolicyRuleActionSelectPoolArgs.builder()
.actionType("string")
.poolGroupRef("string")
.poolRef("string")
.build())
.build())
.enable("string")
.matches(L4policysetL4ConnectionPolicyRuleMatchArgs.builder()
.clientIps(L4policysetL4ConnectionPolicyRuleMatchClientIpArgs.builder()
.matchCriteria("string")
.addrs(L4policysetL4ConnectionPolicyRuleMatchClientIpAddrArgs.builder()
.addr("string")
.type("string")
.build())
.groupRefs("string")
.prefixes(L4policysetL4ConnectionPolicyRuleMatchClientIpPrefixArgs.builder()
.ipAddrs(L4policysetL4ConnectionPolicyRuleMatchClientIpPrefixIpAddrArgs.builder()
.addr("string")
.type("string")
.build())
.mask("string")
.build())
.ranges(L4policysetL4ConnectionPolicyRuleMatchClientIpRangeArgs.builder()
.begins(L4policysetL4ConnectionPolicyRuleMatchClientIpRangeBeginArgs.builder()
.addr("string")
.type("string")
.build())
.ends(L4policysetL4ConnectionPolicyRuleMatchClientIpRangeEndArgs.builder()
.addr("string")
.type("string")
.build())
.build())
.build())
.ports(L4policysetL4ConnectionPolicyRuleMatchPortArgs.builder()
.matchCriteria("string")
.portRanges(L4policysetL4ConnectionPolicyRuleMatchPortPortRangeArgs.builder()
.end("string")
.start("string")
.build())
.ports(0)
.build())
.protocols(L4policysetL4ConnectionPolicyRuleMatchProtocolArgs.builder()
.matchCriteria("string")
.protocol("string")
.build())
.build())
.build())
.build())
.l4policysetId("string")
.markers(L4policysetMarkerArgs.builder()
.key("string")
.values("string")
.build())
.name("string")
.tenantRef("string")
.uuid("string")
.build());
l4policyset_resource = avi.L4policyset("l4policysetResource",
configpb_attributes=[{
"version": "string",
}],
created_by="string",
description="string",
is_internal_policy="string",
l4_connection_policies=[{
"rules": [{
"index": "string",
"name": "string",
"actions": [{
"select_pools": [{
"action_type": "string",
"pool_group_ref": "string",
"pool_ref": "string",
}],
}],
"enable": "string",
"matches": [{
"client_ips": [{
"match_criteria": "string",
"addrs": [{
"addr": "string",
"type": "string",
}],
"group_refs": ["string"],
"prefixes": [{
"ip_addrs": [{
"addr": "string",
"type": "string",
}],
"mask": "string",
}],
"ranges": [{
"begins": [{
"addr": "string",
"type": "string",
}],
"ends": [{
"addr": "string",
"type": "string",
}],
}],
}],
"ports": [{
"match_criteria": "string",
"port_ranges": [{
"end": "string",
"start": "string",
}],
"ports": [0],
}],
"protocols": [{
"match_criteria": "string",
"protocol": "string",
}],
}],
}],
}],
l4policyset_id="string",
markers=[{
"key": "string",
"values": ["string"],
}],
name="string",
tenant_ref="string",
uuid="string")
const l4policysetResource = new avi.L4policyset("l4policysetResource", {
configpbAttributes: [{
version: "string",
}],
createdBy: "string",
description: "string",
isInternalPolicy: "string",
l4ConnectionPolicies: [{
rules: [{
index: "string",
name: "string",
actions: [{
selectPools: [{
actionType: "string",
poolGroupRef: "string",
poolRef: "string",
}],
}],
enable: "string",
matches: [{
clientIps: [{
matchCriteria: "string",
addrs: [{
addr: "string",
type: "string",
}],
groupRefs: ["string"],
prefixes: [{
ipAddrs: [{
addr: "string",
type: "string",
}],
mask: "string",
}],
ranges: [{
begins: [{
addr: "string",
type: "string",
}],
ends: [{
addr: "string",
type: "string",
}],
}],
}],
ports: [{
matchCriteria: "string",
portRanges: [{
end: "string",
start: "string",
}],
ports: [0],
}],
protocols: [{
matchCriteria: "string",
protocol: "string",
}],
}],
}],
}],
l4policysetId: "string",
markers: [{
key: "string",
values: ["string"],
}],
name: "string",
tenantRef: "string",
uuid: "string",
});
type: avi:L4policyset
properties:
configpbAttributes:
- version: string
createdBy: string
description: string
isInternalPolicy: string
l4ConnectionPolicies:
- rules:
- actions:
- selectPools:
- actionType: string
poolGroupRef: string
poolRef: string
enable: string
index: string
matches:
- clientIps:
- addrs:
- addr: string
type: string
groupRefs:
- string
matchCriteria: string
prefixes:
- ipAddrs:
- addr: string
type: string
mask: string
ranges:
- begins:
- addr: string
type: string
ends:
- addr: string
type: string
ports:
- matchCriteria: string
portRanges:
- end: string
start: string
ports:
- 0
protocols:
- matchCriteria: string
protocol: string
name: string
l4policysetId: string
markers:
- key: string
values:
- string
name: string
tenantRef: string
uuid: string
L4policyset Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The L4policyset resource accepts the following input properties:
- Configpb
Attributes List<L4policysetConfigpb Attribute> - Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Created
By string - Creator name. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Description string
- Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Is
Internal stringPolicy - Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- L4Connection
Policies List<L4policysetL4Connection Policy> - Policy to apply when a new transport connection is setup. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- L4policyset
Id string - Markers
List<L4policyset
Marker> - List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Name string
- Name of the l4 policy set. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Tenant
Ref string - It is a reference to an object of type tenant. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Uuid string
- Id of the l4 policy set. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Configpb
Attributes []L4policysetConfigpb Attribute Args - Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Created
By string - Creator name. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Description string
- Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Is
Internal stringPolicy - Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- L4Connection
Policies []L4policysetL4Connection Policy Args - Policy to apply when a new transport connection is setup. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- L4policyset
Id string - Markers
[]L4policyset
Marker Args - List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Name string
- Name of the l4 policy set. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Tenant
Ref string - It is a reference to an object of type tenant. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Uuid string
- Id of the l4 policy set. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- configpb
Attributes List<L4policysetConfigpb Attribute> - Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- created
By String - Creator name. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- description String
- Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- is
Internal StringPolicy - Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- l4Connection
Policies List<L4policysetL4Connection Policy> - Policy to apply when a new transport connection is setup. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- l4policyset
Id String - markers
List<L4policyset
Marker> - List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- name String
- Name of the l4 policy set. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- tenant
Ref String - It is a reference to an object of type tenant. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid String
- Id of the l4 policy set. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- configpb
Attributes L4policysetConfigpb Attribute[] - Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- created
By string - Creator name. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- description string
- Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- is
Internal stringPolicy - Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- l4Connection
Policies L4policysetL4Connection Policy[] - Policy to apply when a new transport connection is setup. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- l4policyset
Id string - markers
L4policyset
Marker[] - List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- name string
- Name of the l4 policy set. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- tenant
Ref string - It is a reference to an object of type tenant. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid string
- Id of the l4 policy set. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- configpb_
attributes Sequence[L4policysetConfigpb Attribute Args] - Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- created_
by str - Creator name. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- description str
- Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- is_
internal_ strpolicy - Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- l4_
connection_ Sequence[L4policysetpolicies L4Connection Policy Args] - Policy to apply when a new transport connection is setup. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- l4policyset_
id str - markers
Sequence[L4policyset
Marker Args] - List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- name str
- Name of the l4 policy set. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- tenant_
ref str - It is a reference to an object of type tenant. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid str
- Id of the l4 policy set. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- configpb
Attributes List<Property Map> - Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- created
By String - Creator name. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- description String
- Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- is
Internal StringPolicy - Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- l4Connection
Policies List<Property Map> - Policy to apply when a new transport connection is setup. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- l4policyset
Id String - markers List<Property Map>
- List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- name String
- Name of the l4 policy set. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- tenant
Ref String - It is a reference to an object of type tenant. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid String
- Id of the l4 policy set. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Outputs
All input properties are implicitly available as output properties. Additionally, the L4policyset 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 Existing L4policyset Resource
Get an existing L4policyset 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?: L4policysetState, opts?: CustomResourceOptions): L4policyset
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
configpb_attributes: Optional[Sequence[L4policysetConfigpbAttributeArgs]] = None,
created_by: Optional[str] = None,
description: Optional[str] = None,
is_internal_policy: Optional[str] = None,
l4_connection_policies: Optional[Sequence[L4policysetL4ConnectionPolicyArgs]] = None,
l4policyset_id: Optional[str] = None,
markers: Optional[Sequence[L4policysetMarkerArgs]] = None,
name: Optional[str] = None,
tenant_ref: Optional[str] = None,
uuid: Optional[str] = None) -> L4policyset
func GetL4policyset(ctx *Context, name string, id IDInput, state *L4policysetState, opts ...ResourceOption) (*L4policyset, error)
public static L4policyset Get(string name, Input<string> id, L4policysetState? state, CustomResourceOptions? opts = null)
public static L4policyset get(String name, Output<String> id, L4policysetState state, CustomResourceOptions options)
resources: _: type: avi:L4policyset get: id: ${id}
- 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.
- Configpb
Attributes List<L4policysetConfigpb Attribute> - Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Created
By string - Creator name. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Description string
- Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Is
Internal stringPolicy - Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- L4Connection
Policies List<L4policysetL4Connection Policy> - Policy to apply when a new transport connection is setup. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- L4policyset
Id string - Markers
List<L4policyset
Marker> - List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Name string
- Name of the l4 policy set. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Tenant
Ref string - It is a reference to an object of type tenant. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Uuid string
- Id of the l4 policy set. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Configpb
Attributes []L4policysetConfigpb Attribute Args - Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Created
By string - Creator name. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Description string
- Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Is
Internal stringPolicy - Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- L4Connection
Policies []L4policysetL4Connection Policy Args - Policy to apply when a new transport connection is setup. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- L4policyset
Id string - Markers
[]L4policyset
Marker Args - List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Name string
- Name of the l4 policy set. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Tenant
Ref string - It is a reference to an object of type tenant. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Uuid string
- Id of the l4 policy set. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- configpb
Attributes List<L4policysetConfigpb Attribute> - Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- created
By String - Creator name. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- description String
- Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- is
Internal StringPolicy - Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- l4Connection
Policies List<L4policysetL4Connection Policy> - Policy to apply when a new transport connection is setup. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- l4policyset
Id String - markers
List<L4policyset
Marker> - List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- name String
- Name of the l4 policy set. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- tenant
Ref String - It is a reference to an object of type tenant. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid String
- Id of the l4 policy set. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- configpb
Attributes L4policysetConfigpb Attribute[] - Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- created
By string - Creator name. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- description string
- Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- is
Internal stringPolicy - Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- l4Connection
Policies L4policysetL4Connection Policy[] - Policy to apply when a new transport connection is setup. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- l4policyset
Id string - markers
L4policyset
Marker[] - List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- name string
- Name of the l4 policy set. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- tenant
Ref string - It is a reference to an object of type tenant. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid string
- Id of the l4 policy set. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- configpb_
attributes Sequence[L4policysetConfigpb Attribute Args] - Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- created_
by str - Creator name. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- description str
- Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- is_
internal_ strpolicy - Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- l4_
connection_ Sequence[L4policysetpolicies L4Connection Policy Args] - Policy to apply when a new transport connection is setup. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- l4policyset_
id str - markers
Sequence[L4policyset
Marker Args] - List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- name str
- Name of the l4 policy set. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- tenant_
ref str - It is a reference to an object of type tenant. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid str
- Id of the l4 policy set. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- configpb
Attributes List<Property Map> - Protobuf versioning for config pbs. Field introduced in 21.1.1. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- created
By String - Creator name. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- description String
- Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- is
Internal StringPolicy - Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- l4Connection
Policies List<Property Map> - Policy to apply when a new transport connection is setup. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- l4policyset
Id String - markers List<Property Map>
- List of labels to be used for granular rbac. Field introduced in 20.1.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- name String
- Name of the l4 policy set. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- tenant
Ref String - It is a reference to an object of type tenant. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid String
- Id of the l4 policy set. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Supporting Types
L4policysetConfigpbAttribute, L4policysetConfigpbAttributeArgs
- Version string
- Version string
- version String
- version string
- version str
- version String
L4policysetL4ConnectionPolicy, L4policysetL4ConnectionPolicyArgs
L4policysetL4ConnectionPolicyRule, L4policysetL4ConnectionPolicyRuleArgs
- Index string
- Name string
- Name of the l4 policy set. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Actions
List<L4policyset
L4Connection Policy Rule Action> - Enable string
- Matches
List<L4policyset
L4Connection Policy Rule Match>
- Index string
- Name string
- Name of the l4 policy set. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Actions
[]L4policyset
L4Connection Policy Rule Action - Enable string
- Matches
[]L4policyset
L4Connection Policy Rule Match
- index String
- name String
- Name of the l4 policy set. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- actions
List<L4policyset
L4Connection Policy Rule Action> - enable String
- matches
List<L4policyset
L4Connection Policy Rule Match>
- index string
- name string
- Name of the l4 policy set. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- actions
L4policyset
L4Connection Policy Rule Action[] - enable string
- matches
L4policyset
L4Connection Policy Rule Match[]
- index str
- name str
- Name of the l4 policy set. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- actions
Sequence[L4policyset
L4Connection Policy Rule Action] - enable str
- matches
Sequence[L4policyset
L4Connection Policy Rule Match]
- index String
- name String
- Name of the l4 policy set. Field introduced in 17.2.7. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- actions List<Property Map>
- enable String
- matches List<Property Map>
L4policysetL4ConnectionPolicyRuleAction, L4policysetL4ConnectionPolicyRuleActionArgs
L4policysetL4ConnectionPolicyRuleActionSelectPool, L4policysetL4ConnectionPolicyRuleActionSelectPoolArgs
- Action
Type string - Pool
Group stringRef - Pool
Ref string
- Action
Type string - Pool
Group stringRef - Pool
Ref string
- action
Type String - pool
Group StringRef - pool
Ref String
- action
Type string - pool
Group stringRef - pool
Ref string
- action_
type str - pool_
group_ strref - pool_
ref str
- action
Type String - pool
Group StringRef - pool
Ref String
L4policysetL4ConnectionPolicyRuleMatch, L4policysetL4ConnectionPolicyRuleMatchArgs
L4policysetL4ConnectionPolicyRuleMatchClientIp, L4policysetL4ConnectionPolicyRuleMatchClientIpArgs
L4policysetL4ConnectionPolicyRuleMatchClientIpAddr, L4policysetL4ConnectionPolicyRuleMatchClientIpAddrArgs
L4policysetL4ConnectionPolicyRuleMatchClientIpPrefix, L4policysetL4ConnectionPolicyRuleMatchClientIpPrefixArgs
- ip
Addrs List<Property Map> - mask String
L4policysetL4ConnectionPolicyRuleMatchClientIpPrefixIpAddr, L4policysetL4ConnectionPolicyRuleMatchClientIpPrefixIpAddrArgs
L4policysetL4ConnectionPolicyRuleMatchClientIpRange, L4policysetL4ConnectionPolicyRuleMatchClientIpRangeArgs
L4policysetL4ConnectionPolicyRuleMatchClientIpRangeBegin, L4policysetL4ConnectionPolicyRuleMatchClientIpRangeBeginArgs
L4policysetL4ConnectionPolicyRuleMatchClientIpRangeEnd, L4policysetL4ConnectionPolicyRuleMatchClientIpRangeEndArgs
L4policysetL4ConnectionPolicyRuleMatchPort, L4policysetL4ConnectionPolicyRuleMatchPortArgs
- match
Criteria String - port
Ranges List<Property Map> - ports List<Number>
L4policysetL4ConnectionPolicyRuleMatchPortPortRange, L4policysetL4ConnectionPolicyRuleMatchPortPortRangeArgs
L4policysetL4ConnectionPolicyRuleMatchProtocol, L4policysetL4ConnectionPolicyRuleMatchProtocolArgs
- Match
Criteria string - Protocol string
- Match
Criteria string - Protocol string
- match
Criteria String - protocol String
- match
Criteria string - protocol string
- match_
criteria str - protocol str
- match
Criteria String - protocol String
L4policysetMarker, L4policysetMarkerArgs
Package Details
- Repository
- avi vmware/terraform-provider-avi
- License
- Notes
- This Pulumi package is based on the
avi
Terraform Provider.