共用方式為


SapDiscoverySiteCollection Class

Definition

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

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

Constructors

SapDiscoverySiteCollection()

Initializes a new instance of the SapDiscoverySiteCollection 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, SapDiscoverySiteData, CancellationToken)

Creates a discovery site resource for SAP Migration. This resource will be used to run system discovery and assessment with Azure Migrate.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapDiscoverySites/{sapDiscoverySiteName}
  • Operation Id: SapDiscoverySites_Create
  • Default Api Version: 2023-10-01-preview
  • Resource: SapDiscoverySiteResource
CreateOrUpdateAsync(WaitUntil, String, SapDiscoverySiteData, CancellationToken)

Creates a discovery site resource for SAP Migration. This resource will be used to run system discovery and assessment with Azure Migrate.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapDiscoverySites/{sapDiscoverySiteName}
  • Operation Id: SapDiscoverySites_Create
  • Default Api Version: 2023-10-01-preview
  • Resource: SapDiscoverySiteResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapDiscoverySites/{sapDiscoverySiteName}
  • Operation Id: SapDiscoverySites_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: SapDiscoverySiteResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapDiscoverySites/{sapDiscoverySiteName}
  • Operation Id: SapDiscoverySites_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: SapDiscoverySiteResource
Get(String, CancellationToken)

Gets a SAP Migration discovery site resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapDiscoverySites/{sapDiscoverySiteName}
  • Operation Id: SapDiscoverySites_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: SapDiscoverySiteResource
GetAll(CancellationToken)

Gets all SAP Migration discovery site resources in a Resource Group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapDiscoverySites
  • Operation Id: SapDiscoverySites_ListByResourceGroup
  • Default Api Version: 2023-10-01-preview
  • Resource: SapDiscoverySiteResource
GetAllAsync(CancellationToken)

Gets all SAP Migration discovery site resources in a Resource Group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapDiscoverySites
  • Operation Id: SapDiscoverySites_ListByResourceGroup
  • Default Api Version: 2023-10-01-preview
  • Resource: SapDiscoverySiteResource
GetAsync(String, CancellationToken)

Gets a SAP Migration discovery site resource.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapDiscoverySites/{sapDiscoverySiteName}
  • Operation Id: SapDiscoverySites_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: SapDiscoverySiteResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapDiscoverySites/{sapDiscoverySiteName}
  • Operation Id: SapDiscoverySites_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: SapDiscoverySiteResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Workloads/sapDiscoverySites/{sapDiscoverySiteName}
  • Operation Id: SapDiscoverySites_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: SapDiscoverySiteResource
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<SapDiscoverySiteResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<SapDiscoverySiteResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to