EnterprisePolicy

Definition of the EnterprisePolicy. API Version: 2020-10-30-preview.

Example Usage

Create or update EnterprisePolicy

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var enterprisePolicy = new AzureNative.PowerPlatform.EnterprisePolicy("enterprisePolicy", new()
{
EnterprisePolicyName = "enterprisePolicy",
Identity = new AzureNative.PowerPlatform.Inputs.EnterprisePolicyIdentityArgs
{
Type = AzureNative.PowerPlatform.ResourceIdentityType.SystemAssigned,
},
Kind = "Lockbox",
Location = "East US",
ResourceGroupName = "resourceGroup",
Tags =
{
{ "Organization", "Administration" },
},
});
});
package main
import (
powerplatform "github.com/pulumi/pulumi-azure-native/sdk/go/azure/powerplatform"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := powerplatform.NewEnterprisePolicy(ctx, "enterprisePolicy", &powerplatform.EnterprisePolicyArgs{
EnterprisePolicyName: pulumi.String("enterprisePolicy"),
Identity: &powerplatform.EnterprisePolicyIdentityArgs{
Type: powerplatform.ResourceIdentityTypeSystemAssigned,
},
Kind: pulumi.String("Lockbox"),
Location: pulumi.String("East US"),
ResourceGroupName: pulumi.String("resourceGroup"),
Tags: pulumi.StringMap{
"Organization": pulumi.String("Administration"),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.powerplatform.EnterprisePolicy;
import com.pulumi.azurenative.powerplatform.EnterprisePolicyArgs;
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) {
var enterprisePolicy = new EnterprisePolicy("enterprisePolicy", EnterprisePolicyArgs.builder()
.enterprisePolicyName("enterprisePolicy")
.identity(Map.of("type", "SystemAssigned"))
.kind("Lockbox")
.location("East US")
.resourceGroupName("resourceGroup")
.tags(Map.of("Organization", "Administration"))
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:powerplatform:EnterprisePolicy enterprisePolicy /subscriptions/subid/resourceGroups/resourceGroup/providers/Microsoft.PowerPlatform/enterprisePolicies/enterprisePolicy

Properties

Link copied to clipboard

The encryption settings for a configuration store.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

The identity of the EnterprisePolicy.

Link copied to clipboard
val kind: Output<String>

The kind (type) of Enterprise Policy.

Link copied to clipboard
val location: Output<String>

The geo-location where the resource lives

Link copied to clipboard

Settings concerning lockbox.

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

Settings concerning network injection.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Metadata pertaining to creation and last modification of the resource.

Link copied to clipboard
val systemId: Output<String>

The internally assigned unique identifier of the resource.

Link copied to clipboard
val tags: Output<Map<String, String>>?

Resource tags.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>