Skip to content

Commit

Permalink
Migrate StorageMover from generation to main (#23023)
Browse files Browse the repository at this point in the history
* Move StorageMover to main

* Create BreakingChangeIssues.csv

* Update ChangeLog.md

* Update ChangeLog.md

* Update ChangeLog.md

---------

Co-authored-by: Yabo Hu <[email protected]>
  • Loading branch information
azure-powershell-bot and VeryEarly authored Oct 20, 2023
1 parent 3cb5b9b commit 2579524
Show file tree
Hide file tree
Showing 412 changed files with 13,743 additions and 5,474 deletions.
140 changes: 120 additions & 20 deletions src/StorageMover/Az.StorageMover.format.ps1xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<Configuration>
<ViewDefinitions>
<View>
<Name>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20.ErrorDetail</Name>
<Name>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.ErrorDetail</Name>
<ViewSelectedBy>
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20.ErrorDetail</TypeName>
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.ErrorDetail</TypeName>
</ViewSelectedBy>
<TableControl>
<TableHeaders>
Expand Down Expand Up @@ -36,9 +36,9 @@
</TableControl>
</View>
<View>
<Name>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20.Operation</Name>
<Name>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.Operation</Name>
<ViewSelectedBy>
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20.Operation</TypeName>
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.Operation</TypeName>
</ViewSelectedBy>
<TableControl>
<TableHeaders>
Expand Down Expand Up @@ -76,9 +76,9 @@
</TableControl>
</View>
<View>
<Name>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20.OperationDisplay</Name>
<Name>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.OperationDisplay</Name>
<ViewSelectedBy>
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20.OperationDisplay</TypeName>
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.OperationDisplay</TypeName>
</ViewSelectedBy>
<TableControl>
<TableHeaders>
Expand Down Expand Up @@ -116,9 +116,9 @@
</TableControl>
</View>
<View>
<Name>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20.OperationListResult</Name>
<Name>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.OperationListResult</Name>
<ViewSelectedBy>
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20.OperationListResult</TypeName>
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.OperationListResult</TypeName>
</ViewSelectedBy>
<TableControl>
<TableHeaders>
Expand All @@ -138,31 +138,67 @@
</TableControl>
</View>
<View>
<Name>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20.ProxyResource</Name>
<Name>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.ProxyResource</Name>
<ViewSelectedBy>
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20.ProxyResource</TypeName>
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.ProxyResource</TypeName>
</ViewSelectedBy>
<TableControl>
<TableHeaders>
<TableColumnHeader>
<Label>Name</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>SystemDataCreatedAt</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>SystemDataCreatedBy</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>SystemDataCreatedByType</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>SystemDataLastModifiedAt</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>SystemDataLastModifiedBy</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>SystemDataLastModifiedByType</Label>
</TableColumnHeader>
</TableHeaders>
<TableRowEntries>
<TableRowEntry>
<TableColumnItems>
<TableColumnItem>
<PropertyName>Name</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>SystemDataCreatedAt</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>SystemDataCreatedBy</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>SystemDataCreatedByType</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>SystemDataLastModifiedAt</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>SystemDataLastModifiedBy</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>SystemDataLastModifiedByType</PropertyName>
</TableColumnItem>
</TableColumnItems>
</TableRowEntry>
</TableRowEntries>
</TableControl>
</View>
<View>
<Name>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20.Resource</Name>
<Name>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.Resource</Name>
<ViewSelectedBy>
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20.Resource</TypeName>
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.Resource</TypeName>
</ViewSelectedBy>
<TableControl>
<TableHeaders>
Expand All @@ -182,9 +218,9 @@
</TableControl>
</View>
<View>
<Name>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20.SystemData</Name>
<Name>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.SystemData</Name>
<ViewSelectedBy>
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20.SystemData</TypeName>
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.SystemData</TypeName>
</ViewSelectedBy>
<TableControl>
<TableHeaders>
Expand Down Expand Up @@ -234,15 +270,33 @@
</TableControl>
</View>
<View>
<Name>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20.TrackedResource</Name>
<Name>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.TrackedResource</Name>
<ViewSelectedBy>
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20.TrackedResource</TypeName>
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.TrackedResource</TypeName>
</ViewSelectedBy>
<TableControl>
<TableHeaders>
<TableColumnHeader>
<Label>Name</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>SystemDataCreatedAt</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>SystemDataCreatedBy</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>SystemDataCreatedByType</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>SystemDataLastModifiedAt</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>SystemDataLastModifiedBy</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>SystemDataLastModifiedByType</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>Location</Label>
</TableColumnHeader>
Expand All @@ -253,6 +307,24 @@
<TableColumnItem>
<PropertyName>Name</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>SystemDataCreatedAt</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>SystemDataCreatedBy</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>SystemDataCreatedByType</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>SystemDataLastModifiedAt</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>SystemDataLastModifiedBy</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>SystemDataLastModifiedByType</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>Location</PropertyName>
</TableColumnItem>
Expand All @@ -262,9 +334,9 @@
</TableControl>
</View>
<View>
<Name>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20.TrackedResourceTags</Name>
<Name>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.TrackedResourceTags</Name>
<ViewSelectedBy>
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20.TrackedResourceTags</TypeName>
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.TrackedResourceTags</TypeName>
</ViewSelectedBy>
<TableControl>
<TableHeaders>
Expand All @@ -284,9 +356,37 @@
</TableControl>
</View>
<View>
<Name>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20230301.StorageMoverUpdateParametersTags</Name>
<Name>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AzureKeyVaultSmbCredentials</Name>
<ViewSelectedBy>
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AzureKeyVaultSmbCredentials</TypeName>
</ViewSelectedBy>
<TableControl>
<TableHeaders>
<TableColumnHeader>
<Label>PasswordUri</Label>
</TableColumnHeader>
<TableColumnHeader>
<Label>UsernameUri</Label>
</TableColumnHeader>
</TableHeaders>
<TableRowEntries>
<TableRowEntry>
<TableColumnItems>
<TableColumnItem>
<PropertyName>PasswordUri</PropertyName>
</TableColumnItem>
<TableColumnItem>
<PropertyName>UsernameUri</PropertyName>
</TableColumnItem>
</TableColumnItems>
</TableRowEntry>
</TableRowEntries>
</TableControl>
</View>
<View>
<Name>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.StorageMoverUpdateParametersTags</Name>
<ViewSelectedBy>
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20230301.StorageMoverUpdateParametersTags</TypeName>
<TypeName>Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.StorageMoverUpdateParametersTags</TypeName>
</ViewSelectedBy>
<TableControl>
<TableHeaders>
Expand Down
11 changes: 7 additions & 4 deletions src/StorageMover/Az.StorageMover.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#
# Generated by: Microsoft Corporation
#
# Generated on: 06/29/2023
# Generated on: 10/19/2023
#

@{
Expand Down Expand Up @@ -75,7 +75,8 @@ FunctionsToExport = 'Get-AzStorageMover', 'Get-AzStorageMoverAgent',
'New-AzStorageMover',
'New-AzStorageMoverAzStorageContainerEndpoint',
'New-AzStorageMoverJobDefinition', 'New-AzStorageMoverNfsEndpoint',
'New-AzStorageMoverProject', 'Remove-AzStorageMover',
'New-AzStorageMoverProject', 'New-AzStorageMoverSmbEndpoint',
'New-AzStorageMoverSmbFileShareEndpoint', 'Remove-AzStorageMover',
'Remove-AzStorageMoverEndpoint',
'Remove-AzStorageMoverJobDefinition',
'Remove-AzStorageMoverProject', 'Start-AzStorageMoverJobDefinition',
Expand All @@ -84,7 +85,9 @@ FunctionsToExport = 'Get-AzStorageMover', 'Get-AzStorageMoverAgent',
'Update-AzStorageMoverAgent',
'Update-AzStorageMoverAzStorageContainerEndpoint',
'Update-AzStorageMoverJobDefinition',
'Update-AzStorageMoverNfsEndpoint', 'Update-AzStorageMoverProject'
'Update-AzStorageMoverNfsEndpoint', 'Update-AzStorageMoverProject',
'Update-AzStorageMoverSmbEndpoint',
'Update-AzStorageMoverSmbFileShareEndpoint'

# Cmdlets to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no cmdlets to export.
CmdletsToExport = @()
Expand Down Expand Up @@ -122,7 +125,7 @@ PrivateData = @{
# IconUri = ''

# ReleaseNotes of this module
ReleaseNotes = '* Fixed the issue of System.Management.Automation.Internal.Host.InternalHost conflicting with system parameter System.Management.Automation.Internal.Host.InternalHost'
# ReleaseNotes = ''

# Prerelease string of this module
# Prerelease = ''
Expand Down
1 change: 1 addition & 0 deletions src/StorageMover/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- Additional information about change #1
-->
## Upcoming Release
* Supported SmbFileShareEndpoint and SmbEndpoint

## Version 1.0.1
* Fixed the issue of $Host conflicting with system parameter $Host
Expand Down
9 changes: 6 additions & 3 deletions src/StorageMover/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ For information on how to develop for `Az.StorageMover`, see [how-to.md](how-to.
``` yaml
# Please specify the commit id that includes your features to make sure generated codes stable.
brach: 470c544393281cc986c9b343fa441f54576bc0bc
brach: 74948e5fb9b1e1f8b9d58fb65fc81d5cba6b6ced
require:
# readme.azure.noprofile.md is the common configuration file
- $(this-folder)/../readme.azure.noprofile.md
input-file:
- $(repo)/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-03-01/storagemover.json
- $(repo)/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2023-10-01/storagemover.json

# For new RP, the version is 0.1.0
module-version: 1.0.0
module-version: 1.1.0
# Normally, title is the service name
title: StorageMover
subject-prefix: $(service-name)
Expand Down Expand Up @@ -147,4 +147,7 @@ directive:
- from: source-file-csharp
where: $
transform: $ = $.replace('ShouldProcess($\"Call remote \'AgentsDelete\' operation\")', 'true');
- from: source-file-csharp
where: $
transform: $ = $.replace('public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.ISystemData', 'private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.ISystemData');
```
Loading

0 comments on commit 2579524

Please sign in to comment.