Cilium v0.1.7 published on Sunday, Sep 29, 2024 by littlejo
cilium.ClustermeshConnection
Explore with Pulumi AI
Create ClustermeshConnection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ClustermeshConnection(name: string, args?: ClustermeshConnectionArgs, opts?: CustomResourceOptions);
@overload
def ClustermeshConnection(resource_name: str,
args: Optional[ClustermeshConnectionArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ClustermeshConnection(resource_name: str,
opts: Optional[ResourceOptions] = None,
connection_mode: Optional[str] = None,
destination_contexts: Optional[Sequence[str]] = None,
parallel: Optional[float] = None)
func NewClustermeshConnection(ctx *Context, name string, args *ClustermeshConnectionArgs, opts ...ResourceOption) (*ClustermeshConnection, error)
public ClustermeshConnection(string name, ClustermeshConnectionArgs? args = null, CustomResourceOptions? opts = null)
public ClustermeshConnection(String name, ClustermeshConnectionArgs args)
public ClustermeshConnection(String name, ClustermeshConnectionArgs args, CustomResourceOptions options)
type: cilium:ClustermeshConnection
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 ClustermeshConnectionArgs
- 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 ClustermeshConnectionArgs
- 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 ClustermeshConnectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClustermeshConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ClustermeshConnectionArgs
- 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 clustermeshConnectionResource = new Cilium.ClustermeshConnection("clustermeshConnectionResource", new()
{
ConnectionMode = "string",
DestinationContexts = new[]
{
"string",
},
Parallel = 0,
});
example, err := cilium.NewClustermeshConnection(ctx, "clustermeshConnectionResource", &cilium.ClustermeshConnectionArgs{
ConnectionMode: pulumi.String("string"),
DestinationContexts: pulumi.StringArray{
pulumi.String("string"),
},
Parallel: pulumi.Float64(0),
})
var clustermeshConnectionResource = new ClustermeshConnection("clustermeshConnectionResource", ClustermeshConnectionArgs.builder()
.connectionMode("string")
.destinationContexts("string")
.parallel(0)
.build());
clustermesh_connection_resource = cilium.ClustermeshConnection("clustermeshConnectionResource",
connection_mode="string",
destination_contexts=["string"],
parallel=0)
const clustermeshConnectionResource = new cilium.ClustermeshConnection("clustermeshConnectionResource", {
connectionMode: "string",
destinationContexts: ["string"],
parallel: 0,
});
type: cilium:ClustermeshConnection
properties:
connectionMode: string
destinationContexts:
- string
parallel: 0
ClustermeshConnection Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The ClustermeshConnection resource accepts the following input properties:
- Connection
Mode string - Connection Mode {
unicast
|bidirectional
|mesh
} (Default:bidirectional
). - Destination
Contexts List<string> - Kubernetes configuration contexts of destination clusters
- Parallel double
- Number of parallel connections of destination clusters (Default:
1
).
- Connection
Mode string - Connection Mode {
unicast
|bidirectional
|mesh
} (Default:bidirectional
). - Destination
Contexts []string - Kubernetes configuration contexts of destination clusters
- Parallel float64
- Number of parallel connections of destination clusters (Default:
1
).
- connection
Mode String - Connection Mode {
unicast
|bidirectional
|mesh
} (Default:bidirectional
). - destination
Contexts List<String> - Kubernetes configuration contexts of destination clusters
- parallel Double
- Number of parallel connections of destination clusters (Default:
1
).
- connection
Mode string - Connection Mode {
unicast
|bidirectional
|mesh
} (Default:bidirectional
). - destination
Contexts string[] - Kubernetes configuration contexts of destination clusters
- parallel number
- Number of parallel connections of destination clusters (Default:
1
).
- connection_
mode str - Connection Mode {
unicast
|bidirectional
|mesh
} (Default:bidirectional
). - destination_
contexts Sequence[str] - Kubernetes configuration contexts of destination clusters
- parallel float
- Number of parallel connections of destination clusters (Default:
1
).
- connection
Mode String - Connection Mode {
unicast
|bidirectional
|mesh
} (Default:bidirectional
). - destination
Contexts List<String> - Kubernetes configuration contexts of destination clusters
- parallel Number
- Number of parallel connections of destination clusters (Default:
1
).
Outputs
All input properties are implicitly available as output properties. Additionally, the ClustermeshConnection 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 ClustermeshConnection Resource
Get an existing ClustermeshConnection 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?: ClustermeshConnectionState, opts?: CustomResourceOptions): ClustermeshConnection
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
connection_mode: Optional[str] = None,
destination_contexts: Optional[Sequence[str]] = None,
parallel: Optional[float] = None) -> ClustermeshConnection
func GetClustermeshConnection(ctx *Context, name string, id IDInput, state *ClustermeshConnectionState, opts ...ResourceOption) (*ClustermeshConnection, error)
public static ClustermeshConnection Get(string name, Input<string> id, ClustermeshConnectionState? state, CustomResourceOptions? opts = null)
public static ClustermeshConnection get(String name, Output<String> id, ClustermeshConnectionState 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.
- Connection
Mode string - Connection Mode {
unicast
|bidirectional
|mesh
} (Default:bidirectional
). - Destination
Contexts List<string> - Kubernetes configuration contexts of destination clusters
- Parallel double
- Number of parallel connections of destination clusters (Default:
1
).
- Connection
Mode string - Connection Mode {
unicast
|bidirectional
|mesh
} (Default:bidirectional
). - Destination
Contexts []string - Kubernetes configuration contexts of destination clusters
- Parallel float64
- Number of parallel connections of destination clusters (Default:
1
).
- connection
Mode String - Connection Mode {
unicast
|bidirectional
|mesh
} (Default:bidirectional
). - destination
Contexts List<String> - Kubernetes configuration contexts of destination clusters
- parallel Double
- Number of parallel connections of destination clusters (Default:
1
).
- connection
Mode string - Connection Mode {
unicast
|bidirectional
|mesh
} (Default:bidirectional
). - destination
Contexts string[] - Kubernetes configuration contexts of destination clusters
- parallel number
- Number of parallel connections of destination clusters (Default:
1
).
- connection_
mode str - Connection Mode {
unicast
|bidirectional
|mesh
} (Default:bidirectional
). - destination_
contexts Sequence[str] - Kubernetes configuration contexts of destination clusters
- parallel float
- Number of parallel connections of destination clusters (Default:
1
).
- connection
Mode String - Connection Mode {
unicast
|bidirectional
|mesh
} (Default:bidirectional
). - destination
Contexts List<String> - Kubernetes configuration contexts of destination clusters
- parallel Number
- Number of parallel connections of destination clusters (Default:
1
).
Package Details
- Repository
- cilium littlejo/pulumi-cilium
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cilium
Terraform Provider.