Поделиться через


MigrationAssessmentGroupCollection Class

Definition

A class representing a collection of MigrationAssessmentGroupResource and their operations. Each MigrationAssessmentGroupResource in the collection will belong to the same instance of MigrationAssessmentProjectResource. To get a MigrationAssessmentGroupCollection instance call the GetMigrationAssessmentGroups method from an instance of MigrationAssessmentProjectResource.

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

Constructors

MigrationAssessmentGroupCollection()

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

Create a Group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}
  • Operation Id: GroupsOperations_Create
  • Default Api Version: 2023-03-15
  • Resource: MigrationAssessmentGroupResource
CreateOrUpdateAsync(WaitUntil, String, MigrationAssessmentGroupData, CancellationToken)

Create a Group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}
  • Operation Id: GroupsOperations_Create
  • Default Api Version: 2023-03-15
  • Resource: MigrationAssessmentGroupResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}
  • Operation Id: GroupsOperations_Get
  • Default Api Version: 2023-03-15
  • Resource: MigrationAssessmentGroupResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}
  • Operation Id: GroupsOperations_Get
  • Default Api Version: 2023-03-15
  • Resource: MigrationAssessmentGroupResource
Get(String, CancellationToken)

Get a Group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}
  • Operation Id: GroupsOperations_Get
  • Default Api Version: 2023-03-15
  • Resource: MigrationAssessmentGroupResource
GetAll(CancellationToken)

List Group resources by AssessmentProject

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups
  • Operation Id: GroupsOperations_ListByAssessmentProject
  • Default Api Version: 2023-03-15
  • Resource: MigrationAssessmentGroupResource
GetAllAsync(CancellationToken)

List Group resources by AssessmentProject

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups
  • Operation Id: GroupsOperations_ListByAssessmentProject
  • Default Api Version: 2023-03-15
  • Resource: MigrationAssessmentGroupResource
GetAsync(String, CancellationToken)

Get a Group

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}
  • Operation Id: GroupsOperations_Get
  • Default Api Version: 2023-03-15
  • Resource: MigrationAssessmentGroupResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}
  • Operation Id: GroupsOperations_Get
  • Default Api Version: 2023-03-15
  • Resource: MigrationAssessmentGroupResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}
  • Operation Id: GroupsOperations_Get
  • Default Api Version: 2023-03-15
  • Resource: MigrationAssessmentGroupResource
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<MigrationAssessmentGroupResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MigrationAssessmentGroupResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to