1. Packages
  2. Packages
  3. Power Platform
  4. API Docs
  5. EnterprisePolicyLink
Viewing docs for Power Platform v0.3.3
published on Monday, May 18, 2026 by rpothin
powerplatform logo
Viewing docs for Power Platform v0.3.3
published on Monday, May 18, 2026 by rpothin

    Links an Azure enterprise policy to a Power Platform environment using an async POST/poll lifecycle. All properties are immutable — any change triggers a full replacement (delete-then-create). Supported policy types: NetworkInjection, Encryption, Identity.

    Create EnterprisePolicyLink Resource

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

    Constructor syntax

    new EnterprisePolicyLink(name: string, args: EnterprisePolicyLinkArgs, opts?: CustomResourceOptions);
    @overload
    def EnterprisePolicyLink(resource_name: str,
                             args: EnterprisePolicyLinkArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def EnterprisePolicyLink(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             environment_id: Optional[str] = None,
                             policy_type: Optional[str] = None,
                             system_id: Optional[str] = None)
    func NewEnterprisePolicyLink(ctx *Context, name string, args EnterprisePolicyLinkArgs, opts ...ResourceOption) (*EnterprisePolicyLink, error)
    public EnterprisePolicyLink(string name, EnterprisePolicyLinkArgs args, CustomResourceOptions? opts = null)
    public EnterprisePolicyLink(String name, EnterprisePolicyLinkArgs args)
    public EnterprisePolicyLink(String name, EnterprisePolicyLinkArgs args, CustomResourceOptions options)
    
    type: powerplatform:EnterprisePolicyLink
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "powerplatform_enterprisepolicylink" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args EnterprisePolicyLinkArgs
    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 EnterprisePolicyLinkArgs
    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 EnterprisePolicyLinkArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args EnterprisePolicyLinkArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args EnterprisePolicyLinkArgs
    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 enterprisePolicyLinkResource = new Powerplatform.EnterprisePolicyLink("enterprisePolicyLinkResource", new()
    {
        EnvironmentId = "string",
        PolicyType = "string",
        SystemId = "string",
    });
    
    example, err := powerplatform.NewEnterprisePolicyLink(ctx, "enterprisePolicyLinkResource", &powerplatform.EnterprisePolicyLinkArgs{
    	EnvironmentId: pulumi.String("string"),
    	PolicyType:    pulumi.String("string"),
    	SystemId:      pulumi.String("string"),
    })
    
    resource "powerplatform_enterprisepolicylink" "enterprisePolicyLinkResource" {
      environment_id = "string"
      policy_type    = "string"
      system_id      = "string"
    }
    
    var enterprisePolicyLinkResource = new EnterprisePolicyLink("enterprisePolicyLinkResource", EnterprisePolicyLinkArgs.builder()
        .environmentId("string")
        .policyType("string")
        .systemId("string")
        .build());
    
    enterprise_policy_link_resource = powerplatform.EnterprisePolicyLink("enterprisePolicyLinkResource",
        environment_id="string",
        policy_type="string",
        system_id="string")
    
    const enterprisePolicyLinkResource = new powerplatform.EnterprisePolicyLink("enterprisePolicyLinkResource", {
        environmentId: "string",
        policyType: "string",
        systemId: "string",
    });
    
    type: powerplatform:EnterprisePolicyLink
    properties:
        environmentId: string
        policyType: string
        systemId: string
    

    EnterprisePolicyLink 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 EnterprisePolicyLink resource accepts the following input properties:

    EnvironmentId string
    The GUID of the Power Platform environment to link the enterprise policy to. Immutable after creation.
    PolicyType string
    The type of enterprise policy to link. Must be one of: NetworkInjection, Encryption, Identity. Immutable after creation.
    SystemId string
    The ARM resource ID of the enterprise policy. Expected format: /regions/{location}/providers/Microsoft.PowerPlatform/enterprisePolicies/{guid}. Immutable after creation.
    EnvironmentId string
    The GUID of the Power Platform environment to link the enterprise policy to. Immutable after creation.
    PolicyType string
    The type of enterprise policy to link. Must be one of: NetworkInjection, Encryption, Identity. Immutable after creation.
    SystemId string
    The ARM resource ID of the enterprise policy. Expected format: /regions/{location}/providers/Microsoft.PowerPlatform/enterprisePolicies/{guid}. Immutable after creation.
    environment_id string
    The GUID of the Power Platform environment to link the enterprise policy to. Immutable after creation.
    policy_type string
    The type of enterprise policy to link. Must be one of: NetworkInjection, Encryption, Identity. Immutable after creation.
    system_id string
    The ARM resource ID of the enterprise policy. Expected format: /regions/{location}/providers/Microsoft.PowerPlatform/enterprisePolicies/{guid}. Immutable after creation.
    environmentId String
    The GUID of the Power Platform environment to link the enterprise policy to. Immutable after creation.
    policyType String
    The type of enterprise policy to link. Must be one of: NetworkInjection, Encryption, Identity. Immutable after creation.
    systemId String
    The ARM resource ID of the enterprise policy. Expected format: /regions/{location}/providers/Microsoft.PowerPlatform/enterprisePolicies/{guid}. Immutable after creation.
    environmentId string
    The GUID of the Power Platform environment to link the enterprise policy to. Immutable after creation.
    policyType string
    The type of enterprise policy to link. Must be one of: NetworkInjection, Encryption, Identity. Immutable after creation.
    systemId string
    The ARM resource ID of the enterprise policy. Expected format: /regions/{location}/providers/Microsoft.PowerPlatform/enterprisePolicies/{guid}. Immutable after creation.
    environment_id str
    The GUID of the Power Platform environment to link the enterprise policy to. Immutable after creation.
    policy_type str
    The type of enterprise policy to link. Must be one of: NetworkInjection, Encryption, Identity. Immutable after creation.
    system_id str
    The ARM resource ID of the enterprise policy. Expected format: /regions/{location}/providers/Microsoft.PowerPlatform/enterprisePolicies/{guid}. Immutable after creation.
    environmentId String
    The GUID of the Power Platform environment to link the enterprise policy to. Immutable after creation.
    policyType String
    The type of enterprise policy to link. Must be one of: NetworkInjection, Encryption, Identity. Immutable after creation.
    systemId String
    The ARM resource ID of the enterprise policy. Expected format: /regions/{location}/providers/Microsoft.PowerPlatform/enterprisePolicies/{guid}. Immutable after creation.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the EnterprisePolicyLink 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
    powerplatform rpothin/pulumi-powerplatform
    License
    MIT
    powerplatform logo
    Viewing docs for Power Platform v0.3.3
    published on Monday, May 18, 2026 by rpothin

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial