prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks
prismacloud.getAccountGroups
Explore with Pulumi AI
prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks
Lists account groups.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as prismacloud from "@pulumi/prismacloud";
const example = prismacloud.getAccountGroups({});
import pulumi
import pulumi_prismacloud as prismacloud
example = prismacloud.get_account_groups()
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/prismacloud/prismacloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := prismacloud.GetAccountGroups(ctx, &prismacloud.GetAccountGroupsArgs{}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Prismacloud = Pulumi.Prismacloud;
return await Deployment.RunAsync(() =>
{
var example = Prismacloud.GetAccountGroups.Invoke();
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.prismacloud.PrismacloudFunctions;
import com.pulumi.prismacloud.inputs.GetAccountGroupsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var example = PrismacloudFunctions.getAccountGroups();
}
}
variables:
example:
fn::invoke:
function: prismacloud:getAccountGroups
arguments: {}
Using getAccountGroups
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 getAccountGroups(args: GetAccountGroupsArgs, opts?: InvokeOptions): Promise<GetAccountGroupsResult>
function getAccountGroupsOutput(args: GetAccountGroupsOutputArgs, opts?: InvokeOptions): Output<GetAccountGroupsResult>
def get_account_groups(id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAccountGroupsResult
def get_account_groups_output(id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAccountGroupsResult]
func GetAccountGroups(ctx *Context, args *GetAccountGroupsArgs, opts ...InvokeOption) (*GetAccountGroupsResult, error)
func GetAccountGroupsOutput(ctx *Context, args *GetAccountGroupsOutputArgs, opts ...InvokeOption) GetAccountGroupsResultOutput
> Note: This function is named GetAccountGroups
in the Go SDK.
public static class GetAccountGroups
{
public static Task<GetAccountGroupsResult> InvokeAsync(GetAccountGroupsArgs args, InvokeOptions? opts = null)
public static Output<GetAccountGroupsResult> Invoke(GetAccountGroupsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAccountGroupsResult> getAccountGroups(GetAccountGroupsArgs args, InvokeOptions options)
public static Output<GetAccountGroupsResult> getAccountGroups(GetAccountGroupsArgs args, InvokeOptions options)
fn::invoke:
function: prismacloud:index/getAccountGroups:getAccountGroups
arguments:
# arguments dictionary
The following arguments are supported:
- Id string
- Id string
- id String
- id string
- id str
- id String
getAccountGroups Result
The following output properties are available:
- Id string
- Listings
List<Get
Account Groups Listing> - List of accounts, as defined below.
- Total double
- (int) Total number of account groups.
- Id string
- Listings
[]Get
Account Groups Listing - List of accounts, as defined below.
- Total float64
- (int) Total number of account groups.
- id String
- listings
List<Get
Account Groups Listing> - List of accounts, as defined below.
- total Double
- (int) Total number of account groups.
- id string
- listings
Get
Account Groups Listing[] - List of accounts, as defined below.
- total number
- (int) Total number of account groups.
- id str
- listings
Sequence[Get
Account Groups Listing] - List of accounts, as defined below.
- total float
- (int) Total number of account groups.
- id String
- listings List<Property Map>
- List of accounts, as defined below.
- total Number
- (int) Total number of account groups.
Supporting Types
GetAccountGroupsListing
- Accounts
List<Get
Account Groups Listing Account> - Associated cloud accounts spec, as defined below.
- Alert
Rules List<GetAccount Groups Listing Alert Rule> - Singly associated rules which cannot exist in the system without the account group spec, as defined below.
- Group
Id string - Parent account group ID.
- Name string
- Parent account group name.
- Parent
Infos List<GetAccount Groups Listing Parent Info> - Parent account group info spec, as defined below.
- Accounts
[]Get
Account Groups Listing Account - Associated cloud accounts spec, as defined below.
- Alert
Rules []GetAccount Groups Listing Alert Rule - Singly associated rules which cannot exist in the system without the account group spec, as defined below.
- Group
Id string - Parent account group ID.
- Name string
- Parent account group name.
- Parent
Infos []GetAccount Groups Listing Parent Info - Parent account group info spec, as defined below.
- accounts
List<Get
Account Groups Listing Account> - Associated cloud accounts spec, as defined below.
- alert
Rules List<GetAccount Groups Listing Alert Rule> - Singly associated rules which cannot exist in the system without the account group spec, as defined below.
- group
Id String - Parent account group ID.
- name String
- Parent account group name.
- parent
Infos List<GetAccount Groups Listing Parent Info> - Parent account group info spec, as defined below.
- accounts
Get
Account Groups Listing Account[] - Associated cloud accounts spec, as defined below.
- alert
Rules GetAccount Groups Listing Alert Rule[] - Singly associated rules which cannot exist in the system without the account group spec, as defined below.
- group
Id string - Parent account group ID.
- name string
- Parent account group name.
- parent
Infos GetAccount Groups Listing Parent Info[] - Parent account group info spec, as defined below.
- accounts
Sequence[Get
Account Groups Listing Account] - Associated cloud accounts spec, as defined below.
- alert_
rules Sequence[GetAccount Groups Listing Alert Rule] - Singly associated rules which cannot exist in the system without the account group spec, as defined below.
- group_
id str - Parent account group ID.
- name str
- Parent account group name.
- parent_
infos Sequence[GetAccount Groups Listing Parent Info] - Parent account group info spec, as defined below.
- accounts List<Property Map>
- Associated cloud accounts spec, as defined below.
- alert
Rules List<Property Map> - Singly associated rules which cannot exist in the system without the account group spec, as defined below.
- group
Id String - Parent account group ID.
- name String
- Parent account group name.
- parent
Infos List<Property Map> - Parent account group info spec, as defined below.
GetAccountGroupsListingAccount
- Account
Id string - Associated cloud account ID.
- Account
Type string - Associated cloud account type.
- Name string
- Parent account group name.
- Account
Id string - Associated cloud account ID.
- Account
Type string - Associated cloud account type.
- Name string
- Parent account group name.
- account
Id String - Associated cloud account ID.
- account
Type String - Associated cloud account type.
- name String
- Parent account group name.
- account
Id string - Associated cloud account ID.
- account
Type string - Associated cloud account type.
- name string
- Parent account group name.
- account_
id str - Associated cloud account ID.
- account_
type str - Associated cloud account type.
- name str
- Parent account group name.
- account
Id String - Associated cloud account ID.
- account
Type String - Associated cloud account type.
- name String
- Parent account group name.
GetAccountGroupsListingAlertRule
GetAccountGroupsListingParentInfo
- Auto
Created bool - (bool) Boolean to indicate if account group is automatically created.
- Group
Id string - Parent account group ID.
- Name string
- Parent account group name.
- Auto
Created bool - (bool) Boolean to indicate if account group is automatically created.
- Group
Id string - Parent account group ID.
- Name string
- Parent account group name.
- auto
Created Boolean - (bool) Boolean to indicate if account group is automatically created.
- group
Id String - Parent account group ID.
- name String
- Parent account group name.
- auto
Created boolean - (bool) Boolean to indicate if account group is automatically created.
- group
Id string - Parent account group ID.
- name string
- Parent account group name.
- auto_
created bool - (bool) Boolean to indicate if account group is automatically created.
- group_
id str - Parent account group ID.
- name str
- Parent account group name.
- auto
Created Boolean - (bool) Boolean to indicate if account group is automatically created.
- group
Id String - Parent account group ID.
- name String
- Parent account group name.
Package Details
- Repository
- prismacloud paloaltonetworks/terraform-provider-prismacloud
- License
- Notes
- This Pulumi package is based on the
prismacloud
Terraform Provider.
prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks