avi.Networkservice
Explore with Pulumi AI
<!–
Copyright 2021 VMware, Inc.
SPDX-License-Identifier: Mozilla Public License 2.0
–>
layout: “avi”
page_title: “Avi: avi.Networkservice” sidebar_current: “docs-avi-resource-networkservice” description: |- Creates and manages Avi NetworkService.
avi.Networkservice
The NetworkService resource allows the creation and management of Avi NetworkService
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as avi from "@pulumi/avi";
const foo = new avi.Networkservice("foo", {tenantRef: "/api/tenant/?name=admin"});
import pulumi
import pulumi_avi as avi
foo = avi.Networkservice("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.NewNetworkservice(ctx, "foo", &avi.NetworkserviceArgs{
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.Networkservice("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.Networkservice;
import com.pulumi.avi.NetworkserviceArgs;
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 Networkservice("foo", NetworkserviceArgs.builder()
.tenantRef("/api/tenant/?name=admin")
.build());
}
}
resources:
foo:
type: avi:Networkservice
properties:
tenantRef: /api/tenant/?name=admin
Create Networkservice Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Networkservice(name: string, args: NetworkserviceArgs, opts?: CustomResourceOptions);
@overload
def Networkservice(resource_name: str,
args: NetworkserviceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Networkservice(resource_name: str,
opts: Optional[ResourceOptions] = None,
se_group_ref: Optional[str] = None,
service_type: Optional[str] = None,
vrf_ref: Optional[str] = None,
cloud_ref: Optional[str] = None,
configpb_attributes: Optional[Sequence[NetworkserviceConfigpbAttributeArgs]] = None,
markers: Optional[Sequence[NetworkserviceMarkerArgs]] = None,
name: Optional[str] = None,
networkservice_id: Optional[str] = None,
routing_services: Optional[Sequence[NetworkserviceRoutingServiceArgs]] = None,
tenant_ref: Optional[str] = None,
uuid: Optional[str] = None)
func NewNetworkservice(ctx *Context, name string, args NetworkserviceArgs, opts ...ResourceOption) (*Networkservice, error)
public Networkservice(string name, NetworkserviceArgs args, CustomResourceOptions? opts = null)
public Networkservice(String name, NetworkserviceArgs args)
public Networkservice(String name, NetworkserviceArgs args, CustomResourceOptions options)
type: avi:Networkservice
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 NetworkserviceArgs
- 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 NetworkserviceArgs
- 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 NetworkserviceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NetworkserviceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args NetworkserviceArgs
- 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 networkserviceResource = new Avi.Networkservice("networkserviceResource", new()
{
SeGroupRef = "string",
ServiceType = "string",
VrfRef = "string",
CloudRef = "string",
ConfigpbAttributes = new[]
{
new Avi.Inputs.NetworkserviceConfigpbAttributeArgs
{
Version = "string",
},
},
Markers = new[]
{
new Avi.Inputs.NetworkserviceMarkerArgs
{
Key = "string",
Values = new[]
{
"string",
},
},
},
Name = "string",
NetworkserviceId = "string",
RoutingServices = new[]
{
new Avi.Inputs.NetworkserviceRoutingServiceArgs
{
AdvertiseBackendNetworks = "string",
EnableAutoGateway = "string",
EnableRouting = "string",
EnableVipOnAllInterfaces = "string",
EnableVmac = "string",
FloatingIntfIp6Addresses = new[]
{
new Avi.Inputs.NetworkserviceRoutingServiceFloatingIntfIp6AddressArgs
{
Addr = "string",
Type = "string",
},
},
FloatingIntfIp6Se2Addresses = new[]
{
new Avi.Inputs.NetworkserviceRoutingServiceFloatingIntfIp6Se2AddressArgs
{
Addr = "string",
Type = "string",
},
},
FloatingIntfIpSe2s = new[]
{
new Avi.Inputs.NetworkserviceRoutingServiceFloatingIntfIpSe2Args
{
Addr = "string",
Type = "string",
},
},
FloatingIntfIps = new[]
{
new Avi.Inputs.NetworkserviceRoutingServiceFloatingIntfIpArgs
{
Addr = "string",
Type = "string",
},
},
FlowtableProfiles = new[]
{
new Avi.Inputs.NetworkserviceRoutingServiceFlowtableProfileArgs
{
IcmpIdleTimeout = "string",
TcpClosedTimeout = "string",
TcpConnectionSetupTimeout = "string",
TcpHalfClosedTimeout = "string",
TcpIdleTimeout = "string",
TcpResetTimeout = "string",
UdpIdleTimeout = "string",
},
},
GracefulRestart = "string",
NatPolicyRef = "string",
RoutingByLinuxIpstack = "string",
},
},
TenantRef = "string",
Uuid = "string",
});
example, err := avi.NewNetworkservice(ctx, "networkserviceResource", &avi.NetworkserviceArgs{
SeGroupRef: pulumi.String("string"),
ServiceType: pulumi.String("string"),
VrfRef: pulumi.String("string"),
CloudRef: pulumi.String("string"),
ConfigpbAttributes: avi.NetworkserviceConfigpbAttributeArray{
&avi.NetworkserviceConfigpbAttributeArgs{
Version: pulumi.String("string"),
},
},
Markers: avi.NetworkserviceMarkerArray{
&avi.NetworkserviceMarkerArgs{
Key: pulumi.String("string"),
Values: pulumi.StringArray{
pulumi.String("string"),
},
},
},
Name: pulumi.String("string"),
NetworkserviceId: pulumi.String("string"),
RoutingServices: avi.NetworkserviceRoutingServiceArray{
&avi.NetworkserviceRoutingServiceArgs{
AdvertiseBackendNetworks: pulumi.String("string"),
EnableAutoGateway: pulumi.String("string"),
EnableRouting: pulumi.String("string"),
EnableVipOnAllInterfaces: pulumi.String("string"),
EnableVmac: pulumi.String("string"),
FloatingIntfIp6Addresses: avi.NetworkserviceRoutingServiceFloatingIntfIp6AddressArray{
&avi.NetworkserviceRoutingServiceFloatingIntfIp6AddressArgs{
Addr: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
FloatingIntfIp6Se2Addresses: avi.NetworkserviceRoutingServiceFloatingIntfIp6Se2AddressArray{
&avi.NetworkserviceRoutingServiceFloatingIntfIp6Se2AddressArgs{
Addr: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
FloatingIntfIpSe2s: avi.NetworkserviceRoutingServiceFloatingIntfIpSe2Array{
&avi.NetworkserviceRoutingServiceFloatingIntfIpSe2Args{
Addr: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
FloatingIntfIps: avi.NetworkserviceRoutingServiceFloatingIntfIpArray{
&avi.NetworkserviceRoutingServiceFloatingIntfIpArgs{
Addr: pulumi.String("string"),
Type: pulumi.String("string"),
},
},
FlowtableProfiles: avi.NetworkserviceRoutingServiceFlowtableProfileArray{
&avi.NetworkserviceRoutingServiceFlowtableProfileArgs{
IcmpIdleTimeout: pulumi.String("string"),
TcpClosedTimeout: pulumi.String("string"),
TcpConnectionSetupTimeout: pulumi.String("string"),
TcpHalfClosedTimeout: pulumi.String("string"),
TcpIdleTimeout: pulumi.String("string"),
TcpResetTimeout: pulumi.String("string"),
UdpIdleTimeout: pulumi.String("string"),
},
},
GracefulRestart: pulumi.String("string"),
NatPolicyRef: pulumi.String("string"),
RoutingByLinuxIpstack: pulumi.String("string"),
},
},
TenantRef: pulumi.String("string"),
Uuid: pulumi.String("string"),
})
var networkserviceResource = new Networkservice("networkserviceResource", NetworkserviceArgs.builder()
.seGroupRef("string")
.serviceType("string")
.vrfRef("string")
.cloudRef("string")
.configpbAttributes(NetworkserviceConfigpbAttributeArgs.builder()
.version("string")
.build())
.markers(NetworkserviceMarkerArgs.builder()
.key("string")
.values("string")
.build())
.name("string")
.networkserviceId("string")
.routingServices(NetworkserviceRoutingServiceArgs.builder()
.advertiseBackendNetworks("string")
.enableAutoGateway("string")
.enableRouting("string")
.enableVipOnAllInterfaces("string")
.enableVmac("string")
.floatingIntfIp6Addresses(NetworkserviceRoutingServiceFloatingIntfIp6AddressArgs.builder()
.addr("string")
.type("string")
.build())
.floatingIntfIp6Se2Addresses(NetworkserviceRoutingServiceFloatingIntfIp6Se2AddressArgs.builder()
.addr("string")
.type("string")
.build())
.floatingIntfIpSe2s(NetworkserviceRoutingServiceFloatingIntfIpSe2Args.builder()
.addr("string")
.type("string")
.build())
.floatingIntfIps(NetworkserviceRoutingServiceFloatingIntfIpArgs.builder()
.addr("string")
.type("string")
.build())
.flowtableProfiles(NetworkserviceRoutingServiceFlowtableProfileArgs.builder()
.icmpIdleTimeout("string")
.tcpClosedTimeout("string")
.tcpConnectionSetupTimeout("string")
.tcpHalfClosedTimeout("string")
.tcpIdleTimeout("string")
.tcpResetTimeout("string")
.udpIdleTimeout("string")
.build())
.gracefulRestart("string")
.natPolicyRef("string")
.routingByLinuxIpstack("string")
.build())
.tenantRef("string")
.uuid("string")
.build());
networkservice_resource = avi.Networkservice("networkserviceResource",
se_group_ref="string",
service_type="string",
vrf_ref="string",
cloud_ref="string",
configpb_attributes=[{
"version": "string",
}],
markers=[{
"key": "string",
"values": ["string"],
}],
name="string",
networkservice_id="string",
routing_services=[{
"advertise_backend_networks": "string",
"enable_auto_gateway": "string",
"enable_routing": "string",
"enable_vip_on_all_interfaces": "string",
"enable_vmac": "string",
"floating_intf_ip6_addresses": [{
"addr": "string",
"type": "string",
}],
"floating_intf_ip6_se2_addresses": [{
"addr": "string",
"type": "string",
}],
"floating_intf_ip_se2s": [{
"addr": "string",
"type": "string",
}],
"floating_intf_ips": [{
"addr": "string",
"type": "string",
}],
"flowtable_profiles": [{
"icmp_idle_timeout": "string",
"tcp_closed_timeout": "string",
"tcp_connection_setup_timeout": "string",
"tcp_half_closed_timeout": "string",
"tcp_idle_timeout": "string",
"tcp_reset_timeout": "string",
"udp_idle_timeout": "string",
}],
"graceful_restart": "string",
"nat_policy_ref": "string",
"routing_by_linux_ipstack": "string",
}],
tenant_ref="string",
uuid="string")
const networkserviceResource = new avi.Networkservice("networkserviceResource", {
seGroupRef: "string",
serviceType: "string",
vrfRef: "string",
cloudRef: "string",
configpbAttributes: [{
version: "string",
}],
markers: [{
key: "string",
values: ["string"],
}],
name: "string",
networkserviceId: "string",
routingServices: [{
advertiseBackendNetworks: "string",
enableAutoGateway: "string",
enableRouting: "string",
enableVipOnAllInterfaces: "string",
enableVmac: "string",
floatingIntfIp6Addresses: [{
addr: "string",
type: "string",
}],
floatingIntfIp6Se2Addresses: [{
addr: "string",
type: "string",
}],
floatingIntfIpSe2s: [{
addr: "string",
type: "string",
}],
floatingIntfIps: [{
addr: "string",
type: "string",
}],
flowtableProfiles: [{
icmpIdleTimeout: "string",
tcpClosedTimeout: "string",
tcpConnectionSetupTimeout: "string",
tcpHalfClosedTimeout: "string",
tcpIdleTimeout: "string",
tcpResetTimeout: "string",
udpIdleTimeout: "string",
}],
gracefulRestart: "string",
natPolicyRef: "string",
routingByLinuxIpstack: "string",
}],
tenantRef: "string",
uuid: "string",
});
type: avi:Networkservice
properties:
cloudRef: string
configpbAttributes:
- version: string
markers:
- key: string
values:
- string
name: string
networkserviceId: string
routingServices:
- advertiseBackendNetworks: string
enableAutoGateway: string
enableRouting: string
enableVipOnAllInterfaces: string
enableVmac: string
floatingIntfIp6Addresses:
- addr: string
type: string
floatingIntfIp6Se2Addresses:
- addr: string
type: string
floatingIntfIpSe2s:
- addr: string
type: string
floatingIntfIps:
- addr: string
type: string
flowtableProfiles:
- icmpIdleTimeout: string
tcpClosedTimeout: string
tcpConnectionSetupTimeout: string
tcpHalfClosedTimeout: string
tcpIdleTimeout: string
tcpResetTimeout: string
udpIdleTimeout: string
gracefulRestart: string
natPolicyRef: string
routingByLinuxIpstack: string
seGroupRef: string
serviceType: string
tenantRef: string
uuid: string
vrfRef: string
Networkservice 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 Networkservice resource accepts the following input properties:
- Se
Group stringRef - Service engine group to which the service is applied. It is a reference to an object of type serviceenginegroup. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Service
Type string - Indicates the type of networkservice. Enum options - ROUTING_SERVICE. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Vrf
Ref string - Vrf context to which the service is scoped. It is a reference to an object of type vrfcontext. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Cloud
Ref string - It is a reference to an object of type cloud. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Configpb
Attributes List<NetworkserviceConfigpb 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.
- Markers
List<Networkservice
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 networkservice. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Networkservice
Id string - Routing
Services List<NetworkserviceRouting Service> - Routing information of the networkservice. Field introduced in 18.2.5. 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 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Uuid string
- Uuid of the networkservice. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Se
Group stringRef - Service engine group to which the service is applied. It is a reference to an object of type serviceenginegroup. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Service
Type string - Indicates the type of networkservice. Enum options - ROUTING_SERVICE. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Vrf
Ref string - Vrf context to which the service is scoped. It is a reference to an object of type vrfcontext. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Cloud
Ref string - It is a reference to an object of type cloud. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Configpb
Attributes []NetworkserviceConfigpb 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.
- Markers
[]Networkservice
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 networkservice. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Networkservice
Id string - Routing
Services []NetworkserviceRouting Service Args - Routing information of the networkservice. Field introduced in 18.2.5. 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 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Uuid string
- Uuid of the networkservice. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- se
Group StringRef - Service engine group to which the service is applied. It is a reference to an object of type serviceenginegroup. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- service
Type String - Indicates the type of networkservice. Enum options - ROUTING_SERVICE. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- vrf
Ref String - Vrf context to which the service is scoped. It is a reference to an object of type vrfcontext. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- cloud
Ref String - It is a reference to an object of type cloud. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- configpb
Attributes List<NetworkserviceConfigpb 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.
- markers
List<Networkservice
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 networkservice. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- networkservice
Id String - routing
Services List<NetworkserviceRouting Service> - Routing information of the networkservice. Field introduced in 18.2.5. 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 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid String
- Uuid of the networkservice. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- se
Group stringRef - Service engine group to which the service is applied. It is a reference to an object of type serviceenginegroup. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- service
Type string - Indicates the type of networkservice. Enum options - ROUTING_SERVICE. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- vrf
Ref string - Vrf context to which the service is scoped. It is a reference to an object of type vrfcontext. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- cloud
Ref string - It is a reference to an object of type cloud. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- configpb
Attributes NetworkserviceConfigpb 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.
- markers
Networkservice
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 networkservice. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- networkservice
Id string - routing
Services NetworkserviceRouting Service[] - Routing information of the networkservice. Field introduced in 18.2.5. 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 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid string
- Uuid of the networkservice. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- se_
group_ strref - Service engine group to which the service is applied. It is a reference to an object of type serviceenginegroup. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- service_
type str - Indicates the type of networkservice. Enum options - ROUTING_SERVICE. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- vrf_
ref str - Vrf context to which the service is scoped. It is a reference to an object of type vrfcontext. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- cloud_
ref str - It is a reference to an object of type cloud. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- configpb_
attributes Sequence[NetworkserviceConfigpb 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.
- markers
Sequence[Networkservice
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 networkservice. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- networkservice_
id str - routing_
services Sequence[NetworkserviceRouting Service Args] - Routing information of the networkservice. Field introduced in 18.2.5. 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 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid str
- Uuid of the networkservice. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- se
Group StringRef - Service engine group to which the service is applied. It is a reference to an object of type serviceenginegroup. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- service
Type String - Indicates the type of networkservice. Enum options - ROUTING_SERVICE. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- vrf
Ref String - Vrf context to which the service is scoped. It is a reference to an object of type vrfcontext. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- cloud
Ref String - It is a reference to an object of type cloud. Field introduced in 18.2.5. 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.
- 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 networkservice. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- networkservice
Id String - routing
Services List<Property Map> - Routing information of the networkservice. Field introduced in 18.2.5. 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 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid String
- Uuid of the networkservice. Field introduced in 18.2.5. 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 Networkservice 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 Networkservice Resource
Get an existing Networkservice 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?: NetworkserviceState, opts?: CustomResourceOptions): Networkservice
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cloud_ref: Optional[str] = None,
configpb_attributes: Optional[Sequence[NetworkserviceConfigpbAttributeArgs]] = None,
markers: Optional[Sequence[NetworkserviceMarkerArgs]] = None,
name: Optional[str] = None,
networkservice_id: Optional[str] = None,
routing_services: Optional[Sequence[NetworkserviceRoutingServiceArgs]] = None,
se_group_ref: Optional[str] = None,
service_type: Optional[str] = None,
tenant_ref: Optional[str] = None,
uuid: Optional[str] = None,
vrf_ref: Optional[str] = None) -> Networkservice
func GetNetworkservice(ctx *Context, name string, id IDInput, state *NetworkserviceState, opts ...ResourceOption) (*Networkservice, error)
public static Networkservice Get(string name, Input<string> id, NetworkserviceState? state, CustomResourceOptions? opts = null)
public static Networkservice get(String name, Output<String> id, NetworkserviceState state, CustomResourceOptions options)
resources: _: type: avi:Networkservice 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.
- Cloud
Ref string - It is a reference to an object of type cloud. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Configpb
Attributes List<NetworkserviceConfigpb 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.
- Markers
List<Networkservice
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 networkservice. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Networkservice
Id string - Routing
Services List<NetworkserviceRouting Service> - Routing information of the networkservice. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Se
Group stringRef - Service engine group to which the service is applied. It is a reference to an object of type serviceenginegroup. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Service
Type string - Indicates the type of networkservice. Enum options - ROUTING_SERVICE. Field introduced in 18.2.5. 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 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Uuid string
- Uuid of the networkservice. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Vrf
Ref string - Vrf context to which the service is scoped. It is a reference to an object of type vrfcontext. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Cloud
Ref string - It is a reference to an object of type cloud. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Configpb
Attributes []NetworkserviceConfigpb 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.
- Markers
[]Networkservice
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 networkservice. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Networkservice
Id string - Routing
Services []NetworkserviceRouting Service Args - Routing information of the networkservice. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Se
Group stringRef - Service engine group to which the service is applied. It is a reference to an object of type serviceenginegroup. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Service
Type string - Indicates the type of networkservice. Enum options - ROUTING_SERVICE. Field introduced in 18.2.5. 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 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Uuid string
- Uuid of the networkservice. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Vrf
Ref string - Vrf context to which the service is scoped. It is a reference to an object of type vrfcontext. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- cloud
Ref String - It is a reference to an object of type cloud. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- configpb
Attributes List<NetworkserviceConfigpb 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.
- markers
List<Networkservice
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 networkservice. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- networkservice
Id String - routing
Services List<NetworkserviceRouting Service> - Routing information of the networkservice. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- se
Group StringRef - Service engine group to which the service is applied. It is a reference to an object of type serviceenginegroup. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- service
Type String - Indicates the type of networkservice. Enum options - ROUTING_SERVICE. Field introduced in 18.2.5. 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 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid String
- Uuid of the networkservice. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- vrf
Ref String - Vrf context to which the service is scoped. It is a reference to an object of type vrfcontext. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- cloud
Ref string - It is a reference to an object of type cloud. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- configpb
Attributes NetworkserviceConfigpb 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.
- markers
Networkservice
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 networkservice. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- networkservice
Id string - routing
Services NetworkserviceRouting Service[] - Routing information of the networkservice. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- se
Group stringRef - Service engine group to which the service is applied. It is a reference to an object of type serviceenginegroup. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- service
Type string - Indicates the type of networkservice. Enum options - ROUTING_SERVICE. Field introduced in 18.2.5. 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 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid string
- Uuid of the networkservice. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- vrf
Ref string - Vrf context to which the service is scoped. It is a reference to an object of type vrfcontext. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- cloud_
ref str - It is a reference to an object of type cloud. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- configpb_
attributes Sequence[NetworkserviceConfigpb 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.
- markers
Sequence[Networkservice
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 networkservice. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- networkservice_
id str - routing_
services Sequence[NetworkserviceRouting Service Args] - Routing information of the networkservice. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- se_
group_ strref - Service engine group to which the service is applied. It is a reference to an object of type serviceenginegroup. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- service_
type str - Indicates the type of networkservice. Enum options - ROUTING_SERVICE. Field introduced in 18.2.5. 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 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid str
- Uuid of the networkservice. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- vrf_
ref str - Vrf context to which the service is scoped. It is a reference to an object of type vrfcontext. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- cloud
Ref String - It is a reference to an object of type cloud. Field introduced in 18.2.5. 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.
- 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 networkservice. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- networkservice
Id String - routing
Services List<Property Map> - Routing information of the networkservice. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- se
Group StringRef - Service engine group to which the service is applied. It is a reference to an object of type serviceenginegroup. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- service
Type String - Indicates the type of networkservice. Enum options - ROUTING_SERVICE. Field introduced in 18.2.5. 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 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid String
- Uuid of the networkservice. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- vrf
Ref String - Vrf context to which the service is scoped. It is a reference to an object of type vrfcontext. Field introduced in 18.2.5. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Supporting Types
NetworkserviceConfigpbAttribute, NetworkserviceConfigpbAttributeArgs
- Version string
- Version string
- version String
- version string
- version str
- version String
NetworkserviceMarker, NetworkserviceMarkerArgs
NetworkserviceRoutingService, NetworkserviceRoutingServiceArgs
- Advertise
Backend stringNetworks - Enable
Auto stringGateway - Enable
Routing string - Enable
Vip stringOn All Interfaces - Enable
Vmac string - Floating
Intf List<NetworkserviceIp6Addresses Routing Service Floating Intf Ip6Address> - Floating
Intf List<NetworkserviceIp6Se2Addresses Routing Service Floating Intf Ip6Se2Address> - Floating
Intf List<NetworkserviceIp Se2s Routing Service Floating Intf Ip Se2> - Floating
Intf List<NetworkserviceIps Routing Service Floating Intf Ip> - Flowtable
Profiles List<NetworkserviceRouting Service Flowtable Profile> - Graceful
Restart string - Nat
Policy stringRef - Routing
By stringLinux Ipstack
- Advertise
Backend stringNetworks - Enable
Auto stringGateway - Enable
Routing string - Enable
Vip stringOn All Interfaces - Enable
Vmac string - Floating
Intf []NetworkserviceIp6Addresses Routing Service Floating Intf Ip6Address - Floating
Intf []NetworkserviceIp6Se2Addresses Routing Service Floating Intf Ip6Se2Address - Floating
Intf []NetworkserviceIp Se2s Routing Service Floating Intf Ip Se2 - Floating
Intf []NetworkserviceIps Routing Service Floating Intf Ip - Flowtable
Profiles []NetworkserviceRouting Service Flowtable Profile - Graceful
Restart string - Nat
Policy stringRef - Routing
By stringLinux Ipstack
- advertise
Backend StringNetworks - enable
Auto StringGateway - enable
Routing String - enable
Vip StringOn All Interfaces - enable
Vmac String - floating
Intf List<NetworkserviceIp6Addresses Routing Service Floating Intf Ip6Address> - floating
Intf List<NetworkserviceIp6Se2Addresses Routing Service Floating Intf Ip6Se2Address> - floating
Intf List<NetworkserviceIp Se2s Routing Service Floating Intf Ip Se2> - floating
Intf List<NetworkserviceIps Routing Service Floating Intf Ip> - flowtable
Profiles List<NetworkserviceRouting Service Flowtable Profile> - graceful
Restart String - nat
Policy StringRef - routing
By StringLinux Ipstack
- advertise
Backend stringNetworks - enable
Auto stringGateway - enable
Routing string - enable
Vip stringOn All Interfaces - enable
Vmac string - floating
Intf NetworkserviceIp6Addresses Routing Service Floating Intf Ip6Address[] - floating
Intf NetworkserviceIp6Se2Addresses Routing Service Floating Intf Ip6Se2Address[] - floating
Intf NetworkserviceIp Se2s Routing Service Floating Intf Ip Se2[] - floating
Intf NetworkserviceIps Routing Service Floating Intf Ip[] - flowtable
Profiles NetworkserviceRouting Service Flowtable Profile[] - graceful
Restart string - nat
Policy stringRef - routing
By stringLinux Ipstack
- advertise_
backend_ strnetworks - enable_
auto_ strgateway - enable_
routing str - enable_
vip_ stron_ all_ interfaces - enable_
vmac str - floating_
intf_ Sequence[Networkserviceip6_ addresses Routing Service Floating Intf Ip6Address] - floating_
intf_ Sequence[Networkserviceip6_ se2_ addresses Routing Service Floating Intf Ip6Se2Address] - floating_
intf_ Sequence[Networkserviceip_ se2s Routing Service Floating Intf Ip Se2] - floating_
intf_ Sequence[Networkserviceips Routing Service Floating Intf Ip] - flowtable_
profiles Sequence[NetworkserviceRouting Service Flowtable Profile] - graceful_
restart str - nat_
policy_ strref - routing_
by_ strlinux_ ipstack
- advertise
Backend StringNetworks - enable
Auto StringGateway - enable
Routing String - enable
Vip StringOn All Interfaces - enable
Vmac String - floating
Intf List<Property Map>Ip6Addresses - floating
Intf List<Property Map>Ip6Se2Addresses - floating
Intf List<Property Map>Ip Se2s - floating
Intf List<Property Map>Ips - flowtable
Profiles List<Property Map> - graceful
Restart String - nat
Policy StringRef - routing
By StringLinux Ipstack
NetworkserviceRoutingServiceFloatingIntfIp, NetworkserviceRoutingServiceFloatingIntfIpArgs
NetworkserviceRoutingServiceFloatingIntfIp6Address, NetworkserviceRoutingServiceFloatingIntfIp6AddressArgs
NetworkserviceRoutingServiceFloatingIntfIp6Se2Address, NetworkserviceRoutingServiceFloatingIntfIp6Se2AddressArgs
NetworkserviceRoutingServiceFloatingIntfIpSe2, NetworkserviceRoutingServiceFloatingIntfIpSe2Args
NetworkserviceRoutingServiceFlowtableProfile, NetworkserviceRoutingServiceFlowtableProfileArgs
- Icmp
Idle stringTimeout - Tcp
Closed stringTimeout - Tcp
Connection stringSetup Timeout - Tcp
Half stringClosed Timeout - Tcp
Idle stringTimeout - Tcp
Reset stringTimeout - Udp
Idle stringTimeout
- Icmp
Idle stringTimeout - Tcp
Closed stringTimeout - Tcp
Connection stringSetup Timeout - Tcp
Half stringClosed Timeout - Tcp
Idle stringTimeout - Tcp
Reset stringTimeout - Udp
Idle stringTimeout
- icmp
Idle StringTimeout - tcp
Closed StringTimeout - tcp
Connection StringSetup Timeout - tcp
Half StringClosed Timeout - tcp
Idle StringTimeout - tcp
Reset StringTimeout - udp
Idle StringTimeout
- icmp
Idle stringTimeout - tcp
Closed stringTimeout - tcp
Connection stringSetup Timeout - tcp
Half stringClosed Timeout - tcp
Idle stringTimeout - tcp
Reset stringTimeout - udp
Idle stringTimeout
- icmp
Idle StringTimeout - tcp
Closed StringTimeout - tcp
Connection StringSetup Timeout - tcp
Half StringClosed Timeout - tcp
Idle StringTimeout - tcp
Reset StringTimeout - udp
Idle StringTimeout
Package Details
- Repository
- avi vmware/terraform-provider-avi
- License
- Notes
- This Pulumi package is based on the
avi
Terraform Provider.