Get-AzWorkloadsSapCentralInstance
Gets the SAP Central Services Instance resource.
Syntax
Get-AzWorkloadsSapCentralInstance
-ResourceGroupName <String>
-SapVirtualInstanceName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzWorkloadsSapCentralInstance
-Name <String>
-ResourceGroupName <String>
-SapVirtualInstanceName <String>
[-SubscriptionId <String[]>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzWorkloadsSapCentralInstance
-InputObject <IWorkloadsIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
Gets the SAP Central Services Instance resource.
Examples
Example 1: Get an overview of The Central service Instance(s)
Get-AzWorkloadsSapCentralInstance -ResourceGroupName DemoRGVIS -SapVirtualInstanceName DRT
Name ResourceGroupName Health EnqueueServerPropertyHostname ProvisioningState Status Location
---- ----------------- ------ ----------------------------- ----------------- ------ --------
cs0 DemoRGVIS Healthy drtvm Succeeded Running eastus2euap
This command will help you get an overview, including health and status of the Central service instance in a Virtual instance for SAP solutions
Example 2: Get an overview of The Central service Instance(s)
Get-AzWorkloadsSapCentralInstance -InputObject /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/DemoRGVIS/providers/Microsoft.Workloads/sapVirtualInstances/DRT/centralInstances/cs0
Name ResourceGroupName Health EnqueueServerPropertyHostname ProvisioningState Status Location
---- ----------------- ------ ----------------------------- ----------------- ------ --------
cs0 DemoRGVIS Healthy drtvm Succeeded Running eastus2euap
This command will help you get an overview, including health and status of a Central service instance in the Virtual instance for SAP solutions by using the Azure resource ID of the Central service instance
Parameters
-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 |
-InputObject
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
Type: | IWorkloadsIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
Central Services Instance resource name string modeled as parameter for auto generation to work correctly.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
The name of the resource group. The name is case insensitive.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SapVirtualInstanceName
The name of the Virtual Instances for SAP solutions resource
Type: | String |
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 |