1. Packages
  2. StrongDM
  3. API Docs
  4. PeeringGroupNode
StrongDM v1.12.0 published on Sunday, Apr 28, 2024 by Piers Karsenbarg

sdm.PeeringGroupNode

Explore with Pulumi AI

sdm logo
StrongDM v1.12.0 published on Sunday, Apr 28, 2024 by Piers Karsenbarg

    PeeringGroupNode represents the attachment between a PeeringGroup and a Node. This resource can be imported using the import command.

    Create PeeringGroupNode Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PeeringGroupNode(name: string, args?: PeeringGroupNodeArgs, opts?: CustomResourceOptions);
    @overload
    def PeeringGroupNode(resource_name: str,
                         args: Optional[PeeringGroupNodeArgs] = None,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def PeeringGroupNode(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         group_id: Optional[str] = None,
                         node_id: Optional[str] = None)
    func NewPeeringGroupNode(ctx *Context, name string, args *PeeringGroupNodeArgs, opts ...ResourceOption) (*PeeringGroupNode, error)
    public PeeringGroupNode(string name, PeeringGroupNodeArgs? args = null, CustomResourceOptions? opts = null)
    public PeeringGroupNode(String name, PeeringGroupNodeArgs args)
    public PeeringGroupNode(String name, PeeringGroupNodeArgs args, CustomResourceOptions options)
    
    type: sdm:PeeringGroupNode
    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 PeeringGroupNodeArgs
    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 PeeringGroupNodeArgs
    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 PeeringGroupNodeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PeeringGroupNodeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PeeringGroupNodeArgs
    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 peeringGroupNodeResource = new Sdm.PeeringGroupNode("peeringGroupNodeResource", new()
    {
        GroupId = "string",
        NodeId = "string",
    });
    
    example, err := sdm.NewPeeringGroupNode(ctx, "peeringGroupNodeResource", &sdm.PeeringGroupNodeArgs{
    	GroupId: pulumi.String("string"),
    	NodeId:  pulumi.String("string"),
    })
    
    var peeringGroupNodeResource = new PeeringGroupNode("peeringGroupNodeResource", PeeringGroupNodeArgs.builder()
        .groupId("string")
        .nodeId("string")
        .build());
    
    peering_group_node_resource = sdm.PeeringGroupNode("peeringGroupNodeResource",
        group_id="string",
        node_id="string")
    
    const peeringGroupNodeResource = new sdm.PeeringGroupNode("peeringGroupNodeResource", {
        groupId: "string",
        nodeId: "string",
    });
    
    type: sdm:PeeringGroupNode
    properties:
        groupId: string
        nodeId: string
    

    PeeringGroupNode 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 PeeringGroupNode resource accepts the following input properties:

    GroupId string
    Peering Group ID to which the node will be attached to.
    NodeId string
    Node ID to be attached.
    GroupId string
    Peering Group ID to which the node will be attached to.
    NodeId string
    Node ID to be attached.
    groupId String
    Peering Group ID to which the node will be attached to.
    nodeId String
    Node ID to be attached.
    groupId string
    Peering Group ID to which the node will be attached to.
    nodeId string
    Node ID to be attached.
    group_id str
    Peering Group ID to which the node will be attached to.
    node_id str
    Node ID to be attached.
    groupId String
    Peering Group ID to which the node will be attached to.
    nodeId String
    Node ID to be attached.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PeeringGroupNode 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 PeeringGroupNode Resource

    Get an existing PeeringGroupNode 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?: PeeringGroupNodeState, opts?: CustomResourceOptions): PeeringGroupNode
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            group_id: Optional[str] = None,
            node_id: Optional[str] = None) -> PeeringGroupNode
    func GetPeeringGroupNode(ctx *Context, name string, id IDInput, state *PeeringGroupNodeState, opts ...ResourceOption) (*PeeringGroupNode, error)
    public static PeeringGroupNode Get(string name, Input<string> id, PeeringGroupNodeState? state, CustomResourceOptions? opts = null)
    public static PeeringGroupNode get(String name, Output<String> id, PeeringGroupNodeState 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:
    GroupId string
    Peering Group ID to which the node will be attached to.
    NodeId string
    Node ID to be attached.
    GroupId string
    Peering Group ID to which the node will be attached to.
    NodeId string
    Node ID to be attached.
    groupId String
    Peering Group ID to which the node will be attached to.
    nodeId String
    Node ID to be attached.
    groupId string
    Peering Group ID to which the node will be attached to.
    nodeId string
    Node ID to be attached.
    group_id str
    Peering Group ID to which the node will be attached to.
    node_id str
    Node ID to be attached.
    groupId String
    Peering Group ID to which the node will be attached to.
    nodeId String
    Node ID to be attached.

    Import

    A PeeringGroupNode can be imported using the id, e.g.,

    $ pulumi import sdm:index/peeringGroupNode:PeeringGroupNode example gn-12345678
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    sdm pierskarsenbarg/pulumi-sdm
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the sdm Terraform Provider.
    sdm logo
    StrongDM v1.12.0 published on Sunday, Apr 28, 2024 by Piers Karsenbarg