Azure Native

v1.88.1 published on Thursday, Dec 1, 2022 by Pulumi

Account

Account resource API Version: 2020-12-01-preview.

Example Usage

Accounts_CreateOrUpdate

using System.Collections.Generic;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var account = new AzureNative.Purview.Account("account", new()
    {
        AccountName = "account1",
        Location = "West US 2",
        ManagedResourceGroupName = "custom-rgname",
        ResourceGroupName = "SampleResourceGroup",
    });

});
package main

import (
	purview "github.com/pulumi/pulumi-azure-native/sdk/go/azure/purview"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := purview.NewAccount(ctx, "account", &purview.AccountArgs{
			AccountName:              pulumi.String("account1"),
			Location:                 pulumi.String("West US 2"),
			ManagedResourceGroupName: pulumi.String("custom-rgname"),
			ResourceGroupName:        pulumi.String("SampleResourceGroup"),
		})
		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.purview.Account;
import com.pulumi.azurenative.purview.AccountArgs;
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 account = new Account("account", AccountArgs.builder()        
            .accountName("account1")
            .location("West US 2")
            .managedResourceGroupName("custom-rgname")
            .resourceGroupName("SampleResourceGroup")
            .build());

    }
}
import pulumi
import pulumi_azure_native as azure_native

account = azure_native.purview.Account("account",
    account_name="account1",
    location="West US 2",
    managed_resource_group_name="custom-rgname",
    resource_group_name="SampleResourceGroup")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const account = new azure_native.purview.Account("account", {
    accountName: "account1",
    location: "West US 2",
    managedResourceGroupName: "custom-rgname",
    resourceGroupName: "SampleResourceGroup",
});
resources:
  account:
    type: azure-native:purview:Account
    properties:
      accountName: account1
      location: West US 2
      managedResourceGroupName: custom-rgname
      resourceGroupName: SampleResourceGroup

Create Account Resource

new Account(name: string, args: AccountArgs, opts?: CustomResourceOptions);
@overload
def Account(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            account_name: Optional[str] = None,
            identity: Optional[IdentityArgs] = None,
            location: Optional[str] = None,
            managed_resource_group_name: Optional[str] = None,
            public_network_access: Optional[Union[str, PublicNetworkAccess]] = None,
            resource_group_name: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None)
