1. Packages
  2. Cisco Meraki
  3. API Docs
  4. networks
  5. getSmTargetGroups
Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi

meraki.networks.getSmTargetGroups

Explore with Pulumi AI

meraki logo
Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi

    Example Usage

    Using getSmTargetGroups

    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 getSmTargetGroups(args: GetSmTargetGroupsArgs, opts?: InvokeOptions): Promise<GetSmTargetGroupsResult>
    function getSmTargetGroupsOutput(args: GetSmTargetGroupsOutputArgs, opts?: InvokeOptions): Output<GetSmTargetGroupsResult>
    def get_sm_target_groups(network_id: Optional[str] = None,
                             target_group_id: Optional[str] = None,
                             with_details: Optional[bool] = None,
                             opts: Optional[InvokeOptions] = None) -> GetSmTargetGroupsResult
    def get_sm_target_groups_output(network_id: Optional[pulumi.Input[str]] = None,
                             target_group_id: Optional[pulumi.Input[str]] = None,
                             with_details: Optional[pulumi.Input[bool]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetSmTargetGroupsResult]
    func LookupSmTargetGroups(ctx *Context, args *LookupSmTargetGroupsArgs, opts ...InvokeOption) (*LookupSmTargetGroupsResult, error)
    func LookupSmTargetGroupsOutput(ctx *Context, args *LookupSmTargetGroupsOutputArgs, opts ...InvokeOption) LookupSmTargetGroupsResultOutput

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

    public static class GetSmTargetGroups 
    {
        public static Task<GetSmTargetGroupsResult> InvokeAsync(GetSmTargetGroupsArgs args, InvokeOptions? opts = null)
        public static Output<GetSmTargetGroupsResult> Invoke(GetSmTargetGroupsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSmTargetGroupsResult> getSmTargetGroups(GetSmTargetGroupsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: meraki:networks/getSmTargetGroups:getSmTargetGroups
      arguments:
        # arguments dictionary

    The following arguments are supported:

    NetworkId string
    networkId path parameter. Network ID
    TargetGroupId string
    targetGroupId path parameter. Target group ID
    WithDetails bool
    withDetails query parameter. Boolean indicating if the the ids of the devices or users scoped by the target group should be included in the response
    NetworkId string
    networkId path parameter. Network ID
    TargetGroupId string
    targetGroupId path parameter. Target group ID
    WithDetails bool
    withDetails query parameter. Boolean indicating if the the ids of the devices or users scoped by the target group should be included in the response
    networkId String
    networkId path parameter. Network ID
    targetGroupId String
    targetGroupId path parameter. Target group ID
    withDetails Boolean
    withDetails query parameter. Boolean indicating if the the ids of the devices or users scoped by the target group should be included in the response
    networkId string
    networkId path parameter. Network ID
    targetGroupId string
    targetGroupId path parameter. Target group ID
    withDetails boolean
    withDetails query parameter. Boolean indicating if the the ids of the devices or users scoped by the target group should be included in the response
    network_id str
    networkId path parameter. Network ID
    target_group_id str
    targetGroupId path parameter. Target group ID
    with_details bool
    withDetails query parameter. Boolean indicating if the the ids of the devices or users scoped by the target group should be included in the response
    networkId String
    networkId path parameter. Network ID
    targetGroupId String
    targetGroupId path parameter. Target group ID
    withDetails Boolean
    withDetails query parameter. Boolean indicating if the the ids of the devices or users scoped by the target group should be included in the response

    getSmTargetGroups Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Item GetSmTargetGroupsItem
    Items List<GetSmTargetGroupsItem>
    Array of ResponseSmGetNetworkSmTargetGroups
    NetworkId string
    networkId path parameter. Network ID
    TargetGroupId string
    targetGroupId path parameter. Target group ID
    WithDetails bool
    withDetails query parameter. Boolean indicating if the the ids of the devices or users scoped by the target group should be included in the response
    Id string
    The provider-assigned unique ID for this managed resource.
    Item GetSmTargetGroupsItem
    Items []GetSmTargetGroupsItem
    Array of ResponseSmGetNetworkSmTargetGroups
    NetworkId string
    networkId path parameter. Network ID
    TargetGroupId string
    targetGroupId path parameter. Target group ID
    WithDetails bool
    withDetails query parameter. Boolean indicating if the the ids of the devices or users scoped by the target group should be included in the response
    id String
    The provider-assigned unique ID for this managed resource.
    item GetSmTargetGroupsItem
    items List<GetSmTargetGroupsItem>
    Array of ResponseSmGetNetworkSmTargetGroups
    networkId String
    networkId path parameter. Network ID
    targetGroupId String
    targetGroupId path parameter. Target group ID
    withDetails Boolean
    withDetails query parameter. Boolean indicating if the the ids of the devices or users scoped by the target group should be included in the response
    id string
    The provider-assigned unique ID for this managed resource.
    item GetSmTargetGroupsItem
    items GetSmTargetGroupsItem[]
    Array of ResponseSmGetNetworkSmTargetGroups
    networkId string
    networkId path parameter. Network ID
    targetGroupId string
    targetGroupId path parameter. Target group ID
    withDetails boolean
    withDetails query parameter. Boolean indicating if the the ids of the devices or users scoped by the target group should be included in the response
    id str
    The provider-assigned unique ID for this managed resource.
    item GetSmTargetGroupsItem
    items Sequence[GetSmTargetGroupsItem]
    Array of ResponseSmGetNetworkSmTargetGroups
    network_id str
    networkId path parameter. Network ID
    target_group_id str
    targetGroupId path parameter. Target group ID
    with_details bool
    withDetails query parameter. Boolean indicating if the the ids of the devices or users scoped by the target group should be included in the response
    id String
    The provider-assigned unique ID for this managed resource.
    item Property Map
    items List<Property Map>
    Array of ResponseSmGetNetworkSmTargetGroups
    networkId String
    networkId path parameter. Network ID
    targetGroupId String
    targetGroupId path parameter. Target group ID
    withDetails Boolean
    withDetails query parameter. Boolean indicating if the the ids of the devices or users scoped by the target group should be included in the response

    Supporting Types

    GetSmTargetGroupsItem

    Id string
    The ID of this target group.
    Name string
    The name of this target group.
    Scope string
    The scope of the target group.
    Tags List<string>
    The tags of the target group.
    Id string
    The ID of this target group.
    Name string
    The name of this target group.
    Scope string
    The scope of the target group.
    Tags []string
    The tags of the target group.
    id String
    The ID of this target group.
    name String
    The name of this target group.
    scope String
    The scope of the target group.
    tags List<String>
    The tags of the target group.
    id string
    The ID of this target group.
    name string
    The name of this target group.
    scope string
    The scope of the target group.
    tags string[]
    The tags of the target group.
    id str
    The ID of this target group.
    name str
    The name of this target group.
    scope str
    The scope of the target group.
    tags Sequence[str]
    The tags of the target group.
    id String
    The ID of this target group.
    name String
    The name of this target group.
    scope String
    The scope of the target group.
    tags List<String>
    The tags of the target group.

    Package Details

    Repository
    meraki pulumi/pulumi-meraki
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the meraki Terraform Provider.
    meraki logo
    Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi