1. Packages
  2. Palo Alto Networks Cloud NGFW for AWS Provider
  3. API Docs
  4. getAccounts
Palo Alto Networks Cloud NGFW for AWS v0.1.1 published on Saturday, Mar 15, 2025 by Pulumi

cloudngfwaws.getAccounts

Explore with Pulumi AI

Palo Alto Networks Cloud NGFW for AWS v0.1.1 published on Saturday, Mar 15, 2025 by Pulumi

Data source get a list of Accounts.

Admin Permission Type

  • Rulestack (for scope="Local")
  • Global Rulestack (for scope="Global")

Using getAccounts

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 getAccounts(args: GetAccountsArgs, opts?: InvokeOptions): Promise<GetAccountsResult>
function getAccountsOutput(args: GetAccountsOutputArgs, opts?: InvokeOptions): Output<GetAccountsResult>
Copy
def get_accounts(account_details: Optional[Sequence[GetAccountsAccountDetail]] = None,
                 account_ids: Optional[Sequence[str]] = None,
                 describe: Optional[bool] = None,
                 opts: Optional[InvokeOptions] = None) -> GetAccountsResult
def get_accounts_output(account_details: Optional[pulumi.Input[Sequence[pulumi.Input[GetAccountsAccountDetailArgs]]]] = None,
                 account_ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
                 describe: Optional[pulumi.Input[bool]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetAccountsResult]
Copy
func GetAccounts(ctx *Context, args *GetAccountsArgs, opts ...InvokeOption) (*GetAccountsResult, error)
func GetAccountsOutput(ctx *Context, args *GetAccountsOutputArgs, opts ...InvokeOption) GetAccountsResultOutput
Copy

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

public static class GetAccounts 
{
    public static Task<GetAccountsResult> InvokeAsync(GetAccountsArgs args, InvokeOptions? opts = null)
    public static Output<GetAccountsResult> Invoke(GetAccountsInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetAccountsResult> getAccounts(GetAccountsArgs args, InvokeOptions options)
public static Output<GetAccountsResult> getAccounts(GetAccountsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: cloudngfwaws:index/getAccounts:getAccounts
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AccountDetails List<Pulumi.CloudNgfwAws.Inputs.GetAccountsAccountDetail>
List of account details.
AccountIds List<string>
List of account ids.
Describe bool
Flag to include account details while listing accounts. Defaults to false.
AccountDetails []GetAccountsAccountDetail
List of account details.
AccountIds []string
List of account ids.
Describe bool
Flag to include account details while listing accounts. Defaults to false.
accountDetails List<GetAccountsAccountDetail>
List of account details.
accountIds List<String>
List of account ids.
describe Boolean
Flag to include account details while listing accounts. Defaults to false.
accountDetails GetAccountsAccountDetail[]
List of account details.
accountIds string[]
List of account ids.
describe boolean
Flag to include account details while listing accounts. Defaults to false.
account_details Sequence[GetAccountsAccountDetail]
List of account details.
account_ids Sequence[str]
List of account ids.
describe bool
Flag to include account details while listing accounts. Defaults to false.
accountDetails List<Property Map>
List of account details.
accountIds List<String>
List of account ids.
describe Boolean
Flag to include account details while listing accounts. Defaults to false.

getAccounts Result

The following output properties are available:

AccountDetails List<Pulumi.CloudNgfwAws.Outputs.GetAccountsAccountDetail>
List of account details.
AccountIds List<string>
List of account ids.
Id string
The provider-assigned unique ID for this managed resource.
Describe bool
Flag to include account details while listing accounts. Defaults to false.
AccountDetails []GetAccountsAccountDetail
List of account details.
AccountIds []string
List of account ids.
Id string
The provider-assigned unique ID for this managed resource.
Describe bool
Flag to include account details while listing accounts. Defaults to false.
accountDetails List<GetAccountsAccountDetail>
List of account details.
accountIds List<String>
List of account ids.
id String
The provider-assigned unique ID for this managed resource.
describe Boolean
Flag to include account details while listing accounts. Defaults to false.
accountDetails GetAccountsAccountDetail[]
List of account details.
accountIds string[]
List of account ids.
id string
The provider-assigned unique ID for this managed resource.
describe boolean
Flag to include account details while listing accounts. Defaults to false.
account_details Sequence[GetAccountsAccountDetail]
List of account details.
account_ids Sequence[str]
List of account ids.
id str
The provider-assigned unique ID for this managed resource.
describe bool
Flag to include account details while listing accounts. Defaults to false.
accountDetails List<Property Map>
List of account details.
accountIds List<String>
List of account ids.
id String
The provider-assigned unique ID for this managed resource.
describe Boolean
Flag to include account details while listing accounts. Defaults to false.

Supporting Types

GetAccountsAccountDetail

AccountId This property is required. string
The account id.
ExternalId This property is required. string
External Id of the onboarded account
OnboardingStatus This property is required. string
Onboarding status of the account.
AccountId This property is required. string
The account id.
ExternalId This property is required. string
External Id of the onboarded account
OnboardingStatus This property is required. string
Onboarding status of the account.
accountId This property is required. String
The account id.
externalId This property is required. String
External Id of the onboarded account
onboardingStatus This property is required. String
Onboarding status of the account.
accountId This property is required. string
The account id.
externalId This property is required. string
External Id of the onboarded account
onboardingStatus This property is required. string
Onboarding status of the account.
account_id This property is required. str
The account id.
external_id This property is required. str
External Id of the onboarded account
onboarding_status This property is required. str
Onboarding status of the account.
accountId This property is required. String
The account id.
externalId This property is required. String
External Id of the onboarded account
onboardingStatus This property is required. String
Onboarding status of the account.

Package Details

Repository
cloudngfwaws pulumi/pulumi-cloudngfwaws
License
Apache-2.0
Notes
This Pulumi package is based on the cloudngfwaws Terraform Provider.
Palo Alto Networks Cloud NGFW for AWS v0.1.1 published on Saturday, Mar 15, 2025 by Pulumi