DataPool

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

Example Usage

Put Data Pool

using System.Collections.Generic;
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 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

Properties

Link copied to clipboard
val dataPoolId: Output<String>

The Data Pool's data-plane ID

Link copied to clipboard
val id: Output<String>
Link copied to clipboard

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

Link copied to clipboard
val name: Output<String>

The name of the resource

Link copied to clipboard

Gets the status of the data pool at the time the operation was called

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The system meta data relating to this resource

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>