prismacloud.AccountGroup
Explore with Pulumi AI
Manage an account group.
Create AccountGroup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AccountGroup(name: string, args?: AccountGroupArgs, opts?: CustomResourceOptions);
@overload
def AccountGroup(resource_name: str,
args: Optional[AccountGroupArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def AccountGroup(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_group_id: Optional[str] = None,
account_ids: Optional[Sequence[str]] = None,
child_group_ids: Optional[Sequence[str]] = None,
description: Optional[str] = None,
name: Optional[str] = None)
func NewAccountGroup(ctx *Context, name string, args *AccountGroupArgs, opts ...ResourceOption) (*AccountGroup, error)
public AccountGroup(string name, AccountGroupArgs? args = null, CustomResourceOptions? opts = null)
public AccountGroup(String name, AccountGroupArgs args)
public AccountGroup(String name, AccountGroupArgs args, CustomResourceOptions options)
type: prismacloud:AccountGroup
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 AccountGroupArgs
- 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 AccountGroupArgs
- 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 AccountGroupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AccountGroupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AccountGroupArgs
- 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 accountGroupResource = new Prismacloud.AccountGroup("accountGroupResource", new()
{
AccountGroupId = "string",
AccountIds = new[]
{
"string",
},
ChildGroupIds = new[]
{
"string",
},
Description = "string",
Name = "string",
});
example, err := prismacloud.NewAccountGroup(ctx, "accountGroupResource", &prismacloud.AccountGroupArgs{
AccountGroupId: pulumi.String("string"),
AccountIds: pulumi.StringArray{
pulumi.String("string"),
},
ChildGroupIds: pulumi.StringArray{
pulumi.String("string"),
},
Description: pulumi.String("string"),
Name: pulumi.String("string"),
})
var accountGroupResource = new AccountGroup("accountGroupResource", AccountGroupArgs.builder()
.accountGroupId("string")
.accountIds("string")
.childGroupIds("string")
.description("string")
.name("string")
.build());
account_group_resource = prismacloud.AccountGroup("accountGroupResource",
account_group_id="string",
account_ids=["string"],
child_group_ids=["string"],
description="string",
name="string")
const accountGroupResource = new prismacloud.AccountGroup("accountGroupResource", {
accountGroupId: "string",
accountIds: ["string"],
childGroupIds: ["string"],
description: "string",
name: "string",
});
type: prismacloud:AccountGroup
properties:
accountGroupId: string
accountIds:
- string
childGroupIds:
- string
description: string
name: string
AccountGroup 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 AccountGroup resource accepts the following input properties:
- Account
Group stringId - Account
Ids List<string> - List of cloud account IDs.
- Child
Group List<string>Ids - List of child account group IDs.
- Description string
- Description.
- Name string
- name of the group.
- Account
Group stringId - Account
Ids []string - List of cloud account IDs.
- Child
Group []stringIds - List of child account group IDs.
- Description string
- Description.
- Name string
- name of the group.
- account
Group StringId - account
Ids List<String> - List of cloud account IDs.
- child
Group List<String>Ids - List of child account group IDs.
- description String
- Description.
- name String
- name of the group.
- account
Group stringId - account
Ids string[] - List of cloud account IDs.
- child
Group string[]Ids - List of child account group IDs.
- description string
- Description.
- name string
- name of the group.
- account_
group_ strid - account_
ids Sequence[str] - List of cloud account IDs.
- child_
group_ Sequence[str]ids - List of child account group IDs.
- description str
- Description.
- name str
- name of the group.
- account
Group StringId - account
Ids List<String> - List of cloud account IDs.
- child
Group List<String>Ids - List of child account group IDs.
- description String
- Description.
- name String
- name of the group.
Outputs
All input properties are implicitly available as output properties. Additionally, the AccountGroup resource produces the following output properties:
- Group
Id string - Account group ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringBy - Last modified by.
- Last
Modified doubleTs - (int) Last modified timestamp.
- Group
Id string - Account group ID.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Modified stringBy - Last modified by.
- Last
Modified float64Ts - (int) Last modified timestamp.
- group
Id String - Account group ID.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified StringBy - Last modified by.
- last
Modified DoubleTs - (int) Last modified timestamp.
- group
Id string - Account group ID.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Modified stringBy - Last modified by.
- last
Modified numberTs - (int) Last modified timestamp.
- group_
id str - Account group ID.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
modified_ strby - Last modified by.
- last_
modified_ floatts - (int) Last modified timestamp.
- group
Id String - Account group ID.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Modified StringBy - Last modified by.
- last
Modified NumberTs - (int) Last modified timestamp.
Look up Existing AccountGroup Resource
Get an existing AccountGroup 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?: AccountGroupState, opts?: CustomResourceOptions): AccountGroup
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
account_group_id: Optional[str] = None,
account_ids: Optional[Sequence[str]] = None,
child_group_ids: Optional[Sequence[str]] = None,
description: Optional[str] = None,
group_id: Optional[str] = None,
last_modified_by: Optional[str] = None,
last_modified_ts: Optional[float] = None,
name: Optional[str] = None) -> AccountGroup
func GetAccountGroup(ctx *Context, name string, id IDInput, state *AccountGroupState, opts ...ResourceOption) (*AccountGroup, error)
public static AccountGroup Get(string name, Input<string> id, AccountGroupState? state, CustomResourceOptions? opts = null)
public static AccountGroup get(String name, Output<String> id, AccountGroupState state, CustomResourceOptions options)
resources: _: type: prismacloud:AccountGroup 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.
- Account
Group stringId - Account
Ids List<string> - List of cloud account IDs.
- Child
Group List<string>Ids - List of child account group IDs.
- Description string
- Description.
- Group
Id string - Account group ID.
- Last
Modified stringBy - Last modified by.
- Last
Modified doubleTs - (int) Last modified timestamp.
- Name string
- name of the group.
- Account
Group stringId - Account
Ids []string - List of cloud account IDs.
- Child
Group []stringIds - List of child account group IDs.
- Description string
- Description.
- Group
Id string - Account group ID.
- Last
Modified stringBy - Last modified by.
- Last
Modified float64Ts - (int) Last modified timestamp.
- Name string
- name of the group.
- account
Group StringId - account
Ids List<String> - List of cloud account IDs.
- child
Group List<String>Ids - List of child account group IDs.
- description String
- Description.
- group
Id String - Account group ID.
- last
Modified StringBy - Last modified by.
- last
Modified DoubleTs - (int) Last modified timestamp.
- name String
- name of the group.
- account
Group stringId - account
Ids string[] - List of cloud account IDs.
- child
Group string[]Ids - List of child account group IDs.
- description string
- Description.
- group
Id string - Account group ID.
- last
Modified stringBy - Last modified by.
- last
Modified numberTs - (int) Last modified timestamp.
- name string
- name of the group.
- account_
group_ strid - account_
ids Sequence[str] - List of cloud account IDs.
- child_
group_ Sequence[str]ids - List of child account group IDs.
- description str
- Description.
- group_
id str - Account group ID.
- last_
modified_ strby - Last modified by.
- last_
modified_ floatts - (int) Last modified timestamp.
- name str
- name of the group.
- account
Group StringId - account
Ids List<String> - List of cloud account IDs.
- child
Group List<String>Ids - List of child account group IDs.
- description String
- Description.
- group
Id String - Account group ID.
- last
Modified StringBy - Last modified by.
- last
Modified NumberTs - (int) Last modified timestamp.
- name String
- name of the group.
Import
Resources can be imported using the group ID:
$ pulumi import prismacloud:index/accountGroup:AccountGroup example 11111111-2222-3333-4444-555555555555
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.