1. Registry
  2. Packages
  3. Azure Native
  4. API Docs
  5. servicebus
  6. getMigrationConfig
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v1.103.0 (Older version)
published on Tuesday, Oct 27, 2026 by Pulumi
azure-native logo Azure Native
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v1.103.0 (Older version)
published on Tuesday, Oct 27, 2026 by Pulumi

    Retrieves Migration Config API Version: 2017-04-01.

    Using getMigrationConfig

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getMigrationConfig(args: GetMigrationConfigArgs, opts?: InvokeOptions): Promise<GetMigrationConfigResult>
    function getMigrationConfigOutput(args: GetMigrationConfigOutputArgs, opts?: InvokeOutputOptions): Output<GetMigrationConfigResult>
    def get_migration_config(config_name: Optional[str] = None,
                             namespace_name: Optional[str] = None,
                             resource_group_name: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetMigrationConfigResult
    def get_migration_config_output(config_name: pulumi.Input[Optional[str]] = None,
                             namespace_name: pulumi.Input[Optional[str]] = None,
                             resource_group_name: pulumi.Input[Optional[str]] = None,
                             opts: Optional[InvokeOutputOptions] = None) -> Output[GetMigrationConfigResult]
    func LookupMigrationConfig(ctx *Context, args *LookupMigrationConfigArgs, opts ...InvokeOption) (*LookupMigrationConfigResult, error)
    func LookupMigrationConfigOutput(ctx *Context, args *LookupMigrationConfigOutputArgs, opts ...InvokeOption) LookupMigrationConfigResultOutput

    > Note: This function is named LookupMigrationConfig in the Go SDK.

    public static class GetMigrationConfig 
    {
        public static Task<GetMigrationConfigResult> InvokeAsync(GetMigrationConfigArgs args, InvokeOptions? opts = null)
        public static Output<GetMigrationConfigResult> Invoke(GetMigrationConfigInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetMigrationConfigResult> Invoke(GetMigrationConfigInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetMigrationConfigResult> getMigrationConfig(GetMigrationConfigArgs args, InvokeOptions options)
    public static Output<GetMigrationConfigResult> getMigrationConfig(GetMigrationConfigArgs args, InvokeOptions options)
    public static Output<GetMigrationConfigResult> getMigrationConfig(GetMigrationConfigArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: azure-native:servicebus:getMigrationConfig
      arguments:
        # arguments dictionary
    data "azure-native_servicebus_get_migration_config" "name" {
        # arguments
    }

    The following arguments are supported:

    ConfigName string
    The configuration name. Should always be "$default".
    NamespaceName string
    The namespace name
    ResourceGroupName string
    Name of the Resource group within the Azure subscription.
    ConfigName string
    The configuration name. Should always be "$default".
    NamespaceName string
    The namespace name
    ResourceGroupName string
    Name of the Resource group within the Azure subscription.
    config_name string
    The configuration name. Should always be "$default".
    namespace_name string
    The namespace name
    resource_group_name string
    Name of the Resource group within the Azure subscription.
    configName String
    The configuration name. Should always be "$default".
    namespaceName String
    The namespace name
    resourceGroupName String
    Name of the Resource group within the Azure subscription.
    configName string
    The configuration name. Should always be "$default".
    namespaceName string
    The namespace name
    resourceGroupName string
    Name of the Resource group within the Azure subscription.
    config_name str
    The configuration name. Should always be "$default".
    namespace_name str
    The namespace name
    resource_group_name str
    Name of the Resource group within the Azure subscription.
    configName String
    The configuration name. Should always be "$default".
    namespaceName String
    The namespace name
    resourceGroupName String
    Name of the Resource group within the Azure subscription.

    getMigrationConfig Result

    The following output properties are available:

    Id string
    Resource Id
    MigrationState string
    State in which Standard to Premium Migration is, possible values : Unknown, Reverting, Completing, Initiating, Syncing, Active
    Name string
    Resource name
    PendingReplicationOperationsCount double
    Number of entities pending to be replicated.
    PostMigrationName string
    Name to access Standard Namespace after migration
    ProvisioningState string
    Provisioning state of Migration Configuration
    TargetNamespace string
    Existing premium Namespace ARM Id name which has no entities, will be used for migration
    Type string
    Resource type
    Id string
    Resource Id
    MigrationState string
    State in which Standard to Premium Migration is, possible values : Unknown, Reverting, Completing, Initiating, Syncing, Active
    Name string
    Resource name
    PendingReplicationOperationsCount float64
    Number of entities pending to be replicated.
    PostMigrationName string
    Name to access Standard Namespace after migration
    ProvisioningState string
    Provisioning state of Migration Configuration
    TargetNamespace string
    Existing premium Namespace ARM Id name which has no entities, will be used for migration
    Type string
    Resource type
    id string
    Resource Id
    migration_state string
    State in which Standard to Premium Migration is, possible values : Unknown, Reverting, Completing, Initiating, Syncing, Active
    name string
    Resource name
    pending_replication_operations_count number
    Number of entities pending to be replicated.
    post_migration_name string
    Name to access Standard Namespace after migration
    provisioning_state string
    Provisioning state of Migration Configuration
    target_namespace string
    Existing premium Namespace ARM Id name which has no entities, will be used for migration
    type string
    Resource type
    id String
    Resource Id
    migrationState String
    State in which Standard to Premium Migration is, possible values : Unknown, Reverting, Completing, Initiating, Syncing, Active
    name String
    Resource name
    pendingReplicationOperationsCount Double
    Number of entities pending to be replicated.
    postMigrationName String
    Name to access Standard Namespace after migration
    provisioningState String
    Provisioning state of Migration Configuration
    targetNamespace String
    Existing premium Namespace ARM Id name which has no entities, will be used for migration
    type String
    Resource type
    id string
    Resource Id
    migrationState string
    State in which Standard to Premium Migration is, possible values : Unknown, Reverting, Completing, Initiating, Syncing, Active
    name string
    Resource name
    pendingReplicationOperationsCount number
    Number of entities pending to be replicated.
    postMigrationName string
    Name to access Standard Namespace after migration
    provisioningState string
    Provisioning state of Migration Configuration
    targetNamespace string
    Existing premium Namespace ARM Id name which has no entities, will be used for migration
    type string
    Resource type
    id str
    Resource Id
    migration_state str
    State in which Standard to Premium Migration is, possible values : Unknown, Reverting, Completing, Initiating, Syncing, Active
    name str
    Resource name
    pending_replication_operations_count float
    Number of entities pending to be replicated.
    post_migration_name str
    Name to access Standard Namespace after migration
    provisioning_state str
    Provisioning state of Migration Configuration
    target_namespace str
    Existing premium Namespace ARM Id name which has no entities, will be used for migration
    type str
    Resource type
    id String
    Resource Id
    migrationState String
    State in which Standard to Premium Migration is, possible values : Unknown, Reverting, Completing, Initiating, Syncing, Active
    name String
    Resource name
    pendingReplicationOperationsCount Number
    Number of entities pending to be replicated.
    postMigrationName String
    Name to access Standard Namespace after migration
    provisioningState String
    Provisioning state of Migration Configuration
    targetNamespace String
    Existing premium Namespace ARM Id name which has no entities, will be used for migration
    type String
    Resource type

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo Azure Native
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Viewing docs for Azure Native v1.103.0 (Older version)
    published on Tuesday, Oct 27, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial