We recommend using Azure Native.
Azure v6.22.0 published on Tuesday, Apr 1, 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 dictionary
The following arguments are supported:
- Account
Name 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.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the Resource Group where the Application Volume Group exists.
- Account
Name 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.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the Resource Group where the Application Volume Group exists.
- account
Name 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.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the Resource Group where the Application Volume Group exists.
- account
Name 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.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- 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.
- The name of the Resource Group where the Application Volume Group exists.
- account
Name 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.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the Resource Group where the Application Volume Group exists.
getVolumeGroupSapHana Result
The following output properties are available:
- Account
Name string - Application
Identifier string - The application identifier.
- Group
Description 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.
- Resource
Group stringName - Volumes
List<Get
Volume Group Sap Hana Volume> - A
volume
block as defined below.
- Account
Name string - Application
Identifier string - The application identifier.
- Group
Description 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.
- Resource
Group stringName - Volumes
[]Get
Volume Group Sap Hana Volume - A
volume
block as defined below.
- account
Name String - application
Identifier String - The application identifier.
- group
Description 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.
- resource
Group StringName - volumes
List<Get
Volume Group Sap Hana Volume> - A
volume
block as defined below.
- account
Name string - application
Identifier string - The application identifier.
- group
Description 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.
- resource
Group stringName - volumes
Get
Volume Group Sap Hana Volume[] - 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_ strname - volumes
Sequence[Get
Volume Group Sap Hana Volume] - A
volume
block as defined below.
- account
Name String - application
Identifier String - The application identifier.
- group
Description 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.
- resource
Group StringName - volumes List<Property Map>
- A
volume
block as defined below.
Supporting Types
GetVolumeGroupSapHanaVolume
- Capacity
Pool Id This property is required. string - The ID of the Capacity Pool.
- Data
Protection Replications This property is required. List<GetVolume Group Sap Hana Volume Data Protection Replication> - A
data_protection_replication
block as defined below. - Data
Protection Snapshot Policies This property is required. List<GetVolume Group Sap Hana Volume Data Protection Snapshot Policy> - A
data_protection_snapshot_policy
block as defined below. - Export
Policy Rules This property is required. List<GetVolume Group Sap Hana Volume Export Policy Rule> - A
export_policy_rule
block as defined below. - Id
This property is required. string - Volume ID.
- Mount
Ip Addresses 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. - Proximity
Placement Group Id This property is required. string - The ID of the proximity placement group.
- Security
Style This property is required. string - Volume security style.
- Service
Level This property is required. string - 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. string - The ID of the Subnet the NetApp Volume resides in.
This property is required. Dictionary<string, string>- A mapping of tags assigned to the Application Volume Group.
- Throughput
In Mibps This property is required. double - Throughput of this volume in Mibps.
- Volume
Path This property is required. string - A unique file path for the volume.
- Volume
Spec Name This property is required. string - Volume spec name.
- Capacity
Pool Id This property is required. string - The ID of the Capacity Pool.
- Data
Protection Replications This property is required. []GetVolume Group Sap Hana Volume Data Protection Replication - A
data_protection_replication
block as defined below. - Data
Protection Snapshot Policies This property is required. []GetVolume Group Sap Hana Volume Data Protection Snapshot Policy - A
data_protection_snapshot_policy
block as defined below. - Export
Policy Rules This property is required. []GetVolume Group Sap Hana Volume Export Policy Rule - A
export_policy_rule
block as defined below. - Id
This property is required. string - Volume ID.
- Mount
Ip Addresses 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. - Proximity
Placement Group Id This property is required. string - The ID of the proximity placement group.
- Security
Style This property is required. string - Volume security style.
- Service
Level This property is required. string - 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. string - The ID of the Subnet the NetApp Volume resides in.
This property is required. map[string]string- A mapping of tags assigned to the Application Volume Group.
- Throughput
In Mibps This property is required. float64 - Throughput of this volume in Mibps.
- Volume
Path This property is required. string - A unique file path for the volume.
- Volume
Spec Name This property is required. string - Volume spec name.
- capacity
Pool Id This property is required. String - The ID of the Capacity Pool.
- data
Protection Replications This property is required. List<GetVolume Group Sap Hana Volume Data Protection Replication> - A
data_protection_replication
block as defined below. - data
Protection Snapshot Policies This property is required. List<GetVolume Group Sap Hana Volume Data Protection Snapshot Policy> - A
data_protection_snapshot_policy
block as defined below. - export
Policy Rules This property is required. List<GetVolume Group Sap Hana Volume Export Policy Rule> - A
export_policy_rule
block as defined below. - id
This property is required. String - Volume ID.
- mount
Ip Addresses 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. - proximity
Placement Group Id This property is required. String - The ID of the proximity placement group.
- security
Style This property is required. String - Volume security style.
- service
Level This property is required. String - The target performance of the file system.
- snapshot
Directory Visible This property is required. Boolean - Is the .snapshot (NFS clients) path of a volume visible?
- storage
Quota In Gb This property is required. Integer - The maximum Storage Quota allowed for a file system in Gigabytes.
- subnet
Id This property is required. String - The ID of the Subnet the NetApp Volume resides in.
This property is required. Map<String,String>- A mapping of tags assigned to the Application Volume Group.
- throughput
In Mibps This property is required. Double - Throughput of this volume in Mibps.
- volume
Path This property is required. String - A unique file path for the volume.
- volume
Spec Name This property is required. String - Volume spec name.
- capacity
Pool Id This property is required. string - The ID of the Capacity Pool.
- data
Protection Replications This property is required. GetVolume Group Sap Hana Volume Data Protection Replication[] - A
data_protection_replication
block as defined below. - data
Protection Snapshot Policies This property is required. GetVolume Group Sap Hana Volume Data Protection Snapshot Policy[] - A
data_protection_snapshot_policy
block as defined below. - export
Policy Rules This property is required. GetVolume Group Sap Hana Volume Export Policy Rule[] - A
export_policy_rule
block as defined below. - id
This property is required. string - Volume ID.
- mount
Ip Addresses 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. - proximity
Placement Group Id This property is required. string - The ID of the proximity placement group.
- security
Style This property is required. string - Volume security style.
- service
Level This property is required. string - The target performance of the file system.
- snapshot
Directory Visible This property is required. boolean - Is the .snapshot (NFS clients) path of a volume visible?
- storage
Quota In Gb This property is required. number - The maximum Storage Quota allowed for a file system in Gigabytes.
- subnet
Id This property is required. string - The ID of the Subnet the NetApp Volume resides in.
This property is required. {[key: string]: string}- A mapping of tags assigned to the Application Volume Group.
- throughput
In Mibps This property is required. number - Throughput of this volume in Mibps.
- volume
Path This property is required. string - A unique file path for the volume.
- volume
Spec Name 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[GetVolume Group Sap Hana Volume Data Protection Replication] - A
data_protection_replication
block as defined below. - data_
protection_ snapshot_ policies This property is required. Sequence[GetVolume Group Sap Hana Volume Data Protection Snapshot Policy] - A
data_protection_snapshot_policy
block as defined below. - export_
policy_ rules This property is required. Sequence[GetVolume Group Sap Hana Volume Export Policy Rule] - 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.
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.
- capacity
Pool Id This property is required. String - The ID of the Capacity Pool.
- data
Protection Replications This property is required. List<Property Map> - A
data_protection_replication
block as defined below. - data
Protection Snapshot Policies This property is required. List<Property Map> - A
data_protection_snapshot_policy
block as defined below. - export
Policy Rules This property is required. List<Property Map> - A
export_policy_rule
block as defined below. - id
This property is required. String - Volume ID.
- mount
Ip Addresses 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. - proximity
Placement Group Id This property is required. String - The ID of the proximity placement group.
- security
Style This property is required. String - Volume security style.
- service
Level This property is required. String - The target performance of the file system.
- snapshot
Directory Visible This property is required. Boolean - Is the .snapshot (NFS clients) path of a volume visible?
- storage
Quota In Gb This property is required. Number - The maximum Storage Quota allowed for a file system in Gigabytes.
- subnet
Id This property is required. String - The ID of the Subnet the NetApp Volume resides in.
This property is required. Map<String>- A mapping of tags assigned to the Application Volume Group.
- throughput
In Mibps This property is required. Number - Throughput of this volume in Mibps.
- volume
Path This property is required. String - A unique file path for the volume.
- volume
Spec Name This property is required. String - Volume spec name.
GetVolumeGroupSapHanaVolumeDataProtectionReplication
- Endpoint
Type This property is required. string - The endpoint type.
- Remote
Volume Location This property is required. string - Location of the primary volume.
- Remote
Volume Resource Id This property is required. string - Resource ID of the primary volume.
- Replication
Frequency This property is required. string - Replication frequency.
- Endpoint
Type This property is required. string - The endpoint type.
- Remote
Volume Location This property is required. string - Location of the primary volume.
- Remote
Volume Resource Id This property is required. string - Resource ID of the primary volume.
- Replication
Frequency This property is required. string - Replication frequency.
- endpoint
Type This property is required. String - The endpoint type.
- remote
Volume Location This property is required. String - Location of the primary volume.
- remote
Volume Resource Id This property is required. String - Resource ID of the primary volume.
- replication
Frequency This property is required. String - Replication frequency.
- endpoint
Type This property is required. string - The endpoint type.
- remote
Volume Location This property is required. string - Location of the primary volume.
- remote
Volume Resource Id This property is required. string - Resource ID of the primary volume.
- replication
Frequency 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.
- endpoint
Type This property is required. String - The endpoint type.
- remote
Volume Location This property is required. String - Location of the primary volume.
- remote
Volume Resource Id This property is required. String - Resource ID of the primary volume.
- replication
Frequency This property is required. String - Replication frequency.
GetVolumeGroupSapHanaVolumeDataProtectionSnapshotPolicy
- Snapshot
Policy Id This property is required. string - Resource ID of the snapshot policy to apply to the volume.
- Snapshot
Policy Id This property is required. string - Resource ID of the snapshot policy to apply to the volume.
- snapshot
Policy Id This property is required. String - Resource ID of the snapshot policy to apply to the volume.
- snapshot
Policy Id 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.
- snapshot
Policy Id This property is required. String - Resource ID of the snapshot policy to apply to the volume.
GetVolumeGroupSapHanaVolumeExportPolicyRule
- Allowed
Clients 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?
- 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?.
- Allowed
Clients 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?
- 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?.
- allowed
Clients 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?
- root
Access Enabled This property is required. Boolean - Is root access permitted to this volume?
- rule
Index This property is required. Integer - The index number of the rule.
- unix
Read Only This property is required. Boolean - Is the file system on unix read only?.
- unix
Read Write This property is required. Boolean - Is the file system on unix read and write?.
- allowed
Clients 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?
- root
Access Enabled This property is required. boolean - Is root access permitted to this volume?
- rule
Index This property is required. number - The index number of the rule.
- unix
Read Only This property is required. boolean - Is the file system on unix read only?.
- unix
Read Write 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?.
- allowed
Clients 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?
- root
Access Enabled This property is required. Boolean - Is root access permitted to this volume?
- rule
Index This property is required. Number - The index number of the rule.
- unix
Read Only This property is required. Boolean - Is the file system on unix read only?.
- unix
Read Write 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.