DataPoolArgs

data class DataPoolArgs(val accountName: Output<String>? = null, val dataPoolName: Output<String>? = null, val locations: Output<List<DataPoolLocationArgs>>? = null, val resourceGroupName: Output<String>? = null) : ConvertibleToJava<DataPoolArgs>

ADP Data Pool API Version: 2021-02-01-preview.

Example Usage

Put Data Pool

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var dataPool = new AzureNative.AutonomousDevelopmentPlatform.DataPool("dataPool", new()
{
AccountName = "sampleacct",
DataPoolName = "sampledp",
Locations = new[]
{
new AzureNative.AutonomousDevelopmentPlatform.Inputs.DataPoolLocationArgs
{
Encryption = new AzureNative.AutonomousDevelopmentPlatform.Inputs.DataPoolEncryptionArgs
{
KeyName = "key1",
KeyVaultUri = "https://vaulturi",
KeyVersion = "123",
UserAssignedIdentity = "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1",
},
Name = "westus",
},
},
ResourceGroupName = "adpClient",
});
});
package main
import (
autonomousdevelopmentplatform "github.com/pulumi/pulumi-azure-native-sdk/autonomousdevelopmentplatform"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := autonomousdevelopmentplatform.NewDataPool(ctx, "dataPool", &autonomousdevelopmentplatform.DataPoolArgs{
AccountName: pulumi.String("sampleacct"),
DataPoolName: pulumi.String("sampledp"),
Locations: []autonomousdevelopmentplatform.DataPoolLocationArgs{
{
Encryption: {
KeyName: pulumi.String("key1"),
KeyVaultUri: pulumi.String("https://vaulturi"),
KeyVersion: pulumi.String("123"),
UserAssignedIdentity: pulumi.String("/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1"),
},
Name: pulumi.String("westus"),
},
},
ResourceGroupName: pulumi.String("adpClient"),
})
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.autonomousdevelopmentplatform.DataPool;
import com.pulumi.azurenative.autonomousdevelopmentplatform.DataPoolArgs;
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 dataPool = new DataPool("dataPool", DataPoolArgs.builder()
.accountName("sampleacct")
.dataPoolName("sampledp")
.locations(Map.ofEntries(
Map.entry("encryption", Map.ofEntries(
Map.entry("keyName", "key1"),
Map.entry("keyVaultUri", "https://vaulturi"),
Map.entry("keyVersion", "123"),
Map.entry("userAssignedIdentity", "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1")
)),
Map.entry("name", "westus")
))
.resourceGroupName("adpClient")
.build());
}
}

Import

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

$ pulumi import azure-native:autonomousdevelopmentplatform:DataPool dp1 /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.AutonomousDevelopmentPlatform/accounts/adp1/dataPools/dp1

Constructors

Link copied to clipboard
constructor(accountName: Output<String>? = null, dataPoolName: Output<String>? = null, locations: Output<List<DataPoolLocationArgs>>? = null, resourceGroupName: Output<String>? = null)

Properties

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

The name of the ADP account

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

The name of the Data Pool

Link copied to clipboard
val locations: Output<List<DataPoolLocationArgs>>? = null

Gets or sets the collection of locations where Data Pool resources should be created

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

The name of the resource group. The name is case insensitive.

Functions

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