prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks
prismacloud.getAwsStorageUuid
Explore with Pulumi AI
prismacloud 1.7.0 published on Monday, Apr 14, 2025 by paloaltonetworks
Retrieve information about Storage UUID. Required if you are onboarding aws account with Data Security
feature.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as prismacloud from "@pulumi/prismacloud";
const example = prismacloud.getAwsStorageUuid({
accountId: "aws account id",
externalId: "external id",
roleArn: "aws role arn",
});
import pulumi
import pulumi_prismacloud as prismacloud
example = prismacloud.get_aws_storage_uuid(account_id="aws account id",
external_id="external id",
role_arn="aws role arn")
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.GetAwsStorageUuid(ctx, &prismacloud.GetAwsStorageUuidArgs{
AccountId: "aws account id",
ExternalId: "external id",
RoleArn: "aws role arn",
}, 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.GetAwsStorageUuid.Invoke(new()
{
AccountId = "aws account id",
ExternalId = "external id",
RoleArn = "aws role arn",
});
});
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.GetAwsStorageUuidArgs;
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.getAwsStorageUuid(GetAwsStorageUuidArgs.builder()
.accountId("aws account id")
.externalId("external id")
.roleArn("aws role arn")
.build());
}
}
variables:
example:
fn::invoke:
function: prismacloud:getAwsStorageUuid
arguments:
accountId: aws account id
externalId: external id
roleArn: aws role arn
Using getAwsStorageUuid
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 getAwsStorageUuid(args: GetAwsStorageUuidArgs, opts?: InvokeOptions): Promise<GetAwsStorageUuidResult>
function getAwsStorageUuidOutput(args: GetAwsStorageUuidOutputArgs, opts?: InvokeOptions): Output<GetAwsStorageUuidResult>
def get_aws_storage_uuid(account_id: Optional[str] = None,
external_id: Optional[str] = None,
id: Optional[str] = None,
role_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAwsStorageUuidResult
def get_aws_storage_uuid_output(account_id: Optional[pulumi.Input[str]] = None,
external_id: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
role_arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAwsStorageUuidResult]
func GetAwsStorageUuid(ctx *Context, args *GetAwsStorageUuidArgs, opts ...InvokeOption) (*GetAwsStorageUuidResult, error)
func GetAwsStorageUuidOutput(ctx *Context, args *GetAwsStorageUuidOutputArgs, opts ...InvokeOption) GetAwsStorageUuidResultOutput
> Note: This function is named GetAwsStorageUuid
in the Go SDK.
public static class GetAwsStorageUuid
{
public static Task<GetAwsStorageUuidResult> InvokeAsync(GetAwsStorageUuidArgs args, InvokeOptions? opts = null)
public static Output<GetAwsStorageUuidResult> Invoke(GetAwsStorageUuidInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAwsStorageUuidResult> getAwsStorageUuid(GetAwsStorageUuidArgs args, InvokeOptions options)
public static Output<GetAwsStorageUuidResult> getAwsStorageUuid(GetAwsStorageUuidArgs args, InvokeOptions options)
fn::invoke:
function: prismacloud:index/getAwsStorageUuid:getAwsStorageUuid
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Id string - AWS account ID.
- External
Id string - External id for aws account.
- Role
Arn string - Unique identifier for an AWS resource (ARN).
- Id string
- Account
Id string - AWS account ID.
- External
Id string - External id for aws account.
- Role
Arn string - Unique identifier for an AWS resource (ARN).
- Id string
- account
Id String - AWS account ID.
- external
Id String - External id for aws account.
- role
Arn String - Unique identifier for an AWS resource (ARN).
- id String
- account
Id string - AWS account ID.
- external
Id string - External id for aws account.
- role
Arn string - Unique identifier for an AWS resource (ARN).
- id string
- account_
id str - AWS account ID.
- external_
id str - External id for aws account.
- role_
arn str - Unique identifier for an AWS resource (ARN).
- id str
- account
Id String - AWS account ID.
- external
Id String - External id for aws account.
- role
Arn String - Unique identifier for an AWS resource (ARN).
- id String
getAwsStorageUuid Result
The following output properties are available:
- Account
Id string - External
Id string - Id string
- Role
Arn string - Storage
Uuid string - Storage UUID for aws account.
- Account
Id string - External
Id string - Id string
- Role
Arn string - Storage
Uuid string - Storage UUID for aws account.
- account
Id String - external
Id String - id String
- role
Arn String - storage
Uuid String - Storage UUID for aws account.
- account
Id string - external
Id string - id string
- role
Arn string - storage
Uuid string - Storage UUID for aws account.
- account_
id str - external_
id str - id str
- role_
arn str - storage_
uuid str - Storage UUID for aws account.
- account
Id String - external
Id String - id String
- role
Arn String - storage
Uuid String - Storage UUID for aws account.
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