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

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

azure logo

We recommend using Azure Native.

Azure Classic v5.81.0 published on Monday, Jun 24, 2024 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);
    
    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:

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

    GetVolumeGroupSapHanaVolumeDataProtectionReplication

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

    GetVolumeGroupSapHanaVolumeDataProtectionSnapshotPolicy

    SnapshotPolicyId string
    Resource ID of the snapshot policy to apply to the volume.
    SnapshotPolicyId string
    Resource ID of the snapshot policy to apply to the volume.
    snapshotPolicyId String
    Resource ID of the snapshot policy to apply to the volume.
    snapshotPolicyId string
    Resource ID of the snapshot policy to apply to the volume.
    snapshot_policy_id str
    Resource ID of the snapshot policy to apply to the volume.
    snapshotPolicyId String
    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?
    RootAccessEnabled bool
    Is root access permitted to this volume?
    RuleIndex int
    The index number of the rule.
    UnixReadOnly bool
    Is the file system on unix read only?.
    UnixReadWrite bool
    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?
    RootAccessEnabled bool
    Is root access permitted to this volume?
    RuleIndex int
    The index number of the rule.
    UnixReadOnly bool
    Is the file system on unix read only?.
    UnixReadWrite bool
    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?
    rootAccessEnabled Boolean
    Is root access permitted to this volume?
    ruleIndex Integer
    The index number of the rule.
    unixReadOnly Boolean
    Is the file system on unix read only?.
    unixReadWrite Boolean
    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?
    rootAccessEnabled boolean
    Is root access permitted to this volume?
    ruleIndex number
    The index number of the rule.
    unixReadOnly boolean
    Is the file system on unix read only?.
    unixReadWrite boolean
    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_enabled bool
    Is root access permitted to this volume?
    rule_index int
    The index number of the rule.
    unix_read_only bool
    Is the file system on unix read only?.
    unix_read_write bool
    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?
    rootAccessEnabled Boolean
    Is root access permitted to this volume?
    ruleIndex Number
    The index number of the rule.
    unixReadOnly Boolean
    Is the file system on unix read only?.
    unixReadWrite 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.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi