Get-AzWorkloadsSapApplicationInstance
Gets the SAP Application Server Instance corresponding to the Virtual Instance for SAP solutions resource.
Syntax
List (Default)
Get-AzWorkloadsSapApplicationInstance
-ResourceGroupName <String>
-SapVirtualInstanceName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
GetViaIdentitySapVirtualInstance
Get-AzWorkloadsSapApplicationInstance
-Name <String>
-SapVirtualInstanceInputObject <ISapVirtualInstanceIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get
Get-AzWorkloadsSapApplicationInstance
-Name <String>
-ResourceGroupName <String>
-SapVirtualInstanceName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
GetViaIdentity
Get-AzWorkloadsSapApplicationInstance
-InputObject <ISapVirtualInstanceIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Gets the SAP Application Server Instance corresponding to the Virtual Instance for SAP solutions resource.
Examples
Example 1: Get an overview of The App Server Instance(s)
Get-AzWorkloadsSapApplicationInstance -ResourceGroupName DemoRGVIS -SapVirtualInstanceName DRT
Name ResourceGroupName Health ProvisioningState Status Hostname Location
---- ----------------- ------ ----------------- ------ -------- --------
app0 DemoRGVIS Healthy Succeeded Running drtvm eastus2euap
This command will help you get an overview, including health and status of all the App Server instances in the Virtual instance for SAP solutions
Example 2: Get an overview of The App Server Instance
Get-AzWorkloadsSapApplicationInstance -ResourceGroupName DemoRGVIS -SapVirtualInstanceName DRT -Name app0
Name ResourceGroupName Health ProvisioningState Status Hostname Location
---- ----------------- ------ ----------------- ------ -------- --------
app0 DemoRGVIS Healthy Succeeded Running drtvm eastus2euap
This command will help you get an overview, including health and status of a specific App Server instance in the Virtual instance for SAP solutions
Example 3: Get an overview of The App Server Instance
Get-AzWorkloadsSapApplicationInstance -InputObject /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/DemoRGVIS/providers/Microsoft.Workloads/sapVirtualInstances/DRT/applicationInstances/app0
Name ResourceGroupName Health ProvisioningState Status Hostname Location
---- ----------------- ------ ----------------- ------ -------- --------
app0 DemoRGVIS Healthy Succeeded Running drtvm eastus2euap
This command will help you get an overview, including health and status of a specific App Server instance in the Virtual instance for SAP solutions by using the Azure resource ID of the App server instance
Parameters
-DefaultProfile
The DefaultProfile parameter is not functional.
Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
Parameter properties
Type: PSObject
Default value: None
Supports wildcards: False
DontShow: False
Aliases: AzureRMContext, AzureCredential
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Identity Parameter
GetViaIdentity
Position: Named
Mandatory: True
Value from pipeline: True
Value from pipeline by property name: False
Value from remaining arguments: False
-Name
The name of SAP Application Server instance resource.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
GetViaIdentitySapVirtualInstance
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Get
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-ResourceGroupName
The name of the resource group.
The name is case insensitive.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
List
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Get
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Identity Parameter
GetViaIdentitySapVirtualInstance
Position: Named
Mandatory: True
Value from pipeline: True
Value from pipeline by property name: False
Value from remaining arguments: False
-SapVirtualInstanceName
The name of the Virtual Instances for SAP solutions resource
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
List
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Get
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-SubscriptionId
The ID of the target subscription.
The value must be an UUID.
Parameter properties
Type: String [ ]
Default value: (Get-AzContext).Subscription.Id
Supports wildcards: False
DontShow: False
Parameter sets
List
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Get
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters .
Outputs
Notes
ALIASES
Get-AzVISApplicationInstance