1. Packages
  2. Azure Native v1
  3. API Docs
  4. autonomousdevelopmentplatform
  5. DataPool
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.autonomousdevelopmentplatform.DataPool

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    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:

    AccountName string
    The name of the ADP account
    Locations List<Pulumi.AzureNative.AutonomousDevelopmentPlatform.Inputs.DataPoolLocation>
    Gets or sets the collection of locations where Data Pool resources should be created
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    DataPoolName string
    The name of the Data Pool
    AccountName string
    The name of the ADP account
    Locations []DataPoolLocationArgs
    Gets or sets the collection of locations where Data Pool resources should be created
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    DataPoolName string
    The name of the Data Pool
    accountName String
    The name of the ADP account
    locations List<DataPoolLocation>
    Gets or sets the collection of locations where Data Pool resources should be created
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    dataPoolName String
    The name of the Data Pool
    accountName string
    The name of the ADP account
    locations DataPoolLocation[]
    Gets or sets the collection of locations where Data Pool resources should be created
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    dataPoolName string
    The name of the Data Pool
    account_name str
    The name of the ADP account
    locations Sequence[DataPoolLocationArgs]
    Gets or sets the collection of locations where Data Pool resources should be created
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    data_pool_name str
    The name of the Data Pool
    accountName 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
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    dataPoolName String
    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:

    DataPoolId string
    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
    ProvisioningState string
    Gets the status of the data pool at the time the operation was called
    SystemData Pulumi.AzureNative.AutonomousDevelopmentPlatform.Outputs.SystemDataResponse
    The system meta data relating to this resource
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    DataPoolId string
    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
    ProvisioningState string
    Gets the status of the data pool at the time the operation was called
    SystemData SystemDataResponse
    The system meta data relating to this resource
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    dataPoolId String
    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
    provisioningState String
    Gets the status of the data pool at the time the operation was called
    systemData SystemDataResponse
    The system meta data relating to this resource
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    dataPoolId string
    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
    provisioningState string
    Gets the status of the data pool at the time the operation was called
    systemData SystemDataResponse
    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_id str
    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 SystemDataResponse
    The system meta data relating to this resource
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    dataPoolId String
    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
    provisioningState String
    Gets the status of the data pool at the time the operation was called
    systemData 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

    KeyName string
    The name of Key Vault key
    KeyVaultUri string
    The URI of a soft delete-enabled Key Vault that is in the same location as the Data Pool location
    UserAssignedIdentity string
    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
    KeyVersion string
    The version of Key Vault key
    KeyName string
    The name of Key Vault key
    KeyVaultUri string
    The URI of a soft delete-enabled Key Vault that is in the same location as the Data Pool location
    UserAssignedIdentity string
    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
    KeyVersion string
    The version of Key Vault key
    keyName String
    The name of Key Vault key
    keyVaultUri String
    The URI of a soft delete-enabled Key Vault that is in the same location as the Data Pool location
    userAssignedIdentity String
    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
    keyVersion String
    The version of Key Vault key
    keyName string
    The name of Key Vault key
    keyVaultUri string
    The URI of a soft delete-enabled Key Vault that is in the same location as the Data Pool location
    userAssignedIdentity string
    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
    keyVersion string
    The version of Key Vault key
    key_name str
    The name of Key Vault key
    key_vault_uri str
    The URI of a soft delete-enabled Key Vault that is in the same location as the Data Pool location
    user_assigned_identity str
    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
    keyName String
    The name of Key Vault key
    keyVaultUri String
    The URI of a soft delete-enabled Key Vault that is in the same location as the Data Pool location
    userAssignedIdentity String
    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
    keyVersion String
    The version of Key Vault key

    DataPoolEncryptionResponse, DataPoolEncryptionResponseArgs

    KeyName string
    The name of Key Vault key
    KeyVaultUri string
    The URI of a soft delete-enabled Key Vault that is in the same location as the Data Pool location
    UserAssignedIdentity string
    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
    KeyVersion string
    The version of Key Vault key
    KeyName string
    The name of Key Vault key
    KeyVaultUri string
    The URI of a soft delete-enabled Key Vault that is in the same location as the Data Pool location
    UserAssignedIdentity string
    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
    KeyVersion string
    The version of Key Vault key
    keyName String
    The name of Key Vault key
    keyVaultUri String
    The URI of a soft delete-enabled Key Vault that is in the same location as the Data Pool location
    userAssignedIdentity String
    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
    keyVersion String
    The version of Key Vault key
    keyName string
    The name of Key Vault key
    keyVaultUri string
    The URI of a soft delete-enabled Key Vault that is in the same location as the Data Pool location
    userAssignedIdentity string
    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
    keyVersion string
    The version of Key Vault key
    key_name str
    The name of Key Vault key
    key_vault_uri str
    The URI of a soft delete-enabled Key Vault that is in the same location as the Data Pool location
    user_assigned_identity str
    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
    keyName String
    The name of Key Vault key
    keyVaultUri String
    The URI of a soft delete-enabled Key Vault that is in the same location as the Data Pool location
    userAssignedIdentity String
    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
    keyVersion String
    The version of Key Vault key

    DataPoolLocation, DataPoolLocationArgs

    Name string
    The location name
    Encryption Pulumi.AzureNative.AutonomousDevelopmentPlatform.Inputs.DataPoolEncryption
    Encryption properties of a Data Pool location
    Name string
    The location name
    Encryption DataPoolEncryption
    Encryption properties of a Data Pool location
    name String
    The location name
    encryption DataPoolEncryption
    Encryption properties of a Data Pool location
    name string
    The location name
    encryption DataPoolEncryption
    Encryption properties of a Data Pool location
    name str
    The location name
    encryption DataPoolEncryption
    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.AzureNative.AutonomousDevelopmentPlatform.Inputs.DataPoolEncryptionResponse
    Encryption properties of a Data Pool location
    Name string
    The location name
    Encryption DataPoolEncryptionResponse
    Encryption properties of a Data Pool location
    name String
    The location name
    encryption DataPoolEncryptionResponse
    Encryption properties of a Data Pool location
    name string
    The location name
    encryption DataPoolEncryptionResponse
    Encryption properties of a Data Pool location
    name str
    The location name
    encryption DataPoolEncryptionResponse
    Encryption properties of a Data Pool location
    name String
    The location name
    encryption Property Map
    Encryption properties of a Data Pool location

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    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_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    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
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi