1. Packages
  2. Azure Native
  3. API Docs
  4. hybriddata
  5. getDataStore
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

azure-native.hybriddata.getDataStore

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi

This method gets the data store/repository by name.

Uses Azure REST API version 2019-06-01.

Using getDataStore

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getDataStore(args: GetDataStoreArgs, opts?: InvokeOptions): Promise<GetDataStoreResult>
function getDataStoreOutput(args: GetDataStoreOutputArgs, opts?: InvokeOptions): Output<GetDataStoreResult>
Copy
def get_data_store(data_manager_name: Optional[str] = None,
                   data_store_name: Optional[str] = None,
                   resource_group_name: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetDataStoreResult
def get_data_store_output(data_manager_name: Optional[pulumi.Input[str]] = None,
                   data_store_name: Optional[pulumi.Input[str]] = None,
                   resource_group_name: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetDataStoreResult]
Copy
func LookupDataStore(ctx *Context, args *LookupDataStoreArgs, opts ...InvokeOption) (*LookupDataStoreResult, error)
func LookupDataStoreOutput(ctx *Context, args *LookupDataStoreOutputArgs, opts ...InvokeOption) LookupDataStoreResultOutput
Copy

> Note: This function is named LookupDataStore in the Go SDK.

public static class GetDataStore 
{
    public static Task<GetDataStoreResult> InvokeAsync(GetDataStoreArgs args, InvokeOptions? opts = null)
    public static Output<GetDataStoreResult> Invoke(GetDataStoreInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetDataStoreResult> getDataStore(GetDataStoreArgs args, InvokeOptions options)
public static Output<GetDataStoreResult> getDataStore(GetDataStoreArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:hybriddata:getDataStore
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

DataManagerName
This property is required.
Changes to this property will trigger replacement.
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
DataStoreName
This property is required.
Changes to this property will trigger replacement.
string
The data store/repository name queried.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The Resource Group Name
DataManagerName
This property is required.
Changes to this property will trigger replacement.
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
DataStoreName
This property is required.
Changes to this property will trigger replacement.
string
The data store/repository name queried.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The Resource Group Name
dataManagerName
This property is required.
Changes to this property will trigger replacement.
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
dataStoreName
This property is required.
Changes to this property will trigger replacement.
String
The data store/repository name queried.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The Resource Group Name
dataManagerName
This property is required.
Changes to this property will trigger replacement.
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
dataStoreName
This property is required.
Changes to this property will trigger replacement.
string
The data store/repository name queried.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The Resource Group Name
data_manager_name
This property is required.
Changes to this property will trigger replacement.
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_name
This property is required.
Changes to this property will trigger replacement.
str
The data store/repository name queried.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The Resource Group Name
dataManagerName
This property is required.
Changes to this property will trigger replacement.
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
dataStoreName
This property is required.
Changes to this property will trigger replacement.
String
The data store/repository name queried.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The Resource Group Name

getDataStore Result

The following output properties are available:

AzureApiVersion string
The Azure API version of the resource.
DataStoreTypeId string
The arm id of the data store type.
Id string
Id of the object.
Name string
Name of the object.
State string
State of the data source.
Type string
Type of the object.
CustomerSecrets List<Pulumi.AzureNative.HybridData.Outputs.CustomerSecretResponse>
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.
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.
AzureApiVersion string
The Azure API version of the resource.
DataStoreTypeId string
The arm id of the data store type.
Id string
Id of the object.
Name string
Name of the object.
State string
State of the data source.
Type string
Type of the object.
CustomerSecrets []CustomerSecretResponse
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.
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.
azureApiVersion String
The Azure API version of the resource.
dataStoreTypeId String
The arm id of the data store type.
id String
Id of the object.
name String
Name of the object.
state String
State of the data source.
type String
Type of the object.
customerSecrets List<CustomerSecretResponse>
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.
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.
azureApiVersion string
The Azure API version of the resource.
dataStoreTypeId string
The arm id of the data store type.
id string
Id of the object.
name string
Name of the object.
state string
State of the data source.
type string
Type of the object.
customerSecrets CustomerSecretResponse[]
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.
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.
azure_api_version str
The Azure API version of the resource.
data_store_type_id str
The arm id of the data store type.
id str
Id of the object.
name str
Name of the object.
state str
State of the data source.
type str
Type of the object.
customer_secrets Sequence[CustomerSecretResponse]
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.
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.
azureApiVersion String
The Azure API version of the resource.
dataStoreTypeId String
The arm id of the data store type.
id String
Id of the object.
name String
Name of the object.
state String
State of the data source.
type String
Type of the object.
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.
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.

Supporting Types

CustomerSecretResponse

Algorithm This property is required. string
The encryption algorithm used to encrypt data.
KeyIdentifier This property is required. string
The identifier to the data service input object which this secret corresponds to.
KeyValue This property is required. string
It contains the encrypted customer secret.
Algorithm This property is required. string
The encryption algorithm used to encrypt data.
KeyIdentifier This property is required. string
The identifier to the data service input object which this secret corresponds to.
KeyValue This property is required. string
It contains the encrypted customer secret.
algorithm This property is required. String
The encryption algorithm used to encrypt data.
keyIdentifier This property is required. String
The identifier to the data service input object which this secret corresponds to.
keyValue This property is required. String
It contains the encrypted customer secret.
algorithm This property is required. string
The encryption algorithm used to encrypt data.
keyIdentifier This property is required. string
The identifier to the data service input object which this secret corresponds to.
keyValue 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.
keyIdentifier This property is required. String
The identifier to the data service input object which this secret corresponds to.
keyValue This property is required. String
It contains the encrypted customer secret.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.1.0 published on Tuesday, Apr 8, 2025 by Pulumi