共用方式為


WorkloadsExtensions.GetSapVirtualInstances Method

Definition

Overloads

GetSapVirtualInstances(ResourceGroupResource)

Gets a collection of SapVirtualInstanceResources in the ResourceGroupResource. MockingTo mock this method, please mock GetSapVirtualInstances() instead.

GetSapVirtualInstances(SubscriptionResource, CancellationToken)

Gets all Virtual Instances for SAP solutions resources in a Subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Workloads/sapVirtualInstances
  • Operation Id: SAPVirtualInstances_ListBySubscription
  • Default Api Version: 2023-04-01
  • Resource: SapVirtualInstanceResource

GetSapVirtualInstances(ResourceGroupResource)

Source:
WorkloadsExtensions.cs
Source:
WorkloadsExtensions.cs

Gets a collection of SapVirtualInstanceResources in the ResourceGroupResource. MockingTo mock this method, please mock GetSapVirtualInstances() instead.

public static Azure.ResourceManager.Workloads.SapVirtualInstanceCollection GetSapVirtualInstances (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetSapVirtualInstances : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Workloads.SapVirtualInstanceCollection
<Extension()>
Public Function GetSapVirtualInstances (resourceGroupResource As ResourceGroupResource) As SapVirtualInstanceCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of SapVirtualInstanceResources and their operations over a SapVirtualInstanceResource.

Exceptions

resourceGroupResource is null.

Applies to

GetSapVirtualInstances(SubscriptionResource, CancellationToken)

Source:
WorkloadsExtensions.cs
Source:
WorkloadsExtensions.cs

Gets all Virtual Instances for SAP solutions resources in a Subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Workloads/sapVirtualInstances
  • Operation Id: SAPVirtualInstances_ListBySubscription
  • Default Api Version: 2023-04-01
  • Resource: SapVirtualInstanceResource
public static Azure.Pageable<Azure.ResourceManager.Workloads.SapVirtualInstanceResource> GetSapVirtualInstances (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetSapVirtualInstances : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Workloads.SapVirtualInstanceResource>
<Extension()>
Public Function GetSapVirtualInstances (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SapVirtualInstanceResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of SapVirtualInstanceResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to