Account
Account resource Uses Azure REST API version 2021-12-01. In version 1.x of the Azure Native provider, it used API version 2020-12-01-preview. Other available API versions: 2020-12-01-preview, 2021-07-01, 2023-05-01-preview, 2024-04-01-preview.
Example Usage
Accounts_CreateOrUpdate
using System.Collections.Generic;
using System.Linq;
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",
ManagedResourcesPublicNetworkAccess = AzureNative.Purview.ManagedResourcesPublicNetworkAccess.Enabled,
ResourceGroupName = "SampleResourceGroup",
});
});
package main
import (
purview "github.com/pulumi/pulumi-azure-native-sdk/purview/v2"
"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"),
ManagedResourcesPublicNetworkAccess: pulumi.String(purview.ManagedResourcesPublicNetworkAccessEnabled),
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")
.managedResourcesPublicNetworkAccess("Enabled")
.resourceGroupName("SampleResourceGroup")
.build());
}
}
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:purview:Account account1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Purview/accounts/{accountName}
Properties
Gets or sets the status of the account.
Cloud connectors. External cloud identifier used as part of scanning configuration.
Gets the creators of the entity's object id.
The URIs that are the public endpoints of the account.
Gets or sets the friendly name.
Identity Info on the tracked resource
Gets or sets the state of managed eventhub. If enabled managed eventhub will be created, if disabled the managed eventhub will be removed.
Gets or sets the managed resource group name
Gets the resource identifiers of the managed resources.
Gets or sets the public network access for managed resources.
Gets the private endpoint connections information.
Gets or sets the state of the provisioning.
Gets or sets the public network access.
Gets or sets the Sku.
Metadata pertaining to creation and last modification of the resource.