We recommend using Azure Native.
Azure v6.21.0 published on Friday, Mar 7, 2025 by Pulumi
azure.netapp.getVolumeGroupSapHana
Explore with Pulumi AI
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);
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)
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
	})
}
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),
    };
});
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()));
    }
}
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}
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>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]func LookupVolumeGroupSapHana(ctx *Context, args *LookupVolumeGroupSapHanaArgs, opts ...InvokeOption) (*LookupVolumeGroupSapHanaResult, error)
func LookupVolumeGroupSapHanaOutput(ctx *Context, args *LookupVolumeGroupSapHanaOutputArgs, opts ...InvokeOption) LookupVolumeGroupSapHanaResultOutput> 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)
}public static CompletableFuture<GetVolumeGroupSapHanaResult> getVolumeGroupSapHana(GetVolumeGroupSapHanaArgs args, InvokeOptions options)
public static Output<GetVolumeGroupSapHanaResult> getVolumeGroupSapHana(GetVolumeGroupSapHanaArgs args, InvokeOptions options)
fn::invoke:
  function: azure:netapp/getVolumeGroupSapHana:getVolumeGroupSapHana
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AccountName string
- Name of the account where the application volume group belong to.
- Name string
- The name of this Application Volume Group for SAP HANA application.
- ResourceGroup stringName 
- The name of the Resource Group where the Application Volume Group exists.
- AccountName string
- Name of the account where the application volume group belong to.
- Name string
- The name of this Application Volume Group for SAP HANA application.
- ResourceGroup stringName 
- The name of the Resource Group where the Application Volume Group exists.
- accountName String
- Name of the account where the application volume group belong to.
- name String
- The name of this Application Volume Group for SAP HANA application.
- resourceGroup StringName 
- The name of the Resource Group where the Application Volume Group exists.
- accountName string
- Name of the account where the application volume group belong to.
- name string
- The name of this Application Volume Group for SAP HANA application.
- resourceGroup stringName 
- The name of the Resource Group where the Application Volume Group exists.
- account_name str
- Name of the account where the application volume group belong to.
- name str
- The name of this Application Volume Group for SAP HANA application.
- resource_group_ strname 
- The name of the Resource Group where the Application Volume Group exists.
- accountName String
- Name of the account where the application volume group belong to.
- name String
- The name of this Application Volume Group for SAP HANA application.
- resourceGroup StringName 
- 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.
- ResourceGroup stringName 
- Volumes
List<GetVolume Group Sap Hana Volume> 
- A volumeblock 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.
- ResourceGroup stringName 
- Volumes
[]GetVolume Group Sap Hana Volume 
- A volumeblock 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.
- resourceGroup StringName 
- volumes
List<GetVolume Group Sap Hana Volume> 
- A volumeblock 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.
- resourceGroup stringName 
- volumes
GetVolume Group Sap Hana Volume[] 
- A volumeblock 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_ strname 
- volumes
Sequence[GetVolume Group Sap Hana Volume] 
- A volumeblock 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.
- resourceGroup StringName 
- volumes List<Property Map>
- A volumeblock as defined below.
Supporting Types
GetVolumeGroupSapHanaVolume     
- CapacityPool stringId 
- The ID of the Capacity Pool.
- DataProtection List<GetReplications Volume Group Sap Hana Volume Data Protection Replication> 
- A data_protection_replicationblock as defined below.
- DataProtection List<GetSnapshot Policies Volume Group Sap Hana Volume Data Protection Snapshot Policy> 
- A data_protection_snapshot_policyblock as defined below.
- ExportPolicy List<GetRules Volume Group Sap Hana Volume Export Policy Rule> 
- A export_policy_ruleblock as defined below.
- Id string
- Volume ID.
- MountIp List<string>Addresses 
- A mount_ip_addressesblock as defined below.
- Name string
- The name of this Application Volume Group for SAP HANA application.
- Protocols List<string>
- A protocolsblock as defined below.
- ProximityPlacement stringGroup Id 
- The ID of the proximity placement group.
- SecurityStyle string
- Volume security style.
- ServiceLevel string
- The target performance of the file system.
- SnapshotDirectory boolVisible 
- Is the .snapshot (NFS clients) path of a volume visible?
- StorageQuota intIn Gb 
- The maximum Storage Quota allowed for a file system in Gigabytes.
- SubnetId string
- The ID of the Subnet the NetApp Volume resides in.
- Dictionary<string, string>
- A mapping of tags assigned to the Application Volume Group.
- ThroughputIn doubleMibps 
- Throughput of this volume in Mibps.
- VolumePath string
- A unique file path for the volume.
- VolumeSpec stringName 
- Volume spec name.
- CapacityPool stringId 
- The ID of the Capacity Pool.
- DataProtection []GetReplications Volume Group Sap Hana Volume Data Protection Replication 
- A data_protection_replicationblock as defined below.
- DataProtection []GetSnapshot Policies Volume Group Sap Hana Volume Data Protection Snapshot Policy 
- A data_protection_snapshot_policyblock as defined below.
- ExportPolicy []GetRules Volume Group Sap Hana Volume Export Policy Rule 
- A export_policy_ruleblock as defined below.
- Id string
- Volume ID.
- MountIp []stringAddresses 
- A mount_ip_addressesblock as defined below.
- Name string
- The name of this Application Volume Group for SAP HANA application.
- Protocols []string
- A protocolsblock as defined below.
- ProximityPlacement stringGroup Id 
- The ID of the proximity placement group.
- SecurityStyle string
- Volume security style.
- ServiceLevel string
- The target performance of the file system.
- SnapshotDirectory boolVisible 
- Is the .snapshot (NFS clients) path of a volume visible?
- StorageQuota intIn Gb 
- The maximum Storage Quota allowed for a file system in Gigabytes.
- SubnetId string
- The ID of the Subnet the NetApp Volume resides in.
- map[string]string
- A mapping of tags assigned to the Application Volume Group.
- ThroughputIn float64Mibps 
- Throughput of this volume in Mibps.
- VolumePath string
- A unique file path for the volume.
- VolumeSpec stringName 
- Volume spec name.
- capacityPool StringId 
- The ID of the Capacity Pool.
- dataProtection List<GetReplications Volume Group Sap Hana Volume Data Protection Replication> 
- A data_protection_replicationblock as defined below.
- dataProtection List<GetSnapshot Policies Volume Group Sap Hana Volume Data Protection Snapshot Policy> 
- A data_protection_snapshot_policyblock as defined below.
- exportPolicy List<GetRules Volume Group Sap Hana Volume Export Policy Rule> 
- A export_policy_ruleblock as defined below.
- id String
- Volume ID.
- mountIp List<String>Addresses 
- A mount_ip_addressesblock as defined below.
- name String
- The name of this Application Volume Group for SAP HANA application.
- protocols List<String>
- A protocolsblock as defined below.
- proximityPlacement StringGroup Id 
- The ID of the proximity placement group.
- securityStyle String
- Volume security style.
- serviceLevel String
- The target performance of the file system.
- snapshotDirectory BooleanVisible 
- Is the .snapshot (NFS clients) path of a volume visible?
- storageQuota IntegerIn Gb 
- The maximum Storage Quota allowed for a file system in Gigabytes.
- subnetId String
- The ID of the Subnet the NetApp Volume resides in.
- Map<String,String>
- A mapping of tags assigned to the Application Volume Group.
- throughputIn DoubleMibps 
- Throughput of this volume in Mibps.
- volumePath String
- A unique file path for the volume.
- volumeSpec StringName 
- Volume spec name.
- capacityPool stringId 
- The ID of the Capacity Pool.
- dataProtection GetReplications Volume Group Sap Hana Volume Data Protection Replication[] 
- A data_protection_replicationblock as defined below.
- dataProtection GetSnapshot Policies Volume Group Sap Hana Volume Data Protection Snapshot Policy[] 
- A data_protection_snapshot_policyblock as defined below.
- exportPolicy GetRules Volume Group Sap Hana Volume Export Policy Rule[] 
- A export_policy_ruleblock as defined below.
- id string
- Volume ID.
- mountIp string[]Addresses 
- A mount_ip_addressesblock as defined below.
- name string
- The name of this Application Volume Group for SAP HANA application.
- protocols string[]
- A protocolsblock as defined below.
- proximityPlacement stringGroup Id 
- The ID of the proximity placement group.
- securityStyle string
- Volume security style.
- serviceLevel string
- The target performance of the file system.
- snapshotDirectory booleanVisible 
- Is the .snapshot (NFS clients) path of a volume visible?
- storageQuota numberIn Gb 
- The maximum Storage Quota allowed for a file system in Gigabytes.
- subnetId string
- The ID of the Subnet the NetApp Volume resides in.
- {[key: string]: string}
- A mapping of tags assigned to the Application Volume Group.
- throughputIn numberMibps 
- Throughput of this volume in Mibps.
- volumePath string
- A unique file path for the volume.
- volumeSpec stringName 
- Volume spec name.
- capacity_pool_ strid 
- The ID of the Capacity Pool.
- data_protection_ Sequence[Getreplications Volume Group Sap Hana Volume Data Protection Replication] 
- A data_protection_replicationblock as defined below.
- data_protection_ Sequence[Getsnapshot_ policies Volume Group Sap Hana Volume Data Protection Snapshot Policy] 
- A data_protection_snapshot_policyblock as defined below.
- export_policy_ Sequence[Getrules Volume Group Sap Hana Volume Export Policy Rule] 
- A export_policy_ruleblock as defined below.
- id str
- Volume ID.
- mount_ip_ Sequence[str]addresses 
- A mount_ip_addressesblock as defined below.
- name str
- The name of this Application Volume Group for SAP HANA application.
- protocols Sequence[str]
- A protocolsblock as defined below.
- proximity_placement_ strgroup_ id 
- The ID of the proximity placement group.
- security_style str
- Volume security style.
- service_level str
- The target performance of the file system.
- snapshot_directory_ boolvisible 
- Is the .snapshot (NFS clients) path of a volume visible?
- storage_quota_ intin_ gb 
- The maximum Storage Quota allowed for a file system in Gigabytes.
- subnet_id str
- The ID of the Subnet the NetApp Volume resides in.
- Mapping[str, str]
- A mapping of tags assigned to the Application Volume Group.
- throughput_in_ floatmibps 
- Throughput of this volume in Mibps.
- volume_path str
- A unique file path for the volume.
- volume_spec_ strname 
- Volume spec name.
- capacityPool StringId 
- The ID of the Capacity Pool.
- dataProtection List<Property Map>Replications 
- A data_protection_replicationblock as defined below.
- dataProtection List<Property Map>Snapshot Policies 
- A data_protection_snapshot_policyblock as defined below.
- exportPolicy List<Property Map>Rules 
- A export_policy_ruleblock as defined below.
- id String
- Volume ID.
- mountIp List<String>Addresses 
- A mount_ip_addressesblock as defined below.
- name String
- The name of this Application Volume Group for SAP HANA application.
- protocols List<String>
- A protocolsblock as defined below.
- proximityPlacement StringGroup Id 
- The ID of the proximity placement group.
- securityStyle String
- Volume security style.
- serviceLevel String
- The target performance of the file system.
- snapshotDirectory BooleanVisible 
- Is the .snapshot (NFS clients) path of a volume visible?
- storageQuota NumberIn Gb 
- The maximum Storage Quota allowed for a file system in Gigabytes.
- subnetId String
- The ID of the Subnet the NetApp Volume resides in.
- Map<String>
- A mapping of tags assigned to the Application Volume Group.
- throughputIn NumberMibps 
- Throughput of this volume in Mibps.
- volumePath String
- A unique file path for the volume.
- volumeSpec StringName 
- Volume spec name.
GetVolumeGroupSapHanaVolumeDataProtectionReplication        
- EndpointType string
- The endpoint type.
- RemoteVolume stringLocation 
- Location of the primary volume.
- RemoteVolume stringResource Id 
- Resource ID of the primary volume.
- ReplicationFrequency string
- Replication frequency.
- EndpointType string
- The endpoint type.
- RemoteVolume stringLocation 
- Location of the primary volume.
- RemoteVolume stringResource Id 
- Resource ID of the primary volume.
- ReplicationFrequency string
- Replication frequency.
- endpointType String
- The endpoint type.
- remoteVolume StringLocation 
- Location of the primary volume.
- remoteVolume StringResource Id 
- Resource ID of the primary volume.
- replicationFrequency String
- Replication frequency.
- endpointType string
- The endpoint type.
- remoteVolume stringLocation 
- Location of the primary volume.
- remoteVolume stringResource Id 
- Resource ID of the primary volume.
- replicationFrequency string
- Replication frequency.
- endpoint_type str
- The endpoint type.
- remote_volume_ strlocation 
- Location of the primary volume.
- remote_volume_ strresource_ id 
- Resource ID of the primary volume.
- replication_frequency str
- Replication frequency.
- endpointType String
- The endpoint type.
- remoteVolume StringLocation 
- Location of the primary volume.
- remoteVolume StringResource Id 
- Resource ID of the primary volume.
- replicationFrequency String
- Replication frequency.
GetVolumeGroupSapHanaVolumeDataProtectionSnapshotPolicy         
- SnapshotPolicy stringId 
- Resource ID of the snapshot policy to apply to the volume.
- SnapshotPolicy stringId 
- Resource ID of the snapshot policy to apply to the volume.
- snapshotPolicy StringId 
- Resource ID of the snapshot policy to apply to the volume.
- snapshotPolicy stringId 
- Resource ID of the snapshot policy to apply to the volume.
- snapshot_policy_ strid 
- Resource ID of the snapshot policy to apply to the volume.
- snapshotPolicy StringId 
- Resource ID of the snapshot policy to apply to the volume.
GetVolumeGroupSapHanaVolumeExportPolicyRule        
- AllowedClients string
- A list of allowed clients IPv4 addresses.
- Nfsv3Enabled bool
- Is the NFSv3 protocol enabled?
- Nfsv41Enabled bool
- Is the NFSv4.1 enabled?
- RootAccess boolEnabled 
- Is root access permitted to this volume?
- RuleIndex int
- The index number of the rule.
- UnixRead boolOnly 
- Is the file system on unix read only?.
- UnixRead boolWrite 
- Is the file system on unix read and write?.
- AllowedClients string
- A list of allowed clients IPv4 addresses.
- Nfsv3Enabled bool
- Is the NFSv3 protocol enabled?
- Nfsv41Enabled bool
- Is the NFSv4.1 enabled?
- RootAccess boolEnabled 
- Is root access permitted to this volume?
- RuleIndex int
- The index number of the rule.
- UnixRead boolOnly 
- Is the file system on unix read only?.
- UnixRead boolWrite 
- Is the file system on unix read and write?.
- allowedClients String
- A list of allowed clients IPv4 addresses.
- nfsv3Enabled Boolean
- Is the NFSv3 protocol enabled?
- nfsv41Enabled Boolean
- Is the NFSv4.1 enabled?
- rootAccess BooleanEnabled 
- Is root access permitted to this volume?
- ruleIndex Integer
- The index number of the rule.
- unixRead BooleanOnly 
- Is the file system on unix read only?.
- unixRead BooleanWrite 
- Is the file system on unix read and write?.
- allowedClients string
- A list of allowed clients IPv4 addresses.
- nfsv3Enabled boolean
- Is the NFSv3 protocol enabled?
- nfsv41Enabled boolean
- Is the NFSv4.1 enabled?
- rootAccess booleanEnabled 
- Is root access permitted to this volume?
- ruleIndex number
- The index number of the rule.
- unixRead booleanOnly 
- Is the file system on unix read only?.
- unixRead booleanWrite 
- Is the file system on unix read and write?.
- allowed_clients str
- A list of allowed clients IPv4 addresses.
- nfsv3_enabled bool
- Is the NFSv3 protocol enabled?
- nfsv41_enabled bool
- Is the NFSv4.1 enabled?
- root_access_ boolenabled 
- Is root access permitted to this volume?
- rule_index int
- The index number of the rule.
- unix_read_ boolonly 
- Is the file system on unix read only?.
- unix_read_ boolwrite 
- Is the file system on unix read and write?.
- allowedClients String
- A list of allowed clients IPv4 addresses.
- nfsv3Enabled Boolean
- Is the NFSv3 protocol enabled?
- nfsv41Enabled Boolean
- Is the NFSv4.1 enabled?
- rootAccess BooleanEnabled 
- Is root access permitted to this volume?
- ruleIndex Number
- The index number of the rule.
- unixRead BooleanOnly 
- Is the file system on unix read only?.
- unixRead BooleanWrite 
- 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 azurermTerraform Provider.