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


MigrationAssessedSqlInstanceV2Collection Class

Definition

A class representing a collection of MigrationAssessedSqlInstanceV2Resource and their operations. Each MigrationAssessedSqlInstanceV2Resource in the collection will belong to the same instance of MigrationSqlAssessmentV2Resource. To get a MigrationAssessedSqlInstanceV2Collection instance call the GetMigrationAssessedSqlInstanceV2s method from an instance of MigrationSqlAssessmentV2Resource.

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

Constructors

MigrationAssessedSqlInstanceV2Collection()

Initializes a new instance of the MigrationAssessedSqlInstanceV2Collection 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

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}/sqlAssessments/{assessmentName}/assessedSqlInstances/{assessedSqlInstanceName}
  • Operation Id: AssessedSqlInstanceV2Operations_Get
  • Default Api Version: 2023-03-15
  • Resource: MigrationAssessedSqlInstanceV2Resource
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}/sqlAssessments/{assessmentName}/assessedSqlInstances/{assessedSqlInstanceName}
  • Operation Id: AssessedSqlInstanceV2Operations_Get
  • Default Api Version: 2023-03-15
  • Resource: MigrationAssessedSqlInstanceV2Resource
Get(String, CancellationToken)

Get a AssessedSqlInstanceV2

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}/sqlAssessments/{assessmentName}/assessedSqlInstances/{assessedSqlInstanceName}
  • Operation Id: AssessedSqlInstanceV2Operations_Get
  • Default Api Version: 2023-03-15
  • Resource: MigrationAssessedSqlInstanceV2Resource
GetAll(String, Nullable<Int32>, String, Nullable<Int32>, CancellationToken)

List AssessedSqlInstanceV2 resources by SqlAssessmentV2

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}/sqlAssessments/{assessmentName}/assessedSqlInstances
  • Operation Id: AssessedSqlInstanceV2Operations_ListBySqlAssessmentV2
  • Default Api Version: 2023-03-15
  • Resource: MigrationAssessedSqlInstanceV2Resource
GetAllAsync(String, Nullable<Int32>, String, Nullable<Int32>, CancellationToken)

List AssessedSqlInstanceV2 resources by SqlAssessmentV2

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

Get a AssessedSqlInstanceV2

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MigrationAssessedSqlInstanceV2Resource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to