StrongDM v1.21.0 published on Monday, Nov 4, 2024 by Piers Karsenbarg
sdm.getPeeringGroupResource
Explore with Pulumi AI
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 dictionaryThe following arguments are supported:
- Group
Id string - Peering Group ID to which the resource will be attached to.
 - Id string
 - Unique identifier of the Attachment.
 - Resource
Id string - Resource ID to be attached.
 
- Group
Id string - Peering Group ID to which the resource will be attached to.
 - Id string
 - Unique identifier of the Attachment.
 - Resource
Id string - Resource ID to be attached.
 
- group
Id String - Peering Group ID to which the resource will be attached to.
 - id String
 - Unique identifier of the Attachment.
 - resource
Id String - Resource ID to be attached.
 
- group
Id string - Peering Group ID to which the resource will be attached to.
 - id string
 - Unique identifier of the Attachment.
 - resource
Id 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.
 
- group
Id String - Peering Group ID to which the resource will be attached to.
 - id String
 - Unique identifier of the Attachment.
 - resource
Id 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.
 - Peering
Group List<PiersResources Karsenbarg. Sdm. Outputs. Get Peering Group Resource Peering Group Resource>  - A list where each element has the following attributes:
 - Group
Id string - Peering Group ID to which the resource will be attached to.
 - Id string
 - Unique identifier of the Attachment.
 - Resource
Id string - Resource ID to be attached.
 
- Ids []string
 - a list of strings of ids of data sources that match the given arguments.
 - Peering
Group []GetResources Peering Group Resource Peering Group Resource  - A list where each element has the following attributes:
 - Group
Id string - Peering Group ID to which the resource will be attached to.
 - Id string
 - Unique identifier of the Attachment.
 - Resource
Id string - Resource ID to be attached.
 
- ids List<String>
 - a list of strings of ids of data sources that match the given arguments.
 - peering
Group List<GetResources Peering Group Resource Peering Group Resource>  - A list where each element has the following attributes:
 - group
Id String - Peering Group ID to which the resource will be attached to.
 - id String
 - Unique identifier of the Attachment.
 - resource
Id String - Resource ID to be attached.
 
- ids string[]
 - a list of strings of ids of data sources that match the given arguments.
 - peering
Group GetResources Peering Group Resource Peering Group Resource[]  - A list where each element has the following attributes:
 - group
Id string - Peering Group ID to which the resource will be attached to.
 - id string
 - Unique identifier of the Attachment.
 - resource
Id 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_ Sequence[Getresources Peering Group Resource Peering Group Resource]  - 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.
 - peering
Group List<Property Map>Resources  - A list where each element has the following attributes:
 - group
Id String - Peering Group ID to which the resource will be attached to.
 - id String
 - Unique identifier of the Attachment.
 - resource
Id String - Resource ID to be attached.
 
Supporting Types
GetPeeringGroupResourcePeeringGroupResource      
- Group
Id string - Peering Group ID to which the resource will be attached to.
 - Id string
 - Unique identifier of the Attachment.
 - Resource
Id string - Resource ID to be attached.
 
- Group
Id string - Peering Group ID to which the resource will be attached to.
 - Id string
 - Unique identifier of the Attachment.
 - Resource
Id string - Resource ID to be attached.
 
- group
Id String - Peering Group ID to which the resource will be attached to.
 - id String
 - Unique identifier of the Attachment.
 - resource
Id String - Resource ID to be attached.
 
- group
Id string - Peering Group ID to which the resource will be attached to.
 - id string
 - Unique identifier of the Attachment.
 - resource
Id 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.
 
- group
Id String - Peering Group ID to which the resource will be attached to.
 - id String
 - Unique identifier of the Attachment.
 - resource
Id 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 
sdmTerraform Provider.