1. Packages
  2. StrongDM
  3. API Docs
  4. getPeeringGroupResource
StrongDM v1.21.0 published on Monday, Nov 4, 2024 by Piers Karsenbarg

sdm.getPeeringGroupResource

Explore with Pulumi AI

sdm logo
StrongDM v1.21.0 published on Monday, Nov 4, 2024 by Piers Karsenbarg

    PeeringGroupResource represents the attachment between a PeeringGroup and a Resource.

    Using getPeeringGroupResource

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getPeeringGroupResource(args: GetPeeringGroupResourceArgs, opts?: InvokeOptions): Promise<GetPeeringGroupResourceResult>
    function getPeeringGroupResourceOutput(args: GetPeeringGroupResourceOutputArgs, opts?: InvokeOptions): Output<GetPeeringGroupResourceResult>
    def get_peering_group_resource(group_id: Optional[str] = None,
                                   id: Optional[str] = None,
                                   resource_id: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetPeeringGroupResourceResult
    def get_peering_group_resource_output(group_id: Optional[pulumi.Input[str]] = None,
                                   id: Optional[pulumi.Input[str]] = None,
                                   resource_id: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetPeeringGroupResourceResult]
    func LookupPeeringGroupResource(ctx *Context, args *LookupPeeringGroupResourceArgs, opts ...InvokeOption) (*LookupPeeringGroupResourceResult, error)
    func LookupPeeringGroupResourceOutput(ctx *Context, args *LookupPeeringGroupResourceOutputArgs, opts ...InvokeOption) LookupPeeringGroupResourceResultOutput

    > Note: This function is named LookupPeeringGroupResource in the Go SDK.

    public static class GetPeeringGroupResource 
    {
        public static Task<GetPeeringGroupResourceResult> InvokeAsync(GetPeeringGroupResourceArgs args, InvokeOptions? opts = null)
        public static Output<GetPeeringGroupResourceResult> Invoke(GetPeeringGroupResourceInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPeeringGroupResourceResult> getPeeringGroupResource(GetPeeringGroupResourceArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: sdm:index/getPeeringGroupResource:getPeeringGroupResource
      arguments:
        # arguments dictionary

    The following arguments are supported:

    GroupId string
    Peering Group ID to which the resource will be attached to.
    Id string
    Unique identifier of the Attachment.
    ResourceId string
    Resource ID to be attached.
    GroupId string
    Peering Group ID to which the resource will be attached to.
    Id string
    Unique identifier of the Attachment.
    ResourceId string
    Resource ID to be attached.
    groupId String
    Peering Group ID to which the resource will be attached to.
    id String
    Unique identifier of the Attachment.
    resourceId String
    Resource ID to be attached.
    groupId string
    Peering Group ID to which the resource will be attached to.
    id string
    Unique identifier of the Attachment.
    resourceId string
    Resource ID to be attached.
    group_id str
    Peering Group ID to which the resource will be attached to.
    id str
    Unique identifier of the Attachment.
    resource_id str
    Resource ID to be attached.
    groupId String
    Peering Group ID to which the resource will be attached to.
    id String
    Unique identifier of the Attachment.
    resourceId String
    Resource ID to be attached.

    getPeeringGroupResource Result

    The following output properties are available:

    Ids List<string>
    a list of strings of ids of data sources that match the given arguments.
    PeeringGroupResources List<PiersKarsenbarg.Sdm.Outputs.GetPeeringGroupResourcePeeringGroupResource>
    A list where each element has the following attributes:
    GroupId string
    Peering Group ID to which the resource will be attached to.
    Id string
    Unique identifier of the Attachment.
    ResourceId string
    Resource ID to be attached.
    Ids []string
    a list of strings of ids of data sources that match the given arguments.
    PeeringGroupResources []GetPeeringGroupResourcePeeringGroupResource
    A list where each element has the following attributes:
    GroupId string
    Peering Group ID to which the resource will be attached to.
    Id string
    Unique identifier of the Attachment.
    ResourceId string
    Resource ID to be attached.
    ids List<String>
    a list of strings of ids of data sources that match the given arguments.
    peeringGroupResources List<GetPeeringGroupResourcePeeringGroupResource>
    A list where each element has the following attributes:
    groupId String
    Peering Group ID to which the resource will be attached to.
    id String
    Unique identifier of the Attachment.
    resourceId String
    Resource ID to be attached.
    ids string[]
    a list of strings of ids of data sources that match the given arguments.
    peeringGroupResources GetPeeringGroupResourcePeeringGroupResource[]
    A list where each element has the following attributes:
    groupId string
    Peering Group ID to which the resource will be attached to.
    id string
    Unique identifier of the Attachment.
    resourceId string
    Resource ID to be attached.
    ids Sequence[str]
    a list of strings of ids of data sources that match the given arguments.
    peering_group_resources Sequence[GetPeeringGroupResourcePeeringGroupResource]
    A list where each element has the following attributes:
    group_id str
    Peering Group ID to which the resource will be attached to.
    id str
    Unique identifier of the Attachment.
    resource_id str
    Resource ID to be attached.
    ids List<String>
    a list of strings of ids of data sources that match the given arguments.
    peeringGroupResources List<Property Map>
    A list where each element has the following attributes:
    groupId String
    Peering Group ID to which the resource will be attached to.
    id String
    Unique identifier of the Attachment.
    resourceId String
    Resource ID to be attached.

    Supporting Types

    GetPeeringGroupResourcePeeringGroupResource

    GroupId string
    Peering Group ID to which the resource will be attached to.
    Id string
    Unique identifier of the Attachment.
    ResourceId string
    Resource ID to be attached.
    GroupId string
    Peering Group ID to which the resource will be attached to.
    Id string
    Unique identifier of the Attachment.
    ResourceId string
    Resource ID to be attached.
    groupId String
    Peering Group ID to which the resource will be attached to.
    id String
    Unique identifier of the Attachment.
    resourceId String
    Resource ID to be attached.
    groupId string
    Peering Group ID to which the resource will be attached to.
    id string
    Unique identifier of the Attachment.
    resourceId string
    Resource ID to be attached.
    group_id str
    Peering Group ID to which the resource will be attached to.
    id str
    Unique identifier of the Attachment.
    resource_id str
    Resource ID to be attached.
    groupId String
    Peering Group ID to which the resource will be attached to.
    id String
    Unique identifier of the Attachment.
    resourceId String
    Resource ID to be attached.

    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.21.0 published on Monday, Nov 4, 2024 by Piers Karsenbarg