Cisco Meraki v0.2.4 published on Friday, Jun 14, 2024 by Pulumi
meraki.networks.getSmTargetGroups
Explore with Pulumi AI
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:
- Network
Id string - networkId path parameter. Network ID
- Target
Group stringId - 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
- Network
Id string - networkId path parameter. Network ID
- Target
Group stringId - 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
- network
Id String - networkId path parameter. Network ID
- target
Group StringId - targetGroupId path parameter. Target group ID
- with
Details 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 string - networkId path parameter. Network ID
- target
Group stringId - targetGroupId path parameter. Target group ID
- with
Details 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_ strid - 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
- network
Id String - networkId path parameter. Network ID
- target
Group StringId - targetGroupId path parameter. Target group ID
- with
Details 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
Get
Sm Target Groups Item - Items
List<Get
Sm Target Groups Item> - Array of ResponseSmGetNetworkSmTargetGroups
- Network
Id string - networkId path parameter. Network ID
- Target
Group stringId - 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
Get
Sm Target Groups Item - Items
[]Get
Sm Target Groups Item - Array of ResponseSmGetNetworkSmTargetGroups
- Network
Id string - networkId path parameter. Network ID
- Target
Group stringId - 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
Get
Sm Target Groups Item - items
List<Get
Sm Target Groups Item> - Array of ResponseSmGetNetworkSmTargetGroups
- network
Id String - networkId path parameter. Network ID
- target
Group StringId - targetGroupId path parameter. Target group ID
- with
Details 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
Get
Sm Target Groups Item - items
Get
Sm Target Groups Item[] - Array of ResponseSmGetNetworkSmTargetGroups
- network
Id string - networkId path parameter. Network ID
- target
Group stringId - targetGroupId path parameter. Target group ID
- with
Details 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
Get
Sm Target Groups Item - items
Sequence[Get
Sm Target Groups Item] - Array of ResponseSmGetNetworkSmTargetGroups
- network_
id str - networkId path parameter. Network ID
- target_
group_ strid - 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
- network
Id String - networkId path parameter. Network ID
- target
Group StringId - targetGroupId path parameter. Target group ID
- with
Details 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
Package Details
- Repository
- meraki pulumi/pulumi-meraki
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
meraki
Terraform Provider.