共用方式為


SapVirtualInstanceCollection Class

Definition

A class representing a collection of SapVirtualInstanceResource and their operations. Each SapVirtualInstanceResource in the collection will belong to the same instance of ResourceGroupResource. To get a SapVirtualInstanceCollection instance call the GetSapVirtualInstances method from an instance of ResourceGroupResource.

public class SapVirtualInstanceCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Workloads.SapVirtualInstanceResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Workloads.SapVirtualInstanceResource>
type SapVirtualInstanceCollection = class
    inherit ArmCollection
    interface seq<SapVirtualInstanceResource>
    interface IEnumerable
    interface IAsyncEnumerable<SapVirtualInstanceResource>
Public Class SapVirtualInstanceCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of SapVirtualInstanceResource), IEnumerable(Of SapVirtualInstanceResource)
Inheritance
SapVirtualInstanceCollection
Implements

Constructors

SapVirtualInstanceCollection()

Initializes a new instance of the SapVirtualInstanceCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, SapVirtualInstanceData, CancellationToken)

Creates a Virtual Instance for SAP solutions (VIS) resource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}
  • Operation Id: SAPVirtualInstances_Create
  • Default Api Version: 2023-04-01
  • Resource: SapVirtualInstanceResource
CreateOrUpdateAsync(WaitUntil, String, SapVirtualInstanceData, CancellationToken)

Creates a Virtual Instance for SAP solutions (VIS) resource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}
  • Operation Id: SAPVirtualInstances_Create
  • Default Api Version: 2023-04-01
  • Resource: SapVirtualInstanceResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}
  • Operation Id: SAPVirtualInstances_Get
  • Default Api Version: 2023-04-01
  • Resource: SapVirtualInstanceResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}
  • Operation Id: SAPVirtualInstances_Get
  • Default Api Version: 2023-04-01
  • Resource: SapVirtualInstanceResource
Get(String, CancellationToken)

Gets a Virtual Instance for SAP solutions resource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}
  • Operation Id: SAPVirtualInstances_Get
  • Default Api Version: 2023-04-01
  • Resource: SapVirtualInstanceResource
GetAll(CancellationToken)

Gets all Virtual Instances for SAP solutions resources in a Resource Group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances
  • Operation Id: SAPVirtualInstances_ListByResourceGroup
  • Default Api Version: 2023-04-01
  • Resource: SapVirtualInstanceResource
GetAllAsync(CancellationToken)

Gets all Virtual Instances for SAP solutions resources in a Resource Group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances
  • Operation Id: SAPVirtualInstances_ListByResourceGroup
  • Default Api Version: 2023-04-01
  • Resource: SapVirtualInstanceResource
GetAsync(String, CancellationToken)

Gets a Virtual Instance for SAP solutions resource

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}
  • Operation Id: SAPVirtualInstances_Get
  • Default Api Version: 2023-04-01
  • Resource: SapVirtualInstanceResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}
  • Operation Id: SAPVirtualInstances_Get
  • Default Api Version: 2023-04-01
  • Resource: SapVirtualInstanceResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapVirtualInstances/{sapVirtualInstanceName}
  • Operation Id: SAPVirtualInstances_Get
  • Default Api Version: 2023-04-01
  • Resource: SapVirtualInstanceResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<SapVirtualInstanceResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SapVirtualInstanceResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to