Skip to content

Commit 70a01e4

Browse files
Migrate ServiceBus from generation to main (#20927)
* Move ServiceBus to main * Update ChangeLog.md --------- Co-authored-by: Beisi Zhou <[email protected]>
1 parent 547da57 commit 70a01e4

File tree

569 files changed

+14204
-14139
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

569 files changed

+14204
-14139
lines changed

src/ServiceBus/ServiceBus.Autorest/Az.ServiceBus.format.ps1xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<Configuration>
33
<ViewDefinitions>
44
<View>
5-
<Name>Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.CorrelationFilterProperties</Name>
5+
<Name>Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api20221001Preview.CorrelationFilterProperties</Name>
66
<ViewSelectedBy>
7-
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.CorrelationFilterProperties</TypeName>
7+
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api20221001Preview.CorrelationFilterProperties</TypeName>
88
</ViewSelectedBy>
99
<TableControl>
1010
<TableHeaders>
@@ -24,9 +24,9 @@
2424
</TableControl>
2525
</View>
2626
<View>
27-
<Name>Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.ResourceNamespacePatchTags</Name>
27+
<Name>Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api20221001Preview.ResourceNamespacePatchTags</Name>
2828
<ViewSelectedBy>
29-
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.ResourceNamespacePatchTags</TypeName>
29+
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api20221001Preview.ResourceNamespacePatchTags</TypeName>
3030
</ViewSelectedBy>
3131
<TableControl>
3232
<TableHeaders>

src/ServiceBus/ServiceBus.Autorest/Az.ServiceBus.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
}
3434

3535
if(-not $accountsModule) {
36-
Write-Error "`nThis module requires $accountsName version 2.7.5 or greater. For installation instructions, please see: https://learn.microsoft.com/powershell/azure/install-az-ps" -ErrorAction Stop
36+
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
3737
} elseif (($accountsModule.Version -lt [System.Version]'2.7.5') -and (-not $localAccounts)) {
3838
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
3939
}

src/ServiceBus/ServiceBus.Autorest/README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -31,23 +31,23 @@ For information on how to develop for `Az.ServiceBus`, see [how-to.md](how-to.md
3131
3232
``` yaml
3333
# Please specify the commit id that includes your features to make sure generated codes stable.
34-
branch: 6f0c7d58c0a923917c2b3467ee756f21dbd2f8e2
34+
branch: 1e790cfc5ee4e7ff98f99dd19a3174c4dd58432b
3535
require:
3636
# readme.azure.noprofile.md is the common configuration file
3737
- $(this-folder)/../../readme.azure.noprofile.md
3838
input-file:
3939
# You need to specify your swagger files here.
40-
- https://github.com/Azure/azure-rest-api-specs/blob/main/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-01-01-preview/Queue.json
41-
- https://github.com/Azure/azure-rest-api-specs/blob/main/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-01-01-preview/topics.json
42-
- https://github.com/Azure/azure-rest-api-specs/blob/main/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-01-01-preview/namespace-preview.json
43-
- https://github.com/Azure/azure-rest-api-specs/blob/main/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-01-01-preview/AuthorizationRules.json
44-
- https://github.com/Azure/azure-rest-api-specs/blob/main/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-01-01-preview/CheckNameAvailability.json
45-
- https://github.com/Azure/azure-rest-api-specs/blob/main/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-01-01-preview/DisasterRecoveryConfig.json
46-
- https://github.com/Azure/azure-rest-api-specs/blob/main/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-01-01-preview/migrationconfigs.json
47-
- https://github.com/Azure/azure-rest-api-specs/blob/main/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-01-01-preview/networksets.json
48-
- https://github.com/Azure/azure-rest-api-specs/blob/main/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-01-01-preview/operations.json
49-
- https://github.com/Azure/azure-rest-api-specs/blob/main/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-01-01-preview/Rules.json
50-
- https://github.com/Azure/azure-rest-api-specs/blob/main/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-01-01-preview/subscriptions.json
40+
- https://github.com/Azure/azure-rest-api-specs/blob/main/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/Queue.json
41+
- https://github.com/Azure/azure-rest-api-specs/blob/main/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/topics.json
42+
- https://github.com/Azure/azure-rest-api-specs/blob/main/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/namespace-preview.json
43+
- https://github.com/Azure/azure-rest-api-specs/blob/main/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/AuthorizationRules.json
44+
- https://github.com/Azure/azure-rest-api-specs/blob/main/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/CheckNameAvailability.json
45+
- https://github.com/Azure/azure-rest-api-specs/blob/main/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/DisasterRecoveryConfig.json
46+
- https://github.com/Azure/azure-rest-api-specs/blob/main/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/migrationconfigs.json
47+
- https://github.com/Azure/azure-rest-api-specs/blob/main/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/networksets.json
48+
- https://github.com/Azure/azure-rest-api-specs/blob/main/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/operations.json
49+
- https://github.com/Azure/azure-rest-api-specs/blob/main/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/Rules.json
50+
- https://github.com/Azure/azure-rest-api-specs/blob/main/specification/servicebus/resource-manager/Microsoft.ServiceBus/preview/2022-10-01-preview/subscriptions.json
5151
# If the swagger has not been put in the repo, you may uncomment the following line and refer to it locally
5252
# - (this-folder)/relative-path-to-your-swagger
5353

src/ServiceBus/ServiceBus.Autorest/custom/Approve-AzServiceBusPrivateEndpointConnection.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Approves a ServiceBus PrivateEndpointConnection
2020
#>
2121

2222
function Approve-AzServiceBusPrivateEndpointConnection{
23-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.IPrivateEndpointConnection])]
23+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api20221001Preview.IPrivateEndpointConnection])]
2424
[CmdletBinding(DefaultParameterSetName = 'SetExpanded', PositionalBinding = $false, ConfirmImpact = 'Medium')]
2525
param(
2626
[Parameter(ParameterSetName = 'SetExpanded', HelpMessage = "The name of the Private Endpoint Connection")]

src/ServiceBus/ServiceBus.Autorest/custom/Deny-AzServiceBusPrivateEndpointConnection.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Denies a ServiceBus PrivateEndpointConnection
2020
#>
2121

2222
function Deny-AzServiceBusPrivateEndpointConnection{
23-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.IPrivateEndpointConnection])]
23+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api20221001Preview.IPrivateEndpointConnection])]
2424
[CmdletBinding(DefaultParameterSetName = 'SetExpanded', PositionalBinding = $false, ConfirmImpact = 'Medium')]
2525
param(
2626
[Parameter(ParameterSetName = 'SetExpanded', HelpMessage = "The name of the Private Endpoint Connection")]

src/ServiceBus/ServiceBus.Autorest/custom/Get-AzServiceBusAuthorizationRule.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Gets the Authorization Rule of a ServiceBus namespace, queue or topic.
2020
#>
2121

2222
function Get-AzServiceBusAuthorizationRule{
23-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.ISbAuthorizationRule])]
23+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api20221001Preview.ISbAuthorizationRule])]
2424
[CmdletBinding(DefaultParameterSetName = 'GetExpandedNamespace', PositionalBinding = $false, ConfirmImpact = 'Medium')]
2525
param(
2626
[Parameter(ParameterSetName = 'GetExpandedQueue', HelpMessage = "The name of the Authorization Rule")]

src/ServiceBus/ServiceBus.Autorest/custom/Get-AzServiceBusKey.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Gets the SASKey of a ServiceBus namespace, queue or topic.
2020
#>
2121

2222
function Get-AzServiceBusKey{
23-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.IAccessKeys])]
23+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api20221001Preview.IAccessKeys])]
2424
[CmdletBinding(DefaultParameterSetName = 'GetExpandedNamespace', PositionalBinding = $false, ConfirmImpact = 'Medium')]
2525
param(
2626
[Parameter(ParameterSetName = 'GetExpandedQueue', Mandatory, HelpMessage = "The name of the Authorization Rule")]

src/ServiceBus/ServiceBus.Autorest/custom/New-AzServiceBusAuthorizationRule.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Creates a ServiceBus Namespace, Queue, Topic Authorization Rule
2020
#>
2121

2222
function New-AzServiceBusAuthorizationRule{
23-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.ISbAuthorizationRule])]
23+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api20221001Preview.ISbAuthorizationRule])]
2424
[CmdletBinding(DefaultParameterSetName = 'NewExpandedNamespace', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')]
2525
param(
2626
[Parameter(Mandatory, HelpMessage = "The name of the Authorization Rule")]
@@ -134,7 +134,7 @@ function New-AzServiceBusAuthorizationRule{
134134
$null = $PSBoundParameters.Remove('WhatIf')
135135
$null = $PSBoundParameters.Remove('Confirm')
136136

137-
$authRule = [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.ISbAuthorizationRule]@{
137+
$authRule = [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api20221001Preview.ISbAuthorizationRule]@{
138138
Rights = $Rights
139139
}
140140

src/ServiceBus/ServiceBus.Autorest/custom/New-AzServiceBusIPRuleConfig.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Constructs an INwRuleSetIPRules object that can be fed as input to Set-AzService
1919
Constructs an INwRuleSetIPRules object that can be fed as input to Set-AzServiceBusNetworkRuleSet
2020
#>
2121
function New-AzServiceBusIPRuleConfig{
22-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.INwRuleSetIPRules])]
22+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api20221001Preview.INwRuleSetIPRules])]
2323
[CmdletBinding(PositionalBinding = $false, ConfirmImpact = 'Medium')]
2424
param(
2525
[Parameter(Mandatory, HelpMessage = "IP Mask")]
@@ -35,7 +35,7 @@ function New-AzServiceBusIPRuleConfig{
3535

3636
process{
3737
try{
38-
$ipRule = [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.INwRuleSetIPRules]@{
38+
$ipRule = [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api20221001Preview.INwRuleSetIPRules]@{
3939
IPMask = $IPMask
4040
Action = $Action
4141
}

src/ServiceBus/ServiceBus.Autorest/custom/New-AzServiceBusKey.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Regenerates the SASKey of a ServiceBus namespace, queue or topic.
2020
#>
2121

2222
function New-AzServiceBusKey{
23-
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.IAccessKeys])]
23+
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api20221001Preview.IAccessKeys])]
2424
[CmdletBinding(DefaultParameterSetName = 'NewExpandedNamespace', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')]
2525
param(
2626
[Parameter(ParameterSetName = 'NewExpandedQueue', Mandatory, HelpMessage = "The name of the Authorization Rule")]
@@ -149,7 +149,7 @@ function New-AzServiceBusKey{
149149
$null = $PSBoundParameters.Remove('WhatIf')
150150
$null = $PSBoundParameters.Remove('Confirm')
151151

152-
$accessKeys = [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api202201Preview.IRegenerateAccessKeyParameters]@{
152+
$accessKeys = [Microsoft.Azure.PowerShell.Cmdlets.ServiceBus.Models.Api20221001Preview.IRegenerateAccessKeyParameters]@{
153153
KeyType = $KeyType
154154
}
155155

0 commit comments

Comments
 (0)