Get-AzWorkloadsSapCentralInstance
取得 SAP Central Services 實例資源。
語法
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 <ISapVirtualInstanceIdentity>
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Description
取得 SAP Central Services 實例資源。
範例
範例 1:取得中央服務實例的概觀
Get-AzWorkloadsSapCentralInstance -ResourceGroupName DemoRGVIS -SapVirtualInstanceName DRT
Name ResourceGroupName Health EnqueueServerPropertyHostname ProvisioningState Status Location
---- ----------------- ------ ----------------------------- ----------------- ------ --------
cs0 DemoRGVIS Healthy drtvm Succeeded Running eastus2euap
此命令將協助您取得概觀,包括 SAP 解決方案虛擬實例中中央服務實例的健康情況和狀態
範例 2:取得中央服務實例的概觀
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
此命令將協助您取得概觀,包括中央服務實例的虛擬實例中中央服務實例的健康情況和狀態,方法是使用中央服務實例的 Azure 資源識別符
參數
-DefaultProfile
DefaultProfile 參數無法運作。 如果針對不同的訂用帳戶執行 Cmdlet,請使用 SubscriptionId 參數。
類型: | PSObject |
別名: | AzureRMContext, AzureCredential |
Position: | Named |
預設值: | None |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
-InputObject
Identity Parameter To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
類型: | ISapVirtualInstanceIdentity |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | True |
接受萬用字元: | False |
-Name
中央服務實例資源名稱字串模型化為參數,以便自動產生正常運作。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-ResourceGroupName
資源群組的名稱。 名稱不區分大小寫。
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-SapVirtualInstanceName
SAP 解決方案資源的虛擬實例名稱
類型: | String |
Position: | Named |
預設值: | None |
必要: | True |
接受管線輸入: | False |
接受萬用字元: | False |
-SubscriptionId
目標訂用帳戶的標識碼。 此值必須是 UUID。
類型: | String[] |
Position: | Named |
預設值: | (Get-AzContext).Subscription.Id |
必要: | False |
接受管線輸入: | False |
接受萬用字元: | False |
輸入
輸出
Microsoft.Azure.PowerShell.Cmdlets.Workloads.SapVirtualInstance.Models.Api20240901.ISapCentralServerInstance
備註
別名
Get-AzVISCentralInstance