We recommend using Azure Native.
azure.purview.Account
Explore with Pulumi AI
Manages a Purview Account.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
name: "example-resources",
location: "West Europe",
});
const exampleAccount = new azure.purview.Account("example", {
name: "example",
resourceGroupName: example.name,
location: example.location,
identity: {
type: "SystemAssigned",
},
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
name="example-resources",
location="West Europe")
example_account = azure.purview.Account("example",
name="example",
resource_group_name=example.name,
location=example.location,
identity={
"type": "SystemAssigned",
})
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/purview"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
Name: pulumi.String("example-resources"),
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
_, err = purview.NewAccount(ctx, "example", &purview.AccountArgs{
Name: pulumi.String("example"),
ResourceGroupName: example.Name,
Location: example.Location,
Identity: &purview.AccountIdentityArgs{
Type: pulumi.String("SystemAssigned"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = new Azure.Core.ResourceGroup("example", new()
{
Name = "example-resources",
Location = "West Europe",
});
var exampleAccount = new Azure.Purview.Account("example", new()
{
Name = "example",
ResourceGroupName = example.Name,
Location = example.Location,
Identity = new Azure.Purview.Inputs.AccountIdentityArgs
{
Type = "SystemAssigned",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.purview.Account;
import com.pulumi.azure.purview.AccountArgs;
import com.pulumi.azure.purview.inputs.AccountIdentityArgs;
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 example = new ResourceGroup("example", ResourceGroupArgs.builder()
.name("example-resources")
.location("West Europe")
.build());
var exampleAccount = new Account("exampleAccount", AccountArgs.builder()
.name("example")
.resourceGroupName(example.name())
.location(example.location())
.identity(AccountIdentityArgs.builder()
.type("SystemAssigned")
.build())
.build());
}
}
resources:
example:
type: azure:core:ResourceGroup
properties:
name: example-resources
location: West Europe
exampleAccount:
type: azure:purview:Account
name: example
properties:
name: example
resourceGroupName: ${example.name}
location: ${example.location}
identity:
type: SystemAssigned
Create Account Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Account(name: string, args: AccountArgs, opts?: CustomResourceOptions);
@overload
def Account(resource_name: str,
args: AccountArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Account(resource_name: str,
opts: Optional[ResourceOptions] = None,
identity: Optional[AccountIdentityArgs] = None,
resource_group_name: Optional[str] = None,
location: Optional[str] = None,
managed_resource_group_name: Optional[str] = None,
name: Optional[str] = None,
public_network_enabled: Optional[bool] = None,
tags: Optional[Mapping[str, str]] = None)
func NewAccount(ctx *Context, name string, args AccountArgs, opts ...ResourceOption) (*Account, error)
public Account(string name, AccountArgs args, CustomResourceOptions? opts = null)
public Account(String name, AccountArgs args)
public Account(String name, AccountArgs args, CustomResourceOptions options)
type: azure:purview:Account
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 AccountArgs
- 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 AccountArgs
- 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 AccountArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AccountArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AccountArgs
- 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 exampleaccountResourceResourceFromPurviewaccount = new Azure.Purview.Account("exampleaccountResourceResourceFromPurviewaccount", new()
{
Identity = new Azure.Purview.Inputs.AccountIdentityArgs
{
Type = "string",
IdentityIds = new[]
{
"string",
},
PrincipalId = "string",
TenantId = "string",
},
ResourceGroupName = "string",
Location = "string",
ManagedResourceGroupName = "string",
Name = "string",
PublicNetworkEnabled = false,
Tags =
{
{ "string", "string" },
},
});
example, err := purview.NewAccount(ctx, "exampleaccountResourceResourceFromPurviewaccount", &purview.AccountArgs{
Identity: &purview.AccountIdentityArgs{
Type: pulumi.String("string"),
IdentityIds: pulumi.StringArray{
pulumi.String("string"),
},
PrincipalId: pulumi.String("string"),
TenantId: pulumi.String("string"),
},
ResourceGroupName: pulumi.String("string"),
Location: pulumi.String("string"),
ManagedResourceGroupName: pulumi.String("string"),
Name: pulumi.String("string"),
PublicNetworkEnabled: pulumi.Bool(false),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var exampleaccountResourceResourceFromPurviewaccount = new Account("exampleaccountResourceResourceFromPurviewaccount", AccountArgs.builder()
.identity(AccountIdentityArgs.builder()
.type("string")
.identityIds("string")
.principalId("string")
.tenantId("string")
.build())
.resourceGroupName("string")
.location("string")
.managedResourceGroupName("string")
.name("string")
.publicNetworkEnabled(false)
.tags(Map.of("string", "string"))
.build());
exampleaccount_resource_resource_from_purviewaccount = azure.purview.Account("exampleaccountResourceResourceFromPurviewaccount",
identity={
"type": "string",
"identity_ids": ["string"],
"principal_id": "string",
"tenant_id": "string",
},
resource_group_name="string",
location="string",
managed_resource_group_name="string",
name="string",
public_network_enabled=False,
tags={
"string": "string",
})
const exampleaccountResourceResourceFromPurviewaccount = new azure.purview.Account("exampleaccountResourceResourceFromPurviewaccount", {
identity: {
type: "string",
identityIds: ["string"],
principalId: "string",
tenantId: "string",
},
resourceGroupName: "string",
location: "string",
managedResourceGroupName: "string",
name: "string",
publicNetworkEnabled: false,
tags: {
string: "string",
},
});
type: azure:purview:Account
properties:
identity:
identityIds:
- string
principalId: string
tenantId: string
type: string
location: string
managedResourceGroupName: string
name: string
publicNetworkEnabled: false
resourceGroupName: string
tags:
string: string
Account 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 Account resource accepts the following input properties:
- Identity
Account
Identity - An
identity
block as defined below. - Resource
Group stringName - The name of the Resource Group where the Purview Account should exist. Changing this forces a new Purview Account to be created.
- Location string
- The Azure Region where the Purview Account should exist. Changing this forces a new Purview Account to be created.
- Managed
Resource stringGroup Name The name which should be used for the new Resource Group where Purview Account creates the managed resources. Changing this forces a new Purview Account to be created.
Note:
managed_resource_group_name
must be a new Resource Group- Name string
- The name which should be used for this Purview Account. Changing this forces a new Purview Account to be created.
- Public
Network boolEnabled - Should the Purview Account be visible to the public network? Defaults to
true
. - Dictionary<string, string>
- A mapping of tags which should be assigned to the Purview Account.
- Identity
Account
Identity Args - An
identity
block as defined below. - Resource
Group stringName - The name of the Resource Group where the Purview Account should exist. Changing this forces a new Purview Account to be created.
- Location string
- The Azure Region where the Purview Account should exist. Changing this forces a new Purview Account to be created.
- Managed
Resource stringGroup Name The name which should be used for the new Resource Group where Purview Account creates the managed resources. Changing this forces a new Purview Account to be created.
Note:
managed_resource_group_name
must be a new Resource Group- Name string
- The name which should be used for this Purview Account. Changing this forces a new Purview Account to be created.
- Public
Network boolEnabled - Should the Purview Account be visible to the public network? Defaults to
true
. - map[string]string
- A mapping of tags which should be assigned to the Purview Account.
- identity
Account
Identity - An
identity
block as defined below. - resource
Group StringName - The name of the Resource Group where the Purview Account should exist. Changing this forces a new Purview Account to be created.
- location String
- The Azure Region where the Purview Account should exist. Changing this forces a new Purview Account to be created.
- managed
Resource StringGroup Name The name which should be used for the new Resource Group where Purview Account creates the managed resources. Changing this forces a new Purview Account to be created.
Note:
managed_resource_group_name
must be a new Resource Group- name String
- The name which should be used for this Purview Account. Changing this forces a new Purview Account to be created.
- public
Network BooleanEnabled - Should the Purview Account be visible to the public network? Defaults to
true
. - Map<String,String>
- A mapping of tags which should be assigned to the Purview Account.
- identity
Account
Identity - An
identity
block as defined below. - resource
Group stringName - The name of the Resource Group where the Purview Account should exist. Changing this forces a new Purview Account to be created.
- location string
- The Azure Region where the Purview Account should exist. Changing this forces a new Purview Account to be created.
- managed
Resource stringGroup Name The name which should be used for the new Resource Group where Purview Account creates the managed resources. Changing this forces a new Purview Account to be created.
Note:
managed_resource_group_name
must be a new Resource Group- name string
- The name which should be used for this Purview Account. Changing this forces a new Purview Account to be created.
- public
Network booleanEnabled - Should the Purview Account be visible to the public network? Defaults to
true
. - {[key: string]: string}
- A mapping of tags which should be assigned to the Purview Account.
- identity
Account
Identity Args - An
identity
block as defined below. - resource_
group_ strname - The name of the Resource Group where the Purview Account should exist. Changing this forces a new Purview Account to be created.
- location str
- The Azure Region where the Purview Account should exist. Changing this forces a new Purview Account to be created.
- managed_
resource_ strgroup_ name The name which should be used for the new Resource Group where Purview Account creates the managed resources. Changing this forces a new Purview Account to be created.
Note:
managed_resource_group_name
must be a new Resource Group- name str
- The name which should be used for this Purview Account. Changing this forces a new Purview Account to be created.
- public_
network_ boolenabled - Should the Purview Account be visible to the public network? Defaults to
true
. - Mapping[str, str]
- A mapping of tags which should be assigned to the Purview Account.
- identity Property Map
- An
identity
block as defined below. - resource
Group StringName - The name of the Resource Group where the Purview Account should exist. Changing this forces a new Purview Account to be created.
- location String
- The Azure Region where the Purview Account should exist. Changing this forces a new Purview Account to be created.
- managed
Resource StringGroup Name The name which should be used for the new Resource Group where Purview Account creates the managed resources. Changing this forces a new Purview Account to be created.
Note:
managed_resource_group_name
must be a new Resource Group- name String
- The name which should be used for this Purview Account. Changing this forces a new Purview Account to be created.
- public
Network BooleanEnabled - Should the Purview Account be visible to the public network? Defaults to
true
. - Map<String>
- A mapping of tags which should be assigned to the Purview Account.
Outputs
All input properties are implicitly available as output properties. Additionally, the Account resource produces the following output properties:
- Atlas
Kafka stringEndpoint Primary Connection String - Atlas Kafka endpoint primary connection string.
- Atlas
Kafka stringEndpoint Secondary Connection String - Atlas Kafka endpoint secondary connection string.
- Catalog
Endpoint string - Catalog endpoint.
- Guardian
Endpoint string - Guardian endpoint.
- Id string
- The provider-assigned unique ID for this managed resource.
- Managed
Resources List<AccountManaged Resource> - A
managed_resources
block as defined below. - Scan
Endpoint string - Scan endpoint.
- Atlas
Kafka stringEndpoint Primary Connection String - Atlas Kafka endpoint primary connection string.
- Atlas
Kafka stringEndpoint Secondary Connection String - Atlas Kafka endpoint secondary connection string.
- Catalog
Endpoint string - Catalog endpoint.
- Guardian
Endpoint string - Guardian endpoint.
- Id string
- The provider-assigned unique ID for this managed resource.
- Managed
Resources []AccountManaged Resource - A
managed_resources
block as defined below. - Scan
Endpoint string - Scan endpoint.
- atlas
Kafka StringEndpoint Primary Connection String - Atlas Kafka endpoint primary connection string.
- atlas
Kafka StringEndpoint Secondary Connection String - Atlas Kafka endpoint secondary connection string.
- catalog
Endpoint String - Catalog endpoint.
- guardian
Endpoint String - Guardian endpoint.
- id String
- The provider-assigned unique ID for this managed resource.
- managed
Resources List<AccountManaged Resource> - A
managed_resources
block as defined below. - scan
Endpoint String - Scan endpoint.
- atlas
Kafka stringEndpoint Primary Connection String - Atlas Kafka endpoint primary connection string.
- atlas
Kafka stringEndpoint Secondary Connection String - Atlas Kafka endpoint secondary connection string.
- catalog
Endpoint string - Catalog endpoint.
- guardian
Endpoint string - Guardian endpoint.
- id string
- The provider-assigned unique ID for this managed resource.
- managed
Resources AccountManaged Resource[] - A
managed_resources
block as defined below. - scan
Endpoint string - Scan endpoint.
- atlas_
kafka_ strendpoint_ primary_ connection_ string - Atlas Kafka endpoint primary connection string.
- atlas_
kafka_ strendpoint_ secondary_ connection_ string - Atlas Kafka endpoint secondary connection string.
- catalog_
endpoint str - Catalog endpoint.
- guardian_
endpoint str - Guardian endpoint.
- id str
- The provider-assigned unique ID for this managed resource.
- managed_
resources Sequence[AccountManaged Resource] - A
managed_resources
block as defined below. - scan_
endpoint str - Scan endpoint.
- atlas
Kafka StringEndpoint Primary Connection String - Atlas Kafka endpoint primary connection string.
- atlas
Kafka StringEndpoint Secondary Connection String - Atlas Kafka endpoint secondary connection string.
- catalog
Endpoint String - Catalog endpoint.
- guardian
Endpoint String - Guardian endpoint.
- id String
- The provider-assigned unique ID for this managed resource.
- managed
Resources List<Property Map> - A
managed_resources
block as defined below. - scan
Endpoint String - Scan endpoint.
Look up Existing Account Resource
Get an existing Account 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?: AccountState, opts?: CustomResourceOptions): Account
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
atlas_kafka_endpoint_primary_connection_string: Optional[str] = None,
atlas_kafka_endpoint_secondary_connection_string: Optional[str] = None,
catalog_endpoint: Optional[str] = None,
guardian_endpoint: Optional[str] = None,
identity: Optional[AccountIdentityArgs] = None,
location: Optional[str] = None,
managed_resource_group_name: Optional[str] = None,
managed_resources: Optional[Sequence[AccountManagedResourceArgs]] = None,
name: Optional[str] = None,
public_network_enabled: Optional[bool] = None,
resource_group_name: Optional[str] = None,
scan_endpoint: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None) -> Account
func GetAccount(ctx *Context, name string, id IDInput, state *AccountState, opts ...ResourceOption) (*Account, error)
public static Account Get(string name, Input<string> id, AccountState? state, CustomResourceOptions? opts = null)
public static Account get(String name, Output<String> id, AccountState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Atlas
Kafka stringEndpoint Primary Connection String - Atlas Kafka endpoint primary connection string.
- Atlas
Kafka stringEndpoint Secondary Connection String - Atlas Kafka endpoint secondary connection string.
- Catalog
Endpoint string - Catalog endpoint.
- Guardian
Endpoint string - Guardian endpoint.
- Identity
Account
Identity - An
identity
block as defined below. - Location string
- The Azure Region where the Purview Account should exist. Changing this forces a new Purview Account to be created.
- Managed
Resource stringGroup Name The name which should be used for the new Resource Group where Purview Account creates the managed resources. Changing this forces a new Purview Account to be created.
Note:
managed_resource_group_name
must be a new Resource Group- Managed
Resources List<AccountManaged Resource> - A
managed_resources
block as defined below. - Name string
- The name which should be used for this Purview Account. Changing this forces a new Purview Account to be created.
- Public
Network boolEnabled - Should the Purview Account be visible to the public network? Defaults to
true
. - Resource
Group stringName - The name of the Resource Group where the Purview Account should exist. Changing this forces a new Purview Account to be created.
- Scan
Endpoint string - Scan endpoint.
- Dictionary<string, string>
- A mapping of tags which should be assigned to the Purview Account.
- Atlas
Kafka stringEndpoint Primary Connection String - Atlas Kafka endpoint primary connection string.
- Atlas
Kafka stringEndpoint Secondary Connection String - Atlas Kafka endpoint secondary connection string.
- Catalog
Endpoint string - Catalog endpoint.
- Guardian
Endpoint string - Guardian endpoint.
- Identity
Account
Identity Args - An
identity
block as defined below. - Location string
- The Azure Region where the Purview Account should exist. Changing this forces a new Purview Account to be created.
- Managed
Resource stringGroup Name The name which should be used for the new Resource Group where Purview Account creates the managed resources. Changing this forces a new Purview Account to be created.
Note:
managed_resource_group_name
must be a new Resource Group- Managed
Resources []AccountManaged Resource Args - A
managed_resources
block as defined below. - Name string
- The name which should be used for this Purview Account. Changing this forces a new Purview Account to be created.
- Public
Network boolEnabled - Should the Purview Account be visible to the public network? Defaults to
true
. - Resource
Group stringName - The name of the Resource Group where the Purview Account should exist. Changing this forces a new Purview Account to be created.
- Scan
Endpoint string - Scan endpoint.
- map[string]string
- A mapping of tags which should be assigned to the Purview Account.
- atlas
Kafka StringEndpoint Primary Connection String - Atlas Kafka endpoint primary connection string.
- atlas
Kafka StringEndpoint Secondary Connection String - Atlas Kafka endpoint secondary connection string.
- catalog
Endpoint String - Catalog endpoint.
- guardian
Endpoint String - Guardian endpoint.
- identity
Account
Identity - An
identity
block as defined below. - location String
- The Azure Region where the Purview Account should exist. Changing this forces a new Purview Account to be created.
- managed
Resource StringGroup Name The name which should be used for the new Resource Group where Purview Account creates the managed resources. Changing this forces a new Purview Account to be created.
Note:
managed_resource_group_name
must be a new Resource Group- managed
Resources List<AccountManaged Resource> - A
managed_resources
block as defined below. - name String
- The name which should be used for this Purview Account. Changing this forces a new Purview Account to be created.
- public
Network BooleanEnabled - Should the Purview Account be visible to the public network? Defaults to
true
. - resource
Group StringName - The name of the Resource Group where the Purview Account should exist. Changing this forces a new Purview Account to be created.
- scan
Endpoint String - Scan endpoint.
- Map<String,String>
- A mapping of tags which should be assigned to the Purview Account.
- atlas
Kafka stringEndpoint Primary Connection String - Atlas Kafka endpoint primary connection string.
- atlas
Kafka stringEndpoint Secondary Connection String - Atlas Kafka endpoint secondary connection string.
- catalog
Endpoint string - Catalog endpoint.
- guardian
Endpoint string - Guardian endpoint.
- identity
Account
Identity - An
identity
block as defined below. - location string
- The Azure Region where the Purview Account should exist. Changing this forces a new Purview Account to be created.
- managed
Resource stringGroup Name The name which should be used for the new Resource Group where Purview Account creates the managed resources. Changing this forces a new Purview Account to be created.
Note:
managed_resource_group_name
must be a new Resource Group- managed
Resources AccountManaged Resource[] - A
managed_resources
block as defined below. - name string
- The name which should be used for this Purview Account. Changing this forces a new Purview Account to be created.
- public
Network booleanEnabled - Should the Purview Account be visible to the public network? Defaults to
true
. - resource
Group stringName - The name of the Resource Group where the Purview Account should exist. Changing this forces a new Purview Account to be created.
- scan
Endpoint string - Scan endpoint.
- {[key: string]: string}
- A mapping of tags which should be assigned to the Purview Account.
- atlas_
kafka_ strendpoint_ primary_ connection_ string - Atlas Kafka endpoint primary connection string.
- atlas_
kafka_ strendpoint_ secondary_ connection_ string - Atlas Kafka endpoint secondary connection string.
- catalog_
endpoint str - Catalog endpoint.
- guardian_
endpoint str - Guardian endpoint.
- identity
Account
Identity Args - An
identity
block as defined below. - location str
- The Azure Region where the Purview Account should exist. Changing this forces a new Purview Account to be created.
- managed_
resource_ strgroup_ name The name which should be used for the new Resource Group where Purview Account creates the managed resources. Changing this forces a new Purview Account to be created.
Note:
managed_resource_group_name
must be a new Resource Group- managed_
resources Sequence[AccountManaged Resource Args] - A
managed_resources
block as defined below. - name str
- The name which should be used for this Purview Account. Changing this forces a new Purview Account to be created.
- public_
network_ boolenabled - Should the Purview Account be visible to the public network? Defaults to
true
. - resource_
group_ strname - The name of the Resource Group where the Purview Account should exist. Changing this forces a new Purview Account to be created.
- scan_
endpoint str - Scan endpoint.
- Mapping[str, str]
- A mapping of tags which should be assigned to the Purview Account.
- atlas
Kafka StringEndpoint Primary Connection String - Atlas Kafka endpoint primary connection string.
- atlas
Kafka StringEndpoint Secondary Connection String - Atlas Kafka endpoint secondary connection string.
- catalog
Endpoint String - Catalog endpoint.
- guardian
Endpoint String - Guardian endpoint.
- identity Property Map
- An
identity
block as defined below. - location String
- The Azure Region where the Purview Account should exist. Changing this forces a new Purview Account to be created.
- managed
Resource StringGroup Name The name which should be used for the new Resource Group where Purview Account creates the managed resources. Changing this forces a new Purview Account to be created.
Note:
managed_resource_group_name
must be a new Resource Group- managed
Resources List<Property Map> - A
managed_resources
block as defined below. - name String
- The name which should be used for this Purview Account. Changing this forces a new Purview Account to be created.
- public
Network BooleanEnabled - Should the Purview Account be visible to the public network? Defaults to
true
. - resource
Group StringName - The name of the Resource Group where the Purview Account should exist. Changing this forces a new Purview Account to be created.
- scan
Endpoint String - Scan endpoint.
- Map<String>
- A mapping of tags which should be assigned to the Purview Account.
Supporting Types
AccountIdentity, AccountIdentityArgs
- Type string
- Specifies the type of Managed Service Identity that should be configured on this Purview Account. Possible values are
UserAssigned
andSystemAssigned
. - Identity
Ids List<string> Specifies a list of User Assigned Managed Identity IDs to be assigned to this Purview Account.
NOTE: This is required when
type
is set toUserAssigned
.- Principal
Id string - The Principal ID associated with this Managed Service Identity.
- Tenant
Id string - The Tenant ID associated with this Managed Service Identity.
- Type string
- Specifies the type of Managed Service Identity that should be configured on this Purview Account. Possible values are
UserAssigned
andSystemAssigned
. - Identity
Ids []string Specifies a list of User Assigned Managed Identity IDs to be assigned to this Purview Account.
NOTE: This is required when
type
is set toUserAssigned
.- Principal
Id string - The Principal ID associated with this Managed Service Identity.
- Tenant
Id string - The Tenant ID associated with this Managed Service Identity.
- type String
- Specifies the type of Managed Service Identity that should be configured on this Purview Account. Possible values are
UserAssigned
andSystemAssigned
. - identity
Ids List<String> Specifies a list of User Assigned Managed Identity IDs to be assigned to this Purview Account.
NOTE: This is required when
type
is set toUserAssigned
.- principal
Id String - The Principal ID associated with this Managed Service Identity.
- tenant
Id String - The Tenant ID associated with this Managed Service Identity.
- type string
- Specifies the type of Managed Service Identity that should be configured on this Purview Account. Possible values are
UserAssigned
andSystemAssigned
. - identity
Ids string[] Specifies a list of User Assigned Managed Identity IDs to be assigned to this Purview Account.
NOTE: This is required when
type
is set toUserAssigned
.- principal
Id string - The Principal ID associated with this Managed Service Identity.
- tenant
Id string - The Tenant ID associated with this Managed Service Identity.
- type str
- Specifies the type of Managed Service Identity that should be configured on this Purview Account. Possible values are
UserAssigned
andSystemAssigned
. - identity_
ids Sequence[str] Specifies a list of User Assigned Managed Identity IDs to be assigned to this Purview Account.
NOTE: This is required when
type
is set toUserAssigned
.- principal_
id str - The Principal ID associated with this Managed Service Identity.
- tenant_
id str - The Tenant ID associated with this Managed Service Identity.
- type String
- Specifies the type of Managed Service Identity that should be configured on this Purview Account. Possible values are
UserAssigned
andSystemAssigned
. - identity
Ids List<String> Specifies a list of User Assigned Managed Identity IDs to be assigned to this Purview Account.
NOTE: This is required when
type
is set toUserAssigned
.- principal
Id String - The Principal ID associated with this Managed Service Identity.
- tenant
Id String - The Tenant ID associated with this Managed Service Identity.
AccountManagedResource, AccountManagedResourceArgs
- Event
Hub stringNamespace Id - The ID of the managed event hub namespace.
- Resource
Group stringId - The ID of the managed resource group.
- Storage
Account stringId - The ID of the managed storage account.
- Event
Hub stringNamespace Id - The ID of the managed event hub namespace.
- Resource
Group stringId - The ID of the managed resource group.
- Storage
Account stringId - The ID of the managed storage account.
- event
Hub StringNamespace Id - The ID of the managed event hub namespace.
- resource
Group StringId - The ID of the managed resource group.
- storage
Account StringId - The ID of the managed storage account.
- event
Hub stringNamespace Id - The ID of the managed event hub namespace.
- resource
Group stringId - The ID of the managed resource group.
- storage
Account stringId - The ID of the managed storage account.
- event_
hub_ strnamespace_ id - The ID of the managed event hub namespace.
- resource_
group_ strid - The ID of the managed resource group.
- storage_
account_ strid - The ID of the managed storage account.
- event
Hub StringNamespace Id - The ID of the managed event hub namespace.
- resource
Group StringId - The ID of the managed resource group.
- storage
Account StringId - The ID of the managed storage account.
Import
Purview Accounts can be imported using the resource id
, e.g.
$ pulumi import azure:purview/account:Account example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Purview/accounts/account1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.