internal MigrationConfigProperties(ArmResource options, MigrationConfigPropertiesData resource) : base(options, resource.Id)
 {
     HasData                     = true;
     _data                       = resource;
     _clientDiagnostics          = new ClientDiagnostics(ClientOptions);
     _migrationConfigsRestClient = new MigrationConfigsRestOperations(_clientDiagnostics, Pipeline, ClientOptions, BaseUri);
 }
        internal MigrationConfigPropertiesResource(ArmClient client, ResourceIdentifier id) : base(client, id)
        {
            _migrationConfigPropertiesMigrationConfigsClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.ServiceBus", ResourceType.Namespace, Diagnostics);
            TryGetApiVersion(ResourceType, out string migrationConfigPropertiesMigrationConfigsApiVersion);
            _migrationConfigPropertiesMigrationConfigsRestClient = new MigrationConfigsRestOperations(Pipeline, Diagnostics.ApplicationId, Endpoint, migrationConfigPropertiesMigrationConfigsApiVersion);
#if DEBUG
            ValidateResourceId(Id);
#endif
        }
        internal MigrationConfigPropertiesCollection(ArmResource parent) : base(parent)
        {
            _migrationConfigPropertiesMigrationConfigsClientDiagnostics = new ClientDiagnostics("Azure.ResourceManager.ServiceBus", MigrationConfigProperties.ResourceType.Namespace, DiagnosticOptions);
            ArmClient.TryGetApiVersion(MigrationConfigProperties.ResourceType, out string migrationConfigPropertiesMigrationConfigsApiVersion);
            _migrationConfigPropertiesMigrationConfigsRestClient = new MigrationConfigsRestOperations(_migrationConfigPropertiesMigrationConfigsClientDiagnostics, Pipeline, DiagnosticOptions.ApplicationId, BaseUri, migrationConfigPropertiesMigrationConfigsApiVersion);
#if DEBUG
            ValidateResourceId(Id);
#endif
        }
 internal MigrationConfigPropertiesCollection(ArmResource parent) : base(parent)
 {
     _clientDiagnostics          = new ClientDiagnostics(ClientOptions);
     _migrationConfigsRestClient = new MigrationConfigsRestOperations(_clientDiagnostics, Pipeline, ClientOptions, BaseUri);
 }
 internal MigrationConfigProperties(ArmClientOptions clientOptions, TokenCredential credential, Uri uri, HttpPipeline pipeline, ResourceIdentifier id) : base(clientOptions, credential, uri, pipeline, id)
 {
     _clientDiagnostics          = new ClientDiagnostics(ClientOptions);
     _migrationConfigsRestClient = new MigrationConfigsRestOperations(_clientDiagnostics, Pipeline, ClientOptions, BaseUri);
 }
 internal MigrationConfigProperties(ArmResource options, ResourceIdentifier id) : base(options, id)
 {
     _clientDiagnostics          = new ClientDiagnostics(ClientOptions);
     _migrationConfigsRestClient = new MigrationConfigsRestOperations(_clientDiagnostics, Pipeline, ClientOptions, BaseUri);
 }