Account
Account resource API Version: 2020-12-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",
ResourceGroupName = "SampleResourceGroup",
});
});
Content copied to clipboard
package main
import (
purview "github.com/pulumi/pulumi-azure-native-sdk/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
})
}
Content copied to clipboard
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());
}
}
Content copied to clipboard
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
Content copied to clipboard
Properties
Link copied to clipboard
Cloud connectors. External cloud identifier used as part of scanning configuration.
Link copied to clipboard
Gets the creators of the entity's object id.
Link copied to clipboard
The URIs that are the public endpoints of the account.
Link copied to clipboard
Gets or sets the friendly name.
Link copied to clipboard
Identity Info on the tracked resource
Link copied to clipboard
Gets or sets the managed resource group name
Link copied to clipboard
Gets the resource identifiers of the managed resources.
Link copied to clipboard
Gets the private endpoint connections information.
Link copied to clipboard
Gets or sets the state of the provisioning.
Link copied to clipboard
Gets or sets the public network access.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Gets or sets the Sku.
Link copied to clipboard
Metadata pertaining to creation and last modification of the resource.