編輯

共用方式為


Invoke-AzWorkloadsSapDiskConfiguration

Get the SAP Disk Configuration Layout prod/non-prod SAP System.

Syntax

Invoke-AzWorkloadsSapDiskConfiguration
      -Location <String>
      [-SubscriptionId <String>]
      -AppLocation <String>
      -DatabaseType <SapDatabaseType>
      -DbVMSku <String>
      -DeploymentType <SapDeploymentType>
      -Environment <SapEnvironmentType>
      -SapProduct <SapProductType>
      [-DefaultProfile <PSObject>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Invoke-AzWorkloadsSapDiskConfiguration
      -InputObject <ISapVirtualInstanceIdentity>
      -AppLocation <String>
      -DatabaseType <SapDatabaseType>
      -DbVMSku <String>
      -DeploymentType <SapDeploymentType>
      -Environment <SapEnvironmentType>
      -SapProduct <SapProductType>
      [-DefaultProfile <PSObject>]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

Get the SAP Disk Configuration Layout prod/non-prod SAP System.

Examples

Example 1: Get the SAP Disk Configuration Layout for prod/non-prod SAP System

Invoke-AzWorkloadsSapDiskConfiguration -Location eastus -AppLocation eastus -DatabaseType HANA -DbVMSku Standard_M32ts -DeploymentType SingleServer -Environment NonProd -SapProduct S4HANA

Keys                 : {hana/data, hana/log, hana/shared, usr/sap...}
Values               : {{
                         "recommendedConfiguration": {
                           "sku": {
                             "name": "Premium_LRS"
                           },
                           "count": 4,
                           "sizeGB": 128
                         },
                         "supportedConfigurations": [
                           {
                             "sku": {
                               "name": "Premium_LRS"
                             },
                             "sizeGB": 128,
                             "minimumSupportedDiskCount": 4,
                             "maximumSupportedDiskCount": 5,
                             "iopsReadWrite": 500,
                             "mbpsReadWrite": 100,
                             "diskTier": "P10"
                           }
                         ]
                       }}

This command will help you understand the default disk configuration that will b deployed for the SAP system for a selected deployment type. You can customize this when you are deploying your SAP system from Azure Center for SAP solutions

Parameters

-AppLocation

The geo-location where the SAP resources will be created.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DatabaseType

The database type. Eg: HANA, DB2, etc

Type:SapDatabaseType
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-DbVMSku

The VM SKU for database instance.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-DeploymentType

The deployment type. Eg: SingleServer/ThreeTier

Type:SapDeploymentType
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Environment

Defines the environment type - Production/Non Production.

Type:SapEnvironmentType
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-InputObject

Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

Type:ISapVirtualInstanceIdentity
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Location

The name of Azure region.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-SapProduct

Defines the SAP Product type.

Type:SapProductType
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-SubscriptionId

The ID of the target subscription.

Type:String
Position:Named
Default value:(Get-AzContext).Subscription.Id
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

ISapVirtualInstanceIdentity

Outputs

ISapDiskConfigurationsResultVolumeConfigurations

Notes

ALIASES

Invoke-AzVISDiskConfiguration