azure-native-v2.hybriddata.DataStore
Explore with Pulumi AI
Data store. Azure REST API version: 2019-06-01. Prior API version in Azure Native 1.x: 2019-06-01.
Example Usage
DataStores_CreateOrUpdate_DataSinkPUT162
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 = new Dictionary<string, object?>
{
["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/v2"
"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.CustomerSecretArray{
&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(map[string]interface{}{
"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 com.pulumi.azurenative.hybriddata.inputs.CustomerSecretArgs;
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(CustomerSecretArgs.builder()
.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==")
.build())
.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 * 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,
});
import pulumi
import pulumi_azure_native as azure_native
data_store = azure_native.hybriddata.DataStore("dataStore",
customer_secrets=[{
"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)
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
This property is required. string - The unique name of the resource.
- args
This property is required. DataStoreArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. 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
This property is required. string - The unique name of the resource.
- args
This property is required. DataStoreArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. DataStoreArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The DataStore resource accepts the following input properties:
- Data
Manager Name This property is required. Changes to this property will trigger replacement.
- 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 This property is required. string - The arm id of the data store type.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The Resource Group Name
- State
This property is required. Pulumi.Azure Native. Hybrid Data. State - State of the data source.
- Customer
Secrets List<Pulumi.Azure Native. Hybrid Data. Inputs. Customer Secret> - 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 Changes to this property will trigger replacement.
- The data store/repository name to be created or updated.
- Extended
Properties object - A generic json used differently by each data source type.
- Repository
Id string - Arm Id for the manager resource to which the data source is associated. This is optional.
- Data
Manager Name This property is required. Changes to this property will trigger replacement.
- 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 This property is required. string - The arm id of the data store type.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The Resource Group Name
- State
This property is required. State - State of the data source.
- Customer
Secrets []CustomerSecret Args - 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 Changes to this property will trigger replacement.
- The data store/repository name to be created or updated.
- Extended
Properties interface{} - A generic json used differently by each data source type.
- Repository
Id string - Arm Id for the manager resource to which the data source is associated. This is optional.
- data
Manager Name This property is required. Changes to this property will trigger replacement.
- 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 This property is required. String - The arm id of the data store type.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The Resource Group Name
- state
This property is required. State - State of the data source.
- customer
Secrets 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.
- data
Store Name Changes to this property will trigger replacement.
- The data store/repository name to be created or updated.
- extended
Properties Object - A generic json used differently by each data source type.
- repository
Id String - Arm Id for the manager resource to which the data source is associated. This is optional.
- data
Manager Name This property is required. Changes to this property will trigger replacement.
- 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 This property is required. string - The arm id of the data store type.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The Resource Group Name
- state
This property is required. State - State of the data source.
- customer
Secrets 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.
- data
Store Name Changes to this property will trigger replacement.
- 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 string - Arm Id for the manager resource to which the data source is associated. This is optional.
- data_
manager_ name This property is required. Changes to this property will trigger replacement.
- 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 This property is required. str - The arm id of the data store type.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The Resource Group Name
- state
This property is required. State - State of the data source.
- customer_
secrets Sequence[CustomerSecret Args] - 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 Changes to this property will trigger replacement.
- 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.
- data
Manager Name This property is required. Changes to this property will trigger replacement.
- 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 This property is required. String - The arm id of the data store type.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The Resource Group Name
- state
This property is required. "Disabled" | "Enabled" | "Supported" - State of the data source.
- customer
Secrets 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.
- data
Store Name Changes to this property will trigger replacement.
- 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 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:
Supporting Types
CustomerSecret, CustomerSecretArgs
- Algorithm
This property is required. Pulumi.Azure Native. Hybrid Data. Supported Algorithm - The encryption algorithm used to encrypt data.
- Key
Identifier This property is required. string - The identifier to the data service input object which this secret corresponds to.
- Key
Value This property is required. string - It contains the encrypted customer secret.
- Algorithm
This property is required. SupportedAlgorithm - The encryption algorithm used to encrypt data.
- Key
Identifier This property is required. string - The identifier to the data service input object which this secret corresponds to.
- Key
Value This property is required. string - It contains the encrypted customer secret.
- algorithm
This property is required. SupportedAlgorithm - The encryption algorithm used to encrypt data.
- key
Identifier This property is required. String - The identifier to the data service input object which this secret corresponds to.
- key
Value This property is required. String - It contains the encrypted customer secret.
- algorithm
This property is required. SupportedAlgorithm - The encryption algorithm used to encrypt data.
- key
Identifier This property is required. string - The identifier to the data service input object which this secret corresponds to.
- key
Value This property is required. string - It contains the encrypted customer secret.
- algorithm
This property is required. SupportedAlgorithm - The encryption algorithm used to encrypt data.
- key_
identifier This property is required. str - The identifier to the data service input object which this secret corresponds to.
- key_
value This property is required. str - It contains the encrypted customer secret.
- algorithm
This property is required. "None" | "RSA1_5" | "RSA_OAEP" | "PlainText" - The encryption algorithm used to encrypt data.
- key
Identifier This property is required. String - The identifier to the data service input object which this secret corresponds to.
- key
Value This property is required. String - It contains the encrypted customer secret.
CustomerSecretResponse, CustomerSecretResponseArgs
- Algorithm
This property is required. string - The encryption algorithm used to encrypt data.
- Key
Identifier This property is required. string - The identifier to the data service input object which this secret corresponds to.
- Key
Value This property is required. string - It contains the encrypted customer secret.
- Algorithm
This property is required. string - The encryption algorithm used to encrypt data.
- Key
Identifier This property is required. string - The identifier to the data service input object which this secret corresponds to.
- Key
Value This property is required. string - It contains the encrypted customer secret.
- algorithm
This property is required. String - The encryption algorithm used to encrypt data.
- key
Identifier This property is required. String - The identifier to the data service input object which this secret corresponds to.
- key
Value This property is required. String - It contains the encrypted customer secret.
- algorithm
This property is required. string - The encryption algorithm used to encrypt data.
- key
Identifier This property is required. string - The identifier to the data service input object which this secret corresponds to.
- key
Value This property is required. string - It contains the encrypted customer secret.
- algorithm
This property is required. str - The encryption algorithm used to encrypt data.
- key_
identifier This property is required. str - The identifier to the data service input object which this secret corresponds to.
- key_
value This property is required. str - It contains the encrypted customer secret.
- algorithm
This property is required. String - The encryption algorithm used to encrypt data.
- key
Identifier This property is required. String - The identifier to the data service input object which this secret corresponds to.
- key
Value This property is required. String - It contains the encrypted customer secret.
State, StateArgs
- Disabled
- Disabled
- Enabled
- Enabled
- Supported
- Supported
- State
Disabled - Disabled
- State
Enabled - Enabled
- State
Supported - 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
- Plain
Text - PlainText
- Supported
Algorithm None - None
- Supported
Algorithm_RSA1_5 - RSA1_5
- Supported
Algorithm_RSA_OAEP - RSA_OAEP
- Supported
Algorithm Plain Text - PlainText
- None
- None
- RSA1_5
- RSA1_5
- RSA_OAEP
- RSA_OAEP
- Plain
Text - PlainText
- None
- None
- RSA1_5
- RSA1_5
- RSA_OAEP
- RSA_OAEP
- Plain
Text - 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
- "Plain
Text" - 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/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HybridData/dataManagers/{dataManagerName}/dataStores/{dataStoreName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0