AccountArgs

data class AccountArgs(val accountName: Output<String>? = null, val identity: Output<IdentityArgs>? = null, val ingestionStorage: Output<IngestionStorageArgs>? = null, val location: Output<String>? = null, val managedEventHubState: Output<Either<String, ManagedEventHubState>>? = null, val managedResourceGroupName: Output<String>? = null, val managedResourcesPublicNetworkAccess: Output<Either<String, PublicNetworkAccess>>? = null, val publicNetworkAccess: Output<Either<String, PublicNetworkAccess>>? = null, val resourceGroupName: Output<String>? = null, val sku: Output<AccountSkuArgs>? = null, val tags: Output<Map<String, String>>? = null, val tenantEndpointState: Output<Either<String, TenantEndpointState>>? = null) : ConvertibleToJava<AccountArgs>

Account resource Uses Azure REST API version 2024-04-01-preview. In version 2.x of the Azure Native provider, it used API version 2021-12-01. Other available API versions: 2021-12-01, 2023-05-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native purview [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

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",
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"),
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")
.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}

Constructors

Link copied to clipboard
constructor(accountName: Output<String>? = null, identity: Output<IdentityArgs>? = null, ingestionStorage: Output<IngestionStorageArgs>? = null, location: Output<String>? = null, managedEventHubState: Output<Either<String, ManagedEventHubState>>? = null, managedResourceGroupName: Output<String>? = null, managedResourcesPublicNetworkAccess: Output<Either<String, PublicNetworkAccess>>? = null, publicNetworkAccess: Output<Either<String, PublicNetworkAccess>>? = null, resourceGroupName: Output<String>? = null, sku: Output<AccountSkuArgs>? = null, tags: Output<Map<String, String>>? = null, tenantEndpointState: Output<Either<String, TenantEndpointState>>? = null)

Properties

Link copied to clipboard
val accountName: Output<String>? = null

The name of the account.

Link copied to clipboard
val identity: Output<IdentityArgs>? = null

The Managed Identity of the resource

Link copied to clipboard

Ingestion Storage Account Info

Link copied to clipboard
val location: Output<String>? = null

Gets or sets the location.

Link copied to clipboard
val managedEventHubState: Output<Either<String, ManagedEventHubState>>? = null

Gets or sets the state of managed eventhub. If enabled managed eventhub will be created, if disabled the managed eventhub will be removed.

Link copied to clipboard
val managedResourceGroupName: Output<String>? = null

Gets or sets the managed resource group name

Link copied to clipboard

Gets or sets the public network access for managed resources.

Link copied to clipboard
val publicNetworkAccess: Output<Either<String, PublicNetworkAccess>>? = null

Gets or sets the public network access.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The resource group name.

Link copied to clipboard
val sku: Output<AccountSkuArgs>? = null

Gets or sets the Sku.

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

Tags on the azure resource.

Link copied to clipboard
val tenantEndpointState: Output<Either<String, TenantEndpointState>>? = null

Gets or sets the state of tenant endpoint.

Functions

Link copied to clipboard
open override fun toJava(): AccountArgs