1. Packages
  2. Prismacloud Provider
  3. API Docs
  4. CloudAccount
prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks

prismacloud.CloudAccount

Explore with Pulumi AI

prismacloud logo
prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks

    Manage a cloud account on the Prisma Cloud platform.

    Create CloudAccount Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new CloudAccount(name: string, args?: CloudAccountArgs, opts?: CustomResourceOptions);
    @overload
    def CloudAccount(resource_name: str,
                     args: Optional[CloudAccountArgs] = None,
                     opts: Optional[ResourceOptions] = None)
    
    @overload
    def CloudAccount(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     alibaba_cloud: Optional[CloudAccountAlibabaCloudArgs] = None,
                     aws: Optional[CloudAccountAwsArgs] = None,
                     azure: Optional[CloudAccountAzureArgs] = None,
                     cloud_account_id: Optional[str] = None,
                     disable_on_destroy: Optional[bool] = None,
                     gcp: Optional[CloudAccountGcpArgs] = None,
                     timeouts: Optional[CloudAccountTimeoutsArgs] = None)
    func NewCloudAccount(ctx *Context, name string, args *CloudAccountArgs, opts ...ResourceOption) (*CloudAccount, error)
    public CloudAccount(string name, CloudAccountArgs? args = null, CustomResourceOptions? opts = null)
    public CloudAccount(String name, CloudAccountArgs args)
    public CloudAccount(String name, CloudAccountArgs args, CustomResourceOptions options)
    
    type: prismacloud:CloudAccount
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args CloudAccountArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args CloudAccountArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args CloudAccountArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CloudAccountArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CloudAccountArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var cloudAccountResource = new Prismacloud.CloudAccount("cloudAccountResource", new()
    {
        AlibabaCloud = new Prismacloud.Inputs.CloudAccountAlibabaCloudArgs
        {
            AccountId = "string",
            GroupIds = new[]
            {
                "string",
            },
            Name = "string",
            RamArn = "string",
            Enabled = false,
        },
        Aws = new Prismacloud.Inputs.CloudAccountAwsArgs
        {
            AccountId = "string",
            ExternalId = "string",
            GroupIds = new[]
            {
                "string",
            },
            Name = "string",
            RoleArn = "string",
            AccountType = "string",
            Enabled = false,
            ProtectionMode = "string",
        },
        Azure = new Prismacloud.Inputs.CloudAccountAzureArgs
        {
            AccountId = "string",
            ClientId = "string",
            GroupIds = new[]
            {
                "string",
            },
            Key = "string",
            Name = "string",
            ServicePrincipalId = "string",
            TenantId = "string",
            AccountType = "string",
            Enabled = false,
            MonitorFlowLogs = false,
            ProtectionMode = "string",
        },
        CloudAccountId = "string",
        DisableOnDestroy = false,
        Gcp = new Prismacloud.Inputs.CloudAccountGcpArgs
        {
            AccountId = "string",
            CredentialsJson = "string",
            GroupIds = new[]
            {
                "string",
            },
            Name = "string",
            AccountType = "string",
            CompressionEnabled = false,
            DataflowEnabledProject = "string",
            Enabled = false,
            FlowLogStorageBucket = "string",
            ProtectionMode = "string",
        },
        Timeouts = new Prismacloud.Inputs.CloudAccountTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
    });
    
    example, err := prismacloud.NewCloudAccount(ctx, "cloudAccountResource", &prismacloud.CloudAccountArgs{
    	AlibabaCloud: &prismacloud.CloudAccountAlibabaCloudArgs{
    		AccountId: pulumi.String("string"),
    		GroupIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Name:    pulumi.String("string"),
    		RamArn:  pulumi.String("string"),
    		Enabled: pulumi.Bool(false),
    	},
    	Aws: &prismacloud.CloudAccountAwsArgs{
    		AccountId:  pulumi.String("string"),
    		ExternalId: pulumi.String("string"),
    		GroupIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Name:           pulumi.String("string"),
    		RoleArn:        pulumi.String("string"),
    		AccountType:    pulumi.String("string"),
    		Enabled:        pulumi.Bool(false),
    		ProtectionMode: pulumi.String("string"),
    	},
    	Azure: &prismacloud.CloudAccountAzureArgs{
    		AccountId: pulumi.String("string"),
    		ClientId:  pulumi.String("string"),
    		GroupIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Key:                pulumi.String("string"),
    		Name:               pulumi.String("string"),
    		ServicePrincipalId: pulumi.String("string"),
    		TenantId:           pulumi.String("string"),
    		AccountType:        pulumi.String("string"),
    		Enabled:            pulumi.Bool(false),
    		MonitorFlowLogs:    pulumi.Bool(false),
    		ProtectionMode:     pulumi.String("string"),
    	},
    	CloudAccountId:   pulumi.String("string"),
    	DisableOnDestroy: pulumi.Bool(false),
    	Gcp: &prismacloud.CloudAccountGcpArgs{
    		AccountId:       pulumi.String("string"),
    		CredentialsJson: pulumi.String("string"),
    		GroupIds: pulumi.StringArray{
    			pulumi.String("string"),
    		},
    		Name:                   pulumi.String("string"),
    		AccountType:            pulumi.String("string"),
    		CompressionEnabled:     pulumi.Bool(false),
    		DataflowEnabledProject: pulumi.String("string"),
    		Enabled:                pulumi.Bool(false),
    		FlowLogStorageBucket:   pulumi.String("string"),
    		ProtectionMode:         pulumi.String("string"),
    	},
    	Timeouts: &prismacloud.CloudAccountTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var cloudAccountResource = new CloudAccount("cloudAccountResource", CloudAccountArgs.builder()
        .alibabaCloud(CloudAccountAlibabaCloudArgs.builder()
            .accountId("string")
            .groupIds("string")
            .name("string")
            .ramArn("string")
            .enabled(false)
            .build())
        .aws(CloudAccountAwsArgs.builder()
            .accountId("string")
            .externalId("string")
            .groupIds("string")
            .name("string")
            .roleArn("string")
            .accountType("string")
            .enabled(false)
            .protectionMode("string")
            .build())
        .azure(CloudAccountAzureArgs.builder()
            .accountId("string")
            .clientId("string")
            .groupIds("string")
            .key("string")
            .name("string")
            .servicePrincipalId("string")
            .tenantId("string")
            .accountType("string")
            .enabled(false)
            .monitorFlowLogs(false)
            .protectionMode("string")
            .build())
        .cloudAccountId("string")
        .disableOnDestroy(false)
        .gcp(CloudAccountGcpArgs.builder()
            .accountId("string")
            .credentialsJson("string")
            .groupIds("string")
            .name("string")
            .accountType("string")
            .compressionEnabled(false)
            .dataflowEnabledProject("string")
            .enabled(false)
            .flowLogStorageBucket("string")
            .protectionMode("string")
            .build())
        .timeouts(CloudAccountTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .build());
    
    cloud_account_resource = prismacloud.CloudAccount("cloudAccountResource",
        alibaba_cloud={
            "account_id": "string",
            "group_ids": ["string"],
            "name": "string",
            "ram_arn": "string",
            "enabled": False,
        },
        aws={
            "account_id": "string",
            "external_id": "string",
            "group_ids": ["string"],
            "name": "string",
            "role_arn": "string",
            "account_type": "string",
            "enabled": False,
            "protection_mode": "string",
        },
        azure={
            "account_id": "string",
            "client_id": "string",
            "group_ids": ["string"],
            "key": "string",
            "name": "string",
            "service_principal_id": "string",
            "tenant_id": "string",
            "account_type": "string",
            "enabled": False,
            "monitor_flow_logs": False,
            "protection_mode": "string",
        },
        cloud_account_id="string",
        disable_on_destroy=False,
        gcp={
            "account_id": "string",
            "credentials_json": "string",
            "group_ids": ["string"],
            "name": "string",
            "account_type": "string",
            "compression_enabled": False,
            "dataflow_enabled_project": "string",
            "enabled": False,
            "flow_log_storage_bucket": "string",
            "protection_mode": "string",
        },
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        })
    
    const cloudAccountResource = new prismacloud.CloudAccount("cloudAccountResource", {
        alibabaCloud: {
            accountId: "string",
            groupIds: ["string"],
            name: "string",
            ramArn: "string",
            enabled: false,
        },
        aws: {
            accountId: "string",
            externalId: "string",
            groupIds: ["string"],
            name: "string",
            roleArn: "string",
            accountType: "string",
            enabled: false,
            protectionMode: "string",
        },
        azure: {
            accountId: "string",
            clientId: "string",
            groupIds: ["string"],
            key: "string",
            name: "string",
            servicePrincipalId: "string",
            tenantId: "string",
            accountType: "string",
            enabled: false,
            monitorFlowLogs: false,
            protectionMode: "string",
        },
        cloudAccountId: "string",
        disableOnDestroy: false,
        gcp: {
            accountId: "string",
            credentialsJson: "string",
            groupIds: ["string"],
            name: "string",
            accountType: "string",
            compressionEnabled: false,
            dataflowEnabledProject: "string",
            enabled: false,
            flowLogStorageBucket: "string",
            protectionMode: "string",
        },
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
    });
    
    type: prismacloud:CloudAccount
    properties:
        alibabaCloud:
            accountId: string
            enabled: false
            groupIds:
                - string
            name: string
            ramArn: string
        aws:
            accountId: string
            accountType: string
            enabled: false
            externalId: string
            groupIds:
                - string
            name: string
            protectionMode: string
            roleArn: string
        azure:
            accountId: string
            accountType: string
            clientId: string
            enabled: false
            groupIds:
                - string
            key: string
            monitorFlowLogs: false
            name: string
            protectionMode: string
            servicePrincipalId: string
            tenantId: string
        cloudAccountId: string
        disableOnDestroy: false
        gcp:
            accountId: string
            accountType: string
            compressionEnabled: false
            credentialsJson: string
            dataflowEnabledProject: string
            enabled: false
            flowLogStorageBucket: string
            groupIds:
                - string
            name: string
            protectionMode: string
        timeouts:
            create: string
            delete: string
            update: string
    

    CloudAccount Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The CloudAccount resource accepts the following input properties:

    AlibabaCloud CloudAccountAlibabaCloud
    Alibaba account type spec, defined below.
    Aws CloudAccountAws
    AWS account type spec, defined below.
    Azure CloudAccountAzure
    Azure account type spec, defined below.
    CloudAccountId string
    DisableOnDestroy bool
    to disable cloud account instead of deleting on calling destroy
    Gcp CloudAccountGcp
    GCP account type spec, defined below.
    Timeouts CloudAccountTimeouts
    AlibabaCloud CloudAccountAlibabaCloudArgs
    Alibaba account type spec, defined below.
    Aws CloudAccountAwsArgs
    AWS account type spec, defined below.
    Azure CloudAccountAzureArgs
    Azure account type spec, defined below.
    CloudAccountId string
    DisableOnDestroy bool
    to disable cloud account instead of deleting on calling destroy
    Gcp CloudAccountGcpArgs
    GCP account type spec, defined below.
    Timeouts CloudAccountTimeoutsArgs
    alibabaCloud CloudAccountAlibabaCloud
    Alibaba account type spec, defined below.
    aws CloudAccountAws
    AWS account type spec, defined below.
    azure CloudAccountAzure
    Azure account type spec, defined below.
    cloudAccountId String
    disableOnDestroy Boolean
    to disable cloud account instead of deleting on calling destroy
    gcp CloudAccountGcp
    GCP account type spec, defined below.
    timeouts CloudAccountTimeouts
    alibabaCloud CloudAccountAlibabaCloud
    Alibaba account type spec, defined below.
    aws CloudAccountAws
    AWS account type spec, defined below.
    azure CloudAccountAzure
    Azure account type spec, defined below.
    cloudAccountId string
    disableOnDestroy boolean
    to disable cloud account instead of deleting on calling destroy
    gcp CloudAccountGcp
    GCP account type spec, defined below.
    timeouts CloudAccountTimeouts
    alibaba_cloud CloudAccountAlibabaCloudArgs
    Alibaba account type spec, defined below.
    aws CloudAccountAwsArgs
    AWS account type spec, defined below.
    azure CloudAccountAzureArgs
    Azure account type spec, defined below.
    cloud_account_id str
    disable_on_destroy bool
    to disable cloud account instead of deleting on calling destroy
    gcp CloudAccountGcpArgs
    GCP account type spec, defined below.
    timeouts CloudAccountTimeoutsArgs
    alibabaCloud Property Map
    Alibaba account type spec, defined below.
    aws Property Map
    AWS account type spec, defined below.
    azure Property Map
    Azure account type spec, defined below.
    cloudAccountId String
    disableOnDestroy Boolean
    to disable cloud account instead of deleting on calling destroy
    gcp Property Map
    GCP account type spec, defined below.
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the CloudAccount resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing CloudAccount Resource

    Get an existing CloudAccount resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: CloudAccountState, opts?: CustomResourceOptions): CloudAccount
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            alibaba_cloud: Optional[CloudAccountAlibabaCloudArgs] = None,
            aws: Optional[CloudAccountAwsArgs] = None,
            azure: Optional[CloudAccountAzureArgs] = None,
            cloud_account_id: Optional[str] = None,
            disable_on_destroy: Optional[bool] = None,
            gcp: Optional[CloudAccountGcpArgs] = None,
            timeouts: Optional[CloudAccountTimeoutsArgs] = None) -> CloudAccount
    func GetCloudAccount(ctx *Context, name string, id IDInput, state *CloudAccountState, opts ...ResourceOption) (*CloudAccount, error)
    public static CloudAccount Get(string name, Input<string> id, CloudAccountState? state, CustomResourceOptions? opts = null)
    public static CloudAccount get(String name, Output<String> id, CloudAccountState state, CustomResourceOptions options)
    resources:  _:    type: prismacloud:CloudAccount    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AlibabaCloud CloudAccountAlibabaCloud
    Alibaba account type spec, defined below.
    Aws CloudAccountAws
    AWS account type spec, defined below.
    Azure CloudAccountAzure
    Azure account type spec, defined below.
    CloudAccountId string
    DisableOnDestroy bool
    to disable cloud account instead of deleting on calling destroy
    Gcp CloudAccountGcp
    GCP account type spec, defined below.
    Timeouts CloudAccountTimeouts
    AlibabaCloud CloudAccountAlibabaCloudArgs
    Alibaba account type spec, defined below.
    Aws CloudAccountAwsArgs
    AWS account type spec, defined below.
    Azure CloudAccountAzureArgs
    Azure account type spec, defined below.
    CloudAccountId string
    DisableOnDestroy bool
    to disable cloud account instead of deleting on calling destroy
    Gcp CloudAccountGcpArgs
    GCP account type spec, defined below.
    Timeouts CloudAccountTimeoutsArgs
    alibabaCloud CloudAccountAlibabaCloud
    Alibaba account type spec, defined below.
    aws CloudAccountAws
    AWS account type spec, defined below.
    azure CloudAccountAzure
    Azure account type spec, defined below.
    cloudAccountId String
    disableOnDestroy Boolean
    to disable cloud account instead of deleting on calling destroy
    gcp CloudAccountGcp
    GCP account type spec, defined below.
    timeouts CloudAccountTimeouts
    alibabaCloud CloudAccountAlibabaCloud
    Alibaba account type spec, defined below.
    aws CloudAccountAws
    AWS account type spec, defined below.
    azure CloudAccountAzure
    Azure account type spec, defined below.
    cloudAccountId string
    disableOnDestroy boolean
    to disable cloud account instead of deleting on calling destroy
    gcp CloudAccountGcp
    GCP account type spec, defined below.
    timeouts CloudAccountTimeouts
    alibaba_cloud CloudAccountAlibabaCloudArgs
    Alibaba account type spec, defined below.
    aws CloudAccountAwsArgs
    AWS account type spec, defined below.
    azure CloudAccountAzureArgs
    Azure account type spec, defined below.
    cloud_account_id str
    disable_on_destroy bool
    to disable cloud account instead of deleting on calling destroy
    gcp CloudAccountGcpArgs
    GCP account type spec, defined below.
    timeouts CloudAccountTimeoutsArgs
    alibabaCloud Property Map
    Alibaba account type spec, defined below.
    aws Property Map
    AWS account type spec, defined below.
    azure Property Map
    Azure account type spec, defined below.
    cloudAccountId String
    disableOnDestroy Boolean
    to disable cloud account instead of deleting on calling destroy
    gcp Property Map
    GCP account type spec, defined below.
    timeouts Property Map

    Supporting Types

    CloudAccountAlibabaCloud, CloudAccountAlibabaCloudArgs

    AccountId string
    Alibaba account ID.
    GroupIds List<string>
    List of account IDs to which you are assigning this account.
    Name string
    Name to be used for the account on the Prisma Cloud platform (must be unique).
    RamArn string
    Unique identifier for an Alibaba RAM role resource.
    Enabled bool
    Whether or not the account is enabled
    AccountId string
    Alibaba account ID.
    GroupIds []string
    List of account IDs to which you are assigning this account.
    Name string
    Name to be used for the account on the Prisma Cloud platform (must be unique).
    RamArn string
    Unique identifier for an Alibaba RAM role resource.
    Enabled bool
    Whether or not the account is enabled
    accountId String
    Alibaba account ID.
    groupIds List<String>
    List of account IDs to which you are assigning this account.
    name String
    Name to be used for the account on the Prisma Cloud platform (must be unique).
    ramArn String
    Unique identifier for an Alibaba RAM role resource.
    enabled Boolean
    Whether or not the account is enabled
    accountId string
    Alibaba account ID.
    groupIds string[]
    List of account IDs to which you are assigning this account.
    name string
    Name to be used for the account on the Prisma Cloud platform (must be unique).
    ramArn string
    Unique identifier for an Alibaba RAM role resource.
    enabled boolean
    Whether or not the account is enabled
    account_id str
    Alibaba account ID.
    group_ids Sequence[str]
    List of account IDs to which you are assigning this account.
    name str
    Name to be used for the account on the Prisma Cloud platform (must be unique).
    ram_arn str
    Unique identifier for an Alibaba RAM role resource.
    enabled bool
    Whether or not the account is enabled
    accountId String
    Alibaba account ID.
    groupIds List<String>
    List of account IDs to which you are assigning this account.
    name String
    Name to be used for the account on the Prisma Cloud platform (must be unique).
    ramArn String
    Unique identifier for an Alibaba RAM role resource.
    enabled Boolean
    Whether or not the account is enabled

    CloudAccountAws, CloudAccountAwsArgs

    AccountId string
    AWS account ID
    ExternalId string
    AWS account external ID
    GroupIds List<string>
    List of account IDs to which you are assigning this account
    Name string
    Name to be used for the account on the Prisma Cloud platform (must be unique)
    RoleArn string
    Unique identifier for an AWS resource (ARN)
    AccountType string
    Account type - organization or account
    Enabled bool
    Whether or not the account is enabled
    ProtectionMode string
    Monitor or Monitor and Protect
    AccountId string
    AWS account ID
    ExternalId string
    AWS account external ID
    GroupIds []string
    List of account IDs to which you are assigning this account
    Name string
    Name to be used for the account on the Prisma Cloud platform (must be unique)
    RoleArn string
    Unique identifier for an AWS resource (ARN)
    AccountType string
    Account type - organization or account
    Enabled bool
    Whether or not the account is enabled
    ProtectionMode string
    Monitor or Monitor and Protect
    accountId String
    AWS account ID
    externalId String
    AWS account external ID
    groupIds List<String>
    List of account IDs to which you are assigning this account
    name String
    Name to be used for the account on the Prisma Cloud platform (must be unique)
    roleArn String
    Unique identifier for an AWS resource (ARN)
    accountType String
    Account type - organization or account
    enabled Boolean
    Whether or not the account is enabled
    protectionMode String
    Monitor or Monitor and Protect
    accountId string
    AWS account ID
    externalId string
    AWS account external ID
    groupIds string[]
    List of account IDs to which you are assigning this account
    name string
    Name to be used for the account on the Prisma Cloud platform (must be unique)
    roleArn string
    Unique identifier for an AWS resource (ARN)
    accountType string
    Account type - organization or account
    enabled boolean
    Whether or not the account is enabled
    protectionMode string
    Monitor or Monitor and Protect
    account_id str
    AWS account ID
    external_id str
    AWS account external ID
    group_ids Sequence[str]
    List of account IDs to which you are assigning this account
    name str
    Name to be used for the account on the Prisma Cloud platform (must be unique)
    role_arn str
    Unique identifier for an AWS resource (ARN)
    account_type str
    Account type - organization or account
    enabled bool
    Whether or not the account is enabled
    protection_mode str
    Monitor or Monitor and Protect
    accountId String
    AWS account ID
    externalId String
    AWS account external ID
    groupIds List<String>
    List of account IDs to which you are assigning this account
    name String
    Name to be used for the account on the Prisma Cloud platform (must be unique)
    roleArn String
    Unique identifier for an AWS resource (ARN)
    accountType String
    Account type - organization or account
    enabled Boolean
    Whether or not the account is enabled
    protectionMode String
    Monitor or Monitor and Protect

    CloudAccountAzure, CloudAccountAzureArgs

    AccountId string
    Azure account ID.
    ClientId string
    Application ID registered with Active Directory.
    GroupIds List<string>
    List of account IDs to which you are assigning this account.
    Key string
    Application ID key.
    Name string
    Name to be used for the account on the Prisma Cloud platform (must be unique).
    ServicePrincipalId string
    Unique ID of the service principal object associated with the Prisma Cloud application that you create.
    TenantId string
    Active Directory ID associated with Azure.
    AccountType string
    Defaults to "account" if not specified
    Enabled bool
    Whether or not the account is enabled (defualt: true).
    MonitorFlowLogs bool
    Automatically ingest flow logs.
    ProtectionMode string
    Defaults to "MONITOR". Valid values : MONITOR or MONITOR_AND_PROTECT
    AccountId string
    Azure account ID.
    ClientId string
    Application ID registered with Active Directory.
    GroupIds []string
    List of account IDs to which you are assigning this account.
    Key string
    Application ID key.
    Name string
    Name to be used for the account on the Prisma Cloud platform (must be unique).
    ServicePrincipalId string
    Unique ID of the service principal object associated with the Prisma Cloud application that you create.
    TenantId string
    Active Directory ID associated with Azure.
    AccountType string
    Defaults to "account" if not specified
    Enabled bool
    Whether or not the account is enabled (defualt: true).
    MonitorFlowLogs bool
    Automatically ingest flow logs.
    ProtectionMode string
    Defaults to "MONITOR". Valid values : MONITOR or MONITOR_AND_PROTECT
    accountId String
    Azure account ID.
    clientId String
    Application ID registered with Active Directory.
    groupIds List<String>
    List of account IDs to which you are assigning this account.
    key String
    Application ID key.
    name String
    Name to be used for the account on the Prisma Cloud platform (must be unique).
    servicePrincipalId String
    Unique ID of the service principal object associated with the Prisma Cloud application that you create.
    tenantId String
    Active Directory ID associated with Azure.
    accountType String
    Defaults to "account" if not specified
    enabled Boolean
    Whether or not the account is enabled (defualt: true).
    monitorFlowLogs Boolean
    Automatically ingest flow logs.
    protectionMode String
    Defaults to "MONITOR". Valid values : MONITOR or MONITOR_AND_PROTECT
    accountId string
    Azure account ID.
    clientId string
    Application ID registered with Active Directory.
    groupIds string[]
    List of account IDs to which you are assigning this account.
    key string
    Application ID key.
    name string
    Name to be used for the account on the Prisma Cloud platform (must be unique).
    servicePrincipalId string
    Unique ID of the service principal object associated with the Prisma Cloud application that you create.
    tenantId string
    Active Directory ID associated with Azure.
    accountType string
    Defaults to "account" if not specified
    enabled boolean
    Whether or not the account is enabled (defualt: true).
    monitorFlowLogs boolean
    Automatically ingest flow logs.
    protectionMode string
    Defaults to "MONITOR". Valid values : MONITOR or MONITOR_AND_PROTECT
    account_id str
    Azure account ID.
    client_id str
    Application ID registered with Active Directory.
    group_ids Sequence[str]
    List of account IDs to which you are assigning this account.
    key str
    Application ID key.
    name str
    Name to be used for the account on the Prisma Cloud platform (must be unique).
    service_principal_id str
    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_type str
    Defaults to "account" if not specified
    enabled bool
    Whether or not the account is enabled (defualt: true).
    monitor_flow_logs bool
    Automatically ingest flow logs.
    protection_mode str
    Defaults to "MONITOR". Valid values : MONITOR or MONITOR_AND_PROTECT
    accountId String
    Azure account ID.
    clientId String
    Application ID registered with Active Directory.
    groupIds List<String>
    List of account IDs to which you are assigning this account.
    key String
    Application ID key.
    name String
    Name to be used for the account on the Prisma Cloud platform (must be unique).
    servicePrincipalId String
    Unique ID of the service principal object associated with the Prisma Cloud application that you create.
    tenantId String
    Active Directory ID associated with Azure.
    accountType String
    Defaults to "account" if not specified
    enabled Boolean
    Whether or not the account is enabled (defualt: true).
    monitorFlowLogs Boolean
    Automatically ingest flow logs.
    protectionMode String
    Defaults to "MONITOR". Valid values : MONITOR or MONITOR_AND_PROTECT

    CloudAccountGcp, CloudAccountGcpArgs

    AccountId string
    GCP project ID.
    CredentialsJson string
    Content of the JSON credentials file (read in using file()).
    GroupIds List<string>
    List of account IDs to which you are assigning this account.
    Name string
    Name to be used for the account on the Prisma Cloud platform (must be unique).
    AccountType string
    Defaults to "account" if not specified
    CompressionEnabled bool
    Enable flow log compression.
    DataflowEnabledProject string
    GCP project for flow log compression.
    Enabled bool
    Whether or not the account is enabled (defualt: true).
    FlowLogStorageBucket string
    GCP Flow logs storage bucket.
    ProtectionMode string
    Defaults to "MONITOR". Valid values : MONITOR or MONITOR_AND_PROTECT
    AccountId string
    GCP project ID.
    CredentialsJson string
    Content of the JSON credentials file (read in using file()).
    GroupIds []string
    List of account IDs to which you are assigning this account.
    Name string
    Name to be used for the account on the Prisma Cloud platform (must be unique).
    AccountType string
    Defaults to "account" if not specified
    CompressionEnabled bool
    Enable flow log compression.
    DataflowEnabledProject string
    GCP project for flow log compression.
    Enabled bool
    Whether or not the account is enabled (defualt: true).
    FlowLogStorageBucket string
    GCP Flow logs storage bucket.
    ProtectionMode string
    Defaults to "MONITOR". Valid values : MONITOR or MONITOR_AND_PROTECT
    accountId String
    GCP project ID.
    credentialsJson String
    Content of the JSON credentials file (read in using file()).
    groupIds List<String>
    List of account IDs to which you are assigning this account.
    name String
    Name to be used for the account on the Prisma Cloud platform (must be unique).
    accountType String
    Defaults to "account" if not specified
    compressionEnabled Boolean
    Enable flow log compression.
    dataflowEnabledProject String
    GCP project for flow log compression.
    enabled Boolean
    Whether or not the account is enabled (defualt: true).
    flowLogStorageBucket String
    GCP Flow logs storage bucket.
    protectionMode String
    Defaults to "MONITOR". Valid values : MONITOR or MONITOR_AND_PROTECT
    accountId string
    GCP project ID.
    credentialsJson string
    Content of the JSON credentials file (read in using file()).
    groupIds string[]
    List of account IDs to which you are assigning this account.
    name string
    Name to be used for the account on the Prisma Cloud platform (must be unique).
    accountType string
    Defaults to "account" if not specified
    compressionEnabled boolean
    Enable flow log compression.
    dataflowEnabledProject string
    GCP project for flow log compression.
    enabled boolean
    Whether or not the account is enabled (defualt: true).
    flowLogStorageBucket string
    GCP Flow logs storage bucket.
    protectionMode string
    Defaults to "MONITOR". Valid values : MONITOR or MONITOR_AND_PROTECT
    account_id str
    GCP project ID.
    credentials_json str
    Content of the JSON credentials file (read in using file()).
    group_ids Sequence[str]
    List of account IDs to which you are assigning this account.
    name str
    Name to be used for the account on the Prisma Cloud platform (must be unique).
    account_type str
    Defaults to "account" if not specified
    compression_enabled bool
    Enable flow log compression.
    dataflow_enabled_project str
    GCP project for flow log compression.
    enabled bool
    Whether or not the account is enabled (defualt: true).
    flow_log_storage_bucket str
    GCP Flow logs storage bucket.
    protection_mode str
    Defaults to "MONITOR". Valid values : MONITOR or MONITOR_AND_PROTECT
    accountId String
    GCP project ID.
    credentialsJson String
    Content of the JSON credentials file (read in using file()).
    groupIds List<String>
    List of account IDs to which you are assigning this account.
    name String
    Name to be used for the account on the Prisma Cloud platform (must be unique).
    accountType String
    Defaults to "account" if not specified
    compressionEnabled Boolean
    Enable flow log compression.
    dataflowEnabledProject String
    GCP project for flow log compression.
    enabled Boolean
    Whether or not the account is enabled (defualt: true).
    flowLogStorageBucket String
    GCP Flow logs storage bucket.
    protectionMode String
    Defaults to "MONITOR". Valid values : MONITOR or MONITOR_AND_PROTECT

    CloudAccountTimeouts, CloudAccountTimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Import

    Resources can be imported using the cloud type (aws, azure, gcp, or alibaba_cloud) and the ID:

    $ pulumi import prismacloud:index/cloudAccount:CloudAccount aws_example aws:accountIdHere
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    prismacloud paloaltonetworks/terraform-provider-prismacloud
    License
    Notes
    This Pulumi package is based on the prismacloud Terraform Provider.
    prismacloud logo
    prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks