Share via


MigrationConfigurationCollection Class

Definition

A class representing a collection of MigrationConfigurationResource and their operations. Each MigrationConfigurationResource in the collection will belong to the same instance of ServiceBusNamespaceResource. To get a MigrationConfigurationCollection instance call the GetMigrationConfigurations method from an instance of ServiceBusNamespaceResource.

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

Constructors

MigrationConfigurationCollection()

Initializes a new instance of the MigrationConfigurationCollection 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, MigrationConfigurationName, MigrationConfigurationData, CancellationToken)

Creates Migration configuration and starts migration of entities from Standard to Premium namespace

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/migrationConfigurations/{configName}
  • Operation Id: MigrationConfigs_CreateAndStartMigration
  • Default Api Version: 2024-01-01
  • Resource: MigrationConfigurationResource
CreateOrUpdateAsync(WaitUntil, MigrationConfigurationName, MigrationConfigurationData, CancellationToken)

Creates Migration configuration and starts migration of entities from Standard to Premium namespace

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/migrationConfigurations/{configName}
  • Operation Id: MigrationConfigs_CreateAndStartMigration
  • Default Api Version: 2024-01-01
  • Resource: MigrationConfigurationResource
Exists(MigrationConfigurationName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/migrationConfigurations/{configName}
  • Operation Id: MigrationConfigs_Get
  • Default Api Version: 2024-01-01
  • Resource: MigrationConfigurationResource
ExistsAsync(MigrationConfigurationName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/migrationConfigurations/{configName}
  • Operation Id: MigrationConfigs_Get
  • Default Api Version: 2024-01-01
  • Resource: MigrationConfigurationResource
Get(MigrationConfigurationName, CancellationToken)

Retrieves Migration Config

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/migrationConfigurations/{configName}
  • Operation Id: MigrationConfigs_Get
  • Default Api Version: 2024-01-01
  • Resource: MigrationConfigurationResource
GetAll(CancellationToken)

Gets all migrationConfigurations

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/migrationConfigurations
  • Operation Id: MigrationConfigs_List
  • Default Api Version: 2024-01-01
  • Resource: MigrationConfigurationResource
GetAllAsync(CancellationToken)

Gets all migrationConfigurations

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/migrationConfigurations
  • Operation Id: MigrationConfigs_List
  • Default Api Version: 2024-01-01
  • Resource: MigrationConfigurationResource
GetAsync(MigrationConfigurationName, CancellationToken)

Retrieves Migration Config

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/migrationConfigurations/{configName}
  • Operation Id: MigrationConfigs_Get
  • Default Api Version: 2024-01-01
  • Resource: MigrationConfigurationResource
GetIfExists(MigrationConfigurationName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/migrationConfigurations/{configName}
  • Operation Id: MigrationConfigs_Get
  • Default Api Version: 2024-01-01
  • Resource: MigrationConfigurationResource
GetIfExistsAsync(MigrationConfigurationName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/migrationConfigurations/{configName}
  • Operation Id: MigrationConfigs_Get
  • Default Api Version: 2024-01-01
  • Resource: MigrationConfigurationResource
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<MigrationConfigurationResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<MigrationConfigurationResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to