diff --git a/swaggerci/servicebus/.gitattributes b/swaggerci/servicebus/.gitattributes
new file mode 100644
index 000000000000..2125666142eb
--- /dev/null
+++ b/swaggerci/servicebus/.gitattributes
@@ -0,0 +1 @@
+* text=auto
\ No newline at end of file
diff --git a/swaggerci/servicebus/.gitignore b/swaggerci/servicebus/.gitignore
new file mode 100644
index 000000000000..7998f37e1e47
--- /dev/null
+++ b/swaggerci/servicebus/.gitignore
@@ -0,0 +1,5 @@
+bin
+obj
+.vs
+tools
+test/*-TestResults.xml
\ No newline at end of file
diff --git a/swaggerci/servicebus/Az.ServiceBus.csproj b/swaggerci/servicebus/Az.ServiceBus.csproj
new file mode 100644
index 000000000000..20d37229c63c
--- /dev/null
+++ b/swaggerci/servicebus/Az.ServiceBus.csproj
@@ -0,0 +1,43 @@
+
+
+
+ 0.1.0
+ 7.1
+ netstandard2.0
+ Library
+ Az.ServiceBus.private
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus
+ true
+ false
+ ./bin
+ $(OutputPath)
+ Az.ServiceBus.nuspec
+ true
+
+ 1998
+ true
+
+
+
+
+ false
+ TRACE;DEBUG;NETSTANDARD
+
+
+
+ true
+ true
+ MSSharedLibKey.snk
+ TRACE;RELEASE;NETSTANDARD;SIGN
+
+
+
+
+
+
+
+
+ $(DefaultItemExcludes);resources/**
+
+
+
\ No newline at end of file
diff --git a/swaggerci/servicebus/Az.ServiceBus.format.ps1xml b/swaggerci/servicebus/Az.ServiceBus.format.ps1xml
new file mode 100644
index 000000000000..936c9ec1b2dd
--- /dev/null
+++ b/swaggerci/servicebus/Az.ServiceBus.format.ps1xml
@@ -0,0 +1,2623 @@
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ServiceBusIdentity
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.ServiceBusIdentity
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Alias
+
+
+ AuthorizationRuleName
+
+
+ ConfigName
+
+
+ Id
+
+
+ NamespaceName
+
+
+ PrivateEndpointConnectionName
+
+
+ QueueName
+
+
+ ResourceGroupName
+
+
+ RuleName
+
+
+ SubscriptionId
+
+
+ SubscriptionName
+
+
+ TopicName
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.AccessKeys
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.AccessKeys
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AliasPrimaryConnectionString
+
+
+ AliasSecondaryConnectionString
+
+
+ KeyName
+
+
+ PrimaryConnectionString
+
+
+ PrimaryKey
+
+
+ SecondaryConnectionString
+
+
+ SecondaryKey
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.Action
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.Action
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CompatibilityLevel
+
+
+ RequiresPreprocessing
+
+
+ SqlExpression
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.ArmDisasterRecovery
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.ArmDisasterRecovery
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id
+
+
+ Location
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.ArmDisasterRecoveryListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.ArmDisasterRecoveryListResult
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.ArmDisasterRecoveryProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.ArmDisasterRecoveryProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AlternateName
+
+
+ PartnerNamespace
+
+
+ PendingReplicationOperationsCount
+
+
+ ProvisioningState
+
+
+ Role
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.CheckNameAvailability
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.CheckNameAvailability
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.CheckNameAvailabilityResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.CheckNameAvailabilityResult
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Message
+
+
+ NameAvailable
+
+
+ Reason
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.ConnectionState
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.ConnectionState
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Description
+
+
+ Status
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.CorrelationFilter
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.CorrelationFilter
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ContentType
+
+
+ CorrelationId
+
+
+ Label
+
+
+ MessageId
+
+
+ ReplyTo
+
+
+ ReplyToSessionId
+
+
+ RequiresPreprocessing
+
+
+ SessionId
+
+
+ To
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.CorrelationFilterProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.CorrelationFilterProperties
+
+
+
+
+
+
+
+
+
+
+
+ Item
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.Encryption
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.Encryption
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ KeySource
+
+
+ RequireInfrastructureEncryption
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.FailoverPropertiesAutoGenerated
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.FailoverPropertiesAutoGenerated
+
+
+
+
+
+
+
+
+
+
+
+ IsSafeFailover
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.Identity
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.Identity
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ PrincipalId
+
+
+ TenantId
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.KeyVaultProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.KeyVaultProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ KeyName
+
+
+ KeyVaultUri
+
+
+ KeyVersion
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.MigrationConfigListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.MigrationConfigListResult
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.MigrationConfigProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.MigrationConfigProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id
+
+
+ Location
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.MigrationConfigPropertiesAutoGenerated
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.MigrationConfigPropertiesAutoGenerated
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ MigrationState
+
+
+ PendingReplicationOperationsCount
+
+
+ PostMigrationName
+
+
+ ProvisioningState
+
+
+ TargetNamespace
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.NetworkRuleSet
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.NetworkRuleSet
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id
+
+
+ Location
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.NetworkRuleSetListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.NetworkRuleSetListResult
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.NetworkRuleSetProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.NetworkRuleSetProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ DefaultAction
+
+
+ PublicNetworkAccess
+
+
+ TrustedServiceAccessEnabled
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.NwRuleSetIPRules
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.NwRuleSetIPRules
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Action
+
+
+ IPMask
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.NwRuleSetVirtualNetworkRules
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.NwRuleSetVirtualNetworkRules
+
+
+
+
+
+
+
+
+
+
+
+ IgnoreMissingVnetServiceEndpoint
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.Operation
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.Operation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ IsDataAction
+
+
+ Name
+
+
+ Origin
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.OperationDisplay
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.OperationDisplay
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Description
+
+
+ Operation
+
+
+ Provider
+
+
+ Resource
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.OperationListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.OperationListResult
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.PrivateEndpoint
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.PrivateEndpoint
+
+
+
+
+
+
+
+
+
+
+
+ Id
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.PrivateEndpointConnection
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.PrivateEndpointConnection
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id
+
+
+ Location
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.PrivateEndpointConnectionListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.PrivateEndpointConnectionListResult
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.PrivateEndpointConnectionProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.PrivateEndpointConnectionProperties
+
+
+
+
+
+
+
+
+
+
+
+ ProvisioningState
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.PrivateLinkResource
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.PrivateLinkResource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.PrivateLinkResourceProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.PrivateLinkResourceProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ GroupId
+
+
+ RequiredMember
+
+
+ RequiredZoneName
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.PrivateLinkResourcesListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.PrivateLinkResourcesListResult
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.RegenerateAccessKeyParameters
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.RegenerateAccessKeyParameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Key
+
+
+ KeyType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.ResourceNamespacePatch
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.ResourceNamespacePatch
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id
+
+
+ Name
+
+
+ Type
+
+
+ Location
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.ResourceNamespacePatchTags
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.ResourceNamespacePatchTags
+
+
+
+
+
+
+
+
+
+
+
+ Item
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.Rule
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.Rule
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id
+
+
+ Location
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.RuleListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.RuleListResult
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.Ruleproperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.Ruleproperties
+
+
+
+
+
+
+
+
+
+
+
+ FilterType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbAuthorizationRule
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbAuthorizationRule
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id
+
+
+ Location
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbAuthorizationRuleListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbAuthorizationRuleListResult
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbAuthorizationRuleProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbAuthorizationRuleProperties
+
+
+
+
+
+
+
+
+
+
+
+ Rights
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbClientAffineProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbClientAffineProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ClientId
+
+
+ IsDurable
+
+
+ IsShared
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbNamespace
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbNamespace
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id
+
+
+ Location
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbNamespaceListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbNamespaceListResult
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbNamespaceProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbNamespaceProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AlternateName
+
+
+ CreatedAt
+
+
+ DisableLocalAuth
+
+
+ MetricId
+
+
+ MinimumTlsVersion
+
+
+ ProvisioningState
+
+
+ ServiceBusEndpoint
+
+
+ Status
+
+
+ UpdatedAt
+
+
+ ZoneRedundant
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbNamespaceUpdateParameters
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbNamespaceUpdateParameters
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id
+
+
+ Location
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbNamespaceUpdateProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbNamespaceUpdateProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AlternateName
+
+
+ CreatedAt
+
+
+ DisableLocalAuth
+
+
+ MetricId
+
+
+ ProvisioningState
+
+
+ ServiceBusEndpoint
+
+
+ Status
+
+
+ UpdatedAt
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbQueue
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbQueue
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id
+
+
+ Location
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbQueueListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbQueueListResult
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbQueueProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbQueueProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AccessedAt
+
+
+ CreatedAt
+
+
+ DeadLetteringOnMessageExpiration
+
+
+ EnableBatchedOperation
+
+
+ EnableExpress
+
+
+ EnablePartitioning
+
+
+ ForwardDeadLetteredMessagesTo
+
+
+ ForwardTo
+
+
+ MaxDeliveryCount
+
+
+ MaxMessageSizeInKilobyte
+
+
+ MaxSizeInMegabyte
+
+
+ MessageCount
+
+
+ RequiresDuplicateDetection
+
+
+ RequiresSession
+
+
+ SizeInByte
+
+
+ Status
+
+
+ UpdatedAt
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbSku
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbSku
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Capacity
+
+
+ Name
+
+
+ Tier
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbSubscription
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbSubscription
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id
+
+
+ Location
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbSubscriptionListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbSubscriptionListResult
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbSubscriptionProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbSubscriptionProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AccessedAt
+
+
+ CreatedAt
+
+
+ DeadLetteringOnFilterEvaluationException
+
+
+ DeadLetteringOnMessageExpiration
+
+
+ EnableBatchedOperation
+
+
+ ForwardDeadLetteredMessagesTo
+
+
+ ForwardTo
+
+
+ IsClientAffine
+
+
+ MaxDeliveryCount
+
+
+ MessageCount
+
+
+ RequiresSession
+
+
+ Status
+
+
+ UpdatedAt
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbTopic
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbTopic
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id
+
+
+ Location
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbTopicListResult
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbTopicListResult
+
+
+
+
+
+
+
+
+
+
+
+ NextLink
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbTopicProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SbTopicProperties
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ AccessedAt
+
+
+ CreatedAt
+
+
+ EnableBatchedOperation
+
+
+ EnableExpress
+
+
+ EnablePartitioning
+
+
+ MaxMessageSizeInKilobyte
+
+
+ MaxSizeInMegabyte
+
+
+ RequiresDuplicateDetection
+
+
+ SizeInByte
+
+
+ Status
+
+
+ SubscriptionCount
+
+
+ SupportOrdering
+
+
+ UpdatedAt
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SqlFilter
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SqlFilter
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CompatibilityLevel
+
+
+ RequiresPreprocessing
+
+
+ SqlExpression
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SqlRuleAction
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.SqlRuleAction
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CompatibilityLevel
+
+
+ RequiresPreprocessing
+
+
+ SqlExpression
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.Subnet
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.Subnet
+
+
+
+
+
+
+
+
+
+
+
+ Id
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.UserAssignedIdentity
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.UserAssignedIdentity
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ClientId
+
+
+ PrincipalId
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.UserAssignedIdentityProperties
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.UserAssignedIdentityProperties
+
+
+
+
+
+
+
+
+
+
+
+ UserAssignedIdentity
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api10.ErrorAdditionalInfo
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api10.ErrorAdditionalInfo
+
+
+
+
+
+
+
+
+
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api10.ErrorResponseError
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api10.ErrorResponseError
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Code
+
+
+ Message
+
+
+ Target
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api10.MessageCountDetails
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api10.MessageCountDetails
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ActiveMessageCount
+
+
+ DeadLetterMessageCount
+
+
+ ScheduledMessageCount
+
+
+ TransferDeadLetterMessageCount
+
+
+ TransferMessageCount
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api10.ProxyResource
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api10.ProxyResource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id
+
+
+ Location
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api10.Resource
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api10.Resource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id
+
+
+ Name
+
+
+ Type
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api10.SystemData
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api10.SystemData
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ CreatedAt
+
+
+ CreatedBy
+
+
+ CreatedByType
+
+
+ LastModifiedAt
+
+
+ LastModifiedBy
+
+
+ LastModifiedByType
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api10.TrackedResource
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api10.TrackedResource
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Id
+
+
+ Name
+
+
+ Type
+
+
+ Location
+
+
+
+
+
+
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api10.TrackedResourceTags
+
+ Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api10.TrackedResourceTags
+
+
+
+
+
+
+
+
+
+
+
+ Item
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/swaggerci/servicebus/Az.ServiceBus.nuspec b/swaggerci/servicebus/Az.ServiceBus.nuspec
new file mode 100644
index 000000000000..2f7d839e94ae
--- /dev/null
+++ b/swaggerci/servicebus/Az.ServiceBus.nuspec
@@ -0,0 +1,32 @@
+
+
+
+ Az.ServiceBus
+ 0.1.0
+ Microsoft Corporation
+ Microsoft Corporation
+ true
+ https://aka.ms/azps-license
+ https://github.com/Azure/azure-powershell
+ Microsoft Azure PowerShell: $(service-name) cmdlets
+
+ Microsoft Corporation. All rights reserved.
+ Azure ResourceManager ARM PSModule $(service-name)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/swaggerci/servicebus/Az.ServiceBus.psd1 b/swaggerci/servicebus/Az.ServiceBus.psd1
new file mode 100644
index 000000000000..df66e98d40f8
--- /dev/null
+++ b/swaggerci/servicebus/Az.ServiceBus.psd1
@@ -0,0 +1,24 @@
+@{
+ GUID = 'ba64362c-d795-4229-81ab-db258e59bff4'
+ RootModule = './Az.ServiceBus.psm1'
+ ModuleVersion = '0.1.0'
+ CompatiblePSEditions = 'Core', 'Desktop'
+ Author = 'Microsoft Corporation'
+ CompanyName = 'Microsoft Corporation'
+ Copyright = 'Microsoft Corporation. All rights reserved.'
+ Description = 'Microsoft Azure PowerShell: ServiceBus cmdlets'
+ PowerShellVersion = '5.1'
+ DotNetFrameworkVersion = '4.7.2'
+ RequiredAssemblies = './bin/Az.ServiceBus.private.dll'
+ FormatsToProcess = './Az.ServiceBus.format.ps1xml'
+ FunctionsToExport = 'Complete-AzServiceBusMigrationConfigMigration', 'Get-AzServiceBusDisasterRecoveryConfig', 'Get-AzServiceBusDisasterRecoveryConfigAuthorizationRule', 'Get-AzServiceBusDisasterRecoveryConfigKey', 'Get-AzServiceBusMigrationConfig', 'Get-AzServiceBusNamespace', 'Get-AzServiceBusNamespaceAuthorizationRule', 'Get-AzServiceBusNamespaceKey', 'Get-AzServiceBusNamespaceNetworkRuleSet', 'Get-AzServiceBusPrivateEndpointConnection', 'Get-AzServiceBusPrivateLinkResource', 'Get-AzServiceBusQueue', 'Get-AzServiceBusQueueAuthorizationRule', 'Get-AzServiceBusQueueKey', 'Get-AzServiceBusRule', 'Get-AzServiceBusSubscription', 'Get-AzServiceBusTopic', 'Get-AzServiceBusTopicAuthorizationRule', 'Get-AzServiceBusTopicKey', 'Invoke-AzServiceBusBreakDisasterRecoveryConfigPairing', 'Invoke-AzServiceBusFailDisasterRecoveryConfigOver', 'Invoke-AzServiceBusRevertMigrationConfig', 'New-AzServiceBusDisasterRecoveryConfig', 'New-AzServiceBusMigrationConfigAndStartMigration', 'New-AzServiceBusNamespace', 'New-AzServiceBusNamespaceAuthorizationRule', 'New-AzServiceBusNamespaceKey', 'New-AzServiceBusNamespaceNetworkRuleSet', 'New-AzServiceBusPrivateEndpointConnection', 'New-AzServiceBusQueue', 'New-AzServiceBusQueueAuthorizationRule', 'New-AzServiceBusQueueKey', 'New-AzServiceBusRule', 'New-AzServiceBusSubscription', 'New-AzServiceBusTopic', 'New-AzServiceBusTopicAuthorizationRule', 'New-AzServiceBusTopicKey', 'Remove-AzServiceBusDisasterRecoveryConfig', 'Remove-AzServiceBusMigrationConfig', 'Remove-AzServiceBusNamespace', 'Remove-AzServiceBusNamespaceAuthorizationRule', 'Remove-AzServiceBusPrivateEndpointConnection', 'Remove-AzServiceBusQueue', 'Remove-AzServiceBusQueueAuthorizationRule', 'Remove-AzServiceBusRule', 'Remove-AzServiceBusSubscription', 'Remove-AzServiceBusTopic', 'Remove-AzServiceBusTopicAuthorizationRule', 'Test-AzServiceBusDisasterRecoveryConfigNameAvailability', 'Test-AzServiceBusNamespaceNameAvailability', 'Update-AzServiceBusNamespace', '*'
+ AliasesToExport = '*'
+ PrivateData = @{
+ PSData = @{
+ Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'ServiceBus'
+ LicenseUri = 'https://aka.ms/azps-license'
+ ProjectUri = 'https://github.com/Azure/azure-powershell'
+ ReleaseNotes = ''
+ }
+ }
+}
diff --git a/swaggerci/servicebus/Az.ServiceBus.psm1 b/swaggerci/servicebus/Az.ServiceBus.psm1
new file mode 100644
index 000000000000..4c80525c913b
--- /dev/null
+++ b/swaggerci/servicebus/Az.ServiceBus.psm1
@@ -0,0 +1,107 @@
+# region Generated
+ # ----------------------------------------------------------------------------------
+ # Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the MIT License. See License.txt in the project root for license information.
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is regenerated.
+ # ----------------------------------------------------------------------------------
+ # Load required Az.Accounts module
+ $accountsName = 'Az.Accounts'
+ $accountsModule = Get-Module -Name $accountsName
+ if(-not $accountsModule) {
+ $localAccountsPath = Join-Path $PSScriptRoot 'generated/modules'
+ if(Test-Path -Path $localAccountsPath) {
+ $localAccounts = Get-ChildItem -Path $localAccountsPath -Recurse -Include 'Az.Accounts.psd1' | Select-Object -Last 1
+ if($localAccounts) {
+ $accountsModule = Import-Module -Name ($localAccounts.FullName) -Scope Global -PassThru
+ }
+ }
+ if(-not $accountsModule) {
+ $hasAdequateVersion = (Get-Module -Name $accountsName -ListAvailable | Where-Object { $_.Version -ge [System.Version]'2.7.5' } | Measure-Object).Count -gt 0
+ if($hasAdequateVersion) {
+ $accountsModule = Import-Module -Name $accountsName -MinimumVersion 2.7.5 -Scope Global -PassThru
+ }
+ }
+ }
+
+ if(-not $accountsModule) {
+ Write-Error "`nThis module requires $accountsName version 2.7.5 or greater. For installation instructions, please see: https://docs.microsoft.com/powershell/azure/install-az-ps" -ErrorAction Stop
+ } elseif (($accountsModule.Version -lt [System.Version]'2.7.5') -and (-not $localAccounts)) {
+ Write-Error "`nThis module requires $accountsName version 2.7.5 or greater. An earlier version of Az.Accounts is imported in the current PowerShell session. If you are running test, please try to add the switch '-RegenerateSupportModule' when executing 'test-module.ps1'. Otherwise please open a new PowerShell session and import this module again.`nAdditionally, this error could indicate that multiple incompatible versions of Azure PowerShell modules are installed on your system. For troubleshooting information, please see: https://aka.ms/azps-version-error" -ErrorAction Stop
+ }
+ Write-Information "Loaded Module '$($accountsModule.Name)'"
+
+ # Load the private module dll
+ $null = Import-Module -Name (Join-Path $PSScriptRoot './bin/Az.ServiceBus.private.dll')
+
+ # Get the private module's instance
+ $instance = [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Module]::Instance
+
+ # Ask for the shared functionality table
+ $VTable = Register-AzModule
+
+ # Tweaks the pipeline on module load
+ $instance.OnModuleLoad = $VTable.OnModuleLoad
+
+ # Following two delegates are added for telemetry
+ $instance.GetTelemetryId = $VTable.GetTelemetryId
+ $instance.Telemetry = $VTable.Telemetry
+
+
+ # Tweaks the pipeline per call
+ $instance.OnNewRequest = $VTable.OnNewRequest
+
+ # Gets shared parameter values
+ $instance.GetParameterValue = $VTable.GetParameterValue
+
+ # Allows shared module to listen to events from this module
+ $instance.EventListener = $VTable.EventListener
+
+ # Gets shared argument completers
+ $instance.ArgumentCompleter = $VTable.ArgumentCompleter
+
+ # The name of the currently selected Azure profile
+ $instance.ProfileName = $VTable.ProfileName
+
+
+ # Load the custom module
+ $customModulePath = Join-Path $PSScriptRoot './custom/Az.ServiceBus.custom.psm1'
+ if(Test-Path $customModulePath) {
+ $null = Import-Module -Name $customModulePath
+ }
+
+ # Export nothing to clear implicit exports
+ Export-ModuleMember
+
+ # Export proxy cmdlet scripts
+ $exportsPath = Join-Path $PSScriptRoot './exports'
+ $directories = Get-ChildItem -Directory -Path $exportsPath
+ $profileDirectory = $null
+ if($instance.ProfileName) {
+ if(($directories | ForEach-Object { $_.Name }) -contains $instance.ProfileName) {
+ $profileDirectory = $directories | Where-Object { $_.Name -eq $instance.ProfileName }
+ } else {
+ # Don't export anything if the profile doesn't exist for the module
+ $exportsPath = $null
+ Write-Warning "Selected Azure profile '$($instance.ProfileName)' does not exist for module '$($instance.Name)'. No cmdlets were loaded."
+ }
+ } elseif(($directories | Measure-Object).Count -gt 0) {
+ # Load the last folder if no profile is selected
+ $profileDirectory = $directories | Select-Object -Last 1
+ }
+
+ if($profileDirectory) {
+ Write-Information "Loaded Azure profile '$($profileDirectory.Name)' for module '$($instance.Name)'"
+ $exportsPath = $profileDirectory.FullName
+ }
+
+ if($exportsPath) {
+ Get-ChildItem -Path $exportsPath -Recurse -Include '*.ps1' -File | ForEach-Object { . $_.FullName }
+ $cmdletNames = Get-ScriptCmdlet -ScriptFolder $exportsPath
+ Export-ModuleMember -Function $cmdletNames -Alias (Get-ScriptCmdlet -ScriptFolder $exportsPath -AsAlias)
+ }
+
+ # Finalize initialization of this module
+ $instance.Init();
+ Write-Information "Loaded Module '$($instance.Name)'"
+# endregion
diff --git a/swaggerci/servicebus/MSSharedLibKey.snk b/swaggerci/servicebus/MSSharedLibKey.snk
new file mode 100644
index 000000000000..695f1b38774e
Binary files /dev/null and b/swaggerci/servicebus/MSSharedLibKey.snk differ
diff --git a/swaggerci/servicebus/README.md b/swaggerci/servicebus/README.md
new file mode 100644
index 000000000000..ce93d71e11af
--- /dev/null
+++ b/swaggerci/servicebus/README.md
@@ -0,0 +1,27 @@
+
+# Az.ServiceBus
+This directory contains the PowerShell module for the ServiceBus service.
+
+---
+## Status
+[![Az.ServiceBus](https://img.shields.io/powershellgallery/v/Az.ServiceBus.svg?style=flat-square&label=Az.ServiceBus "Az.ServiceBus")](https://www.powershellgallery.com/packages/Az.ServiceBus/)
+
+## Info
+- Modifiable: yes
+- Generated: all
+- Committed: yes
+- Packaged: yes
+
+---
+## Detail
+This module was primarily generated via [AutoRest](https://github.com/Azure/autorest) using the [PowerShell](https://github.com/Azure/autorest.powershell) extension.
+
+## Module Requirements
+- [Az.Accounts module](https://www.powershellgallery.com/packages/Az.Accounts/), version 2.7.5 or greater
+
+## Authentication
+AutoRest does not generate authentication code for the module. Authentication is handled via Az.Accounts by altering the HTTP payload before it is sent.
+
+## Development
+For information on how to develop for `Az.ServiceBus`, see [how-to.md](how-to.md).
+
diff --git a/swaggerci/servicebus/build-module.ps1 b/swaggerci/servicebus/build-module.ps1
new file mode 100644
index 000000000000..211da92b30e0
--- /dev/null
+++ b/swaggerci/servicebus/build-module.ps1
@@ -0,0 +1,153 @@
+# ----------------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the MIT License. See License.txt in the project root for license information.
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is regenerated.
+# ----------------------------------------------------------------------------------
+param([switch]$Isolated, [switch]$Run, [switch]$Test, [switch]$Docs, [switch]$Pack, [switch]$Code, [switch]$Release, [switch]$Debugger, [switch]$NoDocs)
+$ErrorActionPreference = 'Stop'
+
+if($PSEdition -ne 'Core') {
+ Write-Error 'This script requires PowerShell Core to execute. [Note] Generated cmdlets will work in both PowerShell Core or Windows PowerShell.'
+}
+
+if(-not $Isolated -and -not $Debugger) {
+ Write-Host -ForegroundColor Green 'Creating isolated process...'
+ $pwsh = [System.Diagnostics.Process]::GetCurrentProcess().Path
+ & "$pwsh" -NonInteractive -NoLogo -NoProfile -File $MyInvocation.MyCommand.Path @PSBoundParameters -Isolated
+
+ if($LastExitCode -ne 0) {
+ # Build failed. Don't attempt to run the module.
+ return
+ }
+
+ if($Test) {
+ . (Join-Path $PSScriptRoot 'test-module.ps1')
+ if($LastExitCode -ne 0) {
+ # Tests failed. Don't attempt to run the module.
+ return
+ }
+ }
+
+ if($Docs) {
+ . (Join-Path $PSScriptRoot 'generate-help.ps1')
+ if($LastExitCode -ne 0) {
+ # Docs generation failed. Don't attempt to run the module.
+ return
+ }
+ }
+
+ if($Pack) {
+ . (Join-Path $PSScriptRoot 'pack-module.ps1')
+ if($LastExitCode -ne 0) {
+ # Packing failed. Don't attempt to run the module.
+ return
+ }
+ }
+
+ $runModulePath = Join-Path $PSScriptRoot 'run-module.ps1'
+ if($Code) {
+ . $runModulePath -Code
+ } elseif($Run) {
+ . $runModulePath
+ } else {
+ Write-Host -ForegroundColor Cyan "To run this module in an isolated PowerShell session, run the 'run-module.ps1' script or provide the '-Run' parameter to this script."
+ }
+ return
+}
+
+$binFolder = Join-Path $PSScriptRoot 'bin'
+$objFolder = Join-Path $PSScriptRoot 'obj'
+
+if(-not $Debugger) {
+ Write-Host -ForegroundColor Green 'Cleaning build folders...'
+ $null = Remove-Item -Recurse -ErrorAction SilentlyContinue -Path $binFolder, $objFolder
+
+ if((Test-Path $binFolder) -or (Test-Path $objFolder)) {
+ Write-Host -ForegroundColor Cyan 'Did you forget to exit your isolated module session before rebuilding?'
+ Write-Error 'Unable to clean ''bin'' or ''obj'' folder. A process may have an open handle.'
+ }
+
+ Write-Host -ForegroundColor Green 'Compiling module...'
+ $buildConfig = 'Debug'
+ if($Release) {
+ $buildConfig = 'Release'
+ }
+ dotnet publish $PSScriptRoot --verbosity quiet --configuration $buildConfig /nologo
+ if($LastExitCode -ne 0) {
+ Write-Error 'Compilation failed.'
+ }
+
+ $null = Remove-Item -Recurse -ErrorAction SilentlyContinue -Path (Join-Path $binFolder 'Debug'), (Join-Path $binFolder 'Release')
+}
+
+$dll = Join-Path $PSScriptRoot 'bin/Az.ServiceBus.private.dll'
+if(-not (Test-Path $dll)) {
+ Write-Error "Unable to find output assembly in '$binFolder'."
+}
+
+# Load DLL to use build-time cmdlets
+$null = Import-Module -Name $dll
+
+$modulePaths = $dll
+$customPsm1 = Join-Path $PSScriptRoot 'custom/Az.ServiceBus.custom.psm1'
+if(Test-Path $customPsm1) {
+ $modulePaths = @($dll, $customPsm1)
+}
+
+$exportsFolder = Join-Path $PSScriptRoot 'exports'
+if(Test-Path $exportsFolder) {
+ $null = Get-ChildItem -Path $exportsFolder -Recurse -Exclude 'README.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue
+}
+$null = New-Item -ItemType Directory -Force -Path $exportsFolder
+
+$internalFolder = Join-Path $PSScriptRoot 'internal'
+if(Test-Path $internalFolder) {
+ $null = Get-ChildItem -Path $internalFolder -Recurse -Exclude '*.psm1', 'README.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue
+}
+$null = New-Item -ItemType Directory -Force -Path $internalFolder
+
+$psd1 = Join-Path $PSScriptRoot './Az.ServiceBus.psd1'
+$guid = Get-ModuleGuid -Psd1Path $psd1
+$moduleName = 'Az.ServiceBus'
+$examplesFolder = Join-Path $PSScriptRoot 'examples'
+$null = New-Item -ItemType Directory -Force -Path $examplesFolder
+
+Write-Host -ForegroundColor Green 'Creating cmdlets for specified models...'
+$modelCmdlets = @()
+if ($modelCmdlets.Count -gt 0) {
+ . (Join-Path $PSScriptRoot 'create-model-cmdlets.ps1')
+ CreateModelCmdlet($modelCmdlets)
+}
+
+if($NoDocs) {
+ Write-Host -ForegroundColor Green 'Creating exports...'
+ Export-ProxyCmdlet -ModuleName $moduleName -ModulePath $modulePaths -ExportsFolder $exportsFolder -InternalFolder $internalFolder -ExcludeDocs -ExamplesFolder $examplesFolder
+} else {
+ Write-Host -ForegroundColor Green 'Creating exports and docs...'
+ $moduleDescription = 'Microsoft Azure PowerShell: ServiceBus cmdlets'
+ $docsFolder = Join-Path $PSScriptRoot 'docs'
+ if(Test-Path $docsFolder) {
+ $null = Get-ChildItem -Path $docsFolder -Recurse -Exclude 'README.md' | Remove-Item -Recurse -ErrorAction SilentlyContinue
+ }
+ $null = New-Item -ItemType Directory -Force -Path $docsFolder
+ Export-ProxyCmdlet -ModuleName $moduleName -ModulePath $modulePaths -ExportsFolder $exportsFolder -InternalFolder $internalFolder -ModuleDescription $moduleDescription -DocsFolder $docsFolder -ExamplesFolder $examplesFolder -ModuleGuid $guid
+}
+
+Write-Host -ForegroundColor Green 'Creating format.ps1xml...'
+$formatPs1xml = Join-Path $PSScriptRoot './Az.ServiceBus.format.ps1xml'
+Export-FormatPs1xml -FilePath $formatPs1xml
+
+Write-Host -ForegroundColor Green 'Creating psd1...'
+$customFolder = Join-Path $PSScriptRoot 'custom'
+Export-Psd1 -ExportsFolder $exportsFolder -CustomFolder $customFolder -Psd1Path $psd1 -ModuleGuid $guid
+
+Write-Host -ForegroundColor Green 'Creating test stubs...'
+$testFolder = Join-Path $PSScriptRoot 'test'
+$null = New-Item -ItemType Directory -Force -Path $testFolder
+Export-TestStub -ModuleName $moduleName -ExportsFolder $exportsFolder -OutputFolder $testFolder
+
+Write-Host -ForegroundColor Green 'Creating example stubs...'
+Export-ExampleStub -ExportsFolder $exportsFolder -OutputFolder $examplesFolder
+
+Write-Host -ForegroundColor Green '-------------Done-------------'
diff --git a/swaggerci/servicebus/check-dependencies.ps1 b/swaggerci/servicebus/check-dependencies.ps1
new file mode 100644
index 000000000000..ec3055201a71
--- /dev/null
+++ b/swaggerci/servicebus/check-dependencies.ps1
@@ -0,0 +1,57 @@
+# ----------------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the MIT License. See License.txt in the project root for license information.
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is regenerated.
+# ----------------------------------------------------------------------------------
+param([switch]$Isolated, [switch]$Accounts, [switch]$Pester, [switch]$Resources)
+$ErrorActionPreference = 'Stop'
+
+if(-not $Isolated) {
+ Write-Host -ForegroundColor Green 'Creating isolated process...'
+ $pwsh = [System.Diagnostics.Process]::GetCurrentProcess().Path
+ & "$pwsh" -NoExit -NoLogo -NoProfile -File $MyInvocation.MyCommand.Path @PSBoundParameters -Isolated
+ return
+}
+
+function DownloadModule ([bool]$predicate, [string]$path, [string]$moduleName, [string]$versionMinimum, [string]$requiredVersion) {
+ if($predicate) {
+ $module = Get-Module -ListAvailable -Name $moduleName
+ if((-not $module) -or ($versionMinimum -and ($module | ForEach-Object { $_.Version } | Where-Object { $_ -ge [System.Version]$versionMinimum } | Measure-Object).Count -eq 0) -or ($requiredVersion -and ($module | ForEach-Object { $_.Version } | Where-Object { $_ -eq [System.Version]$requiredVersion } | Measure-Object).Count -eq 0)) {
+ $null = New-Item -ItemType Directory -Force -Path $path
+ Write-Host -ForegroundColor Green "Installing local $moduleName module into '$path'..."
+ if ($requiredVersion) {
+ Find-Module -Name $moduleName -RequiredVersion $requiredVersion -Repository PSGallery | Save-Module -Path $path
+ }elseif($versionMinimum) {
+ Find-Module -Name $moduleName -MinimumVersion $versionMinimum -Repository PSGallery | Save-Module -Path $path
+ } else {
+ Find-Module -Name $moduleName -Repository PSGallery | Save-Module -Path $path
+ }
+ }
+ }
+}
+
+$ProgressPreference = 'SilentlyContinue'
+$all = (@($Accounts.IsPresent, $Pester.IsPresent) | Select-Object -Unique | Measure-Object).Count -eq 1
+
+$localModulesPath = Join-Path $PSScriptRoot 'generated/modules'
+if(Test-Path -Path $localModulesPath) {
+ $env:PSModulePath = "$localModulesPath$([IO.Path]::PathSeparator)$env:PSModulePath"
+}
+
+DownloadModule -predicate ($all -or $Accounts) -path $localModulesPath -moduleName 'Az.Accounts' -versionMinimum '2.7.5'
+DownloadModule -predicate ($all -or $Pester) -path $localModulesPath -moduleName 'Pester' -requiredVersion '4.10.1'
+
+$tools = Join-Path $PSScriptRoot 'tools'
+$resourceDir = Join-Path $tools 'Resources'
+$resourceModule = Join-Path $HOME '.PSSharedModules\Resources\Az.Resources.TestSupport.psm1'
+
+if ($Resources.IsPresent -and ((-not (Test-Path -Path $resourceModule)) -or $RegenerateSupportModule.IsPresent)) {
+ Write-Host -ForegroundColor Green "Building local Resource module used for test..."
+ Set-Location $resourceDir
+ $null = autorest .\README.md --use:@autorest/powershell@3.0.414 --output-folder=$HOME/.PSSharedModules/Resources
+ $null = Copy-Item custom/* $HOME/.PSSharedModules/Resources/custom/
+ Set-Location $HOME/.PSSharedModules/Resources
+ $null = .\build-module.ps1
+ Set-Location $PSScriptRoot
+}
diff --git a/swaggerci/servicebus/create-model-cmdlets.ps1 b/swaggerci/servicebus/create-model-cmdlets.ps1
new file mode 100644
index 000000000000..2e245af871c6
--- /dev/null
+++ b/swaggerci/servicebus/create-model-cmdlets.ps1
@@ -0,0 +1,163 @@
+# ----------------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the MIT License. See License.txt in the project root for license information.
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is regenerated.
+# ----------------------------------------------------------------------------------
+
+function CreateModelCmdlet {
+
+ param([string[]]$Models)
+
+ if ($Models.Count -eq 0)
+ {
+ return
+ }
+
+ $ModelCsPath = Join-Path (Join-Path $PSScriptRoot 'generated/api') 'Models'
+ $ModuleName = 'ServiceBus'
+ $OutputDir = Join-Path $PSScriptRoot 'custom/autogen-model-cmdlets'
+ $null = New-Item -ItemType Directory -Force -Path $OutputDir
+
+ $CsFiles = Get-ChildItem -Path $ModelCsPath -Recurse -Filter *.cs
+ $Content = ''
+ $null = $CsFiles | ForEach-Object -Process { if ($_.Name.Split('.').count -eq 2 )
+ { $Content += get-content $_.fullname -raw
+ } }
+
+ $Tree = [Microsoft.CodeAnalysis.CSharp.SyntaxFactory]::ParseCompilationUnit($Content)
+ $Nodes = $Tree.ChildNodes().ChildNodes()
+ foreach ($Model in $Models)
+ {
+ $InterfaceNode = $Nodes | Where-Object { ($_.Keyword.value -eq 'interface') -and ($_.Identifier.value -eq "I$Model") }
+ if ($InterfaceNode.count -eq 0) {
+ continue
+ }
+ # through a queue, we iterate all the parent models.
+ $Queue = @($InterfaceNode)
+ $visited = @("I$Model")
+ $AllInterfaceNodes = @()
+ while ($Queue.count -ne 0)
+ {
+ $AllInterfaceNodes += $Queue[0]
+ # Baselist contains the direct parent models.
+ foreach ($parent in $Queue[0].BaseList.Types)
+ {
+ if (($parent.Type.Right.Identifier.Value -ne 'IJsonSerializable') -and (-not $visited.Contains($parent.Type.Right.Identifier.Value)))
+ {
+ $Queue = [Array]$Queue + ($Nodes | Where-Object { ($_.Keyword.value -eq 'interface') -and ($_.Identifier.value -eq $parent.Type.Right.Identifier.Value) })
+ $visited = [Array]$visited + $parent.Type.Right.Identifier.Value
+ }
+ }
+ $first, $Queue = $Queue
+ }
+
+ $Namespace = $InterfaceNode.Parent.Name
+ $ObjectType = $Model
+ $ObjectTypeWithNamespace = "${Namespace}.${ObjectType}"
+ # remove duplicated module name
+ if ($ObjectType.StartsWith($ModuleName)) {
+ $ModulePrefix = ''
+ } else {
+ $ModulePrefix = $ModuleName
+ }
+ $OutputPath = Join-Path -ChildPath "New-Az${ModulePrefix}${ObjectType}Object.ps1" -Path $OutputDir
+
+ $ParameterDefineScriptList = New-Object System.Collections.Generic.List[string]
+ $ParameterAssignScriptList = New-Object System.Collections.Generic.List[string]
+ foreach ($Node in $AllInterfaceNodes)
+ {
+ foreach ($Member in $Node.Members)
+ {
+ $Arguments = $Member.AttributeLists.Attributes.ArgumentList.Arguments
+ $Required = $false
+ $Description = ""
+ $Readonly = $False
+ foreach ($Argument in $Arguments)
+ {
+ if ($Argument.NameEquals.Name.Identifier.Value -eq "Required")
+ {
+ $Required = $Argument.Expression.Token.Value
+ }
+ if ($Argument.NameEquals.Name.Identifier.Value -eq "Description")
+ {
+ $Description = $Argument.Expression.Token.Value.Trim('.').replace('"', '`"')
+ }
+ if ($Argument.NameEquals.Name.Identifier.Value -eq "Readonly")
+ {
+ $Readonly = $Argument.Expression.Token.Value
+ }
+ }
+ if ($Readonly)
+ {
+ continue
+ }
+ $Identifier = $Member.Identifier.Value
+ $Type = $Member.Type.ToString().replace('?', '').Split("::")[-1]
+ $ParameterDefinePropertyList = New-Object System.Collections.Generic.List[string]
+ if ($Required)
+ {
+ $ParameterDefinePropertyList.Add("Mandatory")
+ }
+ if ($Description -ne "")
+ {
+ $ParameterDefinePropertyList.Add("HelpMessage=`"${Description}.`"")
+ }
+ $ParameterDefineProperty = [System.String]::Join(", ", $ParameterDefinePropertyList)
+ # check whether completer is needed
+ $completer = '';
+ if($Type.Split('.').Split('.')[-2] -eq 'Support') {
+ # If Type is an array, need to strip []
+ $strippedType = $Type.Replace('[]', '')
+ $completer += "`n [ArgumentCompleter([${strippedType}])]"
+ }
+ $ParameterDefineScript = "
+ [Parameter($ParameterDefineProperty)]${completer}
+ [${Type}]
+ `$${Identifier}"
+ $ParameterDefineScriptList.Add($ParameterDefineScript)
+ $ParameterAssignScriptList.Add("
+ if (`$PSBoundParameters.ContainsKey('${Identifier}')) {
+ `$Object.${Identifier} = `$${Identifier}
+ }")
+ }
+ }
+ $ParameterDefineScript = $ParameterDefineScriptList | Join-String -Separator ","
+ $ParameterAssignScript = $ParameterAssignScriptList | Join-String -Separator ""
+
+ $Script = "
+# ----------------------------------------------------------------------------------
+# Copyright (c) Microsoft Corporation. All rights reserved.
+# Licensed under the MIT License. See License.txt in the project root for license information.
+# Code generated by Microsoft (R) AutoRest Code Generator.
+# Changes may cause incorrect behavior and will be lost if the code is regenerated.
+# ----------------------------------------------------------------------------------
+
+<#
+.Synopsis
+Create an in-memory object for ${ObjectType}.
+.Description
+Create an in-memory object for ${ObjectType}.
+
+.Outputs
+${ObjectTypeWithNamespace}
+.Link
+https://docs.microsoft.com/en-us/powershell/module/az.${ModuleName}/new-Az${ModulePrefix}${ObjectType}Object
+#>
+function New-Az${ModulePrefix}${ObjectType}Object {
+ [OutputType('${ObjectTypeWithNamespace}')]
+ [CmdletBinding(PositionalBinding=`$false)]
+ Param(
+${ParameterDefineScript}
+ )
+
+ process {
+ `$Object = [${ObjectTypeWithNamespace}]::New()
+${ParameterAssignScript}
+ return `$Object
+ }
+}
+"
+ Set-Content -Path $OutputPath -Value $Script
+ }
+}
diff --git a/swaggerci/servicebus/custom/Az.ServiceBus.custom.psm1 b/swaggerci/servicebus/custom/Az.ServiceBus.custom.psm1
new file mode 100644
index 000000000000..db2bd2f87138
--- /dev/null
+++ b/swaggerci/servicebus/custom/Az.ServiceBus.custom.psm1
@@ -0,0 +1,17 @@
+# region Generated
+ # Load the private module dll
+ $null = Import-Module -PassThru -Name (Join-Path $PSScriptRoot '../bin/Az.ServiceBus.private.dll')
+
+ # Load the internal module
+ $internalModulePath = Join-Path $PSScriptRoot '../internal/Az.ServiceBus.internal.psm1'
+ if(Test-Path $internalModulePath) {
+ $null = Import-Module -Name $internalModulePath
+ }
+
+ # Export nothing to clear implicit exports
+ Export-ModuleMember
+
+ # Export script cmdlets
+ Get-ChildItem -Path $PSScriptRoot -Recurse -Include '*.ps1' -File | ForEach-Object { . $_.FullName }
+ Export-ModuleMember -Function (Get-ScriptCmdlet -ScriptFolder $PSScriptRoot) -Alias (Get-ScriptCmdlet -ScriptFolder $PSScriptRoot -AsAlias)
+# endregion
diff --git a/swaggerci/servicebus/custom/README.md b/swaggerci/servicebus/custom/README.md
new file mode 100644
index 000000000000..00bb8cc04eae
--- /dev/null
+++ b/swaggerci/servicebus/custom/README.md
@@ -0,0 +1,41 @@
+# Custom
+This directory contains custom implementation for non-generated cmdlets for the `Az.ServiceBus` module. Both scripts (`.ps1`) and C# files (`.cs`) can be implemented here. They will be used during the build process in `build-module.ps1`, and create cmdlets into the `../exports` folder. The only generated file into this folder is the `Az.ServiceBus.custom.psm1`. This file should not be modified.
+
+## Info
+- Modifiable: yes
+- Generated: partial
+- Committed: yes
+- Packaged: yes
+
+## Details
+For `Az.ServiceBus` to use custom cmdlets, it does this two different ways. We **highly recommend** creating script cmdlets, as they are easier to write and allow access to the other exported cmdlets. C# cmdlets *cannot access exported cmdlets*.
+
+For C# cmdlets, they are compiled with the rest of the generated low-level cmdlets into the `./bin/Az.ServiceBus.private.dll`. The names of the cmdlets (methods) and files must follow the `[cmdletName]_[variantName]` syntax used for generated cmdlets. The `variantName` is used as the `ParameterSetName`, so use something appropriate that doesn't clash with already created variant or parameter set names. You cannot use the `ParameterSetName` property in the `Parameter` attribute on C# cmdlets. Each cmdlet must be separated into variants using the same pattern as seen in the `generated/cmdlets` folder.
+
+For script cmdlets, these are loaded via the `Az.ServiceBus.custom.psm1`. Then, during the build process, this module is loaded and processed in the same manner as the C# cmdlets. The fundamental difference is the script cmdlets use the `ParameterSetName` attribute and C# cmdlets do not. To create a script cmdlet variant of a generated cmdlet, simply decorate all parameters in the script with the new `ParameterSetName` in the `Parameter` attribute. This will appropriately treat each parameter set as a separate variant when processed to be exported during the build.
+
+## Purpose
+This allows the modules to have cmdlets that were not defined in the REST specification. It also allows combining logic using generated cmdlets. This is a level of customization beyond what can be done using the [readme configuration options](https://github.com/Azure/autorest/blob/master/docs/powershell/options.md) that are currently available. These custom cmdlets are then referenced by the cmdlets created at build-time in the `../exports` folder.
+
+## Usage
+The easiest way currently to start developing custom cmdlets is to copy an existing cmdlet. For C# cmdlets, copy one from the `generated/cmdlets` folder. For script cmdlets, build the project using `build-module.ps1` and copy one of the scripts from the `../exports` folder. After that, if you want to add new parameter sets, follow the guidelines in the `Details` section above. For implementing a new cmdlets, at minimum, please keep these parameters:
+- Break
+- DefaultProfile
+- HttpPipelineAppend
+- HttpPipelinePrepend
+- Proxy
+- ProxyCredential
+- ProxyUseDefaultCredentials
+
+These provide functionality to our HTTP pipeline and other useful features. In script, you can forward these parameters using `$PSBoundParameters` to the other cmdlets you're calling within `Az.ServiceBus`. For C#, follow the usage seen in the `ProcessRecordAsync` method.
+
+### Attributes
+For processing the cmdlets, we've created some additional attributes:
+- `Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.DescriptionAttribute`
+ - Used in C# cmdlets to provide a high-level description of the cmdlet. This is propagated to reference documentation via [help comments](https://docs.microsoft.com/powershell/module/microsoft.powershell.core/about/about_comment_based_help) in the exported scripts.
+- `Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.DoNotExportAttribute`
+ - Used in C# and script cmdlets to suppress creating an exported cmdlet at build-time. These cmdlets will *not be exposed* by `Az.ServiceBus`.
+- `Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.InternalExportAttribute`
+ - Used in C# cmdlets to route exported cmdlets to the `../internal`, which are *not exposed* by `Az.ServiceBus`. For more information, see [README.md](../internal/README.md) in the `../internal` folder.
+- `Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.ProfileAttribute`
+ - Used in C# and script cmdlets to define which Azure profiles the cmdlet supports. This is only supported for Azure (`--azure`) modules.
\ No newline at end of file
diff --git a/swaggerci/servicebus/docs/Az.ServiceBus.md b/swaggerci/servicebus/docs/Az.ServiceBus.md
new file mode 100644
index 000000000000..7a4b3216d974
--- /dev/null
+++ b/swaggerci/servicebus/docs/Az.ServiceBus.md
@@ -0,0 +1,173 @@
+---
+Module Name: Az.ServiceBus
+Module Guid: ba64362c-d795-4229-81ab-db258e59bff4
+Download Help Link: https://docs.microsoft.com/en-us/powershell/module/az.servicebus
+Help Version: 1.0.0.0
+Locale: en-US
+---
+
+# Az.ServiceBus Module
+## Description
+Microsoft Azure PowerShell: ServiceBus cmdlets
+
+## Az.ServiceBus Cmdlets
+### [Complete-AzServiceBusMigrationConfigMigration](Complete-AzServiceBusMigrationConfigMigration.md)
+This operation Completes Migration of entities by pointing the connection strings to Premium namespace and any entities created after the operation will be under Premium Namespace.
+CompleteMigration operation will fail when entity migration is in-progress.
+
+### [Get-AzServiceBusDisasterRecoveryConfig](Get-AzServiceBusDisasterRecoveryConfig.md)
+Retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace
+
+### [Get-AzServiceBusDisasterRecoveryConfigAuthorizationRule](Get-AzServiceBusDisasterRecoveryConfigAuthorizationRule.md)
+Gets an authorization rule for a namespace by rule name.
+
+### [Get-AzServiceBusDisasterRecoveryConfigKey](Get-AzServiceBusDisasterRecoveryConfigKey.md)
+Gets the primary and secondary connection strings for the namespace.
+
+### [Get-AzServiceBusMigrationConfig](Get-AzServiceBusMigrationConfig.md)
+Retrieves Migration Config
+
+### [Get-AzServiceBusNamespace](Get-AzServiceBusNamespace.md)
+Gets a description for the specified namespace.
+
+### [Get-AzServiceBusNamespaceAuthorizationRule](Get-AzServiceBusNamespaceAuthorizationRule.md)
+Gets an authorization rule for a namespace by rule name.
+
+### [Get-AzServiceBusNamespaceKey](Get-AzServiceBusNamespaceKey.md)
+Gets the primary and secondary connection strings for the namespace.
+
+### [Get-AzServiceBusNamespaceNetworkRuleSet](Get-AzServiceBusNamespaceNetworkRuleSet.md)
+Gets NetworkRuleSet for a Namespace.
+
+### [Get-AzServiceBusPrivateEndpointConnection](Get-AzServiceBusPrivateEndpointConnection.md)
+Gets a description for the specified Private Endpoint Connection.
+
+### [Get-AzServiceBusPrivateLinkResource](Get-AzServiceBusPrivateLinkResource.md)
+Gets lists of resources that supports Privatelinks.
+
+### [Get-AzServiceBusQueue](Get-AzServiceBusQueue.md)
+Returns a description for the specified queue.
+
+### [Get-AzServiceBusQueueAuthorizationRule](Get-AzServiceBusQueueAuthorizationRule.md)
+Gets an authorization rule for a queue by rule name.
+
+### [Get-AzServiceBusQueueKey](Get-AzServiceBusQueueKey.md)
+Primary and secondary connection strings to the queue.
+
+### [Get-AzServiceBusRule](Get-AzServiceBusRule.md)
+Retrieves the description for the specified rule.
+
+### [Get-AzServiceBusSubscription](Get-AzServiceBusSubscription.md)
+Returns a subscription description for the specified topic.
+
+### [Get-AzServiceBusTopic](Get-AzServiceBusTopic.md)
+Returns a description for the specified topic.
+
+### [Get-AzServiceBusTopicAuthorizationRule](Get-AzServiceBusTopicAuthorizationRule.md)
+Returns the specified authorization rule.
+
+### [Get-AzServiceBusTopicKey](Get-AzServiceBusTopicKey.md)
+Gets the primary and secondary connection strings for the topic.
+
+### [Invoke-AzServiceBusBreakDisasterRecoveryConfigPairing](Invoke-AzServiceBusBreakDisasterRecoveryConfigPairing.md)
+This operation disables the Disaster Recovery and stops replicating changes from primary to secondary namespaces
+
+### [Invoke-AzServiceBusFailDisasterRecoveryConfigOver](Invoke-AzServiceBusFailDisasterRecoveryConfigOver.md)
+Invokes GEO DR failover and reconfigure the alias to point to the secondary namespace
+
+### [Invoke-AzServiceBusRevertMigrationConfig](Invoke-AzServiceBusRevertMigrationConfig.md)
+This operation reverts Migration
+
+### [New-AzServiceBusDisasterRecoveryConfig](New-AzServiceBusDisasterRecoveryConfig.md)
+Creates or updates a new Alias(Disaster Recovery configuration)
+
+### [New-AzServiceBusMigrationConfigAndStartMigration](New-AzServiceBusMigrationConfigAndStartMigration.md)
+Creates Migration configuration and starts migration of entities from Standard to Premium namespace
+
+### [New-AzServiceBusNamespace](New-AzServiceBusNamespace.md)
+Creates or updates a service namespace.
+Once created, this namespace's resource manifest is immutable.
+This operation is idempotent.
+
+### [New-AzServiceBusNamespaceAuthorizationRule](New-AzServiceBusNamespaceAuthorizationRule.md)
+Creates or updates an authorization rule for a namespace.
+
+### [New-AzServiceBusNamespaceKey](New-AzServiceBusNamespaceKey.md)
+Regenerates the primary or secondary connection strings for the namespace.
+
+### [New-AzServiceBusNamespaceNetworkRuleSet](New-AzServiceBusNamespaceNetworkRuleSet.md)
+Create or update NetworkRuleSet for a Namespace.
+
+### [New-AzServiceBusPrivateEndpointConnection](New-AzServiceBusPrivateEndpointConnection.md)
+Creates or updates PrivateEndpointConnections of service namespace.
+
+### [New-AzServiceBusQueue](New-AzServiceBusQueue.md)
+Creates or updates a Service Bus queue.
+This operation is idempotent.
+
+### [New-AzServiceBusQueueAuthorizationRule](New-AzServiceBusQueueAuthorizationRule.md)
+Creates an authorization rule for a queue.
+
+### [New-AzServiceBusQueueKey](New-AzServiceBusQueueKey.md)
+Regenerates the primary or secondary connection strings to the queue.
+
+### [New-AzServiceBusRule](New-AzServiceBusRule.md)
+Creates a new rule and updates an existing rule
+
+### [New-AzServiceBusSubscription](New-AzServiceBusSubscription.md)
+Creates a topic subscription.
+
+### [New-AzServiceBusTopic](New-AzServiceBusTopic.md)
+Creates a topic in the specified namespace.
+
+### [New-AzServiceBusTopicAuthorizationRule](New-AzServiceBusTopicAuthorizationRule.md)
+Creates an authorization rule for the specified topic.
+
+### [New-AzServiceBusTopicKey](New-AzServiceBusTopicKey.md)
+Regenerates primary or secondary connection strings for the topic.
+
+### [Remove-AzServiceBusDisasterRecoveryConfig](Remove-AzServiceBusDisasterRecoveryConfig.md)
+Deletes an Alias(Disaster Recovery configuration)
+
+### [Remove-AzServiceBusMigrationConfig](Remove-AzServiceBusMigrationConfig.md)
+Deletes a MigrationConfiguration
+
+### [Remove-AzServiceBusNamespace](Remove-AzServiceBusNamespace.md)
+Deletes an existing namespace.
+This operation also removes all associated resources under the namespace.
+
+### [Remove-AzServiceBusNamespaceAuthorizationRule](Remove-AzServiceBusNamespaceAuthorizationRule.md)
+Deletes a namespace authorization rule.
+
+### [Remove-AzServiceBusPrivateEndpointConnection](Remove-AzServiceBusPrivateEndpointConnection.md)
+Deletes an existing Private Endpoint Connection.
+
+### [Remove-AzServiceBusQueue](Remove-AzServiceBusQueue.md)
+Deletes a queue from the specified namespace in a resource group.
+
+### [Remove-AzServiceBusQueueAuthorizationRule](Remove-AzServiceBusQueueAuthorizationRule.md)
+Deletes a queue authorization rule.
+
+### [Remove-AzServiceBusRule](Remove-AzServiceBusRule.md)
+Deletes an existing rule.
+
+### [Remove-AzServiceBusSubscription](Remove-AzServiceBusSubscription.md)
+Deletes a subscription from the specified topic.
+
+### [Remove-AzServiceBusTopic](Remove-AzServiceBusTopic.md)
+Deletes a topic from the specified namespace and resource group.
+
+### [Remove-AzServiceBusTopicAuthorizationRule](Remove-AzServiceBusTopicAuthorizationRule.md)
+Deletes a topic authorization rule.
+
+### [Test-AzServiceBusDisasterRecoveryConfigNameAvailability](Test-AzServiceBusDisasterRecoveryConfigNameAvailability.md)
+Check the give namespace name availability.
+
+### [Test-AzServiceBusNamespaceNameAvailability](Test-AzServiceBusNamespaceNameAvailability.md)
+Check the give namespace name availability.
+
+### [Update-AzServiceBusNamespace](Update-AzServiceBusNamespace.md)
+Updates a service namespace.
+Once created, this namespace's resource manifest is immutable.
+This operation is idempotent.
+
diff --git a/swaggerci/servicebus/docs/Complete-AzServiceBusMigrationConfigMigration.md b/swaggerci/servicebus/docs/Complete-AzServiceBusMigrationConfigMigration.md
new file mode 100644
index 000000000000..a635e95b6456
--- /dev/null
+++ b/swaggerci/servicebus/docs/Complete-AzServiceBusMigrationConfigMigration.md
@@ -0,0 +1,216 @@
+---
+external help file:
+Module Name: Az.ServiceBus
+online version: https://docs.microsoft.com/en-us/powershell/module/az.servicebus/complete-azservicebusmigrationconfigmigration
+schema: 2.0.0
+---
+
+# Complete-AzServiceBusMigrationConfigMigration
+
+## SYNOPSIS
+This operation Completes Migration of entities by pointing the connection strings to Premium namespace and any entities created after the operation will be under Premium Namespace.
+CompleteMigration operation will fail when entity migration is in-progress.
+
+## SYNTAX
+
+### Complete (Default)
+```
+Complete-AzServiceBusMigrationConfigMigration -NamespaceName -ResourceGroupName
+ [-SubscriptionId ] [-DefaultProfile ] [-PassThru] [-Confirm] [-WhatIf] []
+```
+
+### CompleteViaIdentity
+```
+Complete-AzServiceBusMigrationConfigMigration -InputObject [-DefaultProfile ]
+ [-PassThru] [-Confirm] [-WhatIf] []
+```
+
+## DESCRIPTION
+This operation Completes Migration of entities by pointing the connection strings to Premium namespace and any entities created after the operation will be under Premium Namespace.
+CompleteMigration operation will fail when entity migration is in-progress.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+Identity Parameter
+To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IServiceBusIdentity
+Parameter Sets: CompleteViaIdentity
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -NamespaceName
+The namespace name
+
+```yaml
+Type: System.String
+Parameter Sets: Complete
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -PassThru
+Returns true when the command succeeds
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ResourceGroupName
+Name of the Resource group within the Azure subscription.
+
+```yaml
+Type: System.String
+Parameter Sets: Complete
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -SubscriptionId
+Subscription credentials that uniquely identify a Microsoft Azure subscription.
+The subscription ID forms part of the URI for every service call.
+
+```yaml
+Type: System.String
+Parameter Sets: Complete
+Aliases:
+
+Required: False
+Position: Named
+Default value: (Get-AzContext).Subscription.Id
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Confirm
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -WhatIf
+Shows what would happen if the cmdlet runs.
+The cmdlet is not run.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: wi
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IServiceBusIdentity
+
+## OUTPUTS
+
+### System.Boolean
+
+## NOTES
+
+ALIASES
+
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+
+INPUTOBJECT : Identity Parameter
+ - `[Alias ]`: The Disaster Recovery configuration name
+ - `[AuthorizationRuleName ]`: The authorization rule name.
+ - `[ConfigName ]`: The configuration name. Should always be "$default".
+ - `[Id ]`: Resource identity path
+ - `[NamespaceName ]`: The namespace name.
+ - `[PrivateEndpointConnectionName ]`: The PrivateEndpointConnection name
+ - `[QueueName ]`: The queue name.
+ - `[ResourceGroupName ]`: Name of the Resource group within the Azure subscription.
+ - `[RuleName ]`: The rule name.
+ - `[SubscriptionId ]`: Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
+ - `[SubscriptionName ]`: The subscription name.
+ - `[TopicName ]`: The topic name.
+
+## RELATED LINKS
+
diff --git a/swaggerci/servicebus/docs/Get-AzServiceBusDisasterRecoveryConfig.md b/swaggerci/servicebus/docs/Get-AzServiceBusDisasterRecoveryConfig.md
new file mode 100644
index 000000000000..25c15ce47de0
--- /dev/null
+++ b/swaggerci/servicebus/docs/Get-AzServiceBusDisasterRecoveryConfig.md
@@ -0,0 +1,189 @@
+---
+external help file:
+Module Name: Az.ServiceBus
+online version: https://docs.microsoft.com/en-us/powershell/module/az.servicebus/get-azservicebusdisasterrecoveryconfig
+schema: 2.0.0
+---
+
+# Get-AzServiceBusDisasterRecoveryConfig
+
+## SYNOPSIS
+Retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace
+
+## SYNTAX
+
+### List (Default)
+```
+Get-AzServiceBusDisasterRecoveryConfig -NamespaceName -ResourceGroupName
+ [-SubscriptionId ] [-DefaultProfile ] []
+```
+
+### Get
+```
+Get-AzServiceBusDisasterRecoveryConfig -Alias -NamespaceName -ResourceGroupName
+ [-SubscriptionId ] [-DefaultProfile ] []
+```
+
+### GetViaIdentity
+```
+Get-AzServiceBusDisasterRecoveryConfig -InputObject [-DefaultProfile ]
+ []
+```
+
+## DESCRIPTION
+Retrieves Alias(Disaster Recovery configuration) for primary or secondary namespace
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -Alias
+The Disaster Recovery configuration name
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+Identity Parameter
+To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IServiceBusIdentity
+Parameter Sets: GetViaIdentity
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -NamespaceName
+The namespace name
+
+```yaml
+Type: System.String
+Parameter Sets: Get, List
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ResourceGroupName
+Name of the Resource group within the Azure subscription.
+
+```yaml
+Type: System.String
+Parameter Sets: Get, List
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -SubscriptionId
+Subscription credentials that uniquely identify a Microsoft Azure subscription.
+The subscription ID forms part of the URI for every service call.
+
+```yaml
+Type: System.String[]
+Parameter Sets: Get, List
+Aliases:
+
+Required: False
+Position: Named
+Default value: (Get-AzContext).Subscription.Id
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IServiceBusIdentity
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.IArmDisasterRecovery
+
+## NOTES
+
+ALIASES
+
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+
+INPUTOBJECT : Identity Parameter
+ - `[Alias ]`: The Disaster Recovery configuration name
+ - `[AuthorizationRuleName ]`: The authorization rule name.
+ - `[ConfigName ]`: The configuration name. Should always be "$default".
+ - `[Id ]`: Resource identity path
+ - `[NamespaceName ]`: The namespace name.
+ - `[PrivateEndpointConnectionName ]`: The PrivateEndpointConnection name
+ - `[QueueName ]`: The queue name.
+ - `[ResourceGroupName ]`: Name of the Resource group within the Azure subscription.
+ - `[RuleName ]`: The rule name.
+ - `[SubscriptionId ]`: Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
+ - `[SubscriptionName ]`: The subscription name.
+ - `[TopicName ]`: The topic name.
+
+## RELATED LINKS
+
diff --git a/swaggerci/servicebus/docs/Get-AzServiceBusDisasterRecoveryConfigAuthorizationRule.md b/swaggerci/servicebus/docs/Get-AzServiceBusDisasterRecoveryConfigAuthorizationRule.md
new file mode 100644
index 000000000000..d080257b8626
--- /dev/null
+++ b/swaggerci/servicebus/docs/Get-AzServiceBusDisasterRecoveryConfigAuthorizationRule.md
@@ -0,0 +1,205 @@
+---
+external help file:
+Module Name: Az.ServiceBus
+online version: https://docs.microsoft.com/en-us/powershell/module/az.servicebus/get-azservicebusdisasterrecoveryconfigauthorizationrule
+schema: 2.0.0
+---
+
+# Get-AzServiceBusDisasterRecoveryConfigAuthorizationRule
+
+## SYNOPSIS
+Gets an authorization rule for a namespace by rule name.
+
+## SYNTAX
+
+### List (Default)
+```
+Get-AzServiceBusDisasterRecoveryConfigAuthorizationRule -Alias -NamespaceName
+ -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] []
+```
+
+### Get
+```
+Get-AzServiceBusDisasterRecoveryConfigAuthorizationRule -Alias -AuthorizationRuleName
+ -NamespaceName -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ]
+ []
+```
+
+### GetViaIdentity
+```
+Get-AzServiceBusDisasterRecoveryConfigAuthorizationRule -InputObject
+ [-DefaultProfile ] []
+```
+
+## DESCRIPTION
+Gets an authorization rule for a namespace by rule name.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -Alias
+The Disaster Recovery configuration name
+
+```yaml
+Type: System.String
+Parameter Sets: Get, List
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -AuthorizationRuleName
+The authorization rule name.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+Identity Parameter
+To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IServiceBusIdentity
+Parameter Sets: GetViaIdentity
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -NamespaceName
+The namespace name
+
+```yaml
+Type: System.String
+Parameter Sets: Get, List
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ResourceGroupName
+Name of the Resource group within the Azure subscription.
+
+```yaml
+Type: System.String
+Parameter Sets: Get, List
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -SubscriptionId
+Subscription credentials that uniquely identify a Microsoft Azure subscription.
+The subscription ID forms part of the URI for every service call.
+
+```yaml
+Type: System.String[]
+Parameter Sets: Get, List
+Aliases:
+
+Required: False
+Position: Named
+Default value: (Get-AzContext).Subscription.Id
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IServiceBusIdentity
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.ISbAuthorizationRule
+
+## NOTES
+
+ALIASES
+
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+
+INPUTOBJECT : Identity Parameter
+ - `[Alias ]`: The Disaster Recovery configuration name
+ - `[AuthorizationRuleName ]`: The authorization rule name.
+ - `[ConfigName ]`: The configuration name. Should always be "$default".
+ - `[Id ]`: Resource identity path
+ - `[NamespaceName ]`: The namespace name.
+ - `[PrivateEndpointConnectionName ]`: The PrivateEndpointConnection name
+ - `[QueueName ]`: The queue name.
+ - `[ResourceGroupName ]`: Name of the Resource group within the Azure subscription.
+ - `[RuleName ]`: The rule name.
+ - `[SubscriptionId ]`: Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
+ - `[SubscriptionName ]`: The subscription name.
+ - `[TopicName ]`: The topic name.
+
+## RELATED LINKS
+
diff --git a/swaggerci/servicebus/docs/Get-AzServiceBusDisasterRecoveryConfigKey.md b/swaggerci/servicebus/docs/Get-AzServiceBusDisasterRecoveryConfigKey.md
new file mode 100644
index 000000000000..ce4f87d85766
--- /dev/null
+++ b/swaggerci/servicebus/docs/Get-AzServiceBusDisasterRecoveryConfigKey.md
@@ -0,0 +1,186 @@
+---
+external help file:
+Module Name: Az.ServiceBus
+online version: https://docs.microsoft.com/en-us/powershell/module/az.servicebus/get-azservicebusdisasterrecoveryconfigkey
+schema: 2.0.0
+---
+
+# Get-AzServiceBusDisasterRecoveryConfigKey
+
+## SYNOPSIS
+Gets the primary and secondary connection strings for the namespace.
+
+## SYNTAX
+
+```
+Get-AzServiceBusDisasterRecoveryConfigKey -Alias -AuthorizationRuleName
+ -NamespaceName -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ]
+ [-Confirm] [-WhatIf] []
+```
+
+## DESCRIPTION
+Gets the primary and secondary connection strings for the namespace.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -Alias
+The Disaster Recovery configuration name
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -AuthorizationRuleName
+The authorization rule name.
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -NamespaceName
+The namespace name
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ResourceGroupName
+Name of the Resource group within the Azure subscription.
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -SubscriptionId
+Subscription credentials that uniquely identify a Microsoft Azure subscription.
+The subscription ID forms part of the URI for every service call.
+
+```yaml
+Type: System.String[]
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: (Get-AzContext).Subscription.Id
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Confirm
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -WhatIf
+Shows what would happen if the cmdlet runs.
+The cmdlet is not run.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: wi
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.IAccessKeys
+
+## NOTES
+
+ALIASES
+
+## RELATED LINKS
+
diff --git a/swaggerci/servicebus/docs/Get-AzServiceBusMigrationConfig.md b/swaggerci/servicebus/docs/Get-AzServiceBusMigrationConfig.md
new file mode 100644
index 000000000000..a0a5e3868481
--- /dev/null
+++ b/swaggerci/servicebus/docs/Get-AzServiceBusMigrationConfig.md
@@ -0,0 +1,174 @@
+---
+external help file:
+Module Name: Az.ServiceBus
+online version: https://docs.microsoft.com/en-us/powershell/module/az.servicebus/get-azservicebusmigrationconfig
+schema: 2.0.0
+---
+
+# Get-AzServiceBusMigrationConfig
+
+## SYNOPSIS
+Retrieves Migration Config
+
+## SYNTAX
+
+### Get (Default)
+```
+Get-AzServiceBusMigrationConfig -NamespaceName -ResourceGroupName
+ [-SubscriptionId ] [-DefaultProfile ] []
+```
+
+### GetViaIdentity
+```
+Get-AzServiceBusMigrationConfig -InputObject [-DefaultProfile ]
+ []
+```
+
+### List
+```
+Get-AzServiceBusMigrationConfig -NamespaceName -ResourceGroupName
+ [-SubscriptionId ] [-DefaultProfile ] []
+```
+
+## DESCRIPTION
+Retrieves Migration Config
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+Identity Parameter
+To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IServiceBusIdentity
+Parameter Sets: GetViaIdentity
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -NamespaceName
+The namespace name
+
+```yaml
+Type: System.String
+Parameter Sets: Get, List
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ResourceGroupName
+Name of the Resource group within the Azure subscription.
+
+```yaml
+Type: System.String
+Parameter Sets: Get, List
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -SubscriptionId
+Subscription credentials that uniquely identify a Microsoft Azure subscription.
+The subscription ID forms part of the URI for every service call.
+
+```yaml
+Type: System.String[]
+Parameter Sets: Get, List
+Aliases:
+
+Required: False
+Position: Named
+Default value: (Get-AzContext).Subscription.Id
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IServiceBusIdentity
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.IMigrationConfigProperties
+
+## NOTES
+
+ALIASES
+
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+
+INPUTOBJECT : Identity Parameter
+ - `[Alias ]`: The Disaster Recovery configuration name
+ - `[AuthorizationRuleName ]`: The authorization rule name.
+ - `[ConfigName ]`: The configuration name. Should always be "$default".
+ - `[Id ]`: Resource identity path
+ - `[NamespaceName ]`: The namespace name.
+ - `[PrivateEndpointConnectionName ]`: The PrivateEndpointConnection name
+ - `[QueueName ]`: The queue name.
+ - `[ResourceGroupName ]`: Name of the Resource group within the Azure subscription.
+ - `[RuleName ]`: The rule name.
+ - `[SubscriptionId ]`: Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
+ - `[SubscriptionName ]`: The subscription name.
+ - `[TopicName ]`: The topic name.
+
+## RELATED LINKS
+
diff --git a/swaggerci/servicebus/docs/Get-AzServiceBusNamespace.md b/swaggerci/servicebus/docs/Get-AzServiceBusNamespace.md
new file mode 100644
index 000000000000..36200ee194b1
--- /dev/null
+++ b/swaggerci/servicebus/docs/Get-AzServiceBusNamespace.md
@@ -0,0 +1,178 @@
+---
+external help file:
+Module Name: Az.ServiceBus
+online version: https://docs.microsoft.com/en-us/powershell/module/az.servicebus/get-azservicebusnamespace
+schema: 2.0.0
+---
+
+# Get-AzServiceBusNamespace
+
+## SYNOPSIS
+Gets a description for the specified namespace.
+
+## SYNTAX
+
+### List (Default)
+```
+Get-AzServiceBusNamespace [-SubscriptionId ] [-DefaultProfile ] []
+```
+
+### Get
+```
+Get-AzServiceBusNamespace -Name -ResourceGroupName [-SubscriptionId ]
+ [-DefaultProfile ] []
+```
+
+### GetViaIdentity
+```
+Get-AzServiceBusNamespace -InputObject [-DefaultProfile ] []
+```
+
+### List1
+```
+Get-AzServiceBusNamespace -ResourceGroupName [-SubscriptionId ]
+ [-DefaultProfile ] []
+```
+
+## DESCRIPTION
+Gets a description for the specified namespace.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+Identity Parameter
+To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IServiceBusIdentity
+Parameter Sets: GetViaIdentity
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -Name
+The namespace name
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases: NamespaceName
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ResourceGroupName
+Name of the Resource group within the Azure subscription.
+
+```yaml
+Type: System.String
+Parameter Sets: Get, List1
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -SubscriptionId
+Subscription credentials that uniquely identify a Microsoft Azure subscription.
+The subscription ID forms part of the URI for every service call.
+
+```yaml
+Type: System.String[]
+Parameter Sets: Get, List, List1
+Aliases:
+
+Required: False
+Position: Named
+Default value: (Get-AzContext).Subscription.Id
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IServiceBusIdentity
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.ISbNamespace
+
+## NOTES
+
+ALIASES
+
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+
+INPUTOBJECT : Identity Parameter
+ - `[Alias ]`: The Disaster Recovery configuration name
+ - `[AuthorizationRuleName ]`: The authorization rule name.
+ - `[ConfigName ]`: The configuration name. Should always be "$default".
+ - `[Id ]`: Resource identity path
+ - `[NamespaceName ]`: The namespace name.
+ - `[PrivateEndpointConnectionName ]`: The PrivateEndpointConnection name
+ - `[QueueName ]`: The queue name.
+ - `[ResourceGroupName ]`: Name of the Resource group within the Azure subscription.
+ - `[RuleName ]`: The rule name.
+ - `[SubscriptionId ]`: Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
+ - `[SubscriptionName ]`: The subscription name.
+ - `[TopicName ]`: The topic name.
+
+## RELATED LINKS
+
diff --git a/swaggerci/servicebus/docs/Get-AzServiceBusNamespaceAuthorizationRule.md b/swaggerci/servicebus/docs/Get-AzServiceBusNamespaceAuthorizationRule.md
new file mode 100644
index 000000000000..803757e03d8f
--- /dev/null
+++ b/swaggerci/servicebus/docs/Get-AzServiceBusNamespaceAuthorizationRule.md
@@ -0,0 +1,189 @@
+---
+external help file:
+Module Name: Az.ServiceBus
+online version: https://docs.microsoft.com/en-us/powershell/module/az.servicebus/get-azservicebusnamespaceauthorizationrule
+schema: 2.0.0
+---
+
+# Get-AzServiceBusNamespaceAuthorizationRule
+
+## SYNOPSIS
+Gets an authorization rule for a namespace by rule name.
+
+## SYNTAX
+
+### List (Default)
+```
+Get-AzServiceBusNamespaceAuthorizationRule -NamespaceName -ResourceGroupName
+ [-SubscriptionId ] [-DefaultProfile ] []
+```
+
+### Get
+```
+Get-AzServiceBusNamespaceAuthorizationRule -AuthorizationRuleName -NamespaceName
+ -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] []
+```
+
+### GetViaIdentity
+```
+Get-AzServiceBusNamespaceAuthorizationRule -InputObject [-DefaultProfile ]
+ []
+```
+
+## DESCRIPTION
+Gets an authorization rule for a namespace by rule name.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -AuthorizationRuleName
+The authorization rule name.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+Identity Parameter
+To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IServiceBusIdentity
+Parameter Sets: GetViaIdentity
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -NamespaceName
+The namespace name
+
+```yaml
+Type: System.String
+Parameter Sets: Get, List
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ResourceGroupName
+Name of the Resource group within the Azure subscription.
+
+```yaml
+Type: System.String
+Parameter Sets: Get, List
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -SubscriptionId
+Subscription credentials that uniquely identify a Microsoft Azure subscription.
+The subscription ID forms part of the URI for every service call.
+
+```yaml
+Type: System.String[]
+Parameter Sets: Get, List
+Aliases:
+
+Required: False
+Position: Named
+Default value: (Get-AzContext).Subscription.Id
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IServiceBusIdentity
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.ISbAuthorizationRule
+
+## NOTES
+
+ALIASES
+
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+
+INPUTOBJECT : Identity Parameter
+ - `[Alias ]`: The Disaster Recovery configuration name
+ - `[AuthorizationRuleName ]`: The authorization rule name.
+ - `[ConfigName ]`: The configuration name. Should always be "$default".
+ - `[Id ]`: Resource identity path
+ - `[NamespaceName ]`: The namespace name.
+ - `[PrivateEndpointConnectionName ]`: The PrivateEndpointConnection name
+ - `[QueueName ]`: The queue name.
+ - `[ResourceGroupName ]`: Name of the Resource group within the Azure subscription.
+ - `[RuleName ]`: The rule name.
+ - `[SubscriptionId ]`: Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
+ - `[SubscriptionName ]`: The subscription name.
+ - `[TopicName ]`: The topic name.
+
+## RELATED LINKS
+
diff --git a/swaggerci/servicebus/docs/Get-AzServiceBusNamespaceKey.md b/swaggerci/servicebus/docs/Get-AzServiceBusNamespaceKey.md
new file mode 100644
index 000000000000..adf0588ada33
--- /dev/null
+++ b/swaggerci/servicebus/docs/Get-AzServiceBusNamespaceKey.md
@@ -0,0 +1,171 @@
+---
+external help file:
+Module Name: Az.ServiceBus
+online version: https://docs.microsoft.com/en-us/powershell/module/az.servicebus/get-azservicebusnamespacekey
+schema: 2.0.0
+---
+
+# Get-AzServiceBusNamespaceKey
+
+## SYNOPSIS
+Gets the primary and secondary connection strings for the namespace.
+
+## SYNTAX
+
+```
+Get-AzServiceBusNamespaceKey -AuthorizationRuleName -NamespaceName
+ -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] [-Confirm] [-WhatIf]
+ []
+```
+
+## DESCRIPTION
+Gets the primary and secondary connection strings for the namespace.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -AuthorizationRuleName
+The authorization rule name.
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -NamespaceName
+The namespace name
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ResourceGroupName
+Name of the Resource group within the Azure subscription.
+
+```yaml
+Type: System.String
+Parameter Sets: (All)
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -SubscriptionId
+Subscription credentials that uniquely identify a Microsoft Azure subscription.
+The subscription ID forms part of the URI for every service call.
+
+```yaml
+Type: System.String[]
+Parameter Sets: (All)
+Aliases:
+
+Required: False
+Position: Named
+Default value: (Get-AzContext).Subscription.Id
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -Confirm
+Prompts you for confirmation before running the cmdlet.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: cf
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -WhatIf
+Shows what would happen if the cmdlet runs.
+The cmdlet is not run.
+
+```yaml
+Type: System.Management.Automation.SwitchParameter
+Parameter Sets: (All)
+Aliases: wi
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.IAccessKeys
+
+## NOTES
+
+ALIASES
+
+## RELATED LINKS
+
diff --git a/swaggerci/servicebus/docs/Get-AzServiceBusNamespaceNetworkRuleSet.md b/swaggerci/servicebus/docs/Get-AzServiceBusNamespaceNetworkRuleSet.md
new file mode 100644
index 000000000000..f35bc43247e7
--- /dev/null
+++ b/swaggerci/servicebus/docs/Get-AzServiceBusNamespaceNetworkRuleSet.md
@@ -0,0 +1,174 @@
+---
+external help file:
+Module Name: Az.ServiceBus
+online version: https://docs.microsoft.com/en-us/powershell/module/az.servicebus/get-azservicebusnamespacenetworkruleset
+schema: 2.0.0
+---
+
+# Get-AzServiceBusNamespaceNetworkRuleSet
+
+## SYNOPSIS
+Gets NetworkRuleSet for a Namespace.
+
+## SYNTAX
+
+### Get (Default)
+```
+Get-AzServiceBusNamespaceNetworkRuleSet -NamespaceName -ResourceGroupName
+ [-SubscriptionId ] [-DefaultProfile ] []
+```
+
+### GetViaIdentity
+```
+Get-AzServiceBusNamespaceNetworkRuleSet -InputObject [-DefaultProfile ]
+ []
+```
+
+### List
+```
+Get-AzServiceBusNamespaceNetworkRuleSet -NamespaceName -ResourceGroupName
+ [-SubscriptionId ] [-DefaultProfile ] []
+```
+
+## DESCRIPTION
+Gets NetworkRuleSet for a Namespace.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+Identity Parameter
+To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IServiceBusIdentity
+Parameter Sets: GetViaIdentity
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -NamespaceName
+The namespace name
+
+```yaml
+Type: System.String
+Parameter Sets: Get, List
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ResourceGroupName
+Name of the Resource group within the Azure subscription.
+
+```yaml
+Type: System.String
+Parameter Sets: Get, List
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -SubscriptionId
+Subscription credentials that uniquely identify a Microsoft Azure subscription.
+The subscription ID forms part of the URI for every service call.
+
+```yaml
+Type: System.String[]
+Parameter Sets: Get, List
+Aliases:
+
+Required: False
+Position: Named
+Default value: (Get-AzContext).Subscription.Id
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IServiceBusIdentity
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.INetworkRuleSet
+
+## NOTES
+
+ALIASES
+
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+
+INPUTOBJECT : Identity Parameter
+ - `[Alias ]`: The Disaster Recovery configuration name
+ - `[AuthorizationRuleName ]`: The authorization rule name.
+ - `[ConfigName ]`: The configuration name. Should always be "$default".
+ - `[Id ]`: Resource identity path
+ - `[NamespaceName ]`: The namespace name.
+ - `[PrivateEndpointConnectionName ]`: The PrivateEndpointConnection name
+ - `[QueueName ]`: The queue name.
+ - `[ResourceGroupName ]`: Name of the Resource group within the Azure subscription.
+ - `[RuleName ]`: The rule name.
+ - `[SubscriptionId ]`: Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
+ - `[SubscriptionName ]`: The subscription name.
+ - `[TopicName ]`: The topic name.
+
+## RELATED LINKS
+
diff --git a/swaggerci/servicebus/docs/Get-AzServiceBusPrivateEndpointConnection.md b/swaggerci/servicebus/docs/Get-AzServiceBusPrivateEndpointConnection.md
new file mode 100644
index 000000000000..a8cceb45c076
--- /dev/null
+++ b/swaggerci/servicebus/docs/Get-AzServiceBusPrivateEndpointConnection.md
@@ -0,0 +1,189 @@
+---
+external help file:
+Module Name: Az.ServiceBus
+online version: https://docs.microsoft.com/en-us/powershell/module/az.servicebus/get-azservicebusprivateendpointconnection
+schema: 2.0.0
+---
+
+# Get-AzServiceBusPrivateEndpointConnection
+
+## SYNOPSIS
+Gets a description for the specified Private Endpoint Connection.
+
+## SYNTAX
+
+### List (Default)
+```
+Get-AzServiceBusPrivateEndpointConnection -NamespaceName -ResourceGroupName
+ [-SubscriptionId ] [-DefaultProfile ] []
+```
+
+### Get
+```
+Get-AzServiceBusPrivateEndpointConnection -Name -NamespaceName -ResourceGroupName
+ [-SubscriptionId ] [-DefaultProfile ] []
+```
+
+### GetViaIdentity
+```
+Get-AzServiceBusPrivateEndpointConnection -InputObject [-DefaultProfile ]
+ []
+```
+
+## DESCRIPTION
+Gets a description for the specified Private Endpoint Connection.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+Identity Parameter
+To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IServiceBusIdentity
+Parameter Sets: GetViaIdentity
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -Name
+The PrivateEndpointConnection name
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases: PrivateEndpointConnectionName
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -NamespaceName
+The namespace name
+
+```yaml
+Type: System.String
+Parameter Sets: Get, List
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ResourceGroupName
+Name of the Resource group within the Azure subscription.
+
+```yaml
+Type: System.String
+Parameter Sets: Get, List
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -SubscriptionId
+Subscription credentials that uniquely identify a Microsoft Azure subscription.
+The subscription ID forms part of the URI for every service call.
+
+```yaml
+Type: System.String[]
+Parameter Sets: Get, List
+Aliases:
+
+Required: False
+Position: Named
+Default value: (Get-AzContext).Subscription.Id
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IServiceBusIdentity
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.IPrivateEndpointConnection
+
+## NOTES
+
+ALIASES
+
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+
+INPUTOBJECT : Identity Parameter
+ - `[Alias ]`: The Disaster Recovery configuration name
+ - `[AuthorizationRuleName ]`: The authorization rule name.
+ - `[ConfigName ]`: The configuration name. Should always be "$default".
+ - `[Id ]`: Resource identity path
+ - `[NamespaceName ]`: The namespace name.
+ - `[PrivateEndpointConnectionName ]`: The PrivateEndpointConnection name
+ - `[QueueName ]`: The queue name.
+ - `[ResourceGroupName ]`: Name of the Resource group within the Azure subscription.
+ - `[RuleName ]`: The rule name.
+ - `[SubscriptionId ]`: Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
+ - `[SubscriptionName ]`: The subscription name.
+ - `[TopicName ]`: The topic name.
+
+## RELATED LINKS
+
diff --git a/swaggerci/servicebus/docs/Get-AzServiceBusPrivateLinkResource.md b/swaggerci/servicebus/docs/Get-AzServiceBusPrivateLinkResource.md
new file mode 100644
index 000000000000..10e044e014e4
--- /dev/null
+++ b/swaggerci/servicebus/docs/Get-AzServiceBusPrivateLinkResource.md
@@ -0,0 +1,168 @@
+---
+external help file:
+Module Name: Az.ServiceBus
+online version: https://docs.microsoft.com/en-us/powershell/module/az.servicebus/get-azservicebusprivatelinkresource
+schema: 2.0.0
+---
+
+# Get-AzServiceBusPrivateLinkResource
+
+## SYNOPSIS
+Gets lists of resources that supports Privatelinks.
+
+## SYNTAX
+
+### Get (Default)
+```
+Get-AzServiceBusPrivateLinkResource -NamespaceName -ResourceGroupName
+ [-SubscriptionId ] [-DefaultProfile ] []
+```
+
+### GetViaIdentity
+```
+Get-AzServiceBusPrivateLinkResource -InputObject [-DefaultProfile ]
+ []
+```
+
+## DESCRIPTION
+Gets lists of resources that supports Privatelinks.
+
+## EXAMPLES
+
+### Example 1: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+### Example 2: {{ Add title here }}
+```powershell
+{{ Add code here }}
+```
+
+```output
+{{ Add output here }}
+```
+
+{{ Add description here }}
+
+## PARAMETERS
+
+### -DefaultProfile
+The credentials, account, tenant, and subscription used for communication with Azure.
+
+```yaml
+Type: System.Management.Automation.PSObject
+Parameter Sets: (All)
+Aliases: AzureRMContext, AzureCredential
+
+Required: False
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -InputObject
+Identity Parameter
+To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IServiceBusIdentity
+Parameter Sets: GetViaIdentity
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
+### -NamespaceName
+The namespace name
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -ResourceGroupName
+Name of the Resource group within the Azure subscription.
+
+```yaml
+Type: System.String
+Parameter Sets: Get
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### -SubscriptionId
+Subscription credentials that uniquely identify a Microsoft Azure subscription.
+The subscription ID forms part of the URI for every service call.
+
+```yaml
+Type: System.String[]
+Parameter Sets: Get
+Aliases:
+
+Required: False
+Position: Named
+Default value: (Get-AzContext).Subscription.Id
+Accept pipeline input: False
+Accept wildcard characters: False
+```
+
+### CommonParameters
+This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
+
+## INPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.IServiceBusIdentity
+
+## OUTPUTS
+
+### Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.IPrivateLinkResourcesListResult
+
+## NOTES
+
+ALIASES
+
+COMPLEX PARAMETER PROPERTIES
+
+To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
+
+
+INPUTOBJECT : Identity Parameter
+ - `[Alias ]`: The Disaster Recovery configuration name
+ - `[AuthorizationRuleName ]`: The authorization rule name.
+ - `[ConfigName ]`: The configuration name. Should always be "$default".
+ - `[Id ]`: Resource identity path
+ - `[NamespaceName ]`: The namespace name.
+ - `[PrivateEndpointConnectionName ]`: The PrivateEndpointConnection name
+ - `[QueueName ]`: The queue name.
+ - `[ResourceGroupName ]`: Name of the Resource group within the Azure subscription.
+ - `[RuleName ]`: The rule name.
+ - `[SubscriptionId ]`: Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
+ - `[SubscriptionName ]`: The subscription name.
+ - `[TopicName ]`: The topic name.
+
+## RELATED LINKS
+
diff --git a/swaggerci/servicebus/docs/Get-AzServiceBusQueue.md b/swaggerci/servicebus/docs/Get-AzServiceBusQueue.md
new file mode 100644
index 000000000000..3de6e3852797
--- /dev/null
+++ b/swaggerci/servicebus/docs/Get-AzServiceBusQueue.md
@@ -0,0 +1,219 @@
+---
+external help file:
+Module Name: Az.ServiceBus
+online version: https://docs.microsoft.com/en-us/powershell/module/az.servicebus/get-azservicebusqueue
+schema: 2.0.0
+---
+
+# Get-AzServiceBusQueue
+
+## SYNOPSIS
+Returns a description for the specified queue.
+
+## SYNTAX
+
+### List (Default)
+```
+Get-AzServiceBusQueue -NamespaceName -ResourceGroupName [-SubscriptionId ]
+ [-Skip ] [-Top ] [-DefaultProfile ] []
+```
+
+### Get
+```
+Get-AzServiceBusQueue -Name -NamespaceName -ResourceGroupName