Modifier

Partager via


Get-AzWorkloadsSapVirtualInstance

Gets a Virtual Instance for SAP solutions resource

Syntax

Get-AzWorkloadsSapVirtualInstance
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzWorkloadsSapVirtualInstance
   -Name <String>
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzWorkloadsSapVirtualInstance
   -ResourceGroupName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]
Get-AzWorkloadsSapVirtualInstance
   -InputObject <ISapVirtualInstanceIdentity>
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

Gets a Virtual Instance for SAP solutions resource

Examples

Example 1: Get a list of the Virtual Instance(s) for SAP solutions (VIS)

Get-AzWorkloadsSapVirtualInstance

Name ResourceGroupName Health  Environment ProvisioningState SapProduct State                Status  Location
---- ----------------- ------  ----------- ----------------- ---------- -----                ------  --------
DRT  DemoRGVIS         Healthy NonProd     Succeeded         S4HANA     RegistrationComplete Running eastus2euap
DRT  DemoRGVIS01       Healthy NonProd     Succeeded         S4HANA     RegistrationComplete Running eastus2euap
DRT  DemoRGVIS02       Healthy NonProd     Succeeded         S4HANA     RegistrationComplete Running eastus2euap

This command will list all the Virtual instances for SAP solutions from your subscriptions along with their health, status, state and other parameters of the VIS

Example 2: Get an overview of any one Virtual Instance(s) for SAP solutions (VIS)

Get-AzWorkloadsSapVirtualInstance -ResourceGroupName DemoRGVIS -Name DRT

Name ResourceGroupName Health  Environment ProvisioningState SapProduct State                Status  Location
---- ----------------- ------  ----------- ----------------- ---------- -----                ------  --------
DRT  DemoRGVIS         Healthy NonProd     Succeeded         S4HANA     RegistrationComplete Running eastus2euap

This command will list a specific Virtual instance for SAP solutions resource along with it's health, status, state and other parameters of the VIS

Example 3: Get an overview of the Virtual Instance(s) for SAP solutions (VIS) with resource ID

Get-AzWorkloadsSapVirtualInstance -InputObject /subscriptions/49d64d54-e966-4c46-a868-1999802b762c/resourceGroups/DemoRGVIS/providers/Microsoft.Workloads/sapVirtualInstances/DRT

Name ResourceGroupName Health  Environment ProvisioningState SapProduct State                Status  Location
---- ----------------- ------  ----------- ----------------- ---------- -----                ------  --------
DRT  DemoRGVIS         Healthy NonProd     Succeeded         S4HANA     RegistrationComplete Running eastus2euap

This command will list a specific Virtual instance for SAP solutions resource along with it's health, status, state and other parameters of the VIS by using the Azure resource ID of the VIS

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:ISapVirtualInstanceIdentity
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-Name

The name of the Virtual Instances for SAP solutions resource

Type:String
Aliases:SapVirtualInstanceName
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

-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

Inputs

ISapVirtualInstanceIdentity

Outputs

ISapVirtualInstance

Notes

ALIASES

Get-AzVIS