1. Packages
  2. Azure Native v2
  3. API Docs
  4. datareplication
  5. getVault
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.datareplication.getVault

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

Gets the details of the vault. Azure REST API version: 2021-02-16-preview.

Using getVault

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 getVault(args: GetVaultArgs, opts?: InvokeOptions): Promise<GetVaultResult>
function getVaultOutput(args: GetVaultOutputArgs, opts?: InvokeOptions): Output<GetVaultResult>
Copy
def get_vault(resource_group_name: Optional[str] = None,
              vault_name: Optional[str] = None,
              opts: Optional[InvokeOptions] = None) -> GetVaultResult
def get_vault_output(resource_group_name: Optional[pulumi.Input[str]] = None,
              vault_name: Optional[pulumi.Input[str]] = None,
              opts: Optional[InvokeOptions] = None) -> Output[GetVaultResult]
Copy
func LookupVault(ctx *Context, args *LookupVaultArgs, opts ...InvokeOption) (*LookupVaultResult, error)
func LookupVaultOutput(ctx *Context, args *LookupVaultOutputArgs, opts ...InvokeOption) LookupVaultResultOutput
Copy

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

public static class GetVault 
{
    public static Task<GetVaultResult> InvokeAsync(GetVaultArgs args, InvokeOptions? opts = null)
    public static Output<GetVaultResult> Invoke(GetVaultInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetVaultResult> getVault(GetVaultArgs args, InvokeOptions options)
public static Output<GetVaultResult> getVault(GetVaultArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:datareplication:getVault
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
VaultName
This property is required.
Changes to this property will trigger replacement.
string
The vault name.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
VaultName
This property is required.
Changes to this property will trigger replacement.
string
The vault name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
vaultName
This property is required.
Changes to this property will trigger replacement.
String
The vault name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group. The name is case insensitive.
vaultName
This property is required.
Changes to this property will trigger replacement.
string
The vault name.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group. The name is case insensitive.
vault_name
This property is required.
Changes to this property will trigger replacement.
str
The vault name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group. The name is case insensitive.
vaultName
This property is required.
Changes to this property will trigger replacement.
String
The vault name.

getVault Result

The following output properties are available:

Id string
Gets or sets the Id of the resource.
Location string
Gets or sets the location of the vault.
Name string
Gets or sets the name of the resource.
Properties Pulumi.AzureNative.DataReplication.Outputs.VaultModelPropertiesResponse
Vault properties.
SystemData Pulumi.AzureNative.DataReplication.Outputs.VaultModelResponseSystemData
Type string
Gets or sets the type of the resource.
Tags Dictionary<string, string>
Gets or sets the resource tags.
Id string
Gets or sets the Id of the resource.
Location string
Gets or sets the location of the vault.
Name string
Gets or sets the name of the resource.
Properties VaultModelPropertiesResponse
Vault properties.
SystemData VaultModelResponseSystemData
Type string
Gets or sets the type of the resource.
Tags map[string]string
Gets or sets the resource tags.
id String
Gets or sets the Id of the resource.
location String
Gets or sets the location of the vault.
name String
Gets or sets the name of the resource.
properties VaultModelPropertiesResponse
Vault properties.
systemData VaultModelResponseSystemData
type String
Gets or sets the type of the resource.
tags Map<String,String>
Gets or sets the resource tags.
id string
Gets or sets the Id of the resource.
location string
Gets or sets the location of the vault.
name string
Gets or sets the name of the resource.
properties VaultModelPropertiesResponse
Vault properties.
systemData VaultModelResponseSystemData
type string
Gets or sets the type of the resource.
tags {[key: string]: string}
Gets or sets the resource tags.
id str
Gets or sets the Id of the resource.
location str
Gets or sets the location of the vault.
name str
Gets or sets the name of the resource.
properties VaultModelPropertiesResponse
Vault properties.
system_data VaultModelResponseSystemData
type str
Gets or sets the type of the resource.
tags Mapping[str, str]
Gets or sets the resource tags.
id String
Gets or sets the Id of the resource.
location String
Gets or sets the location of the vault.
name String
Gets or sets the name of the resource.
properties Property Map
Vault properties.
systemData Property Map
type String
Gets or sets the type of the resource.
tags Map<String>
Gets or sets the resource tags.

Supporting Types

VaultModelPropertiesResponse

ProvisioningState This property is required. string
Gets or sets the provisioning state of the vault.
ServiceResourceId This property is required. string
Gets or sets the service resource Id.
VaultType string
Gets or sets the type of vault.
ProvisioningState This property is required. string
Gets or sets the provisioning state of the vault.
ServiceResourceId This property is required. string
Gets or sets the service resource Id.
VaultType string
Gets or sets the type of vault.
provisioningState This property is required. String
Gets or sets the provisioning state of the vault.
serviceResourceId This property is required. String
Gets or sets the service resource Id.
vaultType String
Gets or sets the type of vault.
provisioningState This property is required. string
Gets or sets the provisioning state of the vault.
serviceResourceId This property is required. string
Gets or sets the service resource Id.
vaultType string
Gets or sets the type of vault.
provisioning_state This property is required. str
Gets or sets the provisioning state of the vault.
service_resource_id This property is required. str
Gets or sets the service resource Id.
vault_type str
Gets or sets the type of vault.
provisioningState This property is required. String
Gets or sets the provisioning state of the vault.
serviceResourceId This property is required. String
Gets or sets the service resource Id.
vaultType String
Gets or sets the type of vault.

VaultModelResponseSystemData

CreatedAt string
Gets or sets the timestamp of resource creation (UTC).
CreatedBy string
Gets or sets identity that created the resource.
CreatedByType string
Gets or sets the type of identity that created the resource: user, application, managedIdentity.
LastModifiedAt string
Gets or sets the timestamp of resource last modification (UTC).
LastModifiedBy string
Gets or sets the identity that last modified the resource.
LastModifiedByType string
Gets or sets the type of identity that last modified the resource: user, application, managedIdentity.
CreatedAt string
Gets or sets the timestamp of resource creation (UTC).
CreatedBy string
Gets or sets identity that created the resource.
CreatedByType string
Gets or sets the type of identity that created the resource: user, application, managedIdentity.
LastModifiedAt string
Gets or sets the timestamp of resource last modification (UTC).
LastModifiedBy string
Gets or sets the identity that last modified the resource.
LastModifiedByType string
Gets or sets the type of identity that last modified the resource: user, application, managedIdentity.
createdAt String
Gets or sets the timestamp of resource creation (UTC).
createdBy String
Gets or sets identity that created the resource.
createdByType String
Gets or sets the type of identity that created the resource: user, application, managedIdentity.
lastModifiedAt String
Gets or sets the timestamp of resource last modification (UTC).
lastModifiedBy String
Gets or sets the identity that last modified the resource.
lastModifiedByType String
Gets or sets the type of identity that last modified the resource: user, application, managedIdentity.
createdAt string
Gets or sets the timestamp of resource creation (UTC).
createdBy string
Gets or sets identity that created the resource.
createdByType string
Gets or sets the type of identity that created the resource: user, application, managedIdentity.
lastModifiedAt string
Gets or sets the timestamp of resource last modification (UTC).
lastModifiedBy string
Gets or sets the identity that last modified the resource.
lastModifiedByType string
Gets or sets the type of identity that last modified the resource: user, application, managedIdentity.
created_at str
Gets or sets the timestamp of resource creation (UTC).
created_by str
Gets or sets identity that created the resource.
created_by_type str
Gets or sets the type of identity that created the resource: user, application, managedIdentity.
last_modified_at str
Gets or sets the timestamp of resource last modification (UTC).
last_modified_by str
Gets or sets the identity that last modified the resource.
last_modified_by_type str
Gets or sets the type of identity that last modified the resource: user, application, managedIdentity.
createdAt String
Gets or sets the timestamp of resource creation (UTC).
createdBy String
Gets or sets identity that created the resource.
createdByType String
Gets or sets the type of identity that created the resource: user, application, managedIdentity.
lastModifiedAt String
Gets or sets the timestamp of resource last modification (UTC).
lastModifiedBy String
Gets or sets the identity that last modified the resource.
lastModifiedByType String
Gets or sets the type of identity that last modified the resource: user, application, managedIdentity.

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi