1. Packages
  2. Azure Native v1
  3. API Docs
  4. hybriddata
  5. DataStore
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.hybriddata.DataStore

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

    Data store. API Version: 2019-06-01.

    Example Usage

    DataStores_CreateOrUpdate_DataSinkPUT162

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var dataStore = new AzureNative.HybridData.DataStore("dataStore", new()
        {
            CustomerSecrets = new[]
            {
                new AzureNative.HybridData.Inputs.CustomerSecretArgs
                {
                    Algorithm = AzureNative.HybridData.SupportedAlgorithm.RSA1_5,
                    KeyIdentifier = "StorageAccountAccessKey",
                    KeyValue = "Of4H9eF03G8QuxvkZQEbFWv3YdN3U//WugzuqReQekbXXQyg+QSicVKrwSOOKVi1zWMYGbKg7d5/ES2gdz+O5ZEw89bvE4mJD/wQmkIsqhPnbN0gyVK6nZePXVUU1A+UzjLfvhSA6KyUQfzNAZ5/TLt6fo1JyQrKTtkvnkLFyfv1AqBZ+dw8JK3RZi/rEN8HD3R3qsBwUYfyEuGLGiujy2CGrr/1uPiUVMR6QuFWRsjm39eMSHa4maLg4tQ0IY/jIy8rMlx3KjF3CcCbPzAqEq5vXy37wkjZbus771te1gLSrzcpVKIMg4DrmgaoJ02jAu+izBjNgLXAFPSUneQ8yw==:ezMkh4PMhCnjJtYkpTaP0SdblP5VAeRe4glW2PgIzICHw3T8ZyGDoaTrCv4/m5wtcEhWdtxhta+j1MQWlK5MIA+hvf8QjIDIjQv696ov5y+pcFe/upd2ekGOei7FCwB2u7I8WnkAtIKTUkf6eDQBZXm26DjfG1Dlc+Mjjq+AerukEa6WpOyqrD7Qub26Pgmj4AsuBx19X1EAmTZacubkoiNagXM8V+IDanHOhLMvfgQ7rw8oZhWfofxi4m+eJqjOXXaqSyorNK8UEcqP6P9pDP8AN8ulXEx6rZy2B5Oi0vSV+wlRLbUuQslga4ItOGxctW/ZX8uWozt+5A3k4URt6A==",
                },
                new AzureNative.HybridData.Inputs.CustomerSecretArgs
                {
                    Algorithm = AzureNative.HybridData.SupportedAlgorithm.RSA1_5,
                    KeyIdentifier = "StorageAccountAccessKeyForQueue",
                    KeyValue = "Of4H9eF03G8QuxvkZQEbFWv3YdN3U//WugzuqReQekbXXQyg+QSicVKrwSOOKVi1zWMYGbKg7d5/ES2gdz+O5ZEw89bvE4mJD/wQmkIsqhPnbN0gyVK6nZePXVUU1A+UzjLfvhSA6KyUQfzNAZ5/TLt6fo1JyQrKTtkvnkLFyfv1AqBZ+dw8JK3RZi/rEN8HD3R3qsBwUYfyEuGLGiujy2CGrr/1uPiUVMR6QuFWRsjm39eMSHa4maLg4tQ0IY/jIy8rMlx3KjF3CcCbPzAqEq5vXy37wkjZbus771te1gLSrzcpVKIMg4DrmgaoJ02jAu+izBjNgLXAFPSUneQ8yw==:ezMkh4PMhCnjJtYkpTaP0SdblP5VAeRe4glW2PgIzICHw3T8ZyGDoaTrCv4/m5wtcEhWdtxhta+j1MQWlK5MIA+hvf8QjIDIjQv696ov5y+pcFe/upd2ekGOei7FCwB2u7I8WnkAtIKTUkf6eDQBZXm26DjfG1Dlc+Mjjq+AerukEa6WpOyqrD7Qub26Pgmj4AsuBx19X1EAmTZacubkoiNagXM8V+IDanHOhLMvfgQ7rw8oZhWfofxi4m+eJqjOXXaqSyorNK8UEcqP6P9pDP8AN8ulXEx6rZy2B5Oi0vSV+wlRLbUuQslga4ItOGxctW/ZX8uWozt+5A3k4URt6A==",
                },
            },
            DataManagerName = "TestAzureSDKOperations",
            DataStoreName = "TestAzureStorage1",
            DataStoreTypeId = "/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.HybridData/dataManagers/TestAzureSDKOperations/dataStoreTypes/AzureStorageAccount",
            ExtendedProperties = 
            {
                { "extendedSaKey", null },
                { "extendedSaName", "/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.Storage/storageAccounts/dmsdatasink" },
                { "storageAccountNameForQueue", "/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.Storage/storageAccounts/dmsdatasink" },
            },
            RepositoryId = "/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.Storage/storageAccounts/dmsdatasink",
            ResourceGroupName = "ResourceGroupForSDKTest",
            State = AzureNative.HybridData.State.Enabled,
        });
    
    });
    
    package main
    
    import (
    	hybriddata "github.com/pulumi/pulumi-azure-native-sdk/hybriddata"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := hybriddata.NewDataStore(ctx, "dataStore", &hybriddata.DataStoreArgs{
    			CustomerSecrets: []hybriddata.CustomerSecretArgs{
    				{
    					Algorithm:     hybriddata.SupportedAlgorithm_RSA1_5,
    					KeyIdentifier: pulumi.String("StorageAccountAccessKey"),
    					KeyValue:      pulumi.String("Of4H9eF03G8QuxvkZQEbFWv3YdN3U//WugzuqReQekbXXQyg+QSicVKrwSOOKVi1zWMYGbKg7d5/ES2gdz+O5ZEw89bvE4mJD/wQmkIsqhPnbN0gyVK6nZePXVUU1A+UzjLfvhSA6KyUQfzNAZ5/TLt6fo1JyQrKTtkvnkLFyfv1AqBZ+dw8JK3RZi/rEN8HD3R3qsBwUYfyEuGLGiujy2CGrr/1uPiUVMR6QuFWRsjm39eMSHa4maLg4tQ0IY/jIy8rMlx3KjF3CcCbPzAqEq5vXy37wkjZbus771te1gLSrzcpVKIMg4DrmgaoJ02jAu+izBjNgLXAFPSUneQ8yw==:ezMkh4PMhCnjJtYkpTaP0SdblP5VAeRe4glW2PgIzICHw3T8ZyGDoaTrCv4/m5wtcEhWdtxhta+j1MQWlK5MIA+hvf8QjIDIjQv696ov5y+pcFe/upd2ekGOei7FCwB2u7I8WnkAtIKTUkf6eDQBZXm26DjfG1Dlc+Mjjq+AerukEa6WpOyqrD7Qub26Pgmj4AsuBx19X1EAmTZacubkoiNagXM8V+IDanHOhLMvfgQ7rw8oZhWfofxi4m+eJqjOXXaqSyorNK8UEcqP6P9pDP8AN8ulXEx6rZy2B5Oi0vSV+wlRLbUuQslga4ItOGxctW/ZX8uWozt+5A3k4URt6A=="),
    				},
    				{
    					Algorithm:     hybriddata.SupportedAlgorithm_RSA1_5,
    					KeyIdentifier: pulumi.String("StorageAccountAccessKeyForQueue"),
    					KeyValue:      pulumi.String("Of4H9eF03G8QuxvkZQEbFWv3YdN3U//WugzuqReQekbXXQyg+QSicVKrwSOOKVi1zWMYGbKg7d5/ES2gdz+O5ZEw89bvE4mJD/wQmkIsqhPnbN0gyVK6nZePXVUU1A+UzjLfvhSA6KyUQfzNAZ5/TLt6fo1JyQrKTtkvnkLFyfv1AqBZ+dw8JK3RZi/rEN8HD3R3qsBwUYfyEuGLGiujy2CGrr/1uPiUVMR6QuFWRsjm39eMSHa4maLg4tQ0IY/jIy8rMlx3KjF3CcCbPzAqEq5vXy37wkjZbus771te1gLSrzcpVKIMg4DrmgaoJ02jAu+izBjNgLXAFPSUneQ8yw==:ezMkh4PMhCnjJtYkpTaP0SdblP5VAeRe4glW2PgIzICHw3T8ZyGDoaTrCv4/m5wtcEhWdtxhta+j1MQWlK5MIA+hvf8QjIDIjQv696ov5y+pcFe/upd2ekGOei7FCwB2u7I8WnkAtIKTUkf6eDQBZXm26DjfG1Dlc+Mjjq+AerukEa6WpOyqrD7Qub26Pgmj4AsuBx19X1EAmTZacubkoiNagXM8V+IDanHOhLMvfgQ7rw8oZhWfofxi4m+eJqjOXXaqSyorNK8UEcqP6P9pDP8AN8ulXEx6rZy2B5Oi0vSV+wlRLbUuQslga4ItOGxctW/ZX8uWozt+5A3k4URt6A=="),
    				},
    			},
    			DataManagerName: pulumi.String("TestAzureSDKOperations"),
    			DataStoreName:   pulumi.String("TestAzureStorage1"),
    			DataStoreTypeId: pulumi.String("/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.HybridData/dataManagers/TestAzureSDKOperations/dataStoreTypes/AzureStorageAccount"),
    			ExtendedProperties: pulumi.Any{
    				ExtendedSaKey:              nil,
    				ExtendedSaName:             "/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.Storage/storageAccounts/dmsdatasink",
    				StorageAccountNameForQueue: "/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.Storage/storageAccounts/dmsdatasink",
    			},
    			RepositoryId:      pulumi.String("/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.Storage/storageAccounts/dmsdatasink"),
    			ResourceGroupName: pulumi.String("ResourceGroupForSDKTest"),
    			State:             hybriddata.StateEnabled,
    		})
    		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.hybriddata.DataStore;
    import com.pulumi.azurenative.hybriddata.DataStoreArgs;
    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 dataStore = new DataStore("dataStore", DataStoreArgs.builder()        
                .customerSecrets(            
                    Map.ofEntries(
                        Map.entry("algorithm", "RSA1_5"),
                        Map.entry("keyIdentifier", "StorageAccountAccessKey"),
                        Map.entry("keyValue", "Of4H9eF03G8QuxvkZQEbFWv3YdN3U//WugzuqReQekbXXQyg+QSicVKrwSOOKVi1zWMYGbKg7d5/ES2gdz+O5ZEw89bvE4mJD/wQmkIsqhPnbN0gyVK6nZePXVUU1A+UzjLfvhSA6KyUQfzNAZ5/TLt6fo1JyQrKTtkvnkLFyfv1AqBZ+dw8JK3RZi/rEN8HD3R3qsBwUYfyEuGLGiujy2CGrr/1uPiUVMR6QuFWRsjm39eMSHa4maLg4tQ0IY/jIy8rMlx3KjF3CcCbPzAqEq5vXy37wkjZbus771te1gLSrzcpVKIMg4DrmgaoJ02jAu+izBjNgLXAFPSUneQ8yw==:ezMkh4PMhCnjJtYkpTaP0SdblP5VAeRe4glW2PgIzICHw3T8ZyGDoaTrCv4/m5wtcEhWdtxhta+j1MQWlK5MIA+hvf8QjIDIjQv696ov5y+pcFe/upd2ekGOei7FCwB2u7I8WnkAtIKTUkf6eDQBZXm26DjfG1Dlc+Mjjq+AerukEa6WpOyqrD7Qub26Pgmj4AsuBx19X1EAmTZacubkoiNagXM8V+IDanHOhLMvfgQ7rw8oZhWfofxi4m+eJqjOXXaqSyorNK8UEcqP6P9pDP8AN8ulXEx6rZy2B5Oi0vSV+wlRLbUuQslga4ItOGxctW/ZX8uWozt+5A3k4URt6A==")
                    ),
                    Map.ofEntries(
                        Map.entry("algorithm", "RSA1_5"),
                        Map.entry("keyIdentifier", "StorageAccountAccessKeyForQueue"),
                        Map.entry("keyValue", "Of4H9eF03G8QuxvkZQEbFWv3YdN3U//WugzuqReQekbXXQyg+QSicVKrwSOOKVi1zWMYGbKg7d5/ES2gdz+O5ZEw89bvE4mJD/wQmkIsqhPnbN0gyVK6nZePXVUU1A+UzjLfvhSA6KyUQfzNAZ5/TLt6fo1JyQrKTtkvnkLFyfv1AqBZ+dw8JK3RZi/rEN8HD3R3qsBwUYfyEuGLGiujy2CGrr/1uPiUVMR6QuFWRsjm39eMSHa4maLg4tQ0IY/jIy8rMlx3KjF3CcCbPzAqEq5vXy37wkjZbus771te1gLSrzcpVKIMg4DrmgaoJ02jAu+izBjNgLXAFPSUneQ8yw==:ezMkh4PMhCnjJtYkpTaP0SdblP5VAeRe4glW2PgIzICHw3T8ZyGDoaTrCv4/m5wtcEhWdtxhta+j1MQWlK5MIA+hvf8QjIDIjQv696ov5y+pcFe/upd2ekGOei7FCwB2u7I8WnkAtIKTUkf6eDQBZXm26DjfG1Dlc+Mjjq+AerukEa6WpOyqrD7Qub26Pgmj4AsuBx19X1EAmTZacubkoiNagXM8V+IDanHOhLMvfgQ7rw8oZhWfofxi4m+eJqjOXXaqSyorNK8UEcqP6P9pDP8AN8ulXEx6rZy2B5Oi0vSV+wlRLbUuQslga4ItOGxctW/ZX8uWozt+5A3k4URt6A==")
                    ))
                .dataManagerName("TestAzureSDKOperations")
                .dataStoreName("TestAzureStorage1")
                .dataStoreTypeId("/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.HybridData/dataManagers/TestAzureSDKOperations/dataStoreTypes/AzureStorageAccount")
                .extendedProperties(Map.ofEntries(
                    Map.entry("extendedSaKey", null),
                    Map.entry("extendedSaName", "/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.Storage/storageAccounts/dmsdatasink"),
                    Map.entry("storageAccountNameForQueue", "/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.Storage/storageAccounts/dmsdatasink")
                ))
                .repositoryId("/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.Storage/storageAccounts/dmsdatasink")
                .resourceGroupName("ResourceGroupForSDKTest")
                .state("Enabled")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    data_store = azure_native.hybriddata.DataStore("dataStore",
        customer_secrets=[
            azure_native.hybriddata.CustomerSecretArgs(
                algorithm=azure_native.hybriddata.SupportedAlgorithm.RSA1_5,
                key_identifier="StorageAccountAccessKey",
                key_value="Of4H9eF03G8QuxvkZQEbFWv3YdN3U//WugzuqReQekbXXQyg+QSicVKrwSOOKVi1zWMYGbKg7d5/ES2gdz+O5ZEw89bvE4mJD/wQmkIsqhPnbN0gyVK6nZePXVUU1A+UzjLfvhSA6KyUQfzNAZ5/TLt6fo1JyQrKTtkvnkLFyfv1AqBZ+dw8JK3RZi/rEN8HD3R3qsBwUYfyEuGLGiujy2CGrr/1uPiUVMR6QuFWRsjm39eMSHa4maLg4tQ0IY/jIy8rMlx3KjF3CcCbPzAqEq5vXy37wkjZbus771te1gLSrzcpVKIMg4DrmgaoJ02jAu+izBjNgLXAFPSUneQ8yw==:ezMkh4PMhCnjJtYkpTaP0SdblP5VAeRe4glW2PgIzICHw3T8ZyGDoaTrCv4/m5wtcEhWdtxhta+j1MQWlK5MIA+hvf8QjIDIjQv696ov5y+pcFe/upd2ekGOei7FCwB2u7I8WnkAtIKTUkf6eDQBZXm26DjfG1Dlc+Mjjq+AerukEa6WpOyqrD7Qub26Pgmj4AsuBx19X1EAmTZacubkoiNagXM8V+IDanHOhLMvfgQ7rw8oZhWfofxi4m+eJqjOXXaqSyorNK8UEcqP6P9pDP8AN8ulXEx6rZy2B5Oi0vSV+wlRLbUuQslga4ItOGxctW/ZX8uWozt+5A3k4URt6A==",
            ),
            azure_native.hybriddata.CustomerSecretArgs(
                algorithm=azure_native.hybriddata.SupportedAlgorithm.RSA1_5,
                key_identifier="StorageAccountAccessKeyForQueue",
                key_value="Of4H9eF03G8QuxvkZQEbFWv3YdN3U//WugzuqReQekbXXQyg+QSicVKrwSOOKVi1zWMYGbKg7d5/ES2gdz+O5ZEw89bvE4mJD/wQmkIsqhPnbN0gyVK6nZePXVUU1A+UzjLfvhSA6KyUQfzNAZ5/TLt6fo1JyQrKTtkvnkLFyfv1AqBZ+dw8JK3RZi/rEN8HD3R3qsBwUYfyEuGLGiujy2CGrr/1uPiUVMR6QuFWRsjm39eMSHa4maLg4tQ0IY/jIy8rMlx3KjF3CcCbPzAqEq5vXy37wkjZbus771te1gLSrzcpVKIMg4DrmgaoJ02jAu+izBjNgLXAFPSUneQ8yw==:ezMkh4PMhCnjJtYkpTaP0SdblP5VAeRe4glW2PgIzICHw3T8ZyGDoaTrCv4/m5wtcEhWdtxhta+j1MQWlK5MIA+hvf8QjIDIjQv696ov5y+pcFe/upd2ekGOei7FCwB2u7I8WnkAtIKTUkf6eDQBZXm26DjfG1Dlc+Mjjq+AerukEa6WpOyqrD7Qub26Pgmj4AsuBx19X1EAmTZacubkoiNagXM8V+IDanHOhLMvfgQ7rw8oZhWfofxi4m+eJqjOXXaqSyorNK8UEcqP6P9pDP8AN8ulXEx6rZy2B5Oi0vSV+wlRLbUuQslga4ItOGxctW/ZX8uWozt+5A3k4URt6A==",
            ),
        ],
        data_manager_name="TestAzureSDKOperations",
        data_store_name="TestAzureStorage1",
        data_store_type_id="/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.HybridData/dataManagers/TestAzureSDKOperations/dataStoreTypes/AzureStorageAccount",
        extended_properties={
            "extendedSaKey": None,
            "extendedSaName": "/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.Storage/storageAccounts/dmsdatasink",
            "storageAccountNameForQueue": "/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.Storage/storageAccounts/dmsdatasink",
        },
        repository_id="/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.Storage/storageAccounts/dmsdatasink",
        resource_group_name="ResourceGroupForSDKTest",
        state=azure_native.hybriddata.State.ENABLED)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const dataStore = new azure_native.hybriddata.DataStore("dataStore", {
        customerSecrets: [
            {
                algorithm: azure_native.hybriddata.SupportedAlgorithm.RSA1_5,
                keyIdentifier: "StorageAccountAccessKey",
                keyValue: "Of4H9eF03G8QuxvkZQEbFWv3YdN3U//WugzuqReQekbXXQyg+QSicVKrwSOOKVi1zWMYGbKg7d5/ES2gdz+O5ZEw89bvE4mJD/wQmkIsqhPnbN0gyVK6nZePXVUU1A+UzjLfvhSA6KyUQfzNAZ5/TLt6fo1JyQrKTtkvnkLFyfv1AqBZ+dw8JK3RZi/rEN8HD3R3qsBwUYfyEuGLGiujy2CGrr/1uPiUVMR6QuFWRsjm39eMSHa4maLg4tQ0IY/jIy8rMlx3KjF3CcCbPzAqEq5vXy37wkjZbus771te1gLSrzcpVKIMg4DrmgaoJ02jAu+izBjNgLXAFPSUneQ8yw==:ezMkh4PMhCnjJtYkpTaP0SdblP5VAeRe4glW2PgIzICHw3T8ZyGDoaTrCv4/m5wtcEhWdtxhta+j1MQWlK5MIA+hvf8QjIDIjQv696ov5y+pcFe/upd2ekGOei7FCwB2u7I8WnkAtIKTUkf6eDQBZXm26DjfG1Dlc+Mjjq+AerukEa6WpOyqrD7Qub26Pgmj4AsuBx19X1EAmTZacubkoiNagXM8V+IDanHOhLMvfgQ7rw8oZhWfofxi4m+eJqjOXXaqSyorNK8UEcqP6P9pDP8AN8ulXEx6rZy2B5Oi0vSV+wlRLbUuQslga4ItOGxctW/ZX8uWozt+5A3k4URt6A==",
            },
            {
                algorithm: azure_native.hybriddata.SupportedAlgorithm.RSA1_5,
                keyIdentifier: "StorageAccountAccessKeyForQueue",
                keyValue: "Of4H9eF03G8QuxvkZQEbFWv3YdN3U//WugzuqReQekbXXQyg+QSicVKrwSOOKVi1zWMYGbKg7d5/ES2gdz+O5ZEw89bvE4mJD/wQmkIsqhPnbN0gyVK6nZePXVUU1A+UzjLfvhSA6KyUQfzNAZ5/TLt6fo1JyQrKTtkvnkLFyfv1AqBZ+dw8JK3RZi/rEN8HD3R3qsBwUYfyEuGLGiujy2CGrr/1uPiUVMR6QuFWRsjm39eMSHa4maLg4tQ0IY/jIy8rMlx3KjF3CcCbPzAqEq5vXy37wkjZbus771te1gLSrzcpVKIMg4DrmgaoJ02jAu+izBjNgLXAFPSUneQ8yw==:ezMkh4PMhCnjJtYkpTaP0SdblP5VAeRe4glW2PgIzICHw3T8ZyGDoaTrCv4/m5wtcEhWdtxhta+j1MQWlK5MIA+hvf8QjIDIjQv696ov5y+pcFe/upd2ekGOei7FCwB2u7I8WnkAtIKTUkf6eDQBZXm26DjfG1Dlc+Mjjq+AerukEa6WpOyqrD7Qub26Pgmj4AsuBx19X1EAmTZacubkoiNagXM8V+IDanHOhLMvfgQ7rw8oZhWfofxi4m+eJqjOXXaqSyorNK8UEcqP6P9pDP8AN8ulXEx6rZy2B5Oi0vSV+wlRLbUuQslga4ItOGxctW/ZX8uWozt+5A3k4URt6A==",
            },
        ],
        dataManagerName: "TestAzureSDKOperations",
        dataStoreName: "TestAzureStorage1",
        dataStoreTypeId: "/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.HybridData/dataManagers/TestAzureSDKOperations/dataStoreTypes/AzureStorageAccount",
        extendedProperties: {
            extendedSaKey: undefined,
            extendedSaName: "/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.Storage/storageAccounts/dmsdatasink",
            storageAccountNameForQueue: "/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.Storage/storageAccounts/dmsdatasink",
        },
        repositoryId: "/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.Storage/storageAccounts/dmsdatasink",
        resourceGroupName: "ResourceGroupForSDKTest",
        state: azure_native.hybriddata.State.Enabled,
    });
    
    resources:
      dataStore:
        type: azure-native:hybriddata:DataStore
        properties:
          customerSecrets:
            - algorithm: RSA1_5
              keyIdentifier: StorageAccountAccessKey
              keyValue: Of4H9eF03G8QuxvkZQEbFWv3YdN3U//WugzuqReQekbXXQyg+QSicVKrwSOOKVi1zWMYGbKg7d5/ES2gdz+O5ZEw89bvE4mJD/wQmkIsqhPnbN0gyVK6nZePXVUU1A+UzjLfvhSA6KyUQfzNAZ5/TLt6fo1JyQrKTtkvnkLFyfv1AqBZ+dw8JK3RZi/rEN8HD3R3qsBwUYfyEuGLGiujy2CGrr/1uPiUVMR6QuFWRsjm39eMSHa4maLg4tQ0IY/jIy8rMlx3KjF3CcCbPzAqEq5vXy37wkjZbus771te1gLSrzcpVKIMg4DrmgaoJ02jAu+izBjNgLXAFPSUneQ8yw==:ezMkh4PMhCnjJtYkpTaP0SdblP5VAeRe4glW2PgIzICHw3T8ZyGDoaTrCv4/m5wtcEhWdtxhta+j1MQWlK5MIA+hvf8QjIDIjQv696ov5y+pcFe/upd2ekGOei7FCwB2u7I8WnkAtIKTUkf6eDQBZXm26DjfG1Dlc+Mjjq+AerukEa6WpOyqrD7Qub26Pgmj4AsuBx19X1EAmTZacubkoiNagXM8V+IDanHOhLMvfgQ7rw8oZhWfofxi4m+eJqjOXXaqSyorNK8UEcqP6P9pDP8AN8ulXEx6rZy2B5Oi0vSV+wlRLbUuQslga4ItOGxctW/ZX8uWozt+5A3k4URt6A==
            - algorithm: RSA1_5
              keyIdentifier: StorageAccountAccessKeyForQueue
              keyValue: Of4H9eF03G8QuxvkZQEbFWv3YdN3U//WugzuqReQekbXXQyg+QSicVKrwSOOKVi1zWMYGbKg7d5/ES2gdz+O5ZEw89bvE4mJD/wQmkIsqhPnbN0gyVK6nZePXVUU1A+UzjLfvhSA6KyUQfzNAZ5/TLt6fo1JyQrKTtkvnkLFyfv1AqBZ+dw8JK3RZi/rEN8HD3R3qsBwUYfyEuGLGiujy2CGrr/1uPiUVMR6QuFWRsjm39eMSHa4maLg4tQ0IY/jIy8rMlx3KjF3CcCbPzAqEq5vXy37wkjZbus771te1gLSrzcpVKIMg4DrmgaoJ02jAu+izBjNgLXAFPSUneQ8yw==:ezMkh4PMhCnjJtYkpTaP0SdblP5VAeRe4glW2PgIzICHw3T8ZyGDoaTrCv4/m5wtcEhWdtxhta+j1MQWlK5MIA+hvf8QjIDIjQv696ov5y+pcFe/upd2ekGOei7FCwB2u7I8WnkAtIKTUkf6eDQBZXm26DjfG1Dlc+Mjjq+AerukEa6WpOyqrD7Qub26Pgmj4AsuBx19X1EAmTZacubkoiNagXM8V+IDanHOhLMvfgQ7rw8oZhWfofxi4m+eJqjOXXaqSyorNK8UEcqP6P9pDP8AN8ulXEx6rZy2B5Oi0vSV+wlRLbUuQslga4ItOGxctW/ZX8uWozt+5A3k4URt6A==
          dataManagerName: TestAzureSDKOperations
          dataStoreName: TestAzureStorage1
          dataStoreTypeId: /subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.HybridData/dataManagers/TestAzureSDKOperations/dataStoreTypes/AzureStorageAccount
          extendedProperties:
            extendedSaKey: null
            extendedSaName: /subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.Storage/storageAccounts/dmsdatasink
            storageAccountNameForQueue: /subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.Storage/storageAccounts/dmsdatasink
          repositoryId: /subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.Storage/storageAccounts/dmsdatasink
          resourceGroupName: ResourceGroupForSDKTest
          state: Enabled
    

    DataStores_CreateOrUpdate_DataSourcePUT162

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var dataStore = new AzureNative.HybridData.DataStore("dataStore", new()
        {
            CustomerSecrets = new[]
            {
                new AzureNative.HybridData.Inputs.CustomerSecretArgs
                {
                    Algorithm = AzureNative.HybridData.SupportedAlgorithm.RSA1_5,
                    KeyIdentifier = "ServiceEncryptionKey",
                    KeyValue = "EVuEBV40qv23xDRL4NZBuMms4e3So6ikHjrQYRvG9NloqxdgPOg+ZYzpho5lytI4fmv0ANmRIvDiDboRXcUVSjbB9T2gm19fMIuwZa4FK2+LYEgMqKK1GaLkk7xC8f5IeFUXLo6KyBBpaAiayTnWDcHuYEpMiGrV7trDDcbhMRefO3CHecmH3Z7ye8L0RQ/e7WW8GlCKZj3m0BaG7OrJgjai8gyDfMfGAG5rTqEhDVh2hLQ+TjvUjcOFwHvJusqKTENtbJTNQYmL9wZXsnwBvUwxqrGieILNB7V3GD1Ow9OiV0UCDW1e9LnMueukg+l7YJCU9FUhIPh/nSif6p32zw==:jCfio+pDtY3BSPZDpDJ0L6QdXLYMeOmxaFWtYTOZkNqNTgT8Loc/KSQRjtWS5K4N4btbznuSJ/dzg0aZEzlXgKDSuZgMfd4Ch92ZwAC/BkeCmVrTjiKJsoQXO1IICCUf7GHGBbYnnpsNJcEn4vyc9NXyKwOBjeU+I9AyK7PtYiC03RLpTS6xttFCICteBV0uoBHAiV0chZ5VIIUUMjO9u8EhHqRY7NNcGbWdVJeAb6J3vH4E/DHkQj+DXlpjcLvmK/uqBwxfNju30RJhR04Nmz6zcv/zTcvS0uN5hEPQoHLyv84hjnc4omg/gmNjo2cDW64QxA3RTJ5Sl///4xTBkg==",
                },
            },
            DataManagerName = "TestAzureSDKOperations",
            DataStoreName = "TestStorSimpleSource1",
            DataStoreTypeId = "/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.HybridData/dataManagers/TestAzureSDKOperations/dataStoreTypes/StorSimple8000Series",
            ExtendedProperties = 
            {
                { "extendedSaKey", null },
                { "resourceId", "/subscriptions/c5fc377d-0085-41b9-86b7-cc96dc56d1e9/resourceGroups/ForDMS/providers/Microsoft.StorSimple/managers/BLR8600" },
            },
            RepositoryId = "/subscriptions/c5fc377d-0085-41b9-86b7-cc96dc56d1e9/resourceGroups/ForDMS/providers/Microsoft.StorSimple/managers/BLR8600",
            ResourceGroupName = "ResourceGroupForSDKTest",
            State = AzureNative.HybridData.State.Enabled,
        });
    
    });
    
    package main
    
    import (
    	hybriddata "github.com/pulumi/pulumi-azure-native-sdk/hybriddata"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := hybriddata.NewDataStore(ctx, "dataStore", &hybriddata.DataStoreArgs{
    			CustomerSecrets: []hybriddata.CustomerSecretArgs{
    				{
    					Algorithm:     hybriddata.SupportedAlgorithm_RSA1_5,
    					KeyIdentifier: pulumi.String("ServiceEncryptionKey"),
    					KeyValue:      pulumi.String("EVuEBV40qv23xDRL4NZBuMms4e3So6ikHjrQYRvG9NloqxdgPOg+ZYzpho5lytI4fmv0ANmRIvDiDboRXcUVSjbB9T2gm19fMIuwZa4FK2+LYEgMqKK1GaLkk7xC8f5IeFUXLo6KyBBpaAiayTnWDcHuYEpMiGrV7trDDcbhMRefO3CHecmH3Z7ye8L0RQ/e7WW8GlCKZj3m0BaG7OrJgjai8gyDfMfGAG5rTqEhDVh2hLQ+TjvUjcOFwHvJusqKTENtbJTNQYmL9wZXsnwBvUwxqrGieILNB7V3GD1Ow9OiV0UCDW1e9LnMueukg+l7YJCU9FUhIPh/nSif6p32zw==:jCfio+pDtY3BSPZDpDJ0L6QdXLYMeOmxaFWtYTOZkNqNTgT8Loc/KSQRjtWS5K4N4btbznuSJ/dzg0aZEzlXgKDSuZgMfd4Ch92ZwAC/BkeCmVrTjiKJsoQXO1IICCUf7GHGBbYnnpsNJcEn4vyc9NXyKwOBjeU+I9AyK7PtYiC03RLpTS6xttFCICteBV0uoBHAiV0chZ5VIIUUMjO9u8EhHqRY7NNcGbWdVJeAb6J3vH4E/DHkQj+DXlpjcLvmK/uqBwxfNju30RJhR04Nmz6zcv/zTcvS0uN5hEPQoHLyv84hjnc4omg/gmNjo2cDW64QxA3RTJ5Sl///4xTBkg=="),
    				},
    			},
    			DataManagerName: pulumi.String("TestAzureSDKOperations"),
    			DataStoreName:   pulumi.String("TestStorSimpleSource1"),
    			DataStoreTypeId: pulumi.String("/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.HybridData/dataManagers/TestAzureSDKOperations/dataStoreTypes/StorSimple8000Series"),
    			ExtendedProperties: pulumi.Any{
    				ExtendedSaKey: nil,
    				ResourceId:    "/subscriptions/c5fc377d-0085-41b9-86b7-cc96dc56d1e9/resourceGroups/ForDMS/providers/Microsoft.StorSimple/managers/BLR8600",
    			},
    			RepositoryId:      pulumi.String("/subscriptions/c5fc377d-0085-41b9-86b7-cc96dc56d1e9/resourceGroups/ForDMS/providers/Microsoft.StorSimple/managers/BLR8600"),
    			ResourceGroupName: pulumi.String("ResourceGroupForSDKTest"),
    			State:             hybriddata.StateEnabled,
    		})
    		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.hybriddata.DataStore;
    import com.pulumi.azurenative.hybriddata.DataStoreArgs;
    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 dataStore = new DataStore("dataStore", DataStoreArgs.builder()        
                .customerSecrets(Map.ofEntries(
                    Map.entry("algorithm", "RSA1_5"),
                    Map.entry("keyIdentifier", "ServiceEncryptionKey"),
                    Map.entry("keyValue", "EVuEBV40qv23xDRL4NZBuMms4e3So6ikHjrQYRvG9NloqxdgPOg+ZYzpho5lytI4fmv0ANmRIvDiDboRXcUVSjbB9T2gm19fMIuwZa4FK2+LYEgMqKK1GaLkk7xC8f5IeFUXLo6KyBBpaAiayTnWDcHuYEpMiGrV7trDDcbhMRefO3CHecmH3Z7ye8L0RQ/e7WW8GlCKZj3m0BaG7OrJgjai8gyDfMfGAG5rTqEhDVh2hLQ+TjvUjcOFwHvJusqKTENtbJTNQYmL9wZXsnwBvUwxqrGieILNB7V3GD1Ow9OiV0UCDW1e9LnMueukg+l7YJCU9FUhIPh/nSif6p32zw==:jCfio+pDtY3BSPZDpDJ0L6QdXLYMeOmxaFWtYTOZkNqNTgT8Loc/KSQRjtWS5K4N4btbznuSJ/dzg0aZEzlXgKDSuZgMfd4Ch92ZwAC/BkeCmVrTjiKJsoQXO1IICCUf7GHGBbYnnpsNJcEn4vyc9NXyKwOBjeU+I9AyK7PtYiC03RLpTS6xttFCICteBV0uoBHAiV0chZ5VIIUUMjO9u8EhHqRY7NNcGbWdVJeAb6J3vH4E/DHkQj+DXlpjcLvmK/uqBwxfNju30RJhR04Nmz6zcv/zTcvS0uN5hEPQoHLyv84hjnc4omg/gmNjo2cDW64QxA3RTJ5Sl///4xTBkg==")
                ))
                .dataManagerName("TestAzureSDKOperations")
                .dataStoreName("TestStorSimpleSource1")
                .dataStoreTypeId("/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.HybridData/dataManagers/TestAzureSDKOperations/dataStoreTypes/StorSimple8000Series")
                .extendedProperties(Map.ofEntries(
                    Map.entry("extendedSaKey", null),
                    Map.entry("resourceId", "/subscriptions/c5fc377d-0085-41b9-86b7-cc96dc56d1e9/resourceGroups/ForDMS/providers/Microsoft.StorSimple/managers/BLR8600")
                ))
                .repositoryId("/subscriptions/c5fc377d-0085-41b9-86b7-cc96dc56d1e9/resourceGroups/ForDMS/providers/Microsoft.StorSimple/managers/BLR8600")
                .resourceGroupName("ResourceGroupForSDKTest")
                .state("Enabled")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    data_store = azure_native.hybriddata.DataStore("dataStore",
        customer_secrets=[azure_native.hybriddata.CustomerSecretArgs(
            algorithm=azure_native.hybriddata.SupportedAlgorithm.RSA1_5,
            key_identifier="ServiceEncryptionKey",
            key_value="EVuEBV40qv23xDRL4NZBuMms4e3So6ikHjrQYRvG9NloqxdgPOg+ZYzpho5lytI4fmv0ANmRIvDiDboRXcUVSjbB9T2gm19fMIuwZa4FK2+LYEgMqKK1GaLkk7xC8f5IeFUXLo6KyBBpaAiayTnWDcHuYEpMiGrV7trDDcbhMRefO3CHecmH3Z7ye8L0RQ/e7WW8GlCKZj3m0BaG7OrJgjai8gyDfMfGAG5rTqEhDVh2hLQ+TjvUjcOFwHvJusqKTENtbJTNQYmL9wZXsnwBvUwxqrGieILNB7V3GD1Ow9OiV0UCDW1e9LnMueukg+l7YJCU9FUhIPh/nSif6p32zw==:jCfio+pDtY3BSPZDpDJ0L6QdXLYMeOmxaFWtYTOZkNqNTgT8Loc/KSQRjtWS5K4N4btbznuSJ/dzg0aZEzlXgKDSuZgMfd4Ch92ZwAC/BkeCmVrTjiKJsoQXO1IICCUf7GHGBbYnnpsNJcEn4vyc9NXyKwOBjeU+I9AyK7PtYiC03RLpTS6xttFCICteBV0uoBHAiV0chZ5VIIUUMjO9u8EhHqRY7NNcGbWdVJeAb6J3vH4E/DHkQj+DXlpjcLvmK/uqBwxfNju30RJhR04Nmz6zcv/zTcvS0uN5hEPQoHLyv84hjnc4omg/gmNjo2cDW64QxA3RTJ5Sl///4xTBkg==",
        )],
        data_manager_name="TestAzureSDKOperations",
        data_store_name="TestStorSimpleSource1",
        data_store_type_id="/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.HybridData/dataManagers/TestAzureSDKOperations/dataStoreTypes/StorSimple8000Series",
        extended_properties={
            "extendedSaKey": None,
            "resourceId": "/subscriptions/c5fc377d-0085-41b9-86b7-cc96dc56d1e9/resourceGroups/ForDMS/providers/Microsoft.StorSimple/managers/BLR8600",
        },
        repository_id="/subscriptions/c5fc377d-0085-41b9-86b7-cc96dc56d1e9/resourceGroups/ForDMS/providers/Microsoft.StorSimple/managers/BLR8600",
        resource_group_name="ResourceGroupForSDKTest",
        state=azure_native.hybriddata.State.ENABLED)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const dataStore = new azure_native.hybriddata.DataStore("dataStore", {
        customerSecrets: [{
            algorithm: azure_native.hybriddata.SupportedAlgorithm.RSA1_5,
            keyIdentifier: "ServiceEncryptionKey",
            keyValue: "EVuEBV40qv23xDRL4NZBuMms4e3So6ikHjrQYRvG9NloqxdgPOg+ZYzpho5lytI4fmv0ANmRIvDiDboRXcUVSjbB9T2gm19fMIuwZa4FK2+LYEgMqKK1GaLkk7xC8f5IeFUXLo6KyBBpaAiayTnWDcHuYEpMiGrV7trDDcbhMRefO3CHecmH3Z7ye8L0RQ/e7WW8GlCKZj3m0BaG7OrJgjai8gyDfMfGAG5rTqEhDVh2hLQ+TjvUjcOFwHvJusqKTENtbJTNQYmL9wZXsnwBvUwxqrGieILNB7V3GD1Ow9OiV0UCDW1e9LnMueukg+l7YJCU9FUhIPh/nSif6p32zw==:jCfio+pDtY3BSPZDpDJ0L6QdXLYMeOmxaFWtYTOZkNqNTgT8Loc/KSQRjtWS5K4N4btbznuSJ/dzg0aZEzlXgKDSuZgMfd4Ch92ZwAC/BkeCmVrTjiKJsoQXO1IICCUf7GHGBbYnnpsNJcEn4vyc9NXyKwOBjeU+I9AyK7PtYiC03RLpTS6xttFCICteBV0uoBHAiV0chZ5VIIUUMjO9u8EhHqRY7NNcGbWdVJeAb6J3vH4E/DHkQj+DXlpjcLvmK/uqBwxfNju30RJhR04Nmz6zcv/zTcvS0uN5hEPQoHLyv84hjnc4omg/gmNjo2cDW64QxA3RTJ5Sl///4xTBkg==",
        }],
        dataManagerName: "TestAzureSDKOperations",
        dataStoreName: "TestStorSimpleSource1",
        dataStoreTypeId: "/subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.HybridData/dataManagers/TestAzureSDKOperations/dataStoreTypes/StorSimple8000Series",
        extendedProperties: {
            extendedSaKey: undefined,
            resourceId: "/subscriptions/c5fc377d-0085-41b9-86b7-cc96dc56d1e9/resourceGroups/ForDMS/providers/Microsoft.StorSimple/managers/BLR8600",
        },
        repositoryId: "/subscriptions/c5fc377d-0085-41b9-86b7-cc96dc56d1e9/resourceGroups/ForDMS/providers/Microsoft.StorSimple/managers/BLR8600",
        resourceGroupName: "ResourceGroupForSDKTest",
        state: azure_native.hybriddata.State.Enabled,
    });
    
    resources:
      dataStore:
        type: azure-native:hybriddata:DataStore
        properties:
          customerSecrets:
            - algorithm: RSA1_5
              keyIdentifier: ServiceEncryptionKey
              keyValue: EVuEBV40qv23xDRL4NZBuMms4e3So6ikHjrQYRvG9NloqxdgPOg+ZYzpho5lytI4fmv0ANmRIvDiDboRXcUVSjbB9T2gm19fMIuwZa4FK2+LYEgMqKK1GaLkk7xC8f5IeFUXLo6KyBBpaAiayTnWDcHuYEpMiGrV7trDDcbhMRefO3CHecmH3Z7ye8L0RQ/e7WW8GlCKZj3m0BaG7OrJgjai8gyDfMfGAG5rTqEhDVh2hLQ+TjvUjcOFwHvJusqKTENtbJTNQYmL9wZXsnwBvUwxqrGieILNB7V3GD1Ow9OiV0UCDW1e9LnMueukg+l7YJCU9FUhIPh/nSif6p32zw==:jCfio+pDtY3BSPZDpDJ0L6QdXLYMeOmxaFWtYTOZkNqNTgT8Loc/KSQRjtWS5K4N4btbznuSJ/dzg0aZEzlXgKDSuZgMfd4Ch92ZwAC/BkeCmVrTjiKJsoQXO1IICCUf7GHGBbYnnpsNJcEn4vyc9NXyKwOBjeU+I9AyK7PtYiC03RLpTS6xttFCICteBV0uoBHAiV0chZ5VIIUUMjO9u8EhHqRY7NNcGbWdVJeAb6J3vH4E/DHkQj+DXlpjcLvmK/uqBwxfNju30RJhR04Nmz6zcv/zTcvS0uN5hEPQoHLyv84hjnc4omg/gmNjo2cDW64QxA3RTJ5Sl///4xTBkg==
          dataManagerName: TestAzureSDKOperations
          dataStoreName: TestStorSimpleSource1
          dataStoreTypeId: /subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.HybridData/dataManagers/TestAzureSDKOperations/dataStoreTypes/StorSimple8000Series
          extendedProperties:
            extendedSaKey: null
            resourceId: /subscriptions/c5fc377d-0085-41b9-86b7-cc96dc56d1e9/resourceGroups/ForDMS/providers/Microsoft.StorSimple/managers/BLR8600
          repositoryId: /subscriptions/c5fc377d-0085-41b9-86b7-cc96dc56d1e9/resourceGroups/ForDMS/providers/Microsoft.StorSimple/managers/BLR8600
          resourceGroupName: ResourceGroupForSDKTest
          state: Enabled
    

    Create DataStore Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new DataStore(name: string, args: DataStoreArgs, opts?: CustomResourceOptions);
    @overload
    def DataStore(resource_name: str,
                  args: DataStoreArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def DataStore(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  data_manager_name: Optional[str] = None,
                  data_store_type_id: Optional[str] = None,
                  resource_group_name: Optional[str] = None,
                  state: Optional[State] = None,
                  customer_secrets: Optional[Sequence[CustomerSecretArgs]] = None,
                  data_store_name: Optional[str] = None,
                  extended_properties: Optional[Any] = None,
                  repository_id: Optional[str] = None)
    func NewDataStore(ctx *Context, name string, args DataStoreArgs, opts ...ResourceOption) (*DataStore, error)
    public DataStore(string name, DataStoreArgs args, CustomResourceOptions? opts = null)
    public DataStore(String name, DataStoreArgs args)
    public DataStore(String name, DataStoreArgs args, CustomResourceOptions options)
    
    type: azure-native:hybriddata:DataStore
    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 DataStoreArgs
    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 DataStoreArgs
    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 DataStoreArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DataStoreArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DataStoreArgs
    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 dataStoreResource = new AzureNative.Hybriddata.DataStore("dataStoreResource", new()
    {
        DataManagerName = "string",
        DataStoreTypeId = "string",
        ResourceGroupName = "string",
        State = "Disabled",
        CustomerSecrets = new[]
        {
            
            {
                { "algorithm", "None" },
                { "keyIdentifier", "string" },
                { "keyValue", "string" },
            },
        },
        DataStoreName = "string",
        ExtendedProperties = "any",
        RepositoryId = "string",
    });
    
    example, err := hybriddata.NewDataStore(ctx, "dataStoreResource", &hybriddata.DataStoreArgs{
    	DataManagerName:   "string",
    	DataStoreTypeId:   "string",
    	ResourceGroupName: "string",
    	State:             "Disabled",
    	CustomerSecrets: []map[string]interface{}{
    		map[string]interface{}{
    			"algorithm":     "None",
    			"keyIdentifier": "string",
    			"keyValue":      "string",
    		},
    	},
    	DataStoreName:      "string",
    	ExtendedProperties: "any",
    	RepositoryId:       "string",
    })
    
    var dataStoreResource = new DataStore("dataStoreResource", DataStoreArgs.builder()
        .dataManagerName("string")
        .dataStoreTypeId("string")
        .resourceGroupName("string")
        .state("Disabled")
        .customerSecrets(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .dataStoreName("string")
        .extendedProperties("any")
        .repositoryId("string")
        .build());
    
    data_store_resource = azure_native.hybriddata.DataStore("dataStoreResource",
        data_manager_name=string,
        data_store_type_id=string,
        resource_group_name=string,
        state=Disabled,
        customer_secrets=[{
            algorithm: None,
            keyIdentifier: string,
            keyValue: string,
        }],
        data_store_name=string,
        extended_properties=any,
        repository_id=string)
    
    const dataStoreResource = new azure_native.hybriddata.DataStore("dataStoreResource", {
        dataManagerName: "string",
        dataStoreTypeId: "string",
        resourceGroupName: "string",
        state: "Disabled",
        customerSecrets: [{
            algorithm: "None",
            keyIdentifier: "string",
            keyValue: "string",
        }],
        dataStoreName: "string",
        extendedProperties: "any",
        repositoryId: "string",
    });
    
    type: azure-native:hybriddata:DataStore
    properties:
        customerSecrets:
            - algorithm: None
              keyIdentifier: string
              keyValue: string
        dataManagerName: string
        dataStoreName: string
        dataStoreTypeId: string
        extendedProperties: any
        repositoryId: string
        resourceGroupName: string
        state: Disabled
    

    DataStore Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The DataStore resource accepts the following input properties:

    DataManagerName string
    The name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only
    DataStoreTypeId string
    The arm id of the data store type.
    ResourceGroupName string
    The Resource Group Name
    State Pulumi.AzureNative.HybridData.State
    State of the data source.
    CustomerSecrets List<Pulumi.AzureNative.HybridData.Inputs.CustomerSecret>
    List of customer secrets containing a key identifier and key value. The key identifier is a way for the specific data source to understand the key. Value contains customer secret encrypted by the encryptionKeys.
    DataStoreName string
    The data store/repository name to be created or updated.
    ExtendedProperties object
    A generic json used differently by each data source type.
    RepositoryId string
    Arm Id for the manager resource to which the data source is associated. This is optional.
    DataManagerName string
    The name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only
    DataStoreTypeId string
    The arm id of the data store type.
    ResourceGroupName string
    The Resource Group Name
    State State
    State of the data source.
    CustomerSecrets []CustomerSecretArgs
    List of customer secrets containing a key identifier and key value. The key identifier is a way for the specific data source to understand the key. Value contains customer secret encrypted by the encryptionKeys.
    DataStoreName string
    The data store/repository name to be created or updated.
    ExtendedProperties interface{}
    A generic json used differently by each data source type.
    RepositoryId string
    Arm Id for the manager resource to which the data source is associated. This is optional.
    dataManagerName String
    The name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only
    dataStoreTypeId String
    The arm id of the data store type.
    resourceGroupName String
    The Resource Group Name
    state State
    State of the data source.
    customerSecrets List<CustomerSecret>
    List of customer secrets containing a key identifier and key value. The key identifier is a way for the specific data source to understand the key. Value contains customer secret encrypted by the encryptionKeys.
    dataStoreName String
    The data store/repository name to be created or updated.
    extendedProperties Object
    A generic json used differently by each data source type.
    repositoryId String
    Arm Id for the manager resource to which the data source is associated. This is optional.
    dataManagerName string
    The name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only
    dataStoreTypeId string
    The arm id of the data store type.
    resourceGroupName string
    The Resource Group Name
    state State
    State of the data source.
    customerSecrets CustomerSecret[]
    List of customer secrets containing a key identifier and key value. The key identifier is a way for the specific data source to understand the key. Value contains customer secret encrypted by the encryptionKeys.
    dataStoreName string
    The data store/repository name to be created or updated.
    extendedProperties any
    A generic json used differently by each data source type.
    repositoryId string
    Arm Id for the manager resource to which the data source is associated. This is optional.
    data_manager_name str
    The name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only
    data_store_type_id str
    The arm id of the data store type.
    resource_group_name str
    The Resource Group Name
    state State
    State of the data source.
    customer_secrets Sequence[CustomerSecretArgs]
    List of customer secrets containing a key identifier and key value. The key identifier is a way for the specific data source to understand the key. Value contains customer secret encrypted by the encryptionKeys.
    data_store_name str
    The data store/repository name to be created or updated.
    extended_properties Any
    A generic json used differently by each data source type.
    repository_id str
    Arm Id for the manager resource to which the data source is associated. This is optional.
    dataManagerName String
    The name of the DataManager Resource within the specified resource group. DataManager names must be between 3 and 24 characters in length and use any alphanumeric and underscore only
    dataStoreTypeId String
    The arm id of the data store type.
    resourceGroupName String
    The Resource Group Name
    state "Disabled" | "Enabled" | "Supported"
    State of the data source.
    customerSecrets List<Property Map>
    List of customer secrets containing a key identifier and key value. The key identifier is a way for the specific data source to understand the key. Value contains customer secret encrypted by the encryptionKeys.
    dataStoreName String
    The data store/repository name to be created or updated.
    extendedProperties Any
    A generic json used differently by each data source type.
    repositoryId String
    Arm Id for the manager resource to which the data source is associated. This is optional.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the DataStore resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Name of the object.
    Type string
    Type of the object.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Name of the object.
    Type string
    Type of the object.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Name of the object.
    type String
    Type of the object.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Name of the object.
    type string
    Type of the object.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Name of the object.
    type str
    Type of the object.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Name of the object.
    type String
    Type of the object.

    Supporting Types

    CustomerSecret, CustomerSecretArgs

    Algorithm Pulumi.AzureNative.HybridData.SupportedAlgorithm
    The encryption algorithm used to encrypt data.
    KeyIdentifier string
    The identifier to the data service input object which this secret corresponds to.
    KeyValue string
    It contains the encrypted customer secret.
    Algorithm SupportedAlgorithm
    The encryption algorithm used to encrypt data.
    KeyIdentifier string
    The identifier to the data service input object which this secret corresponds to.
    KeyValue string
    It contains the encrypted customer secret.
    algorithm SupportedAlgorithm
    The encryption algorithm used to encrypt data.
    keyIdentifier String
    The identifier to the data service input object which this secret corresponds to.
    keyValue String
    It contains the encrypted customer secret.
    algorithm SupportedAlgorithm
    The encryption algorithm used to encrypt data.
    keyIdentifier string
    The identifier to the data service input object which this secret corresponds to.
    keyValue string
    It contains the encrypted customer secret.
    algorithm SupportedAlgorithm
    The encryption algorithm used to encrypt data.
    key_identifier str
    The identifier to the data service input object which this secret corresponds to.
    key_value str
    It contains the encrypted customer secret.
    algorithm "None" | "RSA1_5" | "RSA_OAEP" | "PlainText"
    The encryption algorithm used to encrypt data.
    keyIdentifier String
    The identifier to the data service input object which this secret corresponds to.
    keyValue String
    It contains the encrypted customer secret.

    CustomerSecretResponse, CustomerSecretResponseArgs

    Algorithm string
    The encryption algorithm used to encrypt data.
    KeyIdentifier string
    The identifier to the data service input object which this secret corresponds to.
    KeyValue string
    It contains the encrypted customer secret.
    Algorithm string
    The encryption algorithm used to encrypt data.
    KeyIdentifier string
    The identifier to the data service input object which this secret corresponds to.
    KeyValue string
    It contains the encrypted customer secret.
    algorithm String
    The encryption algorithm used to encrypt data.
    keyIdentifier String
    The identifier to the data service input object which this secret corresponds to.
    keyValue String
    It contains the encrypted customer secret.
    algorithm string
    The encryption algorithm used to encrypt data.
    keyIdentifier string
    The identifier to the data service input object which this secret corresponds to.
    keyValue string
    It contains the encrypted customer secret.
    algorithm str
    The encryption algorithm used to encrypt data.
    key_identifier str
    The identifier to the data service input object which this secret corresponds to.
    key_value str
    It contains the encrypted customer secret.
    algorithm String
    The encryption algorithm used to encrypt data.
    keyIdentifier String
    The identifier to the data service input object which this secret corresponds to.
    keyValue String
    It contains the encrypted customer secret.

    State, StateArgs

    Disabled
    Disabled
    Enabled
    Enabled
    Supported
    Supported
    StateDisabled
    Disabled
    StateEnabled
    Enabled
    StateSupported
    Supported
    Disabled
    Disabled
    Enabled
    Enabled
    Supported
    Supported
    Disabled
    Disabled
    Enabled
    Enabled
    Supported
    Supported
    DISABLED
    Disabled
    ENABLED
    Enabled
    SUPPORTED
    Supported
    "Disabled"
    Disabled
    "Enabled"
    Enabled
    "Supported"
    Supported

    SupportedAlgorithm, SupportedAlgorithmArgs

    None
    None
    RSA1_5
    RSA1_5
    RSA_OAEP
    RSA_OAEP
    PlainText
    PlainText
    SupportedAlgorithmNone
    None
    SupportedAlgorithm_RSA1_5
    RSA1_5
    SupportedAlgorithm_RSA_OAEP
    RSA_OAEP
    SupportedAlgorithmPlainText
    PlainText
    None
    None
    RSA1_5
    RSA1_5
    RSA_OAEP
    RSA_OAEP
    PlainText
    PlainText
    None
    None
    RSA1_5
    RSA1_5
    RSA_OAEP
    RSA_OAEP
    PlainText
    PlainText
    NONE
    None
    RSA1_5
    RSA1_5
    RS_A_OAEP
    RSA_OAEP
    PLAIN_TEXT
    PlainText
    "None"
    None
    "RSA1_5"
    RSA1_5
    "RSA_OAEP"
    RSA_OAEP
    "PlainText"
    PlainText

    Import

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

    $ pulumi import azure-native:hybriddata:DataStore TestStorSimpleSource1 /subscriptions/6e0219f5-327a-4365-904f-05eed4227ad7/resourceGroups/ResourceGroupForSDKTest/providers/Microsoft.HybridData/dataManagers/TestAzureSDKOperations/dataStores/TestStorSimpleSource1 
    

    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