1. Packages
  2. Azure Classic
  3. API Docs
  4. netapp
  5. getVolumeGroupSapHana

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

azure.netapp.getVolumeGroupSapHana

Explore with Pulumi AI

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

Use this data source to access information about an existing Application Volume Group for SAP HANA application.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";

const example = azure.netapp.getVolumeGroupSapHana({
    name: "existing application volume group name",
    resourceGroupName: "resource group name where the account and volume group belong to",
    accountName: "existing account where the application volume group belong to",
});
export const id = example.then(example => example.id);
Copy
import pulumi
import pulumi_azure as azure

example = azure.netapp.get_volume_group_sap_hana(name="existing application volume group name",
    resource_group_name="resource group name where the account and volume group belong to",
    account_name="existing account where the application volume group belong to")
pulumi.export("id", example.id)
Copy
package main

import (
	"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/netapp"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := netapp.LookupVolumeGroupSapHana(ctx, &netapp.LookupVolumeGroupSapHanaArgs{
			Name:              "existing application volume group name",
			ResourceGroupName: "resource group name where the account and volume group belong to",
			AccountName:       "existing account where the application volume group belong to",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("id", example.Id)
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;

return await Deployment.RunAsync(() => 
{
    var example = Azure.NetApp.GetVolumeGroupSapHana.Invoke(new()
    {
        Name = "existing application volume group name",
        ResourceGroupName = "resource group name where the account and volume group belong to",
        AccountName = "existing account where the application volume group belong to",
    });

    return new Dictionary<string, object?>
    {
        ["id"] = example.Apply(getVolumeGroupSapHanaResult => getVolumeGroupSapHanaResult.Id),
    };
});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.netapp.NetappFunctions;
import com.pulumi.azure.netapp.inputs.GetVolumeGroupSapHanaArgs;
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) {
        final var example = NetappFunctions.getVolumeGroupSapHana(GetVolumeGroupSapHanaArgs.builder()
            .name("existing application volume group name")
            .resourceGroupName("resource group name where the account and volume group belong to")
            .accountName("existing account where the application volume group belong to")
            .build());

        ctx.export("id", example.applyValue(getVolumeGroupSapHanaResult -> getVolumeGroupSapHanaResult.id()));
    }
}
Copy
variables:
  example:
    fn::invoke:
      function: azure:netapp:getVolumeGroupSapHana
      arguments:
        name: existing application volume group name
        resourceGroupName: resource group name where the account and volume group belong to
        accountName: existing account where the application volume group belong to
outputs:
  id: ${example.id}
Copy

Using getVolumeGroupSapHana

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 getVolumeGroupSapHana(args: GetVolumeGroupSapHanaArgs, opts?: InvokeOptions): Promise<GetVolumeGroupSapHanaResult>
function getVolumeGroupSapHanaOutput(args: GetVolumeGroupSapHanaOutputArgs, opts?: InvokeOptions): Output<GetVolumeGroupSapHanaResult>
Copy
def get_volume_group_sap_hana(account_name: Optional[str] = None,
                              name: Optional[str] = None,
                              resource_group_name: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetVolumeGroupSapHanaResult
def get_volume_group_sap_hana_output(account_name: Optional[pulumi.Input[str]] = None,
                              name: Optional[pulumi.Input[str]] = None,
                              resource_group_name: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetVolumeGroupSapHanaResult]
Copy
func LookupVolumeGroupSapHana(ctx *Context, args *LookupVolumeGroupSapHanaArgs, opts ...InvokeOption) (*LookupVolumeGroupSapHanaResult, error)
func LookupVolumeGroupSapHanaOutput(ctx *Context, args *LookupVolumeGroupSapHanaOutputArgs, opts ...InvokeOption) LookupVolumeGroupSapHanaResultOutput
Copy

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

public static class GetVolumeGroupSapHana 
{
    public static Task<GetVolumeGroupSapHanaResult> InvokeAsync(GetVolumeGroupSapHanaArgs args, InvokeOptions? opts = null)
    public static Output<GetVolumeGroupSapHanaResult> Invoke(GetVolumeGroupSapHanaInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetVolumeGroupSapHanaResult> getVolumeGroupSapHana(GetVolumeGroupSapHanaArgs args, InvokeOptions options)
public static Output<GetVolumeGroupSapHanaResult> getVolumeGroupSapHana(GetVolumeGroupSapHanaArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure:netapp/getVolumeGroupSapHana:getVolumeGroupSapHana
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AccountName This property is required. string
Name of the account where the application volume group belong to.
Name This property is required. string
The name of this Application Volume Group for SAP HANA application.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Resource Group where the Application Volume Group exists.
AccountName This property is required. string
Name of the account where the application volume group belong to.
Name This property is required. string
The name of this Application Volume Group for SAP HANA application.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Resource Group where the Application Volume Group exists.
accountName This property is required. String
Name of the account where the application volume group belong to.
name This property is required. String
The name of this Application Volume Group for SAP HANA application.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Resource Group where the Application Volume Group exists.
accountName This property is required. string
Name of the account where the application volume group belong to.
name This property is required. string
The name of this Application Volume Group for SAP HANA application.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Resource Group where the Application Volume Group exists.
account_name This property is required. str
Name of the account where the application volume group belong to.
name This property is required. str
The name of this Application Volume Group for SAP HANA application.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the Resource Group where the Application Volume Group exists.
accountName This property is required. String
Name of the account where the application volume group belong to.
name This property is required. String
The name of this Application Volume Group for SAP HANA application.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Resource Group where the Application Volume Group exists.

getVolumeGroupSapHana Result

The following output properties are available:

AccountName string
ApplicationIdentifier string
The application identifier.
GroupDescription string
Volume group description.
Id string
The provider-assigned unique ID for this managed resource.
Location string
The Azure Region where the Application Volume Group exists.
Name string
The name of this volume.
ResourceGroupName string
Volumes List<GetVolumeGroupSapHanaVolume>
A volume block as defined below.
AccountName string
ApplicationIdentifier string
The application identifier.
GroupDescription string
Volume group description.
Id string
The provider-assigned unique ID for this managed resource.
Location string
The Azure Region where the Application Volume Group exists.
Name string
The name of this volume.
ResourceGroupName string
Volumes []GetVolumeGroupSapHanaVolume
A volume block as defined below.
accountName String
applicationIdentifier String
The application identifier.
groupDescription String
Volume group description.
id String
The provider-assigned unique ID for this managed resource.
location String
The Azure Region where the Application Volume Group exists.
name String
The name of this volume.
resourceGroupName String
volumes List<GetVolumeGroupSapHanaVolume>
A volume block as defined below.
accountName string
applicationIdentifier string
The application identifier.
groupDescription string
Volume group description.
id string
The provider-assigned unique ID for this managed resource.
location string
The Azure Region where the Application Volume Group exists.
name string
The name of this volume.
resourceGroupName string
volumes GetVolumeGroupSapHanaVolume[]
A volume block as defined below.
account_name str
application_identifier str
The application identifier.
group_description str
Volume group description.
id str
The provider-assigned unique ID for this managed resource.
location str
The Azure Region where the Application Volume Group exists.
name str
The name of this volume.
resource_group_name str
volumes Sequence[GetVolumeGroupSapHanaVolume]
A volume block as defined below.
accountName String
applicationIdentifier String
The application identifier.
groupDescription String
Volume group description.
id String
The provider-assigned unique ID for this managed resource.
location String
The Azure Region where the Application Volume Group exists.
name String
The name of this volume.
resourceGroupName String
volumes List<Property Map>
A volume block as defined below.

Supporting Types

GetVolumeGroupSapHanaVolume

CapacityPoolId This property is required. string
The ID of the Capacity Pool.
DataProtectionReplications This property is required. List<GetVolumeGroupSapHanaVolumeDataProtectionReplication>
A data_protection_replication block as defined below.
DataProtectionSnapshotPolicies This property is required. List<GetVolumeGroupSapHanaVolumeDataProtectionSnapshotPolicy>
A data_protection_snapshot_policy block as defined below.
ExportPolicyRules This property is required. List<GetVolumeGroupSapHanaVolumeExportPolicyRule>
A export_policy_rule block as defined below.
Id This property is required. string
Volume ID.
MountIpAddresses This property is required. List<string>
A mount_ip_addresses block as defined below.
Name This property is required. string
The name of this Application Volume Group for SAP HANA application.
Protocols This property is required. List<string>
A protocols block as defined below.
ProximityPlacementGroupId This property is required. string
The ID of the proximity placement group.
SecurityStyle This property is required. string
Volume security style.
ServiceLevel This property is required. string
The target performance of the file system.
SnapshotDirectoryVisible This property is required. bool
Is the .snapshot (NFS clients) path of a volume visible?
StorageQuotaInGb This property is required. int
The maximum Storage Quota allowed for a file system in Gigabytes.
SubnetId This property is required. string
The ID of the Subnet the NetApp Volume resides in.
Tags This property is required. Dictionary<string, string>
A mapping of tags assigned to the Application Volume Group.
ThroughputInMibps This property is required. double
Throughput of this volume in Mibps.
VolumePath This property is required. string
A unique file path for the volume.
VolumeSpecName This property is required. string
Volume spec name.
CapacityPoolId This property is required. string
The ID of the Capacity Pool.
DataProtectionReplications This property is required. []GetVolumeGroupSapHanaVolumeDataProtectionReplication
A data_protection_replication block as defined below.
DataProtectionSnapshotPolicies This property is required. []GetVolumeGroupSapHanaVolumeDataProtectionSnapshotPolicy
A data_protection_snapshot_policy block as defined below.
ExportPolicyRules This property is required. []GetVolumeGroupSapHanaVolumeExportPolicyRule
A export_policy_rule block as defined below.
Id This property is required. string
Volume ID.
MountIpAddresses This property is required. []string
A mount_ip_addresses block as defined below.
Name This property is required. string
The name of this Application Volume Group for SAP HANA application.
Protocols This property is required. []string
A protocols block as defined below.
ProximityPlacementGroupId This property is required. string
The ID of the proximity placement group.
SecurityStyle This property is required. string
Volume security style.
ServiceLevel This property is required. string
The target performance of the file system.
SnapshotDirectoryVisible This property is required. bool
Is the .snapshot (NFS clients) path of a volume visible?
StorageQuotaInGb This property is required. int
The maximum Storage Quota allowed for a file system in Gigabytes.
SubnetId This property is required. string
The ID of the Subnet the NetApp Volume resides in.
Tags This property is required. map[string]string
A mapping of tags assigned to the Application Volume Group.
ThroughputInMibps This property is required. float64
Throughput of this volume in Mibps.
VolumePath This property is required. string
A unique file path for the volume.
VolumeSpecName This property is required. string
Volume spec name.
capacityPoolId This property is required. String
The ID of the Capacity Pool.
dataProtectionReplications This property is required. List<GetVolumeGroupSapHanaVolumeDataProtectionReplication>
A data_protection_replication block as defined below.
dataProtectionSnapshotPolicies This property is required. List<GetVolumeGroupSapHanaVolumeDataProtectionSnapshotPolicy>
A data_protection_snapshot_policy block as defined below.
exportPolicyRules This property is required. List<GetVolumeGroupSapHanaVolumeExportPolicyRule>
A export_policy_rule block as defined below.
id This property is required. String
Volume ID.
mountIpAddresses This property is required. List<String>
A mount_ip_addresses block as defined below.
name This property is required. String
The name of this Application Volume Group for SAP HANA application.
protocols This property is required. List<String>
A protocols block as defined below.
proximityPlacementGroupId This property is required. String
The ID of the proximity placement group.
securityStyle This property is required. String
Volume security style.
serviceLevel This property is required. String
The target performance of the file system.
snapshotDirectoryVisible This property is required. Boolean
Is the .snapshot (NFS clients) path of a volume visible?
storageQuotaInGb This property is required. Integer
The maximum Storage Quota allowed for a file system in Gigabytes.
subnetId This property is required. String
The ID of the Subnet the NetApp Volume resides in.
tags This property is required. Map<String,String>
A mapping of tags assigned to the Application Volume Group.
throughputInMibps This property is required. Double
Throughput of this volume in Mibps.
volumePath This property is required. String
A unique file path for the volume.
volumeSpecName This property is required. String
Volume spec name.
capacityPoolId This property is required. string
The ID of the Capacity Pool.
dataProtectionReplications This property is required. GetVolumeGroupSapHanaVolumeDataProtectionReplication[]
A data_protection_replication block as defined below.
dataProtectionSnapshotPolicies This property is required. GetVolumeGroupSapHanaVolumeDataProtectionSnapshotPolicy[]
A data_protection_snapshot_policy block as defined below.
exportPolicyRules This property is required. GetVolumeGroupSapHanaVolumeExportPolicyRule[]
A export_policy_rule block as defined below.
id This property is required. string
Volume ID.
mountIpAddresses This property is required. string[]
A mount_ip_addresses block as defined below.
name This property is required. string
The name of this Application Volume Group for SAP HANA application.
protocols This property is required. string[]
A protocols block as defined below.
proximityPlacementGroupId This property is required. string
The ID of the proximity placement group.
securityStyle This property is required. string
Volume security style.
serviceLevel This property is required. string
The target performance of the file system.
snapshotDirectoryVisible This property is required. boolean
Is the .snapshot (NFS clients) path of a volume visible?
storageQuotaInGb This property is required. number
The maximum Storage Quota allowed for a file system in Gigabytes.
subnetId This property is required. string
The ID of the Subnet the NetApp Volume resides in.
tags This property is required. {[key: string]: string}
A mapping of tags assigned to the Application Volume Group.
throughputInMibps This property is required. number
Throughput of this volume in Mibps.
volumePath This property is required. string
A unique file path for the volume.
volumeSpecName This property is required. string
Volume spec name.
capacity_pool_id This property is required. str
The ID of the Capacity Pool.
data_protection_replications This property is required. Sequence[GetVolumeGroupSapHanaVolumeDataProtectionReplication]
A data_protection_replication block as defined below.
data_protection_snapshot_policies This property is required. Sequence[GetVolumeGroupSapHanaVolumeDataProtectionSnapshotPolicy]
A data_protection_snapshot_policy block as defined below.
export_policy_rules This property is required. Sequence[GetVolumeGroupSapHanaVolumeExportPolicyRule]
A export_policy_rule block as defined below.
id This property is required. str
Volume ID.
mount_ip_addresses This property is required. Sequence[str]
A mount_ip_addresses block as defined below.
name This property is required. str
The name of this Application Volume Group for SAP HANA application.
protocols This property is required. Sequence[str]
A protocols block as defined below.
proximity_placement_group_id This property is required. str
The ID of the proximity placement group.
security_style This property is required. str
Volume security style.
service_level This property is required. str
The target performance of the file system.
snapshot_directory_visible This property is required. bool
Is the .snapshot (NFS clients) path of a volume visible?
storage_quota_in_gb This property is required. int
The maximum Storage Quota allowed for a file system in Gigabytes.
subnet_id This property is required. str
The ID of the Subnet the NetApp Volume resides in.
tags This property is required. Mapping[str, str]
A mapping of tags assigned to the Application Volume Group.
throughput_in_mibps This property is required. float
Throughput of this volume in Mibps.
volume_path This property is required. str
A unique file path for the volume.
volume_spec_name This property is required. str
Volume spec name.
capacityPoolId This property is required. String
The ID of the Capacity Pool.
dataProtectionReplications This property is required. List<Property Map>
A data_protection_replication block as defined below.
dataProtectionSnapshotPolicies This property is required. List<Property Map>
A data_protection_snapshot_policy block as defined below.
exportPolicyRules This property is required. List<Property Map>
A export_policy_rule block as defined below.
id This property is required. String
Volume ID.
mountIpAddresses This property is required. List<String>
A mount_ip_addresses block as defined below.
name This property is required. String
The name of this Application Volume Group for SAP HANA application.
protocols This property is required. List<String>
A protocols block as defined below.
proximityPlacementGroupId This property is required. String
The ID of the proximity placement group.
securityStyle This property is required. String
Volume security style.
serviceLevel This property is required. String
The target performance of the file system.
snapshotDirectoryVisible This property is required. Boolean
Is the .snapshot (NFS clients) path of a volume visible?
storageQuotaInGb This property is required. Number
The maximum Storage Quota allowed for a file system in Gigabytes.
subnetId This property is required. String
The ID of the Subnet the NetApp Volume resides in.
tags This property is required. Map<String>
A mapping of tags assigned to the Application Volume Group.
throughputInMibps This property is required. Number
Throughput of this volume in Mibps.
volumePath This property is required. String
A unique file path for the volume.
volumeSpecName This property is required. String
Volume spec name.

GetVolumeGroupSapHanaVolumeDataProtectionReplication

EndpointType This property is required. string
The endpoint type.
RemoteVolumeLocation This property is required. string
Location of the primary volume.
RemoteVolumeResourceId This property is required. string
Resource ID of the primary volume.
ReplicationFrequency This property is required. string
Replication frequency.
EndpointType This property is required. string
The endpoint type.
RemoteVolumeLocation This property is required. string
Location of the primary volume.
RemoteVolumeResourceId This property is required. string
Resource ID of the primary volume.
ReplicationFrequency This property is required. string
Replication frequency.
endpointType This property is required. String
The endpoint type.
remoteVolumeLocation This property is required. String
Location of the primary volume.
remoteVolumeResourceId This property is required. String
Resource ID of the primary volume.
replicationFrequency This property is required. String
Replication frequency.
endpointType This property is required. string
The endpoint type.
remoteVolumeLocation This property is required. string
Location of the primary volume.
remoteVolumeResourceId This property is required. string
Resource ID of the primary volume.
replicationFrequency This property is required. string
Replication frequency.
endpoint_type This property is required. str
The endpoint type.
remote_volume_location This property is required. str
Location of the primary volume.
remote_volume_resource_id This property is required. str
Resource ID of the primary volume.
replication_frequency This property is required. str
Replication frequency.
endpointType This property is required. String
The endpoint type.
remoteVolumeLocation This property is required. String
Location of the primary volume.
remoteVolumeResourceId This property is required. String
Resource ID of the primary volume.
replicationFrequency This property is required. String
Replication frequency.

GetVolumeGroupSapHanaVolumeDataProtectionSnapshotPolicy

SnapshotPolicyId This property is required. string
Resource ID of the snapshot policy to apply to the volume.
SnapshotPolicyId This property is required. string
Resource ID of the snapshot policy to apply to the volume.
snapshotPolicyId This property is required. String
Resource ID of the snapshot policy to apply to the volume.
snapshotPolicyId This property is required. string
Resource ID of the snapshot policy to apply to the volume.
snapshot_policy_id This property is required. str
Resource ID of the snapshot policy to apply to the volume.
snapshotPolicyId This property is required. String
Resource ID of the snapshot policy to apply to the volume.

GetVolumeGroupSapHanaVolumeExportPolicyRule

AllowedClients This property is required. string
A list of allowed clients IPv4 addresses.
Nfsv3Enabled This property is required. bool
Is the NFSv3 protocol enabled?
Nfsv41Enabled This property is required. bool
Is the NFSv4.1 enabled?
RootAccessEnabled This property is required. bool
Is root access permitted to this volume?
RuleIndex This property is required. int
The index number of the rule.
UnixReadOnly This property is required. bool
Is the file system on unix read only?.
UnixReadWrite This property is required. bool
Is the file system on unix read and write?.
AllowedClients This property is required. string
A list of allowed clients IPv4 addresses.
Nfsv3Enabled This property is required. bool
Is the NFSv3 protocol enabled?
Nfsv41Enabled This property is required. bool
Is the NFSv4.1 enabled?
RootAccessEnabled This property is required. bool
Is root access permitted to this volume?
RuleIndex This property is required. int
The index number of the rule.
UnixReadOnly This property is required. bool
Is the file system on unix read only?.
UnixReadWrite This property is required. bool
Is the file system on unix read and write?.
allowedClients This property is required. String
A list of allowed clients IPv4 addresses.
nfsv3Enabled This property is required. Boolean
Is the NFSv3 protocol enabled?
nfsv41Enabled This property is required. Boolean
Is the NFSv4.1 enabled?
rootAccessEnabled This property is required. Boolean
Is root access permitted to this volume?
ruleIndex This property is required. Integer
The index number of the rule.
unixReadOnly This property is required. Boolean
Is the file system on unix read only?.
unixReadWrite This property is required. Boolean
Is the file system on unix read and write?.
allowedClients This property is required. string
A list of allowed clients IPv4 addresses.
nfsv3Enabled This property is required. boolean
Is the NFSv3 protocol enabled?
nfsv41Enabled This property is required. boolean
Is the NFSv4.1 enabled?
rootAccessEnabled This property is required. boolean
Is root access permitted to this volume?
ruleIndex This property is required. number
The index number of the rule.
unixReadOnly This property is required. boolean
Is the file system on unix read only?.
unixReadWrite This property is required. boolean
Is the file system on unix read and write?.
allowed_clients This property is required. str
A list of allowed clients IPv4 addresses.
nfsv3_enabled This property is required. bool
Is the NFSv3 protocol enabled?
nfsv41_enabled This property is required. bool
Is the NFSv4.1 enabled?
root_access_enabled This property is required. bool
Is root access permitted to this volume?
rule_index This property is required. int
The index number of the rule.
unix_read_only This property is required. bool
Is the file system on unix read only?.
unix_read_write This property is required. bool
Is the file system on unix read and write?.
allowedClients This property is required. String
A list of allowed clients IPv4 addresses.
nfsv3Enabled This property is required. Boolean
Is the NFSv3 protocol enabled?
nfsv41Enabled This property is required. Boolean
Is the NFSv4.1 enabled?
rootAccessEnabled This property is required. Boolean
Is root access permitted to this volume?
ruleIndex This property is required. Number
The index number of the rule.
unixReadOnly This property is required. Boolean
Is the file system on unix read only?.
unixReadWrite This property is required. Boolean
Is the file system on unix read and write?.

Package Details

Repository
Azure Classic pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi