Skip to content

Commit 187e295

Browse files
authored
[StorageMover] Rename SmbFileShare endpoint cmdlets (#23738)
* Rename SmbFileShare endpoint cmdlets * update remaining * Remove old test file
1 parent 41399a8 commit 187e295

File tree

45 files changed

+447
-709
lines changed

Some content is hidden

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

45 files changed

+447
-709
lines changed

src/StorageMover/StorageMover.Autorest/Az.StorageMover.psd1

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
DotNetFrameworkVersion = '4.7.2'
1212
RequiredAssemblies = './bin/Az.StorageMover.private.dll'
1313
FormatsToProcess = './Az.StorageMover.format.ps1xml'
14-
FunctionsToExport = 'Get-AzStorageMover', 'Get-AzStorageMoverAgent', 'Get-AzStorageMoverEndpoint', 'Get-AzStorageMoverJobDefinition', 'Get-AzStorageMoverJobRun', 'Get-AzStorageMoverProject', 'New-AzStorageMover', 'New-AzStorageMoverAzStorageContainerEndpoint', 'New-AzStorageMoverJobDefinition', 'New-AzStorageMoverNfsEndpoint', 'New-AzStorageMoverProject', 'New-AzStorageMoverSmbEndpoint', 'New-AzStorageMoverSmbFileShareEndpoint', 'Remove-AzStorageMover', 'Remove-AzStorageMoverEndpoint', 'Remove-AzStorageMoverJobDefinition', 'Remove-AzStorageMoverProject', 'Start-AzStorageMoverJobDefinition', 'Stop-AzStorageMoverJobDefinition', 'Unregister-AzStorageMoverAgent', 'Update-AzStorageMover', 'Update-AzStorageMoverAgent', 'Update-AzStorageMoverAzStorageContainerEndpoint', 'Update-AzStorageMoverJobDefinition', 'Update-AzStorageMoverNfsEndpoint', 'Update-AzStorageMoverProject', 'Update-AzStorageMoverSmbEndpoint', 'Update-AzStorageMoverSmbFileShareEndpoint', '*'
15-
AliasesToExport = '*'
14+
FunctionsToExport = 'Get-AzStorageMover', 'Get-AzStorageMoverAgent', 'Get-AzStorageMoverEndpoint', 'Get-AzStorageMoverJobDefinition', 'Get-AzStorageMoverJobRun', 'Get-AzStorageMoverProject', 'New-AzStorageMover', 'New-AzStorageMoverAzSmbFileShareEndpoint', 'New-AzStorageMoverAzStorageContainerEndpoint', 'New-AzStorageMoverJobDefinition', 'New-AzStorageMoverNfsEndpoint', 'New-AzStorageMoverProject', 'New-AzStorageMoverSmbEndpoint', 'Remove-AzStorageMover', 'Remove-AzStorageMoverEndpoint', 'Remove-AzStorageMoverJobDefinition', 'Remove-AzStorageMoverProject', 'Start-AzStorageMoverJobDefinition', 'Stop-AzStorageMoverJobDefinition', 'Unregister-AzStorageMoverAgent', 'Update-AzStorageMover', 'Update-AzStorageMoverAgent', 'Update-AzStorageMoverAzSmbFileShareEndpoint', 'Update-AzStorageMoverAzStorageContainerEndpoint', 'Update-AzStorageMoverJobDefinition', 'Update-AzStorageMoverNfsEndpoint', 'Update-AzStorageMoverProject', 'Update-AzStorageMoverSmbEndpoint', '*'
15+
AliasesToExport = 'New-AzStorageMoverSmbFileShareEndpoint', 'Update-AzStorageMoverSmbFileShareEndpoint', '*'
1616
PrivateData = @{
1717
PSData = @{
1818
Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'StorageMover'

src/StorageMover/StorageMover.Autorest/UX/Microsoft.StorageMover/storageMovers-agents.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "storageMovers/agents",
3-
"apiVersion": "2023-03-01",
3+
"apiVersion": "2023-10-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.storagemover"
66
},

src/StorageMover/StorageMover.Autorest/UX/Microsoft.StorageMover/storageMovers-endpoints.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "storageMovers/endpoints",
3-
"apiVersion": "2023-03-01",
3+
"apiVersion": "2023-10-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.storagemover"
66
},

src/StorageMover/StorageMover.Autorest/UX/Microsoft.StorageMover/storageMovers-projects-jobDefinitions-jobRuns.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "storageMovers/projects/jobDefinitions/jobRuns",
3-
"apiVersion": "2023-03-01",
3+
"apiVersion": "2023-10-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.storagemover"
66
},

src/StorageMover/StorageMover.Autorest/UX/Microsoft.StorageMover/storageMovers-projects-jobDefinitions.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "storageMovers/projects/jobDefinitions",
3-
"apiVersion": "2023-03-01",
3+
"apiVersion": "2023-10-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.storagemover"
66
},

src/StorageMover/StorageMover.Autorest/UX/Microsoft.StorageMover/storageMovers-projects.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "storageMovers/projects",
3-
"apiVersion": "2023-03-01",
3+
"apiVersion": "2023-10-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.storagemover"
66
},

src/StorageMover/StorageMover.Autorest/UX/Microsoft.StorageMover/storageMovers.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"resourceType": "storageMovers",
3-
"apiVersion": "2023-03-01",
3+
"apiVersion": "2023-10-01",
44
"learnMore": {
55
"url": "https://learn.microsoft.com/powershell/module/az.storagemover"
66
},

src/StorageMover/StorageMover.Autorest/custom/NewAzStorageMoverSmbFileShareEndpoint.ps1 src/StorageMover/StorageMover.Autorest/custom/NewAzStorageMoverAzSmbFileShareEndpoint.ps1

+4-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Creates a Smb file share endpoint resource, which represents a data transfer sou
2020
.Description
2121
Creates a Smb file share endpoint resource, which represents a data transfer source or destination.
2222
.Example
23-
New-AzStorageMoverSmbFileShareEndpoint -Name $endpointName -ResourceGroupName $rgname -StorageMoverName $storagemovername -StorageAccountResourceId $accountresourceid -FileShareName $fileshareName -Description "Description"
23+
New-AzStorageMoverAzSmbFileShareEndpoint -Name $endpointName -ResourceGroupName $rgname -StorageMoverName $storagemovername -StorageAccountResourceId $accountresourceid -FileShareName $fileshareName -Description "Description"
2424
2525
.Inputs
2626
Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint
@@ -34,11 +34,12 @@ COMPLEX PARAMETER PROPERTIES
3434
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.
3535
3636
.Link
37-
https://learn.microsoft.com/powershell/module/az.storagemover/new-azstoragemoversmbfileshareendpoint
37+
https://learn.microsoft.com/powershell/module/az.storagemover/new-azstoragemoverazsmbfileshareendpoint
3838
#>
39-
function New-AzStorageMoverSmbFileShareEndpoint {
39+
function New-AzStorageMoverAzSmbFileShareEndpoint {
4040
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint])]
4141
[CmdletBinding(DefaultParameterSetName = 'CreateExpanded', PositionalBinding =$false, SupportsShouldProcess, ConfirmImpact = 'Medium')]
42+
[Alias("New-AzStorageMoverSmbFileShareEndpoint")]
4243
param(
4344
[Parameter(ParameterSetName='CreateExpanded', Mandatory)]
4445
[Alias('EndpointName')]

src/StorageMover/StorageMover.Autorest/custom/UpdateAzStorageMoverSmbFileShareEndpoint.ps1 src/StorageMover/StorageMover.Autorest/custom/UpdateAzStorageMoverAzSmbFileShareEndpoint.ps1

+4-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Properties not specified in the request body will be unchanged.
2222
Updates properties for a SMB file share endpoint resource.
2323
Properties not specified in the request body will be unchanged.
2424
.Example
25-
Update-AzStorageMoverSmbFileShareEndpoint -Name "myendpoint" -ResourceGroupName "myresourcegroup" -StorageMoverName "mystoragemover" -Description "updated endpoint"
25+
Update-AzStorageMoverAzSmbFileShareEndpoint -Name "myendpoint" -ResourceGroupName "myresourcegroup" -StorageMoverName "mystoragemover" -Description "updated endpoint"
2626
2727
.Inputs
2828
Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateParameters
@@ -51,11 +51,12 @@ INPUTOBJECT<IStorageMoverIdentity>: Identity Parameter
5151
[SubscriptionId<String>]: The ID of the target subscription.
5252
5353
.Link
54-
https://learn.microsoft.com/powershell/module/az.storagemover/update-azstoragemoversmbfileshareendpoint
54+
https://learn.microsoft.com/powershell/module/az.storagemover/update-azstoragemoverazsmbfileshareendpoint
5555
#>
56-
function Update-AzStorageMoverSmbFileShareEndpoint {
56+
function Update-AzStorageMoverAzSmbFileShareEndpoint {
5757
[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint])]
5858
[CmdletBinding(DefaultParameterSetName = 'UpdateExpanded', PositionalBinding =$false, SupportsShouldProcess, ConfirmImpact = 'Medium')]
59+
[Alias("Update-AzStorageMoverSmbFileShareEndpoint")]
5960
param(
6061
[Parameter(ParameterSetName='UpdateExpanded', Mandatory)]
6162
[Alias('EndpointName')]

src/StorageMover/StorageMover.Autorest/docs/Az.StorageMover.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ Gets a Project resource.
3232
### [New-AzStorageMover](New-AzStorageMover.md)
3333
Creates or updates a top-level Storage Mover resource.
3434

35+
### [New-AzStorageMoverAzSmbFileShareEndpoint](New-AzStorageMoverAzSmbFileShareEndpoint.md)
36+
Creates a Smb file share endpoint resource, which represents a data transfer source or destination.
37+
3538
### [New-AzStorageMoverAzStorageContainerEndpoint](New-AzStorageMoverAzStorageContainerEndpoint.md)
3639
Creates an AzStorageContainer endpoint resource, which represents a data transfer source or destination.
3740

@@ -47,9 +50,6 @@ Creates or updates a Project resource, which is a logical grouping of related jo
4750
### [New-AzStorageMoverSmbEndpoint](New-AzStorageMoverSmbEndpoint.md)
4851
Creates an SMB endpoint resource, which represents a data transfer source or destination.
4952

50-
### [New-AzStorageMoverSmbFileShareEndpoint](New-AzStorageMoverSmbFileShareEndpoint.md)
51-
Creates a Smb file share endpoint resource, which represents a data transfer source or destination.
52-
5353
### [Remove-AzStorageMover](Remove-AzStorageMover.md)
5454
Deletes a Storage Mover resource.
5555

@@ -78,6 +78,10 @@ Properties not specified in the request body will be unchanged.
7878
### [Update-AzStorageMoverAgent](Update-AzStorageMoverAgent.md)
7979
Creates or updates an Agent resource.
8080

81+
### [Update-AzStorageMoverAzSmbFileShareEndpoint](Update-AzStorageMoverAzSmbFileShareEndpoint.md)
82+
Updates properties for a SMB file share endpoint resource.
83+
Properties not specified in the request body will be unchanged.
84+
8185
### [Update-AzStorageMoverAzStorageContainerEndpoint](Update-AzStorageMoverAzStorageContainerEndpoint.md)
8286
Updates properties for an AzStorageContainer endpoint resource.
8387
Properties not specified in the request body will be unchanged.
@@ -98,7 +102,3 @@ Properties not specified in the request body will be unchanged.
98102
Updates properties for a SMB endpoint resource.
99103
Properties not specified in the request body will be unchanged.
100104

101-
### [Update-AzStorageMoverSmbFileShareEndpoint](Update-AzStorageMoverSmbFileShareEndpoint.md)
102-
Updates properties for a SMB file share endpoint resource.
103-
Properties not specified in the request body will be unchanged.
104-

src/StorageMover/StorageMover.Autorest/docs/Get-AzStorageMover.md

-18
Original file line numberDiff line numberDiff line change
@@ -227,23 +227,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
227227
228228
## NOTES
229229
230-
ALIASES
231-
232-
COMPLEX PARAMETER PROPERTIES
233-
234-
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.
235-
236-
237-
`INPUTOBJECT <IStorageMoverIdentity>`: Identity Parameter
238-
- `[AgentName <String>]`: The name of the Agent resource.
239-
- `[EndpointName <String>]`: The name of the Endpoint resource.
240-
- `[Id <String>]`: Resource identity path
241-
- `[JobDefinitionName <String>]`: The name of the Job Definition resource.
242-
- `[JobRunName <String>]`: The name of the Job Run resource.
243-
- `[ProjectName <String>]`: The name of the Project resource.
244-
- `[ResourceGroupName <String>]`: The name of the resource group. The name is case insensitive.
245-
- `[StorageMoverName <String>]`: The name of the Storage Mover resource.
246-
- `[SubscriptionId <String>]`: The ID of the target subscription.
247-
248230
## RELATED LINKS
249231

src/StorageMover/StorageMover.Autorest/docs/Get-AzStorageMoverAgent.md

-18
Original file line numberDiff line numberDiff line change
@@ -206,23 +206,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
206206
207207
## NOTES
208208
209-
ALIASES
210-
211-
COMPLEX PARAMETER PROPERTIES
212-
213-
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.
214-
215-
216-
`INPUTOBJECT <IStorageMoverIdentity>`: Identity Parameter
217-
- `[AgentName <String>]`: The name of the Agent resource.
218-
- `[EndpointName <String>]`: The name of the Endpoint resource.
219-
- `[Id <String>]`: Resource identity path
220-
- `[JobDefinitionName <String>]`: The name of the Job Definition resource.
221-
- `[JobRunName <String>]`: The name of the Job Run resource.
222-
- `[ProjectName <String>]`: The name of the Project resource.
223-
- `[ResourceGroupName <String>]`: The name of the resource group. The name is case insensitive.
224-
- `[StorageMoverName <String>]`: The name of the Storage Mover resource.
225-
- `[SubscriptionId <String>]`: The ID of the target subscription.
226-
227209
## RELATED LINKS
228210

src/StorageMover/StorageMover.Autorest/docs/Get-AzStorageMoverEndpoint.md

-18
Original file line numberDiff line numberDiff line change
@@ -209,23 +209,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
209209
210210
## NOTES
211211
212-
ALIASES
213-
214-
COMPLEX PARAMETER PROPERTIES
215-
216-
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.
217-
218-
219-
`INPUTOBJECT <IStorageMoverIdentity>`: Identity Parameter
220-
- `[AgentName <String>]`: The name of the Agent resource.
221-
- `[EndpointName <String>]`: The name of the Endpoint resource.
222-
- `[Id <String>]`: Resource identity path
223-
- `[JobDefinitionName <String>]`: The name of the Job Definition resource.
224-
- `[JobRunName <String>]`: The name of the Job Run resource.
225-
- `[ProjectName <String>]`: The name of the Project resource.
226-
- `[ResourceGroupName <String>]`: The name of the resource group. The name is case insensitive.
227-
- `[StorageMoverName <String>]`: The name of the Storage Mover resource.
228-
- `[SubscriptionId <String>]`: The ID of the target subscription.
229-
230212
## RELATED LINKS
231213

src/StorageMover/StorageMover.Autorest/docs/Get-AzStorageMoverJobDefinition.md

-18
Original file line numberDiff line numberDiff line change
@@ -224,23 +224,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
224224
225225
## NOTES
226226
227-
ALIASES
228-
229-
COMPLEX PARAMETER PROPERTIES
230-
231-
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.
232-
233-
234-
`INPUTOBJECT <IStorageMoverIdentity>`: Identity Parameter
235-
- `[AgentName <String>]`: The name of the Agent resource.
236-
- `[EndpointName <String>]`: The name of the Endpoint resource.
237-
- `[Id <String>]`: Resource identity path
238-
- `[JobDefinitionName <String>]`: The name of the Job Definition resource.
239-
- `[JobRunName <String>]`: The name of the Job Run resource.
240-
- `[ProjectName <String>]`: The name of the Project resource.
241-
- `[ResourceGroupName <String>]`: The name of the resource group. The name is case insensitive.
242-
- `[StorageMoverName <String>]`: The name of the Storage Mover resource.
243-
- `[SubscriptionId <String>]`: The ID of the target subscription.
244-
245227
## RELATED LINKS
246228

src/StorageMover/StorageMover.Autorest/docs/Get-AzStorageMoverJobRun.md

-18
Original file line numberDiff line numberDiff line change
@@ -280,23 +280,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
280280
281281
## NOTES
282282
283-
ALIASES
284-
285-
COMPLEX PARAMETER PROPERTIES
286-
287-
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.
288-
289-
290-
`INPUTOBJECT <IStorageMoverIdentity>`: Identity Parameter
291-
- `[AgentName <String>]`: The name of the Agent resource.
292-
- `[EndpointName <String>]`: The name of the Endpoint resource.
293-
- `[Id <String>]`: Resource identity path
294-
- `[JobDefinitionName <String>]`: The name of the Job Definition resource.
295-
- `[JobRunName <String>]`: The name of the Job Run resource.
296-
- `[ProjectName <String>]`: The name of the Project resource.
297-
- `[ResourceGroupName <String>]`: The name of the resource group. The name is case insensitive.
298-
- `[StorageMoverName <String>]`: The name of the Storage Mover resource.
299-
- `[SubscriptionId <String>]`: The ID of the target subscription.
300-
301283
## RELATED LINKS
302284

src/StorageMover/StorageMover.Autorest/docs/Get-AzStorageMoverProject.md

-18
Original file line numberDiff line numberDiff line change
@@ -197,23 +197,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
197197
198198
## NOTES
199199
200-
ALIASES
201-
202-
COMPLEX PARAMETER PROPERTIES
203-
204-
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.
205-
206-
207-
`INPUTOBJECT <IStorageMoverIdentity>`: Identity Parameter
208-
- `[AgentName <String>]`: The name of the Agent resource.
209-
- `[EndpointName <String>]`: The name of the Endpoint resource.
210-
- `[Id <String>]`: Resource identity path
211-
- `[JobDefinitionName <String>]`: The name of the Job Definition resource.
212-
- `[JobRunName <String>]`: The name of the Job Run resource.
213-
- `[ProjectName <String>]`: The name of the Project resource.
214-
- `[ResourceGroupName <String>]`: The name of the resource group. The name is case insensitive.
215-
- `[StorageMoverName <String>]`: The name of the Storage Mover resource.
216-
- `[SubscriptionId <String>]`: The ID of the target subscription.
217-
218200
## RELATED LINKS
219201

src/StorageMover/StorageMover.Autorest/docs/New-AzStorageMover.md

-19
Original file line numberDiff line numberDiff line change
@@ -224,24 +224,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
224224
225225
## NOTES
226226
227-
ALIASES
228-
229-
COMPLEX PARAMETER PROPERTIES
230-
231-
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.
232-
233-
234-
`STORAGEMOVER <IStorageMover>`: The Storage Mover resource, which is a container for a group of Agents, Projects, and Endpoints.
235-
- `Location <String>`: The geo-location where the resource lives
236-
- `[Tag <ITrackedResourceTags>]`: Resource tags.
237-
- `[(Any) <String>]`: This indicates any property can be added to this object.
238-
- `[SystemDataCreatedAt <DateTime?>]`: The timestamp of resource creation (UTC).
239-
- `[SystemDataCreatedBy <String>]`: The identity that created the resource.
240-
- `[SystemDataCreatedByType <CreatedByType?>]`: The type of identity that created the resource.
241-
- `[SystemDataLastModifiedAt <DateTime?>]`: The timestamp of resource last modification (UTC)
242-
- `[SystemDataLastModifiedBy <String>]`: The identity that last modified the resource.
243-
- `[SystemDataLastModifiedByType <CreatedByType?>]`: The type of identity that last modified the resource.
244-
- `[Description <String>]`: A description for the Storage Mover.
245-
246227
## RELATED LINKS
247228

src/StorageMover/StorageMover.Autorest/docs/New-AzStorageMoverSmbFileShareEndpoint.md src/StorageMover/StorageMover.Autorest/docs/New-AzStorageMoverAzSmbFileShareEndpoint.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
---
22
external help file:
33
Module Name: Az.StorageMover
4-
online version: https://learn.microsoft.com/powershell/module/az.storagemover/new-azstoragemoversmbfileshareendpoint
4+
online version: https://learn.microsoft.com/powershell/module/az.storagemover/new-azstoragemoverazsmbfileshareendpoint
55
schema: 2.0.0
66
---
77

8-
# New-AzStorageMoverSmbFileShareEndpoint
8+
# New-AzStorageMoverAzSmbFileShareEndpoint
99

1010
## SYNOPSIS
1111
Creates a Smb file share endpoint resource, which represents a data transfer source or destination.
1212

1313
## SYNTAX
1414

1515
```
16-
New-AzStorageMoverSmbFileShareEndpoint -Name <String> -ResourceGroupName <String> -StorageMoverName <String>
16+
New-AzStorageMoverAzSmbFileShareEndpoint -Name <String> -ResourceGroupName <String> -StorageMoverName <String>
1717
-FileShareName <String> -StorageAccountResourceId <String> [-SubscriptionId <String>] [-Description <String>]
1818
[-DefaultProfile <PSObject>] [-Confirm] [-WhatIf] [<CommonParameters>]
1919
```
@@ -25,7 +25,7 @@ Creates a Smb file share endpoint resource, which represents a data transfer sou
2525

2626
### Example 1: Create an Smb file share endpoint
2727
```powershell
28-
New-AzStorageMoverSmbFileShareEndpoint -Name "myendpoint" -ResourceGroupName "myresourcegroup" -StorageMoverName "mystoragemover" -StorageAccountResourceId $accountresourceid -FileShareName testfs -Description "New smb file share endpoint"
28+
New-AzStorageMoverAzSmbFileShareEndpoint -Name "myendpoint" -ResourceGroupName "myresourcegroup" -StorageMoverName "mystoragemover" -StorageAccountResourceId $accountresourceid -FileShareName testfs -Description "New smb file share endpoint"
2929
```
3030

3131
```output
@@ -47,7 +47,7 @@ SystemDataLastModifiedByType : Application
4747
Type : microsoft.storagemover/storagemovers/endpoints
4848
```
4949

50-
This command creats a Smb file share endpoint
50+
This command creats an Azure Storage SMB file share endpoint.
5151

5252
## PARAMETERS
5353

@@ -220,5 +220,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
220220
221221
ALIASES
222222
223+
New-AzStorageMoverSmbFileShareEndpoint
224+
223225
## RELATED LINKS
224226

src/StorageMover/StorageMover.Autorest/docs/New-AzStorageMoverAzStorageContainerEndpoint.md

-2
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
218218
219219
## NOTES
220220
221-
ALIASES
222-
223221
## RELATED LINKS
224222

src/StorageMover/StorageMover.Autorest/docs/New-AzStorageMoverJobDefinition.md

-22
Original file line numberDiff line numberDiff line change
@@ -325,27 +325,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
325325
326326
## NOTES
327327
328-
ALIASES
329-
330-
COMPLEX PARAMETER PROPERTIES
331-
332-
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.
333-
334-
335-
`JOBDEFINITION <IJobDefinition>`: The Job Definition resource.
336-
- `CopyMode <CopyMode>`: Strategy to use for copy.
337-
- `SourceName <String>`: The name of the source Endpoint.
338-
- `TargetName <String>`: The name of the target Endpoint.
339-
- `[SystemDataCreatedAt <DateTime?>]`: The timestamp of resource creation (UTC).
340-
- `[SystemDataCreatedBy <String>]`: The identity that created the resource.
341-
- `[SystemDataCreatedByType <CreatedByType?>]`: The type of identity that created the resource.
342-
- `[SystemDataLastModifiedAt <DateTime?>]`: The timestamp of resource last modification (UTC)
343-
- `[SystemDataLastModifiedBy <String>]`: The identity that last modified the resource.
344-
- `[SystemDataLastModifiedByType <CreatedByType?>]`: The type of identity that last modified the resource.
345-
- `[AgentName <String>]`: Name of the Agent to assign for new Job Runs of this Job Definition.
346-
- `[Description <String>]`: A description for the Job Definition.
347-
- `[SourceSubpath <String>]`: The subpath to use when reading from the source Endpoint.
348-
- `[TargetSubpath <String>]`: The subpath to use when writing to the target Endpoint.
349-
350328
## RELATED LINKS
351329

0 commit comments

Comments
 (0)