Viewing docs for prismacloud 1.7.1
published on Tuesday, Mar 3, 2026 by paloaltonetworks
published on Tuesday, Mar 3, 2026 by paloaltonetworks
Viewing docs for prismacloud 1.7.1
published on Tuesday, Mar 3, 2026 by paloaltonetworks
published on Tuesday, Mar 3, 2026 by paloaltonetworks
Retrieve information on a specific cloud account.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as prismacloud from "@pulumi/prismacloud";
const example = prismacloud.getCloudAccount({
cloudType: "azure",
name: "My Azure cloud account",
});
import pulumi
import pulumi_prismacloud as prismacloud
example = prismacloud.get_cloud_account(cloud_type="azure",
name="My Azure cloud account")
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.LookupCloudAccount(ctx, &prismacloud.LookupCloudAccountArgs{
CloudType: "azure",
Name: pulumi.StringRef("My Azure cloud account"),
}, 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.GetCloudAccount.Invoke(new()
{
CloudType = "azure",
Name = "My Azure cloud account",
});
});
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.GetCloudAccountArgs;
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.getCloudAccount(GetCloudAccountArgs.builder()
.cloudType("azure")
.name("My Azure cloud account")
.build());
}
}
variables:
example:
fn::invoke:
function: prismacloud:getCloudAccount
arguments:
cloudType: azure
name: My Azure cloud account
Using getCloudAccount
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 getCloudAccount(args: GetCloudAccountArgs, opts?: InvokeOptions): Promise<GetCloudAccountResult>
function getCloudAccountOutput(args: GetCloudAccountOutputArgs, opts?: InvokeOptions): Output<GetCloudAccountResult>def get_cloud_account(account_id: Optional[str] = None,
cloud_type: Optional[str] = None,
id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudAccountResult
def get_cloud_account_output(account_id: Optional[pulumi.Input[str]] = None,
cloud_type: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCloudAccountResult]func LookupCloudAccount(ctx *Context, args *LookupCloudAccountArgs, opts ...InvokeOption) (*LookupCloudAccountResult, error)
func LookupCloudAccountOutput(ctx *Context, args *LookupCloudAccountOutputArgs, opts ...InvokeOption) LookupCloudAccountResultOutput> Note: This function is named LookupCloudAccount in the Go SDK.
public static class GetCloudAccount
{
public static Task<GetCloudAccountResult> InvokeAsync(GetCloudAccountArgs args, InvokeOptions? opts = null)
public static Output<GetCloudAccountResult> Invoke(GetCloudAccountInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCloudAccountResult> getCloudAccount(GetCloudAccountArgs args, InvokeOptions options)
public static Output<GetCloudAccountResult> getCloudAccount(GetCloudAccountArgs args, InvokeOptions options)
fn::invoke:
function: prismacloud:index/getCloudAccount:getCloudAccount
arguments:
# arguments dictionaryThe following arguments are supported:
- cloud_
type str - The cloud type. Valid values are
aws,azure,gcp, oralibaba_cloud. - account_
id str - Account ID; computed if this is not supplied.
- id str
- name str
- Cloud account name; computed if this is not supplied.
getCloudAccount Result
The following output properties are available:
- Account
Id string - Alibaba account ID.
- Alibaba
Clouds List<GetCloud Account Alibaba Cloud> - Alibaba account type spec, defined below.
- Aws
List<Get
Cloud Account Aw> - AWS account type spec, defined below.
- Azures
List<Get
Cloud Account Azure> - Azure account type spec, defined below.
- Cloud
Type string - Gcps
List<Get
Cloud Account Gcp> - GCP account type spec, defined below.
- Id string
- Name string
- Name to be used for the account on the Prisma Cloud platform.
- Account
Id string - Alibaba account ID.
- Alibaba
Clouds []GetCloud Account Alibaba Cloud - Alibaba account type spec, defined below.
- Aws
[]Get
Cloud Account Aw - AWS account type spec, defined below.
- Azures
[]Get
Cloud Account Azure - Azure account type spec, defined below.
- Cloud
Type string - Gcps
[]Get
Cloud Account Gcp - GCP account type spec, defined below.
- Id string
- Name string
- Name to be used for the account on the Prisma Cloud platform.
- account
Id String - Alibaba account ID.
- alibaba
Clouds List<GetCloud Account Alibaba Cloud> - Alibaba account type spec, defined below.
- aws
List<Get
Cloud Account Aw> - AWS account type spec, defined below.
- azures
List<Get
Cloud Account Azure> - Azure account type spec, defined below.
- cloud
Type String - gcps
List<Get
Cloud Account Gcp> - GCP account type spec, defined below.
- id String
- name String
- Name to be used for the account on the Prisma Cloud platform.
- account
Id string - Alibaba account ID.
- alibaba
Clouds GetCloud Account Alibaba Cloud[] - Alibaba account type spec, defined below.
- aws
Get
Cloud Account Aw[] - AWS account type spec, defined below.
- azures
Get
Cloud Account Azure[] - Azure account type spec, defined below.
- cloud
Type string - gcps
Get
Cloud Account Gcp[] - GCP account type spec, defined below.
- id string
- name string
- Name to be used for the account on the Prisma Cloud platform.
- account_
id str - Alibaba account ID.
- alibaba_
clouds Sequence[GetCloud Account Alibaba Cloud] - Alibaba account type spec, defined below.
- aws
Sequence[Get
Cloud Account Aw] - AWS account type spec, defined below.
- azures
Sequence[Get
Cloud Account Azure] - Azure account type spec, defined below.
- cloud_
type str - gcps
Sequence[Get
Cloud Account Gcp] - GCP account type spec, defined below.
- id str
- name str
- Name to be used for the account on the Prisma Cloud platform.
- account
Id String - Alibaba account ID.
- alibaba
Clouds List<Property Map> - Alibaba account type spec, defined below.
- aws List<Property Map>
- AWS account type spec, defined below.
- azures List<Property Map>
- Azure account type spec, defined below.
- cloud
Type String - gcps List<Property Map>
- GCP account type spec, defined below.
- id String
- name String
- Name to be used for the account on the Prisma Cloud platform.
Supporting Types
GetCloudAccountAlibabaCloud
- Account
Id string - Account ID; computed if this is not supplied.
- Enabled bool
- (bool) Whether or not the account is enabled.
- Group
Ids List<string> - List of account IDs to which you are assigning this account.
- Name string
- Cloud account name; computed if this is not supplied.
- Ram
Arn string - Unique identifier for an Alibaba RAM role resource.
- Account
Id string - Account ID; computed if this is not supplied.
- Enabled bool
- (bool) Whether or not the account is enabled.
- Group
Ids []string - List of account IDs to which you are assigning this account.
- Name string
- Cloud account name; computed if this is not supplied.
- Ram
Arn string - Unique identifier for an Alibaba RAM role resource.
- account
Id String - Account ID; computed if this is not supplied.
- enabled Boolean
- (bool) Whether or not the account is enabled.
- group
Ids List<String> - List of account IDs to which you are assigning this account.
- name String
- Cloud account name; computed if this is not supplied.
- ram
Arn String - Unique identifier for an Alibaba RAM role resource.
- account
Id string - Account ID; computed if this is not supplied.
- enabled boolean
- (bool) Whether or not the account is enabled.
- group
Ids string[] - List of account IDs to which you are assigning this account.
- name string
- Cloud account name; computed if this is not supplied.
- ram
Arn string - Unique identifier for an Alibaba RAM role resource.
- account_
id str - Account ID; computed if this is not supplied.
- enabled bool
- (bool) Whether or not the account is enabled.
- group_
ids Sequence[str] - List of account IDs to which you are assigning this account.
- name str
- Cloud account name; computed if this is not supplied.
- ram_
arn str - Unique identifier for an Alibaba RAM role resource.
- account
Id String - Account ID; computed if this is not supplied.
- enabled Boolean
- (bool) Whether or not the account is enabled.
- group
Ids List<String> - List of account IDs to which you are assigning this account.
- name String
- Cloud account name; computed if this is not supplied.
- ram
Arn String - Unique identifier for an Alibaba RAM role resource.
GetCloudAccountAw
- Account
Id string - Account ID; computed if this is not supplied.
- Account
Type string - Enabled bool
- (bool) Whether or not the account is enabled.
- External
Id string - AWS account external ID.
- Group
Ids List<string> - List of account IDs to which you are assigning this account.
- Name string
- Cloud account name; computed if this is not supplied.
- Protection
Mode string - Role
Arn string - Unique identifier for an AWS resource (ARN).
- Account
Id string - Account ID; computed if this is not supplied.
- Account
Type string - Enabled bool
- (bool) Whether or not the account is enabled.
- External
Id string - AWS account external ID.
- Group
Ids []string - List of account IDs to which you are assigning this account.
- Name string
- Cloud account name; computed if this is not supplied.
- Protection
Mode string - Role
Arn string - Unique identifier for an AWS resource (ARN).
- account
Id String - Account ID; computed if this is not supplied.
- account
Type String - enabled Boolean
- (bool) Whether or not the account is enabled.
- external
Id String - AWS account external ID.
- group
Ids List<String> - List of account IDs to which you are assigning this account.
- name String
- Cloud account name; computed if this is not supplied.
- protection
Mode String - role
Arn String - Unique identifier for an AWS resource (ARN).
- account
Id string - Account ID; computed if this is not supplied.
- account
Type string - enabled boolean
- (bool) Whether or not the account is enabled.
- external
Id string - AWS account external ID.
- group
Ids string[] - List of account IDs to which you are assigning this account.
- name string
- Cloud account name; computed if this is not supplied.
- protection
Mode string - role
Arn string - Unique identifier for an AWS resource (ARN).
- account_
id str - Account ID; computed if this is not supplied.
- account_
type str - enabled bool
- (bool) Whether or not the account is enabled.
- external_
id str - AWS account external ID.
- group_
ids Sequence[str] - List of account IDs to which you are assigning this account.
- name str
- Cloud account name; computed if this is not supplied.
- protection_
mode str - role_
arn str - Unique identifier for an AWS resource (ARN).
- account
Id String - Account ID; computed if this is not supplied.
- account
Type String - enabled Boolean
- (bool) Whether or not the account is enabled.
- external
Id String - AWS account external ID.
- group
Ids List<String> - List of account IDs to which you are assigning this account.
- name String
- Cloud account name; computed if this is not supplied.
- protection
Mode String - role
Arn String - Unique identifier for an AWS resource (ARN).
GetCloudAccountAzure
- Account
Id string - Account ID; computed if this is not supplied.
- Account
Type string - Client
Id string - Application ID registered with Active Directory.
- Enabled bool
- (bool) Whether or not the account is enabled.
- Group
Ids List<string> - List of account IDs to which you are assigning this account.
- Key string
- Application ID key.
- Monitor
Flow boolLogs - (bool) Automatically ingest flow logs.
- Name string
- Cloud account name; computed if this is not supplied.
- Protection
Mode string - Service
Principal stringId - Unique ID of the service principal object associated with the Prisma Cloud application that you create.
- Tenant
Id string - Active Directory ID associated with Azure.
- Account
Id string - Account ID; computed if this is not supplied.
- Account
Type string - Client
Id string - Application ID registered with Active Directory.
- Enabled bool
- (bool) Whether or not the account is enabled.
- Group
Ids []string - List of account IDs to which you are assigning this account.
- Key string
- Application ID key.
- Monitor
Flow boolLogs - (bool) Automatically ingest flow logs.
- Name string
- Cloud account name; computed if this is not supplied.
- Protection
Mode string - Service
Principal stringId - Unique ID of the service principal object associated with the Prisma Cloud application that you create.
- Tenant
Id string - Active Directory ID associated with Azure.
- account
Id String - Account ID; computed if this is not supplied.
- account
Type String - client
Id String - Application ID registered with Active Directory.
- enabled Boolean
- (bool) Whether or not the account is enabled.
- group
Ids List<String> - List of account IDs to which you are assigning this account.
- key String
- Application ID key.
- monitor
Flow BooleanLogs - (bool) Automatically ingest flow logs.
- name String
- Cloud account name; computed if this is not supplied.
- protection
Mode String - service
Principal StringId - Unique ID of the service principal object associated with the Prisma Cloud application that you create.
- tenant
Id String - Active Directory ID associated with Azure.
- account
Id string - Account ID; computed if this is not supplied.
- account
Type string - client
Id string - Application ID registered with Active Directory.
- enabled boolean
- (bool) Whether or not the account is enabled.
- group
Ids string[] - List of account IDs to which you are assigning this account.
- key string
- Application ID key.
- monitor
Flow booleanLogs - (bool) Automatically ingest flow logs.
- name string
- Cloud account name; computed if this is not supplied.
- protection
Mode string - service
Principal stringId - Unique ID of the service principal object associated with the Prisma Cloud application that you create.
- tenant
Id string - Active Directory ID associated with Azure.
- account_
id str - Account ID; computed if this is not supplied.
- account_
type str - client_
id str - Application ID registered with Active Directory.
- enabled bool
- (bool) Whether or not the account is enabled.
- group_
ids Sequence[str] - List of account IDs to which you are assigning this account.
- key str
- Application ID key.
- monitor_
flow_ boollogs - (bool) Automatically ingest flow logs.
- name str
- Cloud account name; computed if this is not supplied.
- protection_
mode str - service_
principal_ strid - Unique ID of the service principal object associated with the Prisma Cloud application that you create.
- tenant_
id str - Active Directory ID associated with Azure.
- account
Id String - Account ID; computed if this is not supplied.
- account
Type String - client
Id String - Application ID registered with Active Directory.
- enabled Boolean
- (bool) Whether or not the account is enabled.
- group
Ids List<String> - List of account IDs to which you are assigning this account.
- key String
- Application ID key.
- monitor
Flow BooleanLogs - (bool) Automatically ingest flow logs.
- name String
- Cloud account name; computed if this is not supplied.
- protection
Mode String - service
Principal StringId - Unique ID of the service principal object associated with the Prisma Cloud application that you create.
- tenant
Id String - Active Directory ID associated with Azure.
GetCloudAccountGcp
- Account
Id string - Account ID; computed if this is not supplied.
- Account
Type string - Compression
Enabled bool - (bool) Enable flow log compression.
- Credentials
Json string - Content of the JSON credentials file.
- Dataflow
Enabled stringProject - GCP project for flow log compression.
- Enabled bool
- (bool) Whether or not the account is enabled.
- Flow
Log stringStorage Bucket - GCP Flow logs storage bucket.
- Group
Ids List<string> - List of account IDs to which you are assigning this account.
- Name string
- Cloud account name; computed if this is not supplied.
- Protection
Mode string
- Account
Id string - Account ID; computed if this is not supplied.
- Account
Type string - Compression
Enabled bool - (bool) Enable flow log compression.
- Credentials
Json string - Content of the JSON credentials file.
- Dataflow
Enabled stringProject - GCP project for flow log compression.
- Enabled bool
- (bool) Whether or not the account is enabled.
- Flow
Log stringStorage Bucket - GCP Flow logs storage bucket.
- Group
Ids []string - List of account IDs to which you are assigning this account.
- Name string
- Cloud account name; computed if this is not supplied.
- Protection
Mode string
- account
Id String - Account ID; computed if this is not supplied.
- account
Type String - compression
Enabled Boolean - (bool) Enable flow log compression.
- credentials
Json String - Content of the JSON credentials file.
- dataflow
Enabled StringProject - GCP project for flow log compression.
- enabled Boolean
- (bool) Whether or not the account is enabled.
- flow
Log StringStorage Bucket - GCP Flow logs storage bucket.
- group
Ids List<String> - List of account IDs to which you are assigning this account.
- name String
- Cloud account name; computed if this is not supplied.
- protection
Mode String
- account
Id string - Account ID; computed if this is not supplied.
- account
Type string - compression
Enabled boolean - (bool) Enable flow log compression.
- credentials
Json string - Content of the JSON credentials file.
- dataflow
Enabled stringProject - GCP project for flow log compression.
- enabled boolean
- (bool) Whether or not the account is enabled.
- flow
Log stringStorage Bucket - GCP Flow logs storage bucket.
- group
Ids string[] - List of account IDs to which you are assigning this account.
- name string
- Cloud account name; computed if this is not supplied.
- protection
Mode string
- account_
id str - Account ID; computed if this is not supplied.
- account_
type str - compression_
enabled bool - (bool) Enable flow log compression.
- credentials_
json str - Content of the JSON credentials file.
- dataflow_
enabled_ strproject - GCP project for flow log compression.
- enabled bool
- (bool) Whether or not the account is enabled.
- flow_
log_ strstorage_ bucket - GCP Flow logs storage bucket.
- group_
ids Sequence[str] - List of account IDs to which you are assigning this account.
- name str
- Cloud account name; computed if this is not supplied.
- protection_
mode str
- account
Id String - Account ID; computed if this is not supplied.
- account
Type String - compression
Enabled Boolean - (bool) Enable flow log compression.
- credentials
Json String - Content of the JSON credentials file.
- dataflow
Enabled StringProject - GCP project for flow log compression.
- enabled Boolean
- (bool) Whether or not the account is enabled.
- flow
Log StringStorage Bucket - GCP Flow logs storage bucket.
- group
Ids List<String> - List of account IDs to which you are assigning this account.
- name String
- Cloud account name; computed if this is not supplied.
- protection
Mode String
Package Details
- Repository
- prismacloud paloaltonetworks/terraform-provider-prismacloud
- License
- Notes
- This Pulumi package is based on the
prismacloudTerraform Provider.
Viewing docs for prismacloud 1.7.1
published on Tuesday, Mar 3, 2026 by paloaltonetworks
published on Tuesday, Mar 3, 2026 by paloaltonetworks
