This provider is currently in preview.
published on Thursday, Jun 4, 2026 by Pulumi
This provider is currently in preview.
published on Thursday, Jun 4, 2026 by Pulumi
Manages a single membership edge through UpdatePolicyGroup (addInsightsAccount / removeInsightsAccount).
Create PolicyGroupInsightsAccountAttachment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new PolicyGroupInsightsAccountAttachment(name: string, args: PolicyGroupInsightsAccountAttachmentArgs, opts?: CustomResourceOptions);@overload
def PolicyGroupInsightsAccountAttachment(resource_name: str,
args: PolicyGroupInsightsAccountAttachmentArgs,
opts: Optional[ResourceOptions] = None)
@overload
def PolicyGroupInsightsAccountAttachment(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
org_name: Optional[str] = None,
policy_group: Optional[str] = None)func NewPolicyGroupInsightsAccountAttachment(ctx *Context, name string, args PolicyGroupInsightsAccountAttachmentArgs, opts ...ResourceOption) (*PolicyGroupInsightsAccountAttachment, error)public PolicyGroupInsightsAccountAttachment(string name, PolicyGroupInsightsAccountAttachmentArgs args, CustomResourceOptions? opts = null)
public PolicyGroupInsightsAccountAttachment(String name, PolicyGroupInsightsAccountAttachmentArgs args)
public PolicyGroupInsightsAccountAttachment(String name, PolicyGroupInsightsAccountAttachmentArgs args, CustomResourceOptions options)
type: pulumiservice:api:PolicyGroupInsightsAccountAttachment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "pulumiservice_api_policygroupinsightsaccountattachment" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args PolicyGroupInsightsAccountAttachmentArgs
- 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 PolicyGroupInsightsAccountAttachmentArgs
- 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 PolicyGroupInsightsAccountAttachmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args PolicyGroupInsightsAccountAttachmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args PolicyGroupInsightsAccountAttachmentArgs
- 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 policyGroupInsightsAccountAttachmentResource = new PulumiService.Api.PolicyGroupInsightsAccountAttachment("policyGroupInsightsAccountAttachmentResource", new()
{
Name = "string",
OrgName = "string",
PolicyGroup = "string",
});
example, err := api.NewPolicyGroupInsightsAccountAttachment(ctx, "policyGroupInsightsAccountAttachmentResource", &api.PolicyGroupInsightsAccountAttachmentArgs{
Name: pulumi.String("string"),
OrgName: pulumi.String("string"),
PolicyGroup: pulumi.String("string"),
})
resource "pulumiservice_api_policygroupinsightsaccountattachment" "policyGroupInsightsAccountAttachmentResource" {
name = "string"
org_name = "string"
policy_group = "string"
}
var policyGroupInsightsAccountAttachmentResource = new PolicyGroupInsightsAccountAttachment("policyGroupInsightsAccountAttachmentResource", PolicyGroupInsightsAccountAttachmentArgs.builder()
.name("string")
.orgName("string")
.policyGroup("string")
.build());
policy_group_insights_account_attachment_resource = pulumiservice.api.PolicyGroupInsightsAccountAttachment("policyGroupInsightsAccountAttachmentResource",
name="string",
org_name="string",
policy_group="string")
const policyGroupInsightsAccountAttachmentResource = new pulumiservice.api.PolicyGroupInsightsAccountAttachment("policyGroupInsightsAccountAttachmentResource", {
name: "string",
orgName: "string",
policyGroup: "string",
});
type: pulumiservice:api:PolicyGroupInsightsAccountAttachment
properties:
name: string
orgName: string
policyGroup: string
PolicyGroupInsightsAccountAttachment 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 PolicyGroupInsightsAccountAttachment resource accepts the following input properties:
- Name string
- Org
Name string - The organization name
- Policy
Group string - The policy group name
- Name string
- Org
Name string - The organization name
- Policy
Group string - The policy group name
- name string
- org_
name string - The organization name
- policy_
group string - The policy group name
- name String
- org
Name String - The organization name
- policy
Group String - The policy group name
- name string
- org
Name string - The organization name
- policy
Group string - The policy group name
- name str
- org_
name str - The organization name
- policy_
group str - The policy group name
- name String
- org
Name String - The organization name
- policy
Group String - The policy group name
Outputs
All input properties are implicitly available as output properties. Additionally, the PolicyGroupInsightsAccountAttachment 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 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.
Package Details
- Repository
- pulumiservice pulumi/pulumi-pulumiservice
- License
- Apache-2.0
This provider is currently in preview.
published on Thursday, Jun 4, 2026 by Pulumi