We recommend using Azure Native.
Azure Classic v5.81.0 published on Monday, Jun 24, 2024 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/v5/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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure:netapp/getVolumeGroupSapHana:getVolumeGroupSapHana
arguments:
# arguments dictionary
The following arguments are supported:
- Account
Name 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.
- Resource
Group stringName - The name of the Resource Group where the Application Volume Group exists.
- Account
Name 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.
- Resource
Group stringName - The name of the Resource Group where the Application Volume Group exists.
- account
Name 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.
- resource
Group StringName - The name of the Resource Group where the Application Volume Group exists.
- account
Name 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.
- resource
Group 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.
- account
Name 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.
- resource
Group StringName - 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 stringId - The ID of the Capacity Pool.
- Data
Protection List<GetReplications Volume Group Sap Hana Volume Data Protection Replication> - A
data_protection_replication
block as defined below. - Data
Protection List<GetSnapshot Policies Volume Group Sap Hana Volume Data Protection Snapshot Policy> - A
data_protection_snapshot_policy
block as defined below. - Export
Policy List<GetRules Volume Group Sap Hana Volume Export Policy Rule> - A
export_policy_rule
block as defined below. - Id string
- Volume ID.
- Mount
Ip List<string>Addresses - A
mount_ip_addresses
block as defined below. - Name string
- The name of this Application Volume Group for SAP HANA application.
- Protocols List<string>
- A
protocols
block as defined below. - Proximity
Placement stringGroup Id - The ID of the proximity placement group.
- Security
Style string - Volume security style.
- Service
Level string - 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 string - The ID of the Subnet the NetApp Volume resides in.
- Dictionary<string, string>
- A mapping of tags assigned to the Application Volume Group.
- Throughput
In doubleMibps - Throughput of this volume in Mibps.
- Volume
Path string - A unique file path for the volume.
- Volume
Spec stringName - Volume spec name.
- Capacity
Pool stringId - The ID of the Capacity Pool.
- Data
Protection []GetReplications Volume Group Sap Hana Volume Data Protection Replication - A
data_protection_replication
block as defined below. - Data
Protection []GetSnapshot Policies Volume Group Sap Hana Volume Data Protection Snapshot Policy - A
data_protection_snapshot_policy
block as defined below. - Export
Policy []GetRules Volume Group Sap Hana Volume Export Policy Rule - A
export_policy_rule
block as defined below. - Id string
- Volume ID.
- Mount
Ip []stringAddresses - A
mount_ip_addresses
block as defined below. - Name string
- The name of this Application Volume Group for SAP HANA application.
- Protocols []string
- A
protocols
block as defined below. - Proximity
Placement stringGroup Id - The ID of the proximity placement group.
- Security
Style string - Volume security style.
- Service
Level string - 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 string - The ID of the Subnet the NetApp Volume resides in.
- map[string]string
- A mapping of tags assigned to the Application Volume Group.
- Throughput
In float64Mibps - Throughput of this volume in Mibps.
- Volume
Path string - A unique file path for the volume.
- Volume
Spec stringName - Volume spec name.
- capacity
Pool StringId - The ID of the Capacity Pool.
- data
Protection List<GetReplications Volume Group Sap Hana Volume Data Protection Replication> - A
data_protection_replication
block as defined below. - data
Protection List<GetSnapshot Policies Volume Group Sap Hana Volume Data Protection Snapshot Policy> - A
data_protection_snapshot_policy
block as defined below. - export
Policy List<GetRules Volume Group Sap Hana Volume Export Policy Rule> - A
export_policy_rule
block as defined below. - id String
- Volume ID.
- mount
Ip List<String>Addresses - A
mount_ip_addresses
block as defined below. - name String
- The name of this Application Volume Group for SAP HANA application.
- protocols List<String>
- A
protocols
block as defined below. - proximity
Placement StringGroup Id - The ID of the proximity placement group.
- security
Style String - Volume security style.
- service
Level String - The target performance of the file system.
- snapshot
Directory BooleanVisible - Is the .snapshot (NFS clients) path of a volume visible?
- storage
Quota IntegerIn Gb - The maximum Storage Quota allowed for a file system in Gigabytes.
- subnet
Id String - The ID of the Subnet the NetApp Volume resides in.
- Map<String,String>
- A mapping of tags assigned to the Application Volume Group.
- throughput
In DoubleMibps - Throughput of this volume in Mibps.
- volume
Path String - A unique file path for the volume.
- volume
Spec StringName - Volume spec name.
- capacity
Pool stringId - The ID of the Capacity Pool.
- data
Protection GetReplications Volume Group Sap Hana Volume Data Protection Replication[] - A
data_protection_replication
block as defined below. - data
Protection GetSnapshot Policies Volume Group Sap Hana Volume Data Protection Snapshot Policy[] - A
data_protection_snapshot_policy
block as defined below. - export
Policy GetRules Volume Group Sap Hana Volume Export Policy Rule[] - A
export_policy_rule
block as defined below. - id string
- Volume ID.
- mount
Ip string[]Addresses - A
mount_ip_addresses
block as defined below. - name string
- The name of this Application Volume Group for SAP HANA application.
- protocols string[]
- A
protocols
block as defined below. - proximity
Placement stringGroup Id - The ID of the proximity placement group.
- security
Style string - Volume security style.
- service
Level string - The target performance of the file system.
- snapshot
Directory booleanVisible - Is the .snapshot (NFS clients) path of a volume visible?
- storage
Quota numberIn Gb - The maximum Storage Quota allowed for a file system in Gigabytes.
- subnet
Id string - The ID of the Subnet the NetApp Volume resides in.
- {[key: string]: string}
- A mapping of tags assigned to the Application Volume Group.
- throughput
In numberMibps - Throughput of this volume in Mibps.
- volume
Path string - A unique file path for the volume.
- volume
Spec 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_replication
block as defined below. - data_
protection_ Sequence[Getsnapshot_ policies Volume Group Sap Hana Volume Data Protection Snapshot Policy] - A
data_protection_snapshot_policy
block as defined below. - export_
policy_ Sequence[Getrules Volume Group Sap Hana Volume Export Policy Rule] - A
export_policy_rule
block as defined below. - id str
- Volume ID.
- mount_
ip_ Sequence[str]addresses - A
mount_ip_addresses
block as defined below. - name str
- The name of this Application Volume Group for SAP HANA application.
- protocols Sequence[str]
- A
protocols
block 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.
- capacity
Pool StringId - The ID of the Capacity Pool.
- data
Protection List<Property Map>Replications - A
data_protection_replication
block as defined below. - data
Protection List<Property Map>Snapshot Policies - A
data_protection_snapshot_policy
block as defined below. - export
Policy List<Property Map>Rules - A
export_policy_rule
block as defined below. - id String
- Volume ID.
- mount
Ip List<String>Addresses - A
mount_ip_addresses
block as defined below. - name String
- The name of this Application Volume Group for SAP HANA application.
- protocols List<String>
- A
protocols
block as defined below. - proximity
Placement StringGroup Id - The ID of the proximity placement group.
- security
Style String - Volume security style.
- service
Level String - The target performance of the file system.
- snapshot
Directory BooleanVisible - Is the .snapshot (NFS clients) path of a volume visible?
- storage
Quota NumberIn Gb - The maximum Storage Quota allowed for a file system in Gigabytes.
- subnet
Id String - The ID of the Subnet the NetApp Volume resides in.
- Map<String>
- A mapping of tags assigned to the Application Volume Group.
- throughput
In NumberMibps - Throughput of this volume in Mibps.
- volume
Path String - A unique file path for the volume.
- volume
Spec StringName - Volume spec name.
GetVolumeGroupSapHanaVolumeDataProtectionReplication
- Endpoint
Type string - The endpoint type.
- Remote
Volume stringLocation - Location of the primary volume.
- Remote
Volume stringResource Id - Resource ID of the primary volume.
- Replication
Frequency string - Replication frequency.
- Endpoint
Type string - The endpoint type.
- Remote
Volume stringLocation - Location of the primary volume.
- Remote
Volume stringResource Id - Resource ID of the primary volume.
- Replication
Frequency string - Replication frequency.
- endpoint
Type String - The endpoint type.
- remote
Volume StringLocation - Location of the primary volume.
- remote
Volume StringResource Id - Resource ID of the primary volume.
- replication
Frequency String - Replication frequency.
- endpoint
Type string - The endpoint type.
- remote
Volume stringLocation - Location of the primary volume.
- remote
Volume stringResource Id - Resource ID of the primary volume.
- replication
Frequency 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.
- endpoint
Type String - The endpoint type.
- remote
Volume StringLocation - Location of the primary volume.
- remote
Volume StringResource Id - Resource ID of the primary volume.
- replication
Frequency String - Replication frequency.
GetVolumeGroupSapHanaVolumeDataProtectionSnapshotPolicy
- Snapshot
Policy stringId - Resource ID of the snapshot policy to apply to the volume.
- Snapshot
Policy stringId - Resource ID of the snapshot policy to apply to the volume.
- snapshot
Policy StringId - Resource ID of the snapshot policy to apply to the volume.
- snapshot
Policy 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.
- snapshot
Policy StringId - Resource ID of the snapshot policy to apply to the volume.
GetVolumeGroupSapHanaVolumeExportPolicyRule
- Allowed
Clients string - A list of allowed clients IPv4 addresses.
- Nfsv3Enabled bool
- Is the NFSv3 protocol enabled?
- Nfsv41Enabled 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?.
- Allowed
Clients string - A list of allowed clients IPv4 addresses.
- Nfsv3Enabled bool
- Is the NFSv3 protocol enabled?
- Nfsv41Enabled 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?.
- allowed
Clients String - A list of allowed clients IPv4 addresses.
- nfsv3Enabled Boolean
- Is the NFSv3 protocol enabled?
- nfsv41Enabled Boolean
- Is the NFSv4.1 enabled?
- root
Access BooleanEnabled - Is root access permitted to this volume?
- rule
Index Integer - The index number of the rule.
- unix
Read BooleanOnly - Is the file system on unix read only?.
- unix
Read BooleanWrite - Is the file system on unix read and write?.
- allowed
Clients string - A list of allowed clients IPv4 addresses.
- nfsv3Enabled boolean
- Is the NFSv3 protocol enabled?
- nfsv41Enabled boolean
- Is the NFSv4.1 enabled?
- root
Access booleanEnabled - Is root access permitted to this volume?
- rule
Index number - The index number of the rule.
- unix
Read booleanOnly - Is the file system on unix read only?.
- unix
Read 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?.
- allowed
Clients String - A list of allowed clients IPv4 addresses.
- nfsv3Enabled Boolean
- Is the NFSv3 protocol enabled?
- nfsv41Enabled Boolean
- Is the NFSv4.1 enabled?
- root
Access BooleanEnabled - Is root access permitted to this volume?
- rule
Index Number - The index number of the rule.
- unix
Read BooleanOnly - Is the file system on unix read only?.
- unix
Read 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
azurerm
Terraform Provider.