@overload
def Account(resource_name: str,
            args: AccountArgs,
            opts: Optional[ResourceOptions] = 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-native:purview:Account
properties: # The arguments to resource properties.
options: # 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.
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.

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

The Account resource accepts the following input properties:

ResourceGroupName string

The resource group name.

AccountName string

The name of the account.

Identity Pulumi.AzureNative.Purview.Inputs.IdentityArgs

Identity Info on the tracked resource

Location string

Gets or sets the location.

ManagedResourceGroupName string

Gets or sets the managed resource group name

PublicNetworkAccess string | Pulumi.AzureNative.Purview.PublicNetworkAccess

Gets or sets the public network access.

Tags Dictionary<string, string>

Tags on the azure resource.

ResourceGroupName string

The resource group name.

AccountName string

The name of the account.

Identity IdentityArgs

Identity Info on the tracked resource

Location string

Gets or sets the location.

ManagedResourceGroupName string

Gets or sets the managed resource group name

PublicNetworkAccess string | PublicNetworkAccess

Gets or sets the public network access.

Tags map[string]string

Tags on the azure resource.

resourceGroupName String

The resource group name.

accountName String

The name of the account.

identity IdentityArgs

Identity Info on the tracked resource

location String

Gets or sets the location.

managedResourceGroupName String

Gets or sets the managed resource group name

publicNetworkAccess String | PublicNetworkAccess

Gets or sets the public network access.

tags Map<String,String>

Tags on the azure resource.

resourceGroupName string

The resource group name.

accountName string

The name of the account.

identity IdentityArgs

Identity Info on the tracked resource

location string

Gets or sets the location.

managedResourceGroupName string

Gets or sets the managed resource group name

publicNetworkAccess string | PublicNetworkAccess

Gets or sets the public network access.

tags {[key: string]: string}

Tags on the azure resource.

resource_group_name str

The resource group name.

account_name str

The name of the account.

identity IdentityArgs

Identity Info on the tracked resource

location str

Gets or sets the location.

managed_resource_group_name str

Gets or sets the managed resource group name

public_network_access str | PublicNetworkAccess

Gets or sets the public network access.

tags Mapping[str, str]

Tags on the azure resource.

resourceGroupName String

The resource group name.

accountName String

The name of the account.

identity Property Map

Identity Info on the tracked resource

location String

Gets or sets the location.

managedResourceGroupName String

Gets or sets the managed resource group name

publicNetworkAccess String | "NotSpecified" | "Enabled" | "Disabled"

Gets or sets the public network access.

tags Map<String>

Tags on the azure resource.

Outputs

All input properties are implicitly available as output properties. Additionally, the Account resource produces the following output properties:

CreatedAt string

Gets the time at which the entity was created.

CreatedBy string

Gets the creator of the entity.

CreatedByObjectId string

Gets the creators of the entity's object id.

Endpoints Pulumi.AzureNative.Purview.Outputs.AccountPropertiesResponseEndpoints

The URIs that are the public endpoints of the account.

FriendlyName string

Gets or sets the friendly name.

Id string

The provider-assigned unique ID for this managed resource.

ManagedResources Pulumi.AzureNative.Purview.Outputs.AccountPropertiesResponseManagedResources

Gets the resource identifiers of the managed resources.

Name string

Gets or sets the name.

PrivateEndpointConnections List<Pulumi.AzureNative.Purview.Outputs.PrivateEndpointConnectionResponse>

Gets the private endpoint connections information.

ProvisioningState string

Gets or sets the state of the provisioning.

Sku Pulumi.AzureNative.Purview.Outputs.AccountResponseSku

Gets or sets the Sku.

SystemData Pulumi.AzureNative.Purview.Outputs.AccountPropertiesResponseSystemData

Metadata pertaining to creation and last modification of the resource.

Type string

Gets or sets the type.

CloudConnectors Pulumi.AzureNative.Purview.Outputs.CloudConnectorsResponse

Cloud connectors. External cloud identifier used as part of scanning configuration.

CreatedAt string

Gets the time at which the entity was created.

CreatedBy string

Gets the creator of the entity.

CreatedByObjectId string

Gets the creators of the entity's object id.

Endpoints AccountPropertiesResponseEndpoints

The URIs that are the public endpoints of the account.

FriendlyName string

Gets or sets the friendly name.

Id string

The provider-assigned unique ID for this managed resource.

ManagedResources AccountPropertiesResponseManagedResources

Gets the resource identifiers of the managed resources.

Name string

Gets or sets the name.

PrivateEndpointConnections []PrivateEndpointConnectionResponse

Gets the private endpoint connections information.

ProvisioningState string

Gets or sets the state of the provisioning.

Sku AccountResponseSku

Gets or sets the Sku.

SystemData AccountPropertiesResponseSystemData

Metadata pertaining to creation and last modification of the resource.

Type string

Gets or sets the type.

CloudConnectors CloudConnectorsResponse

Cloud connectors. External cloud identifier used as part of scanning configuration.

createdAt String

Gets the time at which the entity was created.

createdBy String

Gets the creator of the entity.

createdByObjectId String

Gets the creators of the entity's object id.

endpoints AccountPropertiesResponseEndpoints

The URIs that are the public endpoints of the account.

friendlyName String

Gets or sets the friendly name.

id String

The provider-assigned unique ID for this managed resource.

managedResources AccountPropertiesResponseManagedResources

Gets the resource identifiers of the managed resources.

name String

Gets or sets the name.

privateEndpointConnections List<PrivateEndpointConnectionResponse>

Gets the private endpoint connections information.

provisioningState String

Gets or sets the state of the provisioning.

sku AccountResponseSku

Gets or sets the Sku.

systemData AccountPropertiesResponseSystemData

Metadata pertaining to creation and last modification of the resource.

type String

Gets or sets the type.

cloudConnectors CloudConnectorsResponse

Cloud connectors. External cloud identifier used as part of scanning configuration.

createdAt string

Gets the time at which the entity was created.

createdBy string

Gets the creator of the entity.

createdByObjectId string

Gets the creators of the entity's object id.

endpoints AccountPropertiesResponseEndpoints

The URIs that are the public endpoints of the account.

friendlyName string

Gets or sets the friendly name.

id string

The provider-assigned unique ID for this managed resource.

managedResources AccountPropertiesResponseManagedResources

Gets the resource identifiers of the managed resources.

name string

Gets or sets the name.

privateEndpointConnections PrivateEndpointConnectionResponse[]

Gets the private endpoint connections information.

provisioningState string

Gets or sets the state of the provisioning.

sku AccountResponseSku

Gets or sets the Sku.

systemData AccountPropertiesResponseSystemData

Metadata pertaining to creation and last modification of the resource.

type string

Gets or sets the type.

cloudConnectors CloudConnectorsResponse

Cloud connectors. External cloud identifier used as part of scanning configuration.

created_at str

Gets the time at which the entity was created.

created_by str

Gets the creator of the entity.

created_by_object_id str

Gets the creators of the entity's object id.

endpoints AccountPropertiesResponseEndpoints

The URIs that are the public endpoints of the account.

friendly_name str

Gets or sets the friendly name.

id str

The provider-assigned unique ID for this managed resource.

managed_resources AccountPropertiesResponseManagedResources

Gets the resource identifiers of the managed resources.

name str

Gets or sets the name.

private_endpoint_connections Sequence[PrivateEndpointConnectionResponse]

Gets the private endpoint connections information.

provisioning_state str

Gets or sets the state of the provisioning.

sku AccountResponseSku

Gets or sets the Sku.

system_data AccountPropertiesResponseSystemData

Metadata pertaining to creation and last modification of the resource.

type str

Gets or sets the type.

cloud_connectors CloudConnectorsResponse

Cloud connectors. External cloud identifier used as part of scanning configuration.

createdAt String

Gets the time at which the entity was created.

createdBy String

Gets the creator of the entity.

createdByObjectId String

Gets the creators of the entity's object id.

endpoints Property Map

The URIs that are the public endpoints of the account.

friendlyName String

Gets or sets the friendly name.

id String

The provider-assigned unique ID for this managed resource.

managedResources Property Map

Gets the resource identifiers of the managed resources.

name String

Gets or sets the name.

privateEndpointConnections List<Property Map>

Gets the private endpoint connections information.

provisioningState String

Gets or sets the state of the provisioning.

sku Property Map

Gets or sets the Sku.

systemData Property Map

Metadata pertaining to creation and last modification of the resource.

type String

Gets or sets the type.

cloudConnectors Property Map

Cloud connectors. External cloud identifier used as part of scanning configuration.

Supporting Types

AccountPropertiesResponseEndpoints

Catalog string

Gets the catalog endpoint.

Guardian string

Gets the guardian endpoint.

Scan string

Gets the scan endpoint.

Catalog string

Gets the catalog endpoint.

Guardian string

Gets the guardian endpoint.

Scan string

Gets the scan endpoint.

catalog String

Gets the catalog endpoint.

guardian String

Gets the guardian endpoint.

scan String

Gets the scan endpoint.

catalog string

Gets the catalog endpoint.

guardian string

Gets the guardian endpoint.

scan string

Gets the scan endpoint.

catalog str

Gets the catalog endpoint.

guardian str

Gets the guardian endpoint.

scan str

Gets the scan endpoint.

catalog String

Gets the catalog endpoint.

guardian String

Gets the guardian endpoint.

scan String

Gets the scan endpoint.

AccountPropertiesResponseManagedResources

EventHubNamespace string

Gets the managed event hub namespace resource identifier.

ResourceGroup string

Gets the managed resource group resource identifier. This resource group will host resource dependencies for the account.

StorageAccount string

Gets the managed storage account resource identifier.

EventHubNamespace string

Gets the managed event hub namespace resource identifier.

ResourceGroup string

Gets the managed resource group resource identifier. This resource group will host resource dependencies for the account.

StorageAccount string

Gets the managed storage account resource identifier.

eventHubNamespace String

Gets the managed event hub namespace resource identifier.

resourceGroup String

Gets the managed resource group resource identifier. This resource group will host resource dependencies for the account.

storageAccount String

Gets the managed storage account resource identifier.

eventHubNamespace string

Gets the managed event hub namespace resource identifier.

resourceGroup string

Gets the managed resource group resource identifier. This resource group will host resource dependencies for the account.

storageAccount string

Gets the managed storage account resource identifier.

event_hub_namespace str

Gets the managed event hub namespace resource identifier.

resource_group str

Gets the managed resource group resource identifier. This resource group will host resource dependencies for the account.

storage_account str

Gets the managed storage account resource identifier.

eventHubNamespace String

Gets the managed event hub namespace resource identifier.

resourceGroup String

Gets the managed resource group resource identifier. This resource group will host resource dependencies for the account.

storageAccount String

Gets the managed storage account resource identifier.

AccountPropertiesResponseSystemData

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of the last modification the resource (UTC).

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of the last modification the resource (UTC).

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of the last modification the resource (UTC).

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

createdAt string

The timestamp of resource creation (UTC).

createdBy string

The identity that created the resource.

createdByType string

The type of identity that created the resource.

lastModifiedAt string

The timestamp of the last modification the resource (UTC).

lastModifiedBy string

The identity that last modified the resource.

lastModifiedByType string

The type of identity that last modified the resource.

created_at str

The timestamp of resource creation (UTC).

created_by str

The identity that created the resource.

created_by_type str

The type of identity that created the resource.

last_modified_at str

The timestamp of the last modification the resource (UTC).

last_modified_by str

The identity that last modified the resource.

last_modified_by_type str

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of the last modification the resource (UTC).

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

AccountResponseSku

Capacity int

Gets or sets the sku capacity.

Name string

Gets or sets the sku name.

Capacity int

Gets or sets the sku capacity.

Name string

Gets or sets the sku name.

capacity Integer

Gets or sets the sku capacity.

name String

Gets or sets the sku name.

capacity number

Gets or sets the sku capacity.

name string

Gets or sets the sku name.

capacity int

Gets or sets the sku capacity.

name str

Gets or sets the sku name.

capacity Number

Gets or sets the sku capacity.

name String

Gets or sets the sku name.

CloudConnectorsResponse

AwsExternalId string

AWS external identifier. Configured in AWS to allow use of the role arn used for scanning

AwsExternalId string

AWS external identifier. Configured in AWS to allow use of the role arn used for scanning

awsExternalId String

AWS external identifier. Configured in AWS to allow use of the role arn used for scanning

awsExternalId string

AWS external identifier. Configured in AWS to allow use of the role arn used for scanning

aws_external_id str

AWS external identifier. Configured in AWS to allow use of the role arn used for scanning

awsExternalId String

AWS external identifier. Configured in AWS to allow use of the role arn used for scanning

Identity

Type string | Type

Identity Type

type String | Type

Identity Type

type string | Type

Identity Type

type str | Type

Identity Type

type String | "SystemAssigned"

Identity Type

IdentityResponse

PrincipalId string

Service principal object Id

TenantId string

Tenant Id

Type string

Identity Type

PrincipalId string

Service principal object Id

TenantId string

Tenant Id

Type string

Identity Type

principalId String

Service principal object Id

tenantId String

Tenant Id

type String

Identity Type

principalId string

Service principal object Id

tenantId string

Tenant Id

type string

Identity Type

principal_id str

Service principal object Id

tenant_id str

Tenant Id

type str

Identity Type

principalId String

Service principal object Id

tenantId String

Tenant Id

type String

Identity Type

PrivateEndpointConnectionResponse

Id string

Gets or sets the identifier.

Name string

Gets or sets the name.

ProvisioningState string

The provisioning state.

Type string

Gets or sets the type.

PrivateEndpoint Pulumi.AzureNative.Purview.Inputs.PrivateEndpointResponse

The private endpoint information.

PrivateLinkServiceConnectionState Pulumi.AzureNative.Purview.Inputs.PrivateLinkServiceConnectionStateResponse

The private link service connection state.

Id string

Gets or sets the identifier.

Name string

Gets or sets the name.

ProvisioningState string

The provisioning state.

Type string

Gets or sets the type.

PrivateEndpoint PrivateEndpointResponse

The private endpoint information.

PrivateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse

The private link service connection state.

id String

Gets or sets the identifier.

name String

Gets or sets the name.

provisioningState String

The provisioning state.

type String

Gets or sets the type.

privateEndpoint PrivateEndpointResponse

The private endpoint information.

privateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse

The private link service connection state.

id string

Gets or sets the identifier.

name string

Gets or sets the name.

provisioningState string

The provisioning state.

type string

Gets or sets the type.

privateEndpoint PrivateEndpointResponse

The private endpoint information.

privateLinkServiceConnectionState PrivateLinkServiceConnectionStateResponse

The private link service connection state.

id str

Gets or sets the identifier.

name str

Gets or sets the name.

provisioning_state str

The provisioning state.

type str

Gets or sets the type.

private_endpoint PrivateEndpointResponse

The private endpoint information.

private_link_service_connection_state PrivateLinkServiceConnectionStateResponse

The private link service connection state.

id String

Gets or sets the identifier.

name String

Gets or sets the name.

provisioningState String

The provisioning state.

type String

Gets or sets the type.

privateEndpoint Property Map

The private endpoint information.

privateLinkServiceConnectionState Property Map

The private link service connection state.

PrivateEndpointResponse

Id string

The private endpoint identifier.

Id string

The private endpoint identifier.

id String

The private endpoint identifier.

id string

The private endpoint identifier.

id str

The private endpoint identifier.

id String

The private endpoint identifier.

PrivateLinkServiceConnectionStateResponse

ActionsRequired string

The required actions.

Description string

The description.

Status string

The status.

ActionsRequired string

The required actions.

Description string

The description.

Status string

The status.

actionsRequired String

The required actions.

description String

The description.

status String

The status.

actionsRequired string

The required actions.

description string

The description.

status string

The status.

actions_required str

The required actions.

description str

The description.

status str

The status.

actionsRequired String

The required actions.

description String

The description.

status String

The status.

PublicNetworkAccess

NotSpecified
NotSpecified
Enabled
Enabled
Disabled
Disabled
PublicNetworkAccessNotSpecified
NotSpecified
PublicNetworkAccessEnabled
Enabled
PublicNetworkAccessDisabled
Disabled
NotSpecified
NotSpecified
Enabled
Enabled
Disabled
Disabled
NotSpecified
NotSpecified
Enabled
Enabled
Disabled
Disabled
NOT_SPECIFIED
NotSpecified
ENABLED
Enabled
DISABLED
Disabled
"NotSpecified"
NotSpecified
"Enabled"
Enabled
"Disabled"
Disabled

Type

SystemAssigned
SystemAssigned
TypeSystemAssigned
SystemAssigned
SystemAssigned
SystemAssigned
SystemAssigned
SystemAssigned
SYSTEM_ASSIGNED
SystemAssigned
"SystemAssigned"
SystemAssigned

Import

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

$ pulumi import azure-native:purview:Account account1 /subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/SampleResourceGroup/providers/Microsoft.Purview/accounts/account1 

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0