cpln.Gvc
Explore with Pulumi AI
Create Gvc Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Gvc(name: string, args?: GvcArgs, opts?: CustomResourceOptions);
@overload
def Gvc(resource_name: str,
args: Optional[GvcArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Gvc(resource_name: str,
opts: Optional[ResourceOptions] = None,
controlplane_tracing: Optional[GvcControlplaneTracingArgs] = None,
description: Optional[str] = None,
domain: Optional[str] = None,
env: Optional[Mapping[str, str]] = None,
lightstep_tracing: Optional[GvcLightstepTracingArgs] = None,
load_balancer: Optional[GvcLoadBalancerArgs] = None,
locations: Optional[Sequence[str]] = None,
name: Optional[str] = None,
otel_tracing: Optional[GvcOtelTracingArgs] = None,
pull_secrets: Optional[Sequence[str]] = None,
sidecar: Optional[GvcSidecarArgs] = None,
tags: Optional[Mapping[str, str]] = None)
func NewGvc(ctx *Context, name string, args *GvcArgs, opts ...ResourceOption) (*Gvc, error)
public Gvc(string name, GvcArgs? args = null, CustomResourceOptions? opts = null)
type: cpln:Gvc
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 GvcArgs
- 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 GvcArgs
- 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 GvcArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GvcArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GvcArgs
- 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 gvcResource = new Cpln.Gvc("gvcResource", new()
{
ControlplaneTracing = new Cpln.Inputs.GvcControlplaneTracingArgs
{
Sampling = 0,
CustomTags =
{
{ "string", "string" },
},
},
Description = "string",
Env =
{
{ "string", "string" },
},
LightstepTracing = new Cpln.Inputs.GvcLightstepTracingArgs
{
Endpoint = "string",
Sampling = 0,
Credentials = "string",
CustomTags =
{
{ "string", "string" },
},
},
LoadBalancer = new Cpln.Inputs.GvcLoadBalancerArgs
{
Dedicated = false,
Redirect = new Cpln.Inputs.GvcLoadBalancerRedirectArgs
{
_sentinel = false,
Class = new Cpln.Inputs.GvcLoadBalancerRedirectClassArgs
{
_sentinel = false,
Status5xx = "string",
},
},
TrustedProxies = 0,
},
Locations = new[]
{
"string",
},
Name = "string",
OtelTracing = new Cpln.Inputs.GvcOtelTracingArgs
{
Endpoint = "string",
Sampling = 0,
CustomTags =
{
{ "string", "string" },
},
},
PullSecrets = new[]
{
"string",
},
Sidecar = new Cpln.Inputs.GvcSidecarArgs
{
Envoy = "string",
},
Tags =
{
{ "string", "string" },
},
});
example, err := cpln.NewGvc(ctx, "gvcResource", &cpln.GvcArgs{
ControlplaneTracing: &cpln.GvcControlplaneTracingArgs{
Sampling: pulumi.Float64(0),
CustomTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
Description: pulumi.String("string"),
Env: pulumi.StringMap{
"string": pulumi.String("string"),
},
LightstepTracing: &cpln.GvcLightstepTracingArgs{
Endpoint: pulumi.String("string"),
Sampling: pulumi.Float64(0),
Credentials: pulumi.String("string"),
CustomTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
LoadBalancer: &cpln.GvcLoadBalancerArgs{
Dedicated: pulumi.Bool(false),
Redirect: &cpln.GvcLoadBalancerRedirectArgs{
_sentinel: pulumi.Bool(false),
Class: &cpln.GvcLoadBalancerRedirectClassArgs{
_sentinel: pulumi.Bool(false),
Status5xx: pulumi.String("string"),
},
},
TrustedProxies: pulumi.Int(0),
},
Locations: pulumi.StringArray{
pulumi.String("string"),
},
Name: pulumi.String("string"),
OtelTracing: &cpln.GvcOtelTracingArgs{
Endpoint: pulumi.String("string"),
Sampling: pulumi.Float64(0),
CustomTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
PullSecrets: pulumi.StringArray{
pulumi.String("string"),
},
Sidecar: &cpln.GvcSidecarArgs{
Envoy: pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var gvcResource = new Gvc("gvcResource", GvcArgs.builder()
.controlplaneTracing(GvcControlplaneTracingArgs.builder()
.sampling(0)
.customTags(Map.of("string", "string"))
.build())
.description("string")
.env(Map.of("string", "string"))
.lightstepTracing(GvcLightstepTracingArgs.builder()
.endpoint("string")
.sampling(0)
.credentials("string")
.customTags(Map.of("string", "string"))
.build())
.loadBalancer(GvcLoadBalancerArgs.builder()
.dedicated(false)
.redirect(GvcLoadBalancerRedirectArgs.builder()
._sentinel(false)
.class_(GvcLoadBalancerRedirectClassArgs.builder()
._sentinel(false)
.status5xx("string")
.build())
.build())
.trustedProxies(0)
.build())
.locations("string")
.name("string")
.otelTracing(GvcOtelTracingArgs.builder()
.endpoint("string")
.sampling(0)
.customTags(Map.of("string", "string"))
.build())
.pullSecrets("string")
.sidecar(GvcSidecarArgs.builder()
.envoy("string")
.build())
.tags(Map.of("string", "string"))
.build());
gvc_resource = cpln.Gvc("gvcResource",
controlplane_tracing={
"sampling": 0,
"custom_tags": {
"string": "string",
},
},
description="string",
env={
"string": "string",
},
lightstep_tracing={
"endpoint": "string",
"sampling": 0,
"credentials": "string",
"custom_tags": {
"string": "string",
},
},
load_balancer={
"dedicated": False,
"redirect": {
"_sentinel": False,
"class_": {
"_sentinel": False,
"status5xx": "string",
},
},
"trusted_proxies": 0,
},
locations=["string"],
name="string",
otel_tracing={
"endpoint": "string",
"sampling": 0,
"custom_tags": {
"string": "string",
},
},
pull_secrets=["string"],
sidecar={
"envoy": "string",
},
tags={
"string": "string",
})
const gvcResource = new cpln.Gvc("gvcResource", {
controlplaneTracing: {
sampling: 0,
customTags: {
string: "string",
},
},
description: "string",
env: {
string: "string",
},
lightstepTracing: {
endpoint: "string",
sampling: 0,
credentials: "string",
customTags: {
string: "string",
},
},
loadBalancer: {
dedicated: false,
redirect: {
_sentinel: false,
"class": {
_sentinel: false,
status5xx: "string",
},
},
trustedProxies: 0,
},
locations: ["string"],
name: "string",
otelTracing: {
endpoint: "string",
sampling: 0,
customTags: {
string: "string",
},
},
pullSecrets: ["string"],
sidecar: {
envoy: "string",
},
tags: {
string: "string",
},
});
type: cpln:Gvc
properties:
controlplaneTracing:
customTags:
string: string
sampling: 0
description: string
env:
string: string
lightstepTracing:
credentials: string
customTags:
string: string
endpoint: string
sampling: 0
loadBalancer:
dedicated: false
redirect:
_sentinel: false
class:
_sentinel: false
status5xx: string
trustedProxies: 0
locations:
- string
name: string
otelTracing:
customTags:
string: string
endpoint: string
sampling: 0
pullSecrets:
- string
sidecar:
envoy: string
tags:
string: string
Gvc 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 Gvc resource accepts the following input properties:
- Controlplane
Tracing Pulumiverse.Cpln. Inputs. Gvc Controlplane Tracing - Description string
- Description of the GVC.
- Domain string
- Custom domain name used by associated workloads.
- Env Dictionary<string, string>
- Key-value array of resource env variables.
- Lightstep
Tracing Pulumiverse.Cpln. Inputs. Gvc Lightstep Tracing - Load
Balancer Pulumiverse.Cpln. Inputs. Gvc Load Balancer - Dedicated load balancer configuration.
- Locations List<string>
- A list of locations making up the Global Virtual Cloud.
- Name string
- Name of the GVC.
- Otel
Tracing Pulumiverse.Cpln. Inputs. Gvc Otel Tracing - Pull
Secrets List<string> - A list of pull secret names used to authenticate to any private image repository referenced by Workloads within the GVC.
- Sidecar
Pulumiverse.
Cpln. Inputs. Gvc Sidecar - Dictionary<string, string>
- Key-value map of resource tags.
- Controlplane
Tracing GvcControlplane Tracing Args - Description string
- Description of the GVC.
- Domain string
- Custom domain name used by associated workloads.
- Env map[string]string
- Key-value array of resource env variables.
- Lightstep
Tracing GvcLightstep Tracing Args - Load
Balancer GvcLoad Balancer Args - Dedicated load balancer configuration.
- Locations []string
- A list of locations making up the Global Virtual Cloud.
- Name string
- Name of the GVC.
- Otel
Tracing GvcOtel Tracing Args - Pull
Secrets []string - A list of pull secret names used to authenticate to any private image repository referenced by Workloads within the GVC.
- Sidecar
Gvc
Sidecar Args - map[string]string
- Key-value map of resource tags.
- controlplane
Tracing GvcControlplane Tracing - description String
- Description of the GVC.
- domain String
- Custom domain name used by associated workloads.
- env Map<String,String>
- Key-value array of resource env variables.
- lightstep
Tracing GvcLightstep Tracing - load
Balancer GvcLoad Balancer - Dedicated load balancer configuration.
- locations List<String>
- A list of locations making up the Global Virtual Cloud.
- name String
- Name of the GVC.
- otel
Tracing GvcOtel Tracing - pull
Secrets List<String> - A list of pull secret names used to authenticate to any private image repository referenced by Workloads within the GVC.
- sidecar
Gvc
Sidecar - Map<String,String>
- Key-value map of resource tags.
- controlplane
Tracing GvcControlplane Tracing - description string
- Description of the GVC.
- domain string
- Custom domain name used by associated workloads.
- env {[key: string]: string}
- Key-value array of resource env variables.
- lightstep
Tracing GvcLightstep Tracing - load
Balancer GvcLoad Balancer - Dedicated load balancer configuration.
- locations string[]
- A list of locations making up the Global Virtual Cloud.
- name string
- Name of the GVC.
- otel
Tracing GvcOtel Tracing - pull
Secrets string[] - A list of pull secret names used to authenticate to any private image repository referenced by Workloads within the GVC.
- sidecar
Gvc
Sidecar - {[key: string]: string}
- Key-value map of resource tags.
- controlplane_
tracing GvcControlplane Tracing Args - description str
- Description of the GVC.
- domain str
- Custom domain name used by associated workloads.
- env Mapping[str, str]
- Key-value array of resource env variables.
- lightstep_
tracing GvcLightstep Tracing Args - load_
balancer GvcLoad Balancer Args - Dedicated load balancer configuration.
- locations Sequence[str]
- A list of locations making up the Global Virtual Cloud.
- name str
- Name of the GVC.
- otel_
tracing GvcOtel Tracing Args - pull_
secrets Sequence[str] - A list of pull secret names used to authenticate to any private image repository referenced by Workloads within the GVC.
- sidecar
Gvc
Sidecar Args - Mapping[str, str]
- Key-value map of resource tags.
- controlplane
Tracing Property Map - description String
- Description of the GVC.
- domain String
- Custom domain name used by associated workloads.
- env Map<String>
- Key-value array of resource env variables.
- lightstep
Tracing Property Map - load
Balancer Property Map - Dedicated load balancer configuration.
- locations List<String>
- A list of locations making up the Global Virtual Cloud.
- name String
- Name of the GVC.
- otel
Tracing Property Map - pull
Secrets List<String> - A list of pull secret names used to authenticate to any private image repository referenced by Workloads within the GVC.
- sidecar Property Map
- Map<String>
- Key-value map of resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the Gvc resource produces the following output properties:
Look up Existing Gvc Resource
Get an existing Gvc 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?: GvcState, opts?: CustomResourceOptions): Gvc
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
alias: Optional[str] = None,
controlplane_tracing: Optional[GvcControlplaneTracingArgs] = None,
cpln_id: Optional[str] = None,
description: Optional[str] = None,
domain: Optional[str] = None,
env: Optional[Mapping[str, str]] = None,
lightstep_tracing: Optional[GvcLightstepTracingArgs] = None,
load_balancer: Optional[GvcLoadBalancerArgs] = None,
locations: Optional[Sequence[str]] = None,
name: Optional[str] = None,
otel_tracing: Optional[GvcOtelTracingArgs] = None,
pull_secrets: Optional[Sequence[str]] = None,
self_link: Optional[str] = None,
sidecar: Optional[GvcSidecarArgs] = None,
tags: Optional[Mapping[str, str]] = None) -> Gvc
func GetGvc(ctx *Context, name string, id IDInput, state *GvcState, opts ...ResourceOption) (*Gvc, error)
public static Gvc Get(string name, Input<string> id, GvcState? state, CustomResourceOptions? opts = null)
public static Gvc get(String name, Output<String> id, GvcState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Alias string
- The alias name of the GVC.
- Controlplane
Tracing Pulumiverse.Cpln. Inputs. Gvc Controlplane Tracing - Cpln
Id string - The ID, in GUID format, of the GVC.
- Description string
- Description of the GVC.
- Domain string
- Custom domain name used by associated workloads.
- Env Dictionary<string, string>
- Key-value array of resource env variables.
- Lightstep
Tracing Pulumiverse.Cpln. Inputs. Gvc Lightstep Tracing - Load
Balancer Pulumiverse.Cpln. Inputs. Gvc Load Balancer - Dedicated load balancer configuration.
- Locations List<string>
- A list of locations making up the Global Virtual Cloud.
- Name string
- Name of the GVC.
- Otel
Tracing Pulumiverse.Cpln. Inputs. Gvc Otel Tracing - Pull
Secrets List<string> - A list of pull secret names used to authenticate to any private image repository referenced by Workloads within the GVC.
- Self
Link string - Full link to this resource. Can be referenced by other resources.
- Sidecar
Pulumiverse.
Cpln. Inputs. Gvc Sidecar - Dictionary<string, string>
- Key-value map of resource tags.
- Alias string
- The alias name of the GVC.
- Controlplane
Tracing GvcControlplane Tracing Args - Cpln
Id string - The ID, in GUID format, of the GVC.
- Description string
- Description of the GVC.
- Domain string
- Custom domain name used by associated workloads.
- Env map[string]string
- Key-value array of resource env variables.
- Lightstep
Tracing GvcLightstep Tracing Args - Load
Balancer GvcLoad Balancer Args - Dedicated load balancer configuration.
- Locations []string
- A list of locations making up the Global Virtual Cloud.
- Name string
- Name of the GVC.
- Otel
Tracing GvcOtel Tracing Args - Pull
Secrets []string - A list of pull secret names used to authenticate to any private image repository referenced by Workloads within the GVC.
- Self
Link string - Full link to this resource. Can be referenced by other resources.
- Sidecar
Gvc
Sidecar Args - map[string]string
- Key-value map of resource tags.
- alias String
- The alias name of the GVC.
- controlplane
Tracing GvcControlplane Tracing - cpln
Id String - The ID, in GUID format, of the GVC.
- description String
- Description of the GVC.
- domain String
- Custom domain name used by associated workloads.
- env Map<String,String>
- Key-value array of resource env variables.
- lightstep
Tracing GvcLightstep Tracing - load
Balancer GvcLoad Balancer - Dedicated load balancer configuration.
- locations List<String>
- A list of locations making up the Global Virtual Cloud.
- name String
- Name of the GVC.
- otel
Tracing GvcOtel Tracing - pull
Secrets List<String> - A list of pull secret names used to authenticate to any private image repository referenced by Workloads within the GVC.
- self
Link String - Full link to this resource. Can be referenced by other resources.
- sidecar
Gvc
Sidecar - Map<String,String>
- Key-value map of resource tags.
- alias string
- The alias name of the GVC.
- controlplane
Tracing GvcControlplane Tracing - cpln
Id string - The ID, in GUID format, of the GVC.
- description string
- Description of the GVC.
- domain string
- Custom domain name used by associated workloads.
- env {[key: string]: string}
- Key-value array of resource env variables.
- lightstep
Tracing GvcLightstep Tracing - load
Balancer GvcLoad Balancer - Dedicated load balancer configuration.
- locations string[]
- A list of locations making up the Global Virtual Cloud.
- name string
- Name of the GVC.
- otel
Tracing GvcOtel Tracing - pull
Secrets string[] - A list of pull secret names used to authenticate to any private image repository referenced by Workloads within the GVC.
- self
Link string - Full link to this resource. Can be referenced by other resources.
- sidecar
Gvc
Sidecar - {[key: string]: string}
- Key-value map of resource tags.
- alias str
- The alias name of the GVC.
- controlplane_
tracing GvcControlplane Tracing Args - cpln_
id str - The ID, in GUID format, of the GVC.
- description str
- Description of the GVC.
- domain str
- Custom domain name used by associated workloads.
- env Mapping[str, str]
- Key-value array of resource env variables.
- lightstep_
tracing GvcLightstep Tracing Args - load_
balancer GvcLoad Balancer Args - Dedicated load balancer configuration.
- locations Sequence[str]
- A list of locations making up the Global Virtual Cloud.
- name str
- Name of the GVC.
- otel_
tracing GvcOtel Tracing Args - pull_
secrets Sequence[str] - A list of pull secret names used to authenticate to any private image repository referenced by Workloads within the GVC.
- self_
link str - Full link to this resource. Can be referenced by other resources.
- sidecar
Gvc
Sidecar Args - Mapping[str, str]
- Key-value map of resource tags.
- alias String
- The alias name of the GVC.
- controlplane
Tracing Property Map - cpln
Id String - The ID, in GUID format, of the GVC.
- description String
- Description of the GVC.
- domain String
- Custom domain name used by associated workloads.
- env Map<String>
- Key-value array of resource env variables.
- lightstep
Tracing Property Map - load
Balancer Property Map - Dedicated load balancer configuration.
- locations List<String>
- A list of locations making up the Global Virtual Cloud.
- name String
- Name of the GVC.
- otel
Tracing Property Map - pull
Secrets List<String> - A list of pull secret names used to authenticate to any private image repository referenced by Workloads within the GVC.
- self
Link String - Full link to this resource. Can be referenced by other resources.
- sidecar Property Map
- Map<String>
- Key-value map of resource tags.
Supporting Types
GvcControlplaneTracing, GvcControlplaneTracingArgs
- Sampling double
- Dictionary<string, string>
- Sampling float64
- map[string]string
- sampling Double
- Map<String,String>
- sampling number
- {[key: string]: string}
- sampling float
- Mapping[str, str]
- sampling Number
- Map<String>
GvcLightstepTracing, GvcLightstepTracingArgs
- Endpoint string
- Sampling double
- Credentials string
- Dictionary<string, string>
- Endpoint string
- Sampling float64
- Credentials string
- map[string]string
- endpoint String
- sampling Double
- credentials String
- Map<String,String>
- endpoint string
- sampling number
- credentials string
- {[key: string]: string}
- endpoint str
- sampling float
- credentials str
- Mapping[str, str]
- endpoint String
- sampling Number
- credentials String
- Map<String>
GvcLoadBalancer, GvcLoadBalancerArgs
- dedicated Boolean
- redirect
Gvc
Load Balancer Redirect - trusted
Proxies Integer
- dedicated boolean
- redirect
Gvc
Load Balancer Redirect - trusted
Proxies number
- dedicated Boolean
- redirect Property Map
- trusted
Proxies Number
GvcLoadBalancerRedirect, GvcLoadBalancerRedirectArgs
- _
sentinel Boolean - class Property Map
GvcLoadBalancerRedirectClass, GvcLoadBalancerRedirectClassArgs
GvcOtelTracing, GvcOtelTracingArgs
GvcSidecar, GvcSidecarArgs
- Envoy string
- Envoy string
- envoy String
- envoy string
- envoy str
- envoy String
Package Details
- Repository
- cpln pulumiverse/pulumi-cpln
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cpln
Terraform Provider.