azure-native.autonomousdevelopmentplatform.DataPool
Explore with Pulumi AI
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 pulumi
import pulumi_azure_native as azure_native
data_pool = azure_native.autonomousdevelopmentplatform.DataPool("dataPool",
account_name="sampleacct",
data_pool_name="sampledp",
locations=[{
"encryption": azure_native.autonomousdevelopmentplatform.DataPoolEncryptionArgs(
key_name="key1",
key_vault_uri="https://vaulturi",
key_version="123",
user_assigned_identity="/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1",
),
"name": "westus",
}],
resource_group_name="adpClient")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const dataPool = new azure_native.autonomousdevelopmentplatform.DataPool("dataPool", {
accountName: "sampleacct",
dataPoolName: "sampledp",
locations: [{
encryption: {
keyName: "key1",
keyVaultUri: "https://vaulturi",
keyVersion: "123",
userAssignedIdentity: "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1",
},
name: "westus",
}],
resourceGroupName: "adpClient",
});
resources:
dataPool:
type: azure-native:autonomousdevelopmentplatform:DataPool
properties:
accountName: sampleacct
dataPoolName: sampledp
locations:
- encryption:
keyName: key1
keyVaultUri: https://vaulturi
keyVersion: '123'
userAssignedIdentity: /subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1
name: westus
resourceGroupName: adpClient
Create DataPool Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new DataPool(name: string, args: DataPoolArgs, opts?: CustomResourceOptions);
@overload
def DataPool(resource_name: str,
args: DataPoolArgs,
opts: Optional[ResourceOptions] = None)
@overload
def DataPool(resource_name: str,
opts: Optional[ResourceOptions] = None,
account_name: Optional[str] = None,
locations: Optional[Sequence[DataPoolLocationArgs]] = None,
resource_group_name: Optional[str] = None,
data_pool_name: Optional[str] = None)
func NewDataPool(ctx *Context, name string, args DataPoolArgs, opts ...ResourceOption) (*DataPool, error)
public DataPool(string name, DataPoolArgs args, CustomResourceOptions? opts = null)
public DataPool(String name, DataPoolArgs args)
public DataPool(String name, DataPoolArgs args, CustomResourceOptions options)
type: azure-native:autonomousdevelopmentplatform:DataPool
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args DataPoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args DataPoolArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args DataPoolArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DataPoolArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args DataPoolArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var dataPoolResource = new AzureNative.Autonomousdevelopmentplatform.DataPool("dataPoolResource", new()
{
AccountName = "string",
Locations = new[]
{
{
{ "name", "string" },
{ "encryption",
{
{ "keyName", "string" },
{ "keyVaultUri", "string" },
{ "userAssignedIdentity", "string" },
{ "keyVersion", "string" },
} },
},
},
ResourceGroupName = "string",
DataPoolName = "string",
});
example, err := autonomousdevelopmentplatform.NewDataPool(ctx, "dataPoolResource", &autonomousdevelopmentplatform.DataPoolArgs{
AccountName: "string",
Locations: []map[string]interface{}{
map[string]interface{}{
"name": "string",
"encryption": map[string]interface{}{
"keyName": "string",
"keyVaultUri": "string",
"userAssignedIdentity": "string",
"keyVersion": "string",
},
},
},
ResourceGroupName: "string",
DataPoolName: "string",
})
var dataPoolResource = new DataPool("dataPoolResource", DataPoolArgs.builder()
.accountName("string")
.locations(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.resourceGroupName("string")
.dataPoolName("string")
.build());
data_pool_resource = azure_native.autonomousdevelopmentplatform.DataPool("dataPoolResource",
account_name=string,
locations=[{
name: string,
encryption: {
keyName: string,
keyVaultUri: string,
userAssignedIdentity: string,
keyVersion: string,
},
}],
resource_group_name=string,
data_pool_name=string)
const dataPoolResource = new azure_native.autonomousdevelopmentplatform.DataPool("dataPoolResource", {
accountName: "string",
locations: [{
name: "string",
encryption: {
keyName: "string",
keyVaultUri: "string",
userAssignedIdentity: "string",
keyVersion: "string",
},
}],
resourceGroupName: "string",
dataPoolName: "string",
});
type: azure-native:autonomousdevelopmentplatform:DataPool
properties:
accountName: string
dataPoolName: string
locations:
- encryption:
keyName: string
keyVaultUri: string
keyVersion: string
userAssignedIdentity: string
name: string
resourceGroupName: string
DataPool Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DataPool resource accepts the following input properties:
- Account
Name string - The name of the ADP account
- Locations
List<Pulumi.
Azure Native. Autonomous Development Platform. Inputs. Data Pool Location> - Gets or sets the collection of locations where Data Pool resources should be created
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Data
Pool stringName - The name of the Data Pool
- Account
Name string - The name of the ADP account
- Locations
[]Data
Pool Location Args - Gets or sets the collection of locations where Data Pool resources should be created
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Data
Pool stringName - The name of the Data Pool
- account
Name String - The name of the ADP account
- locations
List<Data
Pool Location> - Gets or sets the collection of locations where Data Pool resources should be created
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- data
Pool StringName - The name of the Data Pool
- account
Name string - The name of the ADP account
- locations
Data
Pool Location[] - Gets or sets the collection of locations where Data Pool resources should be created
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- data
Pool stringName - The name of the Data Pool
- account_
name str - The name of the ADP account
- locations
Sequence[Data
Pool Location Args] - Gets or sets the collection of locations where Data Pool resources should be created
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- data_
pool_ strname - The name of the Data Pool
- account
Name String - The name of the ADP account
- locations List<Property Map>
- Gets or sets the collection of locations where Data Pool resources should be created
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- data
Pool StringName - The name of the Data Pool
Outputs
All input properties are implicitly available as output properties. Additionally, the DataPool resource produces the following output properties:
- Data
Pool stringId - The Data Pool's data-plane ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - Gets the status of the data pool at the time the operation was called
- System
Data Pulumi.Azure Native. Autonomous Development Platform. Outputs. System Data Response - The system meta data relating to this resource
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Data
Pool stringId - The Data Pool's data-plane ID
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - Gets the status of the data pool at the time the operation was called
- System
Data SystemData Response - The system meta data relating to this resource
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- data
Pool StringId - The Data Pool's data-plane ID
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - Gets the status of the data pool at the time the operation was called
- system
Data SystemData Response - The system meta data relating to this resource
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- data
Pool stringId - The Data Pool's data-plane ID
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- provisioning
State string - Gets the status of the data pool at the time the operation was called
- system
Data SystemData Response - The system meta data relating to this resource
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- data_
pool_ strid - The Data Pool's data-plane ID
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- provisioning_
state str - Gets the status of the data pool at the time the operation was called
- system_
data SystemData Response - The system meta data relating to this resource
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- data
Pool StringId - The Data Pool's data-plane ID
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - Gets the status of the data pool at the time the operation was called
- system
Data Property Map - The system meta data relating to this resource
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
DataPoolEncryption, DataPoolEncryptionArgs
- Key
Name string - The name of Key Vault key
- Key
Vault stringUri - The URI of a soft delete-enabled Key Vault that is in the same location as the Data Pool location
- User
Assigned stringIdentity - The resource ID of a user-assigned Managed Identity used to access the encryption key in the Key Vault. Requires access to the key operations get, wrap, unwrap, and recover
- Key
Version string - The version of Key Vault key
- Key
Name string - The name of Key Vault key
- Key
Vault stringUri - The URI of a soft delete-enabled Key Vault that is in the same location as the Data Pool location
- User
Assigned stringIdentity - The resource ID of a user-assigned Managed Identity used to access the encryption key in the Key Vault. Requires access to the key operations get, wrap, unwrap, and recover
- Key
Version string - The version of Key Vault key
- key
Name String - The name of Key Vault key
- key
Vault StringUri - The URI of a soft delete-enabled Key Vault that is in the same location as the Data Pool location
- user
Assigned StringIdentity - The resource ID of a user-assigned Managed Identity used to access the encryption key in the Key Vault. Requires access to the key operations get, wrap, unwrap, and recover
- key
Version String - The version of Key Vault key
- key
Name string - The name of Key Vault key
- key
Vault stringUri - The URI of a soft delete-enabled Key Vault that is in the same location as the Data Pool location
- user
Assigned stringIdentity - The resource ID of a user-assigned Managed Identity used to access the encryption key in the Key Vault. Requires access to the key operations get, wrap, unwrap, and recover
- key
Version string - The version of Key Vault key
- key_
name str - The name of Key Vault key
- key_
vault_ struri - The URI of a soft delete-enabled Key Vault that is in the same location as the Data Pool location
- user_
assigned_ stridentity - The resource ID of a user-assigned Managed Identity used to access the encryption key in the Key Vault. Requires access to the key operations get, wrap, unwrap, and recover
- key_
version str - The version of Key Vault key
- key
Name String - The name of Key Vault key
- key
Vault StringUri - The URI of a soft delete-enabled Key Vault that is in the same location as the Data Pool location
- user
Assigned StringIdentity - The resource ID of a user-assigned Managed Identity used to access the encryption key in the Key Vault. Requires access to the key operations get, wrap, unwrap, and recover
- key
Version String - The version of Key Vault key
DataPoolEncryptionResponse, DataPoolEncryptionResponseArgs
- Key
Name string - The name of Key Vault key
- Key
Vault stringUri - The URI of a soft delete-enabled Key Vault that is in the same location as the Data Pool location
- User
Assigned stringIdentity - The resource ID of a user-assigned Managed Identity used to access the encryption key in the Key Vault. Requires access to the key operations get, wrap, unwrap, and recover
- Key
Version string - The version of Key Vault key
- Key
Name string - The name of Key Vault key
- Key
Vault stringUri - The URI of a soft delete-enabled Key Vault that is in the same location as the Data Pool location
- User
Assigned stringIdentity - The resource ID of a user-assigned Managed Identity used to access the encryption key in the Key Vault. Requires access to the key operations get, wrap, unwrap, and recover
- Key
Version string - The version of Key Vault key
- key
Name String - The name of Key Vault key
- key
Vault StringUri - The URI of a soft delete-enabled Key Vault that is in the same location as the Data Pool location
- user
Assigned StringIdentity - The resource ID of a user-assigned Managed Identity used to access the encryption key in the Key Vault. Requires access to the key operations get, wrap, unwrap, and recover
- key
Version String - The version of Key Vault key
- key
Name string - The name of Key Vault key
- key
Vault stringUri - The URI of a soft delete-enabled Key Vault that is in the same location as the Data Pool location
- user
Assigned stringIdentity - The resource ID of a user-assigned Managed Identity used to access the encryption key in the Key Vault. Requires access to the key operations get, wrap, unwrap, and recover
- key
Version string - The version of Key Vault key
- key_
name str - The name of Key Vault key
- key_
vault_ struri - The URI of a soft delete-enabled Key Vault that is in the same location as the Data Pool location
- user_
assigned_ stridentity - The resource ID of a user-assigned Managed Identity used to access the encryption key in the Key Vault. Requires access to the key operations get, wrap, unwrap, and recover
- key_
version str - The version of Key Vault key
- key
Name String - The name of Key Vault key
- key
Vault StringUri - The URI of a soft delete-enabled Key Vault that is in the same location as the Data Pool location
- user
Assigned StringIdentity - The resource ID of a user-assigned Managed Identity used to access the encryption key in the Key Vault. Requires access to the key operations get, wrap, unwrap, and recover
- key
Version String - The version of Key Vault key
DataPoolLocation, DataPoolLocationArgs
- Name string
- The location name
- Encryption
Pulumi.
Azure Native. Autonomous Development Platform. Inputs. Data Pool Encryption - Encryption properties of a Data Pool location
- Name string
- The location name
- Encryption
Data
Pool Encryption - Encryption properties of a Data Pool location
- name String
- The location name
- encryption
Data
Pool Encryption - Encryption properties of a Data Pool location
- name string
- The location name
- encryption
Data
Pool Encryption - Encryption properties of a Data Pool location
- name str
- The location name
- encryption
Data
Pool Encryption - Encryption properties of a Data Pool location
- name String
- The location name
- encryption Property Map
- Encryption properties of a Data Pool location
DataPoolLocationResponse, DataPoolLocationResponseArgs
- Name string
- The location name
- Encryption
Pulumi.
Azure Native. Autonomous Development Platform. Inputs. Data Pool Encryption Response - Encryption properties of a Data Pool location
- Name string
- The location name
- Encryption
Data
Pool Encryption Response - Encryption properties of a Data Pool location
- name String
- The location name
- encryption
Data
Pool Encryption Response - Encryption properties of a Data Pool location
- name string
- The location name
- encryption
Data
Pool Encryption Response - Encryption properties of a Data Pool location
- name str
- The location name
- encryption
Data
Pool Encryption Response - Encryption properties of a Data Pool location
- name String
- The location name
- encryption Property Map
- Encryption properties of a Data Pool location
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
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
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0