1. Packages
  2. Cilium
  3. API Docs
  4. ClustermeshConnection
Cilium v0.1.0 published on Thursday, May 30, 2024 by littlejo

cilium.ClustermeshConnection

Explore with Pulumi AI

cilium logo
Cilium v0.1.0 published on Thursday, May 30, 2024 by littlejo

    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,
                              destination_context: Optional[str] = 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.

    Example

    The following reference example uses placeholder values for all input properties.

    var clustermeshConnectionResource = new Cilium.ClustermeshConnection("clustermeshConnectionResource", new()
    {
        DestinationContext = "string",
    });
    
    example, err := cilium.NewClustermeshConnection(ctx, "clustermeshConnectionResource", &cilium.ClustermeshConnectionArgs{
    	DestinationContext: pulumi.String("string"),
    })
    
    var clustermeshConnectionResource = new ClustermeshConnection("clustermeshConnectionResource", ClustermeshConnectionArgs.builder()
        .destinationContext("string")
        .build());
    
    clustermesh_connection_resource = cilium.ClustermeshConnection("clustermeshConnectionResource", destination_context="string")
    
    const clustermeshConnectionResource = new cilium.ClustermeshConnection("clustermeshConnectionResource", {destinationContext: "string"});
    
    type: cilium:ClustermeshConnection
    properties:
        destinationContext: string
    

    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:

    DestinationContext string
    Kubernetes configuration context of destination cluster
    DestinationContext string
    Kubernetes configuration context of destination cluster
    destinationContext String
    Kubernetes configuration context of destination cluster
    destinationContext string
    Kubernetes configuration context of destination cluster
    destination_context str
    Kubernetes configuration context of destination cluster
    destinationContext String
    Kubernetes configuration context of destination cluster

    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,
            destination_context: Optional[str] = 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.
    The following state arguments are supported:
    DestinationContext string
    Kubernetes configuration context of destination cluster
    DestinationContext string
    Kubernetes configuration context of destination cluster
    destinationContext String
    Kubernetes configuration context of destination cluster
    destinationContext string
    Kubernetes configuration context of destination cluster
    destination_context str
    Kubernetes configuration context of destination cluster
    destinationContext String
    Kubernetes configuration context of destination cluster

    Package Details

    Repository
    cilium littlejo/pulumi-cilium
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cilium Terraform Provider.
    cilium logo
    Cilium v0.1.0 published on Thursday, May 30, 2024 by littlejo