1. Packages
  2. Palo Alto Networks Cloud NGFW For AWS Provider
  3. API Docs
  4. getAccounts
Palo Alto Networks Cloud NGFW for AWS v0.0.2 published on Wednesday, Nov 13, 2024 by Pulumi

cloudngfwaws.getAccounts

Explore with Pulumi AI

cloudngfwaws logo
Palo Alto Networks Cloud NGFW for AWS v0.0.2 published on Wednesday, Nov 13, 2024 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>
    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]
    func GetAccounts(ctx *Context, args *GetAccountsArgs, opts ...InvokeOption) (*GetAccountsResult, error)
    func GetAccountsOutput(ctx *Context, args *GetAccountsOutputArgs, opts ...InvokeOption) GetAccountsResultOutput

    > 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)
    }
    public static CompletableFuture<GetAccountsResult> getAccounts(GetAccountsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: cloudngfwaws:index/getAccounts:getAccounts
      arguments:
        # arguments dictionary

    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 string
    The account id.
    ExternalId string
    External Id of the onboarded account
    OnboardingStatus string
    Onboarding status of the account.
    AccountId string
    The account id.
    ExternalId string
    External Id of the onboarded account
    OnboardingStatus string
    Onboarding status of the account.
    accountId String
    The account id.
    externalId String
    External Id of the onboarded account
    onboardingStatus String
    Onboarding status of the account.
    accountId string
    The account id.
    externalId string
    External Id of the onboarded account
    onboardingStatus string
    Onboarding status of the account.
    account_id str
    The account id.
    external_id str
    External Id of the onboarded account
    onboarding_status str
    Onboarding status of the account.
    accountId String
    The account id.
    externalId String
    External Id of the onboarded account
    onboardingStatus 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.
    cloudngfwaws logo
    Palo Alto Networks Cloud NGFW for AWS v0.0.2 published on Wednesday, Nov 13, 2024 by Pulumi