diff --git a/src/StorageMover/StorageMover.Autorest/Az.StorageMover.format.ps1xml b/src/StorageMover/StorageMover.Autorest/Az.StorageMover.format.ps1xml index 875485a964af..70bf603927f6 100644 --- a/src/StorageMover/StorageMover.Autorest/Az.StorageMover.format.ps1xml +++ b/src/StorageMover/StorageMover.Autorest/Az.StorageMover.format.ps1xml @@ -356,9 +356,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AzureKeyVaultSmbCredentials + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AzureKeyVaultSmbCredentials - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AzureKeyVaultSmbCredentials + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AzureKeyVaultSmbCredentials @@ -384,9 +384,9 @@ - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.StorageMoverUpdateParametersTags + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.StorageMoverUpdateParametersTags - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.StorageMoverUpdateParametersTags + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.StorageMoverUpdateParametersTags @@ -405,5 +405,153 @@ + + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.Time + + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.Time + + + + + + + + + + + + + + + Hour + + + Minute + + + + + + + + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimit + + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimit + + + + + + + + + + + + LimitInMbps + + + + + + + + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimitWeeklyRecurrence + + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimitWeeklyRecurrence + + + + + + + + + + + + + + + + + + + + + + + + + + + Day + + + EndTimeHour + + + EndTimeMinute + + + LimitInMbps + + + StartTimeHour + + + StartTimeMinute + + + + + + + + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.WeeklyRecurrence + + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.WeeklyRecurrence + + + + + + + + + + + + + + + + + + + + + + + + EndTimeHour + + + EndTimeMinute + + + StartTimeHour + + + StartTimeMinute + + + Day + + + + + + \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/Az.StorageMover.psd1 b/src/StorageMover/StorageMover.Autorest/Az.StorageMover.psd1 index 46f157fa7d95..bd2a534acd92 100644 --- a/src/StorageMover/StorageMover.Autorest/Az.StorageMover.psd1 +++ b/src/StorageMover/StorageMover.Autorest/Az.StorageMover.psd1 @@ -1,7 +1,7 @@ @{ GUID = 'd6053d97-1a9b-4fc6-9bd2-09c5b23b34db' RootModule = './Az.StorageMover.psm1' - ModuleVersion = '1.1.0' + ModuleVersion = '1.2.0' CompatiblePSEditions = 'Core', 'Desktop' Author = 'Microsoft Corporation' CompanyName = 'Microsoft Corporation' @@ -11,7 +11,7 @@ DotNetFrameworkVersion = '4.7.2' RequiredAssemblies = './bin/Az.StorageMover.private.dll' FormatsToProcess = './Az.StorageMover.format.ps1xml' - 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', '*' + 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', 'New-AzStorageMoverUploadLimitWeeklyRecurrenceObject', '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', '*' AliasesToExport = 'New-AzStorageMoverSmbFileShareEndpoint', 'Update-AzStorageMoverSmbFileShareEndpoint', '*' PrivateData = @{ PSData = @{ diff --git a/src/StorageMover/StorageMover.Autorest/README.md b/src/StorageMover/StorageMover.Autorest/README.md index f7ef05175e5c..c6aa5cf0ed2e 100644 --- a/src/StorageMover/StorageMover.Autorest/README.md +++ b/src/StorageMover/StorageMover.Autorest/README.md @@ -28,15 +28,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. -commit: 74948e5fb9b1e1f8b9d58fb65fc81d5cba6b6ced +commit: 1cb8cb0a95c20513c5d767614888f415be99245d 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-10-01/storagemover.json + - $(repo)/specification/storagemover/resource-manager/Microsoft.StorageMover/stable/2024-07-01/storagemover.json # For new RP, the version is 0.1.0 -module-version: 1.1.0 +module-version: 1.2.0 # Normally, title is the service name title: StorageMover subject-prefix: $(service-name) @@ -48,6 +48,19 @@ use-extension: "@autorest/powershell": "3.x" directive: + - from: swagger-document + where: $.definitions.Time.properties.minute + transform: >- + return { + "description": "The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0.", + "type": "integer", + "format": "int32", + "enum": [ + 0, + 30 + ], + "default": 0 + } - where: verb: Set remove: true diff --git a/src/StorageMover/StorageMover.Autorest/UX/Microsoft.StorageMover/storageMovers-agents.json b/src/StorageMover/StorageMover.Autorest/UX/Microsoft.StorageMover/storageMovers-agents.json index f26625053432..bf123bc3161e 100644 --- a/src/StorageMover/StorageMover.Autorest/UX/Microsoft.StorageMover/storageMovers-agents.json +++ b/src/StorageMover/StorageMover.Autorest/UX/Microsoft.StorageMover/storageMovers-agents.json @@ -1,6 +1,6 @@ { "resourceType": "storageMovers/agents", - "apiVersion": "2023-10-01", + "apiVersion": "2024-07-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.storagemover" }, diff --git a/src/StorageMover/StorageMover.Autorest/UX/Microsoft.StorageMover/storageMovers-endpoints.json b/src/StorageMover/StorageMover.Autorest/UX/Microsoft.StorageMover/storageMovers-endpoints.json index 996a98753f3d..852e790f25e4 100644 --- a/src/StorageMover/StorageMover.Autorest/UX/Microsoft.StorageMover/storageMovers-endpoints.json +++ b/src/StorageMover/StorageMover.Autorest/UX/Microsoft.StorageMover/storageMovers-endpoints.json @@ -1,6 +1,6 @@ { "resourceType": "storageMovers/endpoints", - "apiVersion": "2023-10-01", + "apiVersion": "2024-07-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.storagemover" }, diff --git a/src/StorageMover/StorageMover.Autorest/UX/Microsoft.StorageMover/storageMovers-projects-jobDefinitions-jobRuns.json b/src/StorageMover/StorageMover.Autorest/UX/Microsoft.StorageMover/storageMovers-projects-jobDefinitions-jobRuns.json index fc06fba39254..25559b9fcfee 100644 --- a/src/StorageMover/StorageMover.Autorest/UX/Microsoft.StorageMover/storageMovers-projects-jobDefinitions-jobRuns.json +++ b/src/StorageMover/StorageMover.Autorest/UX/Microsoft.StorageMover/storageMovers-projects-jobDefinitions-jobRuns.json @@ -1,6 +1,6 @@ { "resourceType": "storageMovers/projects/jobDefinitions/jobRuns", - "apiVersion": "2023-10-01", + "apiVersion": "2024-07-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.storagemover" }, diff --git a/src/StorageMover/StorageMover.Autorest/UX/Microsoft.StorageMover/storageMovers-projects-jobDefinitions.json b/src/StorageMover/StorageMover.Autorest/UX/Microsoft.StorageMover/storageMovers-projects-jobDefinitions.json index 15386963de75..74c8d5816185 100644 --- a/src/StorageMover/StorageMover.Autorest/UX/Microsoft.StorageMover/storageMovers-projects-jobDefinitions.json +++ b/src/StorageMover/StorageMover.Autorest/UX/Microsoft.StorageMover/storageMovers-projects-jobDefinitions.json @@ -1,6 +1,6 @@ { "resourceType": "storageMovers/projects/jobDefinitions", - "apiVersion": "2023-10-01", + "apiVersion": "2024-07-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.storagemover" }, @@ -103,7 +103,7 @@ }, { "name": "Start-AzStorageMoverJobDefinition", - "description": "Requests an Agent to start a new instance of this Job Definition, generating a new Job Run resource.", + "description": "Creates a new Job Run resource for the specified Job Definition and passes it to the Agent for execution.", "path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/startJob", "help": { "learnMore": { @@ -123,7 +123,7 @@ }, "examples": [ { - "description": "Requests an Agent to start a new instance of this Job Definition, generating a new Job Run resource.", + "description": "Creates a new Job Run resource for the specified Job Definition and passes it to the Agent for execution.", "parameters": [ { "name": "-JobDefinitionName", diff --git a/src/StorageMover/StorageMover.Autorest/UX/Microsoft.StorageMover/storageMovers-projects.json b/src/StorageMover/StorageMover.Autorest/UX/Microsoft.StorageMover/storageMovers-projects.json index 53486599882a..935e66a1d89a 100644 --- a/src/StorageMover/StorageMover.Autorest/UX/Microsoft.StorageMover/storageMovers-projects.json +++ b/src/StorageMover/StorageMover.Autorest/UX/Microsoft.StorageMover/storageMovers-projects.json @@ -1,6 +1,6 @@ { "resourceType": "storageMovers/projects", - "apiVersion": "2023-10-01", + "apiVersion": "2024-07-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.storagemover" }, diff --git a/src/StorageMover/StorageMover.Autorest/UX/Microsoft.StorageMover/storageMovers.json b/src/StorageMover/StorageMover.Autorest/UX/Microsoft.StorageMover/storageMovers.json index 7e81eba21692..f3521f5d4f5f 100644 --- a/src/StorageMover/StorageMover.Autorest/UX/Microsoft.StorageMover/storageMovers.json +++ b/src/StorageMover/StorageMover.Autorest/UX/Microsoft.StorageMover/storageMovers.json @@ -1,6 +1,6 @@ { "resourceType": "storageMovers", - "apiVersion": "2023-10-01", + "apiVersion": "2024-07-01", "learnMore": { "url": "https://learn.microsoft.com/powershell/module/az.storagemover" }, diff --git a/src/StorageMover/StorageMover.Autorest/build-module.ps1 b/src/StorageMover/StorageMover.Autorest/build-module.ps1 index 8b6f285e3ed8..f125172fc27b 100644 --- a/src/StorageMover/StorageMover.Autorest/build-module.ps1 +++ b/src/StorageMover/StorageMover.Autorest/build-module.ps1 @@ -12,7 +12,7 @@ # 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) +param([switch]$Isolated, [switch]$Run, [switch]$Test, [switch]$Docs, [switch]$Pack, [switch]$Code, [switch]$Release, [switch]$Debugger, [switch]$NoDocs, [Switch]$DisableAfterBuildTasks) $ErrorActionPreference = 'Stop' if($PSEdition -ne 'Core') { @@ -169,4 +169,14 @@ if (Test-Path (Join-Path $PSScriptRoot 'generate-portal-ux.ps1')) . (Join-Path $PSScriptRoot 'generate-portal-ux.ps1') } +if (-not $DisableAfterBuildTasks){ + $afterBuildTasksPath = Join-Path $PSScriptRoot '' + $afterBuildTasksArgs = ConvertFrom-Json 'true' -AsHashtable + if(Test-Path -Path $afterBuildTasksPath -PathType leaf){ + Write-Host -ForegroundColor Green 'Running after build tasks...' + . $afterBuildTasksPath @afterBuildTasksArgs + } +} + + Write-Host -ForegroundColor Green '-------------Done-------------' diff --git a/src/StorageMover/StorageMover.Autorest/custom/NewAzStorageMoverAzSmbFileShareEndpoint.ps1 b/src/StorageMover/StorageMover.Autorest/custom/NewAzStorageMoverAzSmbFileShareEndpoint.ps1 index efc563341019..7a8d1ab592ea 100644 --- a/src/StorageMover/StorageMover.Autorest/custom/NewAzStorageMoverAzSmbFileShareEndpoint.ps1 +++ b/src/StorageMover/StorageMover.Autorest/custom/NewAzStorageMoverAzSmbFileShareEndpoint.ps1 @@ -23,11 +23,11 @@ Creates a Smb file share endpoint resource, which represents a data transfer sou New-AzStorageMoverAzSmbFileShareEndpoint -Name $endpointName -ResourceGroupName $rgname -StorageMoverName $storagemovername -StorageAccountResourceId $accountresourceid -FileShareName $fileshareName -Description "Description" .Inputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Notes COMPLEX PARAMETER PROPERTIES @@ -37,7 +37,7 @@ To create the parameters described below, construct a hash table containing the https://learn.microsoft.com/powershell/module/az.storagemover/new-azstoragemoverazsmbfileshareendpoint #> function New-AzStorageMoverAzSmbFileShareEndpoint { - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint])] [CmdletBinding(DefaultParameterSetName = 'CreateExpanded', PositionalBinding =$false, SupportsShouldProcess, ConfirmImpact = 'Medium')] [Alias("New-AzStorageMoverSmbFileShareEndpoint")] param( @@ -132,7 +132,7 @@ function New-AzStorageMoverAzSmbFileShareEndpoint { ) process { - $Properties = [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AzureStorageSmbFileShareEndpointProperties]::New() + $Properties = [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AzureStorageSmbFileShareEndpointProperties]::New() if ($PSBoundParameters.ContainsKey('FileShareName')) { $Properties.FileShareName = $FileShareName diff --git a/src/StorageMover/StorageMover.Autorest/custom/NewAzStorageMoverAzStorageContainerEndpoint.ps1 b/src/StorageMover/StorageMover.Autorest/custom/NewAzStorageMoverAzStorageContainerEndpoint.ps1 index 36a4ab592ee8..5e4a391a5820 100644 --- a/src/StorageMover/StorageMover.Autorest/custom/NewAzStorageMoverAzStorageContainerEndpoint.ps1 +++ b/src/StorageMover/StorageMover.Autorest/custom/NewAzStorageMoverAzStorageContainerEndpoint.ps1 @@ -23,11 +23,11 @@ Creates an AzStorageContainer endpoint resource, which represents a data transfe New-AzStorageMoverAzStorageContainerEndpoint -Name myendpointName -ResourceGroupName myResourceGroup -BlobContainerName myContainer -StorageMoverName myStorageMover -StorageAccountResourceId myAccountResourceId .Inputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Notes COMPLEX PARAMETER PROPERTIES @@ -37,7 +37,7 @@ To create the parameters described below, construct a hash table containing the https://learn.microsoft.com/powershell/module/az.storagemover/new-azstoragemoverazstoragecontainerendpoint #> function New-AzStorageMoverAzStorageContainerEndpoint { - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint])] [CmdletBinding(DefaultParameterSetName = 'CreateExpanded', PositionalBinding =$false, SupportsShouldProcess, ConfirmImpact = 'Medium')] param( [Parameter(ParameterSetName='CreateExpanded', Mandatory)] @@ -131,7 +131,7 @@ function New-AzStorageMoverAzStorageContainerEndpoint { ) process { - $Properties = [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AzureStorageBlobContainerEndpointProperties]::New() + $Properties = [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AzureStorageBlobContainerEndpointProperties]::New() if ($PSBoundParameters.ContainsKey('BlobContainerName')) { $Properties.BlobContainerName = $BlobContainerName diff --git a/src/StorageMover/StorageMover.Autorest/custom/NewAzStorageMoverNfsEndpoint.ps1 b/src/StorageMover/StorageMover.Autorest/custom/NewAzStorageMoverNfsEndpoint.ps1 index 16fb4740e899..c5fadad2d152 100644 --- a/src/StorageMover/StorageMover.Autorest/custom/NewAzStorageMoverNfsEndpoint.ps1 +++ b/src/StorageMover/StorageMover.Autorest/custom/NewAzStorageMoverNfsEndpoint.ps1 @@ -23,11 +23,11 @@ Creates a Nfs endpoint resource, which represents a data transfer source or dest New-AzStorageMoverNfsEndpoint -Name myEndpoint -ResourceGroupName myResourceGroup -StorageMoverName myStorageMover -Host "x.x.x.x" -Export "/" -NfsVersion NFSv3 -Description "Description" .Inputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Notes COMPLEX PARAMETER PROPERTIES @@ -37,7 +37,7 @@ To create the parameters described below, construct a hash table containing the https://learn.microsoft.com/powershell/module/az.storagemover/new-azstoragemovernfsendpoint #> function New-AzStorageMoverNfsEndpoint { - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint])] [CmdletBinding(DefaultParameterSetName = 'CreateExpanded', PositionalBinding =$false, SupportsShouldProcess, ConfirmImpact = 'Medium')] param( [Parameter(ParameterSetName='CreateExpanded', Mandatory)] @@ -137,7 +137,7 @@ function New-AzStorageMoverNfsEndpoint { ) process { - $Properties = [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.NfsMountEndpointProperties]::New() + $Properties = [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.NfsMountEndpointProperties]::New() if ($PSBoundParameters.ContainsKey('Host')) { $Properties.Host = $Host $null = $PSBoundParameters.Remove("Host") diff --git a/src/StorageMover/StorageMover.Autorest/custom/NewAzStorageMoverSmbEndpoint.ps1 b/src/StorageMover/StorageMover.Autorest/custom/NewAzStorageMoverSmbEndpoint.ps1 index 94ce19a372ae..d9f0ecabf457 100644 --- a/src/StorageMover/StorageMover.Autorest/custom/NewAzStorageMoverSmbEndpoint.ps1 +++ b/src/StorageMover/StorageMover.Autorest/custom/NewAzStorageMoverSmbEndpoint.ps1 @@ -22,11 +22,11 @@ Creates an SMB endpoint resource, which represents a data transfer source or des .Example New-AzStorageMoverSmbEndpoint -Name $endpointName -ResourceGroupName $rgname -StorageMoverName $storagemovername -Host $host -ShareName $shareName -CredentialsUsernameUri "https://examples-azureKeyVault.vault.azure.net/secrets/examples-username" -CredentialsPasswordUri "https://examples-azureKeyVault.vault.azure.net/secrets/examples-password" -Description "Description" .Inputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Notes COMPLEX PARAMETER PROPERTIES @@ -36,7 +36,7 @@ To create the parameters described below, construct a hash table containing the https://learn.microsoft.com/powershell/module/az.storagemover/new-azstoragemoversmbendpoint #> function New-AzStorageMoverSmbEndpoint { - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint])] [CmdletBinding(DefaultParameterSetName = 'CreateExpanded', PositionalBinding =$false, SupportsShouldProcess, ConfirmImpact = 'Medium')] param( [Parameter(ParameterSetName='CreateExpanded', Mandatory)] @@ -140,7 +140,7 @@ function New-AzStorageMoverSmbEndpoint { ) process { - $Properties = [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.SmbMountEndpointProperties]::New() + $Properties = [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.SmbMountEndpointProperties]::New() if ($PSBoundParameters.ContainsKey('Host')) { $Properties.Host = $Host diff --git a/src/StorageMover/StorageMover.Autorest/custom/NewAzStorageMoverUploadLimitWeeklyRecurrenceObject.ps1 b/src/StorageMover/StorageMover.Autorest/custom/NewAzStorageMoverUploadLimitWeeklyRecurrenceObject.ps1 new file mode 100644 index 000000000000..4c9e78ba4806 --- /dev/null +++ b/src/StorageMover/StorageMover.Autorest/custom/NewAzStorageMoverUploadLimitWeeklyRecurrenceObject.ps1 @@ -0,0 +1,81 @@ + +# ---------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# 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 UploadLimitWeeklyRecurrence. +.Description +Create an in-memory object for UploadLimitWeeklyRecurrence. + +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimitWeeklyRecurrence +.Link +https://learn.microsoft.com/powershell/module/Az.StorageMover/new-AzStorageMoverUploadLimitWeeklyRecurrenceObject +#> +function New-AzStorageMoverUploadLimitWeeklyRecurrenceObject { + [OutputType('Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimitWeeklyRecurrence')] + [CmdletBinding(PositionalBinding=$false)] + Param( + + [Parameter(Mandatory, HelpMessage="The set of days of week for the schedule recurrence. A day must not be specified more than once in a recurrence.")] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek])] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek[]] + $Day, + [Parameter(Mandatory, HelpMessage="The WAN-link upload bandwidth (maximum data transfer rate) in megabits per second. Value of 0 indicates no throughput is allowed and any running migration job is effectively paused for the duration of this recurrence. Only data plane operations are governed by this limit. Control plane operations ensure seamless functionality. The agent may exceed this limit with control messages, if necessary.")] + [int] + $LimitInMbps, + [Parameter(Mandatory, HelpMessage="The hour element of the time. Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). Hour value 24 cannot be combined with any other minute value but 0.")] + [int] + $EndTimeHour, + [Parameter(HelpMessage="The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0.")] + [ArgumentCompleter({0, 30})] + [ValidateSet(0,30)] + [int] + $EndTimeMinute, + [Parameter(Mandatory, HelpMessage="The hour element of the time. Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). Hour value 24 cannot be combined with any other minute value but 0.")] + [int] + $StartTimeHour, + [Parameter(HelpMessage="The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0.")] + [ArgumentCompleter({0, 30})] + [ValidateSet(0,30)] + [int] + $StartTimeMinute + ) + + process { + $Object = [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimitWeeklyRecurrence]::New() + + if ($PSBoundParameters.ContainsKey('Day')) { + $Object.Day = $Day + } + if ($PSBoundParameters.ContainsKey('LimitInMbps')) { + $Object.LimitInMbps = $LimitInMbps + } + if ($PSBoundParameters.ContainsKey('EndTimeHour')) { + $Object.EndTimeHour = $EndTimeHour + } + if ($PSBoundParameters.ContainsKey('EndTimeMinute')) { + $Object.EndTimeMinute = $EndTimeMinute + } + if ($PSBoundParameters.ContainsKey('StartTimeHour')) { + $Object.StartTimeHour = $StartTimeHour + } + if ($PSBoundParameters.ContainsKey('StartTimeMinute')) { + $Object.StartTimeMinute = $StartTimeMinute + } + return $Object + } +} diff --git a/src/StorageMover/StorageMover.Autorest/custom/UpdateAzStorageMoverAzSmbFileShareEndpoint.ps1 b/src/StorageMover/StorageMover.Autorest/custom/UpdateAzStorageMoverAzSmbFileShareEndpoint.ps1 index b9cb3bded52b..0decd8d6662f 100644 --- a/src/StorageMover/StorageMover.Autorest/custom/UpdateAzStorageMoverAzSmbFileShareEndpoint.ps1 +++ b/src/StorageMover/StorageMover.Autorest/custom/UpdateAzStorageMoverAzSmbFileShareEndpoint.ps1 @@ -25,11 +25,11 @@ Properties not specified in the request body will be unchanged. Update-AzStorageMoverAzSmbFileShareEndpoint -Name "myendpoint" -ResourceGroupName "myresourcegroup" -StorageMoverName "mystoragemover" -Description "updated endpoint" .Inputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateParameters +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateParameters .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Notes COMPLEX PARAMETER PROPERTIES @@ -54,7 +54,7 @@ INPUTOBJECT: Identity Parameter https://learn.microsoft.com/powershell/module/az.storagemover/update-azstoragemoverazsmbfileshareendpoint #> function Update-AzStorageMoverAzSmbFileShareEndpoint { - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint])] [CmdletBinding(DefaultParameterSetName = 'UpdateExpanded', PositionalBinding =$false, SupportsShouldProcess, ConfirmImpact = 'Medium')] [Alias("Update-AzStorageMoverSmbFileShareEndpoint")] param( @@ -147,7 +147,7 @@ function Update-AzStorageMoverAzSmbFileShareEndpoint { ) process { - $Properties = [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AzureStorageSmbFileShareEndpointUpdateProperties]::New() + $Properties = [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AzureStorageSmbFileShareEndpointUpdateProperties]::New() $Properties.EndpointType = 'AzureStorageSmbFileShare' if ($PSBoundParameters.ContainsKey('Description')) { diff --git a/src/StorageMover/StorageMover.Autorest/custom/UpdateAzStorageMoverAzStorageContainerEndpoint.ps1 b/src/StorageMover/StorageMover.Autorest/custom/UpdateAzStorageMoverAzStorageContainerEndpoint.ps1 index 4c5a7a903f31..e03f5df54d8f 100644 --- a/src/StorageMover/StorageMover.Autorest/custom/UpdateAzStorageMoverAzStorageContainerEndpoint.ps1 +++ b/src/StorageMover/StorageMover.Autorest/custom/UpdateAzStorageMoverAzStorageContainerEndpoint.ps1 @@ -25,11 +25,11 @@ Properties not specified in the request body will be unchanged. Update-AzStorageMoverAzStorageContainerEndpoint -Name myEndpointName -ResourceGroupName myResourceGroupName -StorageMoverName myStorageMover -Description "Update Description" .Inputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateParameters +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateParameters .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Notes COMPLEX PARAMETER PROPERTIES @@ -54,7 +54,7 @@ INPUTOBJECT: Identity Parameter https://learn.microsoft.com/powershell/module/az.storagemover/update-azstoragemoverazstoragecontainerendpoint #> function Update-AzStorageMoverAzStorageContainerEndpoint { - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint])] [CmdletBinding(DefaultParameterSetName = 'UpdateExpanded', PositionalBinding =$false, SupportsShouldProcess, ConfirmImpact = 'Medium')] param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] @@ -146,7 +146,7 @@ function Update-AzStorageMoverAzStorageContainerEndpoint { ) process { - $Properties = [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AzureStorageBlobContainerEndpointUpdateProperties]::New() + $Properties = [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AzureStorageBlobContainerEndpointUpdateProperties]::New() $Properties.EndpointType = 'AzureStorageBlobContainer' if ($PSBoundParameters.ContainsKey('Description')) { diff --git a/src/StorageMover/StorageMover.Autorest/custom/UpdateAzStorageMoverNfsEndpoint.ps1 b/src/StorageMover/StorageMover.Autorest/custom/UpdateAzStorageMoverNfsEndpoint.ps1 index afa50585041a..34ed1f27b8d1 100644 --- a/src/StorageMover/StorageMover.Autorest/custom/UpdateAzStorageMoverNfsEndpoint.ps1 +++ b/src/StorageMover/StorageMover.Autorest/custom/UpdateAzStorageMoverNfsEndpoint.ps1 @@ -25,11 +25,11 @@ Properties not specified in the request body will be unchanged. Update-AzStorageMoverNfsEndpoint -Name myEndpointName -ResourceGroupName myResourceGroupName -StorageMoverName myStorageMover -Description "Update Description" .Inputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateParameters +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateParameters .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Notes COMPLEX PARAMETER PROPERTIES @@ -54,7 +54,7 @@ INPUTOBJECT: Identity Parameter https://learn.microsoft.com/powershell/module/az.storagemover/update-azstoragemovernfsendpoint #> function Update-AzStorageMoverNfsEndpoint { - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint])] [CmdletBinding(DefaultParameterSetName = 'UpdateExpanded', PositionalBinding =$false, SupportsShouldProcess, ConfirmImpact = 'Medium')] param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] @@ -146,7 +146,7 @@ function Update-AzStorageMoverNfsEndpoint { ) process { - $Properties = [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.NfsMountEndpointUpdateProperties]::New() + $Properties = [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.NfsMountEndpointUpdateProperties]::New() $Properties.EndpointType = 'NfsMount' if ($PSBoundParameters.ContainsKey('Description')) { diff --git a/src/StorageMover/StorageMover.Autorest/custom/UpdateAzStorageMoverSmbEndpoint.ps1 b/src/StorageMover/StorageMover.Autorest/custom/UpdateAzStorageMoverSmbEndpoint.ps1 index fe58b8209ead..9b7b70c39734 100644 --- a/src/StorageMover/StorageMover.Autorest/custom/UpdateAzStorageMoverSmbEndpoint.ps1 +++ b/src/StorageMover/StorageMover.Autorest/custom/UpdateAzStorageMoverSmbEndpoint.ps1 @@ -25,11 +25,11 @@ Properties not specified in the request body will be unchanged. Update-AzStorageMoverSmbEndpoint -Name myendpoint -ResourceGroupName myresourcegroup -StorageMoverName mystoragemover -CredentialsUsernameUri "https://examples-azureKeyVault.vault.azure.net/secrets/username2" -CredentialsPasswordUri "https://examples-azureKeyVault.vault.azure.net/secrets/password2" -Description "update endpoint" .Inputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateParameters +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateParameters .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Notes COMPLEX PARAMETER PROPERTIES @@ -54,7 +54,7 @@ INPUTOBJECT: Identity Parameter https://learn.microsoft.com/powershell/module/az.storagemover/update-azstoragemoversmbendpoint #> function Update-AzStorageMoverSmbEndpoint { - [OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint])] + [OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint])] [CmdletBinding(DefaultParameterSetName = 'UpdateExpanded', PositionalBinding =$false, SupportsShouldProcess, ConfirmImpact = 'Medium')] param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] @@ -158,7 +158,7 @@ function Update-AzStorageMoverSmbEndpoint { ) process { - $Properties = [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.SmbMountEndpointUpdateProperties]::New() + $Properties = [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.SmbMountEndpointUpdateProperties]::New() $Properties.EndpointType = 'SmbMount' if ($PSBoundParameters.ContainsKey('Description')) { diff --git a/src/StorageMover/StorageMover.Autorest/examples/New-AzStorageMoverUploadLimitWeeklyRecurrenceObject.md b/src/StorageMover/StorageMover.Autorest/examples/New-AzStorageMoverUploadLimitWeeklyRecurrenceObject.md new file mode 100644 index 000000000000..cff0a9407b7c --- /dev/null +++ b/src/StorageMover/StorageMover.Autorest/examples/New-AzStorageMoverUploadLimitWeeklyRecurrenceObject.md @@ -0,0 +1,12 @@ +### Example 1: Create an upload limit weekly recurrence object +```powershell +New-AzStorageMoverUploadLimitWeeklyRecurrenceObject -Day 'Monday','Tuesday','Friday' -LimitInMbps 100 -EndTimeHour 5 -StartTimeHour 1 -StartTimeMinute 30 -EndTimeMinute 0 +``` + +```output +Day EndTimeHour EndTimeMinute LimitInMbps StartTimeHour StartTimeMinute +--- ----------- ------------- ----------- ------------- --------------- +{Monday, Tuesday, Friday} 5 0 100 1 30 +``` + +This command creates an upload limit weekly recurrence object. \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/examples/Update-AzStorageMoverAgent.md b/src/StorageMover/StorageMover.Autorest/examples/Update-AzStorageMoverAgent.md index ec05540939d8..a1fb820744cc 100644 --- a/src/StorageMover/StorageMover.Autorest/examples/Update-AzStorageMoverAgent.md +++ b/src/StorageMover/StorageMover.Autorest/examples/Update-AzStorageMoverAgent.md @@ -1,33 +1,47 @@ -### Example 1: Update an agent. +### Example 1: Update an agent ```powershell -Update-AzStorageMoverAgent -ResourceGroupName myResourceGroup -StorageMoverName myStorageMover -Name myAgent -Description "Update description" +$recurrence = New-AzStorageMoverUploadLimitWeeklyRecurrenceObject -Day 'Monday','Tuesday','Friday' -LimitInMbps 100 -EndTimeHour 5 -StartTimeHour 1 -StartTimeMinute 30 -EndTimeMinute 0 +Update-AzStorageMoverAgent -ResourceGroupName myresourcegroup -StorageMoverName mystoragemover -Name myagent -Description "Update description" -UploadLimitScheduleWeeklyRecurrence $recurrence ``` ```output -AgentStatus : Registering -ArcResourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myAgent -ArcVMUuid : aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa -Description : Update description -ErrorDetailCode : -ErrorDetailMessage : -Id : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/microsoft.storagemover/storagemovers/myStorageMover/agents/myAgent -LastStatusUpdate : -LocalIPAddress : -MemoryInMb : -Name : myAgent -NumberOfCores : -ProvisioningState : Succeeded -SystemDataCreatedAt : 8/2/2022 7:15:19 AM -SystemDataCreatedBy : myAccount@xxx.com -SystemDataCreatedByType : User -SystemDataLastModifiedAt : 8/2/2022 7:15:19 AM -SystemDataLastModifiedBy : myAccount@xxx.com -SystemDataLastModifiedByType : User -Type : microsoft.storagemover/storagemovers/agents -UptimeInSeconds : -Version : +AgentStatus : Online +ArcResourceId : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.HybridCompute/machines/myagent +ArcVMUuid : 00000000-0000-0000-0000-000000000000 +Description : Update description +ErrorDetailCode : +ErrorDetailMessage : +Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.StorageMover/storageMovers/mystoragemover/agents/myagent +LastStatusUpdate : 6/12/2024 5:57:45 AM +LocalIPAddress : 000.000.000.00 +MemoryInMb : 1470 +Name : myagent +NumberOfCores : 8 +ProvisioningState : Succeeded +SystemDataCreatedAt : 6/12/2024 5:47:26 AM +SystemDataCreatedBy : example@microsoft.com +SystemDataCreatedByType : User +SystemDataLastModifiedAt : 6/12/2024 5:57:54 AM +SystemDataLastModifiedBy : example@microsoft.com +SystemDataLastModifiedByType : User +TimeZone : UTC +Type : microsoft.storagemover/storagemovers/agents +UploadLimitScheduleWeeklyRecurrence : {{ + "startTime": { + "hour": 1, + "minute": 30 + }, + "endTime": { + "hour": 5, + "minute": 0 + }, + "days": [ "Monday", "Tuesday", "Friday" ], + "limitInMbps": 100 + }} +UptimeInSeconds : 3417 +Version : ``` -This command updates the description of a Storage mover agent. +This command updates the description and the upload limit weekly recurrence of an agent. diff --git a/src/StorageMover/StorageMover.Autorest/exports/Get-AzStorageMover.ps1 b/src/StorageMover/StorageMover.Autorest/exports/Get-AzStorageMover.ps1 index 05b07da0fb17..493bd4202c17 100644 --- a/src/StorageMover/StorageMover.Autorest/exports/Get-AzStorageMover.ps1 +++ b/src/StorageMover/StorageMover.Autorest/exports/Get-AzStorageMover.ps1 @@ -29,7 +29,7 @@ Get-AzStorageMover -ResourceGroupName myResourceGroup -Name myStorageMover1 .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover .Notes COMPLEX PARAMETER PROPERTIES @@ -49,7 +49,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.storagemover/get-azstoragemover #> function Get-AzStorageMover { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] diff --git a/src/StorageMover/StorageMover.Autorest/exports/Get-AzStorageMoverAgent.ps1 b/src/StorageMover/StorageMover.Autorest/exports/Get-AzStorageMoverAgent.ps1 index 8edfe5abe328..d1065e907974 100644 --- a/src/StorageMover/StorageMover.Autorest/exports/Get-AzStorageMoverAgent.ps1 +++ b/src/StorageMover/StorageMover.Autorest/exports/Get-AzStorageMoverAgent.ps1 @@ -27,7 +27,7 @@ Get-AzStorageMoverAgent -ResourceGroupName myResourceGroup -StorageMoverName myS .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent .Notes COMPLEX PARAMETER PROPERTIES @@ -47,7 +47,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.storagemover/get-azstoragemoveragent #> function Get-AzStorageMoverAgent { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] diff --git a/src/StorageMover/StorageMover.Autorest/exports/Get-AzStorageMoverEndpoint.ps1 b/src/StorageMover/StorageMover.Autorest/exports/Get-AzStorageMoverEndpoint.ps1 index fc858e86d069..7e87dc00ccd8 100644 --- a/src/StorageMover/StorageMover.Autorest/exports/Get-AzStorageMoverEndpoint.ps1 +++ b/src/StorageMover/StorageMover.Autorest/exports/Get-AzStorageMoverEndpoint.ps1 @@ -27,7 +27,7 @@ Get-AzStorageMoverEndpoint -ResourceGroupName myResourceGroupName -StorageMoverN .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Notes COMPLEX PARAMETER PROPERTIES @@ -47,7 +47,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.storagemover/get-azstoragemoverendpoint #> function Get-AzStorageMoverEndpoint { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] diff --git a/src/StorageMover/StorageMover.Autorest/exports/Get-AzStorageMoverJobDefinition.ps1 b/src/StorageMover/StorageMover.Autorest/exports/Get-AzStorageMoverJobDefinition.ps1 index 343b436b41e0..d8a1a5ebe8e8 100644 --- a/src/StorageMover/StorageMover.Autorest/exports/Get-AzStorageMoverJobDefinition.ps1 +++ b/src/StorageMover/StorageMover.Autorest/exports/Get-AzStorageMoverJobDefinition.ps1 @@ -27,7 +27,7 @@ Get-AzStorageMoverJobDefinition -ProjectName myProject -ResourceGroupName myReso .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition .Notes COMPLEX PARAMETER PROPERTIES @@ -47,7 +47,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.storagemover/get-azstoragemoverjobdefinition #> function Get-AzStorageMoverJobDefinition { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] diff --git a/src/StorageMover/StorageMover.Autorest/exports/Get-AzStorageMoverJobRun.ps1 b/src/StorageMover/StorageMover.Autorest/exports/Get-AzStorageMoverJobRun.ps1 index 3ec473abda7b..f202d5ef45ae 100644 --- a/src/StorageMover/StorageMover.Autorest/exports/Get-AzStorageMoverJobRun.ps1 +++ b/src/StorageMover/StorageMover.Autorest/exports/Get-AzStorageMoverJobRun.ps1 @@ -27,7 +27,7 @@ Get-AzStorageMoverJobRun -Name myJobRun -JobDefinitionName myJobDefinition -Reso .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRun +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun .Notes COMPLEX PARAMETER PROPERTIES @@ -47,7 +47,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.storagemover/get-azstoragemoverjobrun #> function Get-AzStorageMoverJobRun { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRun])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] diff --git a/src/StorageMover/StorageMover.Autorest/exports/Get-AzStorageMoverProject.ps1 b/src/StorageMover/StorageMover.Autorest/exports/Get-AzStorageMoverProject.ps1 index 6fe25ffd1752..5aa9a75084d9 100644 --- a/src/StorageMover/StorageMover.Autorest/exports/Get-AzStorageMoverProject.ps1 +++ b/src/StorageMover/StorageMover.Autorest/exports/Get-AzStorageMoverProject.ps1 @@ -27,7 +27,7 @@ $projectList = Get-AzStorageMoverProject -ResourceGroupName myResourceGroup -Sto .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject .Notes COMPLEX PARAMETER PROPERTIES @@ -47,7 +47,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.storagemover/get-azstoragemoverproject #> function Get-AzStorageMoverProject { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] diff --git a/src/StorageMover/StorageMover.Autorest/exports/New-AzStorageMover.ps1 b/src/StorageMover/StorageMover.Autorest/exports/New-AzStorageMover.ps1 index f9a26a8d1cf8..e9c018275ca3 100644 --- a/src/StorageMover/StorageMover.Autorest/exports/New-AzStorageMover.ps1 +++ b/src/StorageMover/StorageMover.Autorest/exports/New-AzStorageMover.ps1 @@ -23,9 +23,9 @@ Creates or updates a top-level Storage Mover resource. New-AzStorageMover -ResourceGroupName myResourceGroup -Name myStorageMover -Location eastus -Description "Description" .Inputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover .Notes COMPLEX PARAMETER PROPERTIES @@ -46,7 +46,7 @@ STORAGEMOVER : The Storage Mover resource, which is a container f https://learn.microsoft.com/powershell/module/az.storagemover/new-azstoragemover #> function New-AzStorageMover { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -72,7 +72,7 @@ param( [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover] # The Storage Mover resource, which is a container for a group of Agents, Projects, and Endpoints. # To construct, see NOTES section for STORAGEMOVER properties and create a hash table. ${StorageMover}, diff --git a/src/StorageMover/StorageMover.Autorest/exports/New-AzStorageMoverAzSmbFileShareEndpoint.ps1 b/src/StorageMover/StorageMover.Autorest/exports/New-AzStorageMoverAzSmbFileShareEndpoint.ps1 index 6cd5f21f206b..8e10ccd50f75 100644 --- a/src/StorageMover/StorageMover.Autorest/exports/New-AzStorageMoverAzSmbFileShareEndpoint.ps1 +++ b/src/StorageMover/StorageMover.Autorest/exports/New-AzStorageMoverAzSmbFileShareEndpoint.ps1 @@ -23,17 +23,17 @@ Creates a Smb file share endpoint resource, which represents a data transfer sou New-AzStorageMoverAzSmbFileShareEndpoint -Name "myendpoint" -ResourceGroupName "myresourcegroup" -StorageMoverName "mystoragemover" -StorageAccountResourceId $accountresourceid -FileShareName testfs -Description "New smb file share endpoint" .Inputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Link https://learn.microsoft.com/powershell/module/az.storagemover/new-azstoragemoverazsmbfileshareendpoint #> function New-AzStorageMoverAzSmbFileShareEndpoint { [Alias('New-AzStorageMoverSmbFileShareEndpoint')] -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] diff --git a/src/StorageMover/StorageMover.Autorest/exports/New-AzStorageMoverAzStorageContainerEndpoint.ps1 b/src/StorageMover/StorageMover.Autorest/exports/New-AzStorageMoverAzStorageContainerEndpoint.ps1 index 71ba2057820a..6dba0df51472 100644 --- a/src/StorageMover/StorageMover.Autorest/exports/New-AzStorageMoverAzStorageContainerEndpoint.ps1 +++ b/src/StorageMover/StorageMover.Autorest/exports/New-AzStorageMoverAzStorageContainerEndpoint.ps1 @@ -23,16 +23,16 @@ Creates an AzStorageContainer endpoint resource, which represents a data transfe New-AzStorageMoverAzStorageContainerEndpoint -Name myEndpoint -ResourceGroupName myResourceGroup -BlobContainerName myContainer -StorageMoverName myStorageMover -StorageAccountResourceId myAccountResourceId .Inputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Link https://learn.microsoft.com/powershell/module/az.storagemover/new-azstoragemoverazstoragecontainerendpoint #> function New-AzStorageMoverAzStorageContainerEndpoint { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] diff --git a/src/StorageMover/StorageMover.Autorest/exports/New-AzStorageMoverJobDefinition.ps1 b/src/StorageMover/StorageMover.Autorest/exports/New-AzStorageMoverJobDefinition.ps1 index a7f1be2e6a0b..fb33d75c2ba3 100644 --- a/src/StorageMover/StorageMover.Autorest/exports/New-AzStorageMoverJobDefinition.ps1 +++ b/src/StorageMover/StorageMover.Autorest/exports/New-AzStorageMoverJobDefinition.ps1 @@ -23,9 +23,9 @@ Creates or updates a Job Definition resource, which contains configuration for a New-AzStorageMoverJobDefinition -Name myJob -ProjectName myProject -ResourceGroupName myResourceGroup -StorageMoverName myStorageMover -AgentName myAgent -SourceName myNfsEndpoint -TargetName myContainerEndpoint -CopyMode "Additive" -Description "job definition" .Inputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition .Notes COMPLEX PARAMETER PROPERTIES @@ -49,7 +49,7 @@ JOBDEFINITION : The Job Definition resource. https://learn.microsoft.com/powershell/module/az.storagemover/new-azstoragemoverjobdefinition #> function New-AzStorageMoverJobDefinition { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -87,7 +87,7 @@ param( [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition] # The Job Definition resource. # To construct, see NOTES section for JOBDEFINITION properties and create a hash table. ${JobDefinition}, diff --git a/src/StorageMover/StorageMover.Autorest/exports/New-AzStorageMoverNfsEndpoint.ps1 b/src/StorageMover/StorageMover.Autorest/exports/New-AzStorageMoverNfsEndpoint.ps1 index 4573f21843aa..17f78b5a46b7 100644 --- a/src/StorageMover/StorageMover.Autorest/exports/New-AzStorageMoverNfsEndpoint.ps1 +++ b/src/StorageMover/StorageMover.Autorest/exports/New-AzStorageMoverNfsEndpoint.ps1 @@ -23,16 +23,16 @@ Creates a Nfs endpoint resource, which represents a data transfer source or dest New-AzStorageMoverNfsEndpoint -Name myEndpoint -ResourceGroupName myResourceGroup -StorageMoverName myStorageMover -Host "10.0.0.1" -Export "/" -NfsVersion NFSv3 -Description "Description" .Inputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Link https://learn.microsoft.com/powershell/module/az.storagemover/new-azstoragemovernfsendpoint #> function New-AzStorageMoverNfsEndpoint { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] diff --git a/src/StorageMover/StorageMover.Autorest/exports/New-AzStorageMoverProject.ps1 b/src/StorageMover/StorageMover.Autorest/exports/New-AzStorageMoverProject.ps1 index afe5eaab0e18..2f3981ce8043 100644 --- a/src/StorageMover/StorageMover.Autorest/exports/New-AzStorageMoverProject.ps1 +++ b/src/StorageMover/StorageMover.Autorest/exports/New-AzStorageMoverProject.ps1 @@ -23,9 +23,9 @@ Creates or updates a Project resource, which is a logical grouping of related jo New-AzStorageMoverProject -ResourceGroupName myResourceGroup -StorageMoverName myStorageMover -Name myProject -Description "description" .Inputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject .Notes COMPLEX PARAMETER PROPERTIES @@ -43,7 +43,7 @@ PROJECT : The Project resource. https://learn.microsoft.com/powershell/module/az.storagemover/new-azstoragemoverproject #> function New-AzStorageMoverProject { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -75,7 +75,7 @@ param( [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject] # The Project resource. # To construct, see NOTES section for PROJECT properties and create a hash table. ${Project}, diff --git a/src/StorageMover/StorageMover.Autorest/exports/New-AzStorageMoverSmbEndpoint.ps1 b/src/StorageMover/StorageMover.Autorest/exports/New-AzStorageMoverSmbEndpoint.ps1 index 57b4b49b1941..70afec0a30c7 100644 --- a/src/StorageMover/StorageMover.Autorest/exports/New-AzStorageMoverSmbEndpoint.ps1 +++ b/src/StorageMover/StorageMover.Autorest/exports/New-AzStorageMoverSmbEndpoint.ps1 @@ -23,16 +23,16 @@ Creates an SMB endpoint resource, which represents a data transfer source or des New-AzStorageMoverSmbEndpoint -Name "myendpoint" -ResourceGroupName "myresourcegroup" -StorageMoverName "mystoragemover" -Host "10.0.0.1" -ShareName "testshare" -CredentialsUsernameUri "https://examples-azureKeyVault.vault.azure.net/secrets/username1" -CredentialsPasswordUri "https://examples-azureKeyVault.vault.azure.net/secrets/password1" .Inputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Link https://learn.microsoft.com/powershell/module/az.storagemover/new-azstoragemoversmbendpoint #> function New-AzStorageMoverSmbEndpoint { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] diff --git a/src/StorageMover/StorageMover.Autorest/exports/New-AzStorageMoverUploadLimitWeeklyRecurrenceObject.ps1 b/src/StorageMover/StorageMover.Autorest/exports/New-AzStorageMoverUploadLimitWeeklyRecurrenceObject.ps1 new file mode 100644 index 000000000000..0e85474d944d --- /dev/null +++ b/src/StorageMover/StorageMover.Autorest/exports/New-AzStorageMoverUploadLimitWeeklyRecurrenceObject.ps1 @@ -0,0 +1,163 @@ + +# ---------------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# 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 UploadLimitWeeklyRecurrence. +.Description +Create an in-memory object for UploadLimitWeeklyRecurrence. +.Example +New-AzStorageMoverUploadLimitWeeklyRecurrenceObject -Day 'Monday','Tuesday','Friday' -LimitInMbps 100 -EndTimeHour 5 -StartTimeHour 1 -StartTimeMinute 30 -EndTimeMinute 0 + +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimitWeeklyRecurrence +.Link +https://learn.microsoft.com/powershell/module/Az.StorageMover/new-AzStorageMoverUploadLimitWeeklyRecurrenceObject +#> +function New-AzStorageMoverUploadLimitWeeklyRecurrenceObject { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimitWeeklyRecurrence])] +[CmdletBinding(PositionalBinding=$false)] +param( + [Parameter(Mandatory)] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek])] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek[]] + # The set of days of week for the schedule recurrence. + # A day must not be specified more than once in a recurrence. + ${Day}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Body')] + [System.Int32] + # The WAN-link upload bandwidth (maximum data transfer rate) in megabits per second. + # Value of 0 indicates no throughput is allowed and any running migration job is effectively paused for the duration of this recurrence. + # Only data plane operations are governed by this limit. + # Control plane operations ensure seamless functionality. + # The agent may exceed this limit with control messages, if necessary. + ${LimitInMbps}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Body')] + [System.Int32] + # The hour element of the time. + # Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). + # Hour value 24 cannot be combined with any other minute value but 0. + ${EndTimeHour}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Body')] + [System.Int32] + # The hour element of the time. + # Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). + # Hour value 24 cannot be combined with any other minute value but 0. + ${StartTimeHour}, + + [Parameter()] + [ArgumentCompleter({0, 30})] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Body')] + [System.Int32] + # The minute element of the time. + # Allowed values are 0 and 30. + # If not specified, its value defaults to 0. + ${EndTimeMinute}, + + [Parameter()] + [ArgumentCompleter({0, 30})] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Body')] + [System.Int32] + # The minute element of the time. + # Allowed values are 0 and 30. + # If not specified, its value defaults to 0. + ${StartTimeMinute} +) + +begin { + try { + $outBuffer = $null + if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { + $PSBoundParameters['OutBuffer'] = 1 + } + $parameterSet = $PSCmdlet.ParameterSetName + + if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() + } + $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + if ($preTelemetryId -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) + } else { + $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + if ($internalCalledCmdlets -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name + } else { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' + } + + $mapping = @{ + __AllParameterSets = 'Az.StorageMover.custom\New-AzStorageMoverUploadLimitWeeklyRecurrenceObject'; + } + $cmdInfo = Get-Command -Name $mapping[$parameterSet] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } + $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) + $scriptCmd = {& $wrappedCmd @PSBoundParameters} + $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) + $steppablePipeline.Begin($PSCmdlet) + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + throw + } +} + +process { + try { + $steppablePipeline.Process($_) + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + throw + } + + finally { + $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + +} +end { + try { + $steppablePipeline.End() + + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets + if ($preTelemetryId -eq '') { + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId + + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + throw + } +} +} diff --git a/src/StorageMover/StorageMover.Autorest/exports/ProxyCmdletDefinitions.ps1 b/src/StorageMover/StorageMover.Autorest/exports/ProxyCmdletDefinitions.ps1 index ebc28a2085e7..30f5ee4f8320 100644 --- a/src/StorageMover/StorageMover.Autorest/exports/ProxyCmdletDefinitions.ps1 +++ b/src/StorageMover/StorageMover.Autorest/exports/ProxyCmdletDefinitions.ps1 @@ -27,7 +27,7 @@ Get-AzStorageMoverAgent -ResourceGroupName myResourceGroup -StorageMoverName myS .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent .Notes COMPLEX PARAMETER PROPERTIES @@ -47,7 +47,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.storagemover/get-azstoragemoveragent #> function Get-AzStorageMoverAgent { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -238,7 +238,7 @@ Get-AzStorageMoverEndpoint -ResourceGroupName myResourceGroupName -StorageMoverN .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Notes COMPLEX PARAMETER PROPERTIES @@ -258,7 +258,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.storagemover/get-azstoragemoverendpoint #> function Get-AzStorageMoverEndpoint { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -449,7 +449,7 @@ Get-AzStorageMoverJobDefinition -ProjectName myProject -ResourceGroupName myReso .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition .Notes COMPLEX PARAMETER PROPERTIES @@ -469,7 +469,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.storagemover/get-azstoragemoverjobdefinition #> function Get-AzStorageMoverJobDefinition { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -667,7 +667,7 @@ Get-AzStorageMoverJobRun -Name myJobRun -JobDefinitionName myJobDefinition -Reso .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRun +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun .Notes COMPLEX PARAMETER PROPERTIES @@ -687,7 +687,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.storagemover/get-azstoragemoverjobrun #> function Get-AzStorageMoverJobRun { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRun])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -892,7 +892,7 @@ $projectList = Get-AzStorageMoverProject -ResourceGroupName myResourceGroup -Sto .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject .Notes COMPLEX PARAMETER PROPERTIES @@ -912,7 +912,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.storagemover/get-azstoragemoverproject #> function Get-AzStorageMoverProject { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -1105,7 +1105,7 @@ Get-AzStorageMover -ResourceGroupName myResourceGroup -Name myStorageMover1 .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover .Notes COMPLEX PARAMETER PROPERTIES @@ -1125,7 +1125,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.storagemover/get-azstoragemover #> function Get-AzStorageMover { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] @@ -1307,9 +1307,9 @@ Creates or updates a Job Definition resource, which contains configuration for a New-AzStorageMoverJobDefinition -Name myJob -ProjectName myProject -ResourceGroupName myResourceGroup -StorageMoverName myStorageMover -AgentName myAgent -SourceName myNfsEndpoint -TargetName myContainerEndpoint -CopyMode "Additive" -Description "job definition" .Inputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition .Notes COMPLEX PARAMETER PROPERTIES @@ -1333,7 +1333,7 @@ JOBDEFINITION : The Job Definition resource. https://learn.microsoft.com/powershell/module/az.storagemover/new-azstoragemoverjobdefinition #> function New-AzStorageMoverJobDefinition { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -1371,7 +1371,7 @@ param( [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition] # The Job Definition resource. # To construct, see NOTES section for JOBDEFINITION properties and create a hash table. ${JobDefinition}, @@ -1565,9 +1565,9 @@ Creates or updates a Project resource, which is a logical grouping of related jo New-AzStorageMoverProject -ResourceGroupName myResourceGroup -StorageMoverName myStorageMover -Name myProject -Description "description" .Inputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject .Notes COMPLEX PARAMETER PROPERTIES @@ -1585,7 +1585,7 @@ PROJECT : The Project resource. https://learn.microsoft.com/powershell/module/az.storagemover/new-azstoragemoverproject #> function New-AzStorageMoverProject { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -1617,7 +1617,7 @@ param( [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject] # The Project resource. # To construct, see NOTES section for PROJECT properties and create a hash table. ${Project}, @@ -1774,9 +1774,9 @@ Creates or updates a top-level Storage Mover resource. New-AzStorageMover -ResourceGroupName myResourceGroup -Name myStorageMover -Location eastus -Description "Description" .Inputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover .Notes COMPLEX PARAMETER PROPERTIES @@ -1797,7 +1797,7 @@ STORAGEMOVER : The Storage Mover resource, which is a container f https://learn.microsoft.com/powershell/module/az.storagemover/new-azstoragemover #> function New-AzStorageMover { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -1823,7 +1823,7 @@ param( [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover] # The Storage Mover resource, which is a container for a group of Agents, Projects, and Endpoints. # To construct, see NOTES section for STORAGEMOVER properties and create a hash table. ${StorageMover}, @@ -2661,9 +2661,9 @@ end { <# .Synopsis -Requests an Agent to start a new instance of this Job Definition, generating a new Job Run resource. +Creates a new Job Run resource for the specified Job Definition and passes it to the Agent for execution. .Description -Requests an Agent to start a new instance of this Job Definition, generating a new Job Run resource. +Creates a new Job Run resource for the specified Job Definition and passes it to the Agent for execution. .Example New-AzStorageMoverProject -ResourceGroupName myResourceGroup -StorageMoverName myStorageMover -Name myProject -Description "description" @@ -3091,14 +3091,15 @@ Creates or updates an Agent resource. .Description Creates or updates an Agent resource. .Example -Update-AzStorageMoverAgent -ResourceGroupName myResourceGroup -StorageMoverName myStorageMover -Name myAgent -Description "Update description" +$recurrence = New-AzStorageMoverUploadLimitWeeklyRecurrenceObject -Day 'Monday','Tuesday','Friday' -LimitInMbps 100 -EndTimeHour 5 -StartTimeHour 1 -StartTimeMinute 30 -EndTimeMinute 0 +Update-AzStorageMoverAgent -ResourceGroupName myresourcegroup -StorageMoverName mystoragemover -Name myagent -Description "Update description" -UploadLimitScheduleWeeklyRecurrence $recurrence .Inputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParameters +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParameters .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent .Notes COMPLEX PARAMETER PROPERTIES @@ -3106,6 +3107,13 @@ To create the parameters described below, construct a hash table containing the AGENT : The Agent resource. [Description ]: A description for the Agent. + [UploadLimitScheduleWeeklyRecurrence ]: The set of weekly repeating recurrences of the WAN-link upload limit schedule. + Day : The set of days of week for the schedule recurrence. A day must not be specified more than once in a recurrence. + EndTimeHour : The hour element of the time. Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). Hour value 24 cannot be combined with any other minute value but 0. + StartTimeHour : The hour element of the time. Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). Hour value 24 cannot be combined with any other minute value but 0. + LimitInMbps : The WAN-link upload bandwidth (maximum data transfer rate) in megabits per second. Value of 0 indicates no throughput is allowed and any running migration job is effectively paused for the duration of this recurrence. Only data plane operations are governed by this limit. Control plane operations ensure seamless functionality. The agent may exceed this limit with control messages, if necessary. + [EndTimeMinute ]: The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0. + [StartTimeMinute ]: The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0. INPUTOBJECT : Identity Parameter [AgentName ]: The name of the Agent resource. @@ -3117,11 +3125,19 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [StorageMoverName ]: The name of the Storage Mover resource. [SubscriptionId ]: The ID of the target subscription. + +UPLOADLIMITSCHEDULEWEEKLYRECURRENCE : The set of weekly repeating recurrences of the WAN-link upload limit schedule. + Day : The set of days of week for the schedule recurrence. A day must not be specified more than once in a recurrence. + EndTimeHour : The hour element of the time. Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). Hour value 24 cannot be combined with any other minute value but 0. + StartTimeHour : The hour element of the time. Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). Hour value 24 cannot be combined with any other minute value but 0. + LimitInMbps : The WAN-link upload bandwidth (maximum data transfer rate) in megabits per second. Value of 0 indicates no throughput is allowed and any running migration job is effectively paused for the duration of this recurrence. Only data plane operations are governed by this limit. Control plane operations ensure seamless functionality. The agent may exceed this limit with control messages, if necessary. + [EndTimeMinute ]: The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0. + [StartTimeMinute ]: The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0. .Link https://learn.microsoft.com/powershell/module/az.storagemover/update-azstoragemoveragent #> function Update-AzStorageMoverAgent { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] @@ -3166,7 +3182,7 @@ param( [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParameters] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParameters] # The Agent resource. # To construct, see NOTES section for AGENT properties and create a hash table. ${Agent}, @@ -3178,6 +3194,15 @@ param( # A description for the Agent. ${Description}, + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence[]] + # The set of weekly repeating recurrences of the WAN-link upload limit schedule. + # To construct, see NOTES section for UPLOADLIMITSCHEDULEWEEKLYRECURRENCE properties and create a hash table. + ${UploadLimitScheduleWeeklyRecurrence}, + [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] @@ -3328,11 +3353,11 @@ Properties not specified in the request body will be unchanged. Update-AzStorageMoverJobDefinition -Name myJob -ProjectName myProject -ResourceGroupName myResourceGroup -StorageMoverName myStorageMover -Description "Update Description" .Inputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParameters +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParameters .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition .Notes COMPLEX PARAMETER PROPERTIES @@ -3357,7 +3382,7 @@ JOBDEFINITION : The Job Definition resource. https://learn.microsoft.com/powershell/module/az.storagemover/update-azstoragemoverjobdefinition #> function Update-AzStorageMoverJobDefinition { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] @@ -3409,7 +3434,7 @@ param( [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParameters] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParameters] # The Job Definition resource. # To construct, see NOTES section for JOBDEFINITION properties and create a hash table. ${JobDefinition}, @@ -3586,11 +3611,11 @@ Properties not specified in the request body will be unchanged. Update-AzStorageMoverProject -ResourceGroupName myResourceGroup -StorageMoverName myStorageMover -Name myProject -Description "Update Description" .Inputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParameters +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParameters .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject .Notes COMPLEX PARAMETER PROPERTIES @@ -3613,7 +3638,7 @@ PROJECT : The Project resource. https://learn.microsoft.com/powershell/module/az.storagemover/update-azstoragemoverproject #> function Update-AzStorageMoverProject { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] @@ -3658,7 +3683,7 @@ param( [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParameters] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParameters] # The Project resource. # To construct, see NOTES section for PROJECT properties and create a hash table. ${Project}, @@ -3820,11 +3845,11 @@ Properties not specified in the request body will be unchanged. Update-AzStorageMover -ResourceGroupName myResourceGroup -Name myStorageMover -Description "Update description" .Inputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParameters +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParameters .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover .Notes COMPLEX PARAMETER PROPERTIES @@ -3849,7 +3874,7 @@ STORAGEMOVER : The Storage Mover resource. https://learn.microsoft.com/powershell/module/az.storagemover/update-azstoragemover #> function Update-AzStorageMover { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] @@ -3887,7 +3912,7 @@ param( [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParameters] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParameters] # The Storage Mover resource. # To construct, see NOTES section for STORAGEMOVER properties and create a hash table. ${StorageMover}, @@ -3902,7 +3927,7 @@ param( [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersTags]))] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersTags]))] [System.Collections.Hashtable] # Resource tags. ${Tag}, @@ -4055,17 +4080,17 @@ Creates a Smb file share endpoint resource, which represents a data transfer sou New-AzStorageMoverAzSmbFileShareEndpoint -Name "myendpoint" -ResourceGroupName "myresourcegroup" -StorageMoverName "mystoragemover" -StorageAccountResourceId $accountresourceid -FileShareName testfs -Description "New smb file share endpoint" .Inputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Link https://learn.microsoft.com/powershell/module/az.storagemover/new-azstoragemoverazsmbfileshareendpoint #> function New-AzStorageMoverAzSmbFileShareEndpoint { [Alias('New-AzStorageMoverSmbFileShareEndpoint')] -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -4257,16 +4282,16 @@ Creates an AzStorageContainer endpoint resource, which represents a data transfe New-AzStorageMoverAzStorageContainerEndpoint -Name myEndpoint -ResourceGroupName myResourceGroup -BlobContainerName myContainer -StorageMoverName myStorageMover -StorageAccountResourceId myAccountResourceId .Inputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Link https://learn.microsoft.com/powershell/module/az.storagemover/new-azstoragemoverazstoragecontainerendpoint #> function New-AzStorageMoverAzStorageContainerEndpoint { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -4458,16 +4483,16 @@ Creates a Nfs endpoint resource, which represents a data transfer source or dest New-AzStorageMoverNfsEndpoint -Name myEndpoint -ResourceGroupName myResourceGroup -StorageMoverName myStorageMover -Host "10.0.0.1" -Export "/" -NfsVersion NFSv3 -Description "Description" .Inputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Link https://learn.microsoft.com/powershell/module/az.storagemover/new-azstoragemovernfsendpoint #> function New-AzStorageMoverNfsEndpoint { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -4666,16 +4691,16 @@ Creates an SMB endpoint resource, which represents a data transfer source or des New-AzStorageMoverSmbEndpoint -Name "myendpoint" -ResourceGroupName "myresourcegroup" -StorageMoverName "mystoragemover" -Host "10.0.0.1" -ShareName "testshare" -CredentialsUsernameUri "https://examples-azureKeyVault.vault.azure.net/secrets/username1" -CredentialsPasswordUri "https://examples-azureKeyVault.vault.azure.net/secrets/password1" .Inputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Link https://learn.microsoft.com/powershell/module/az.storagemover/new-azstoragemoversmbendpoint #> function New-AzStorageMoverSmbEndpoint { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -4872,6 +4897,154 @@ end { } } +<# +.Synopsis +Create an in-memory object for UploadLimitWeeklyRecurrence. +.Description +Create an in-memory object for UploadLimitWeeklyRecurrence. +.Example +New-AzStorageMoverUploadLimitWeeklyRecurrenceObject -Day 'Monday','Tuesday','Friday' -LimitInMbps 100 -EndTimeHour 5 -StartTimeHour 1 -StartTimeMinute 30 -EndTimeMinute 0 + +.Outputs +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimitWeeklyRecurrence +.Link +https://learn.microsoft.com/powershell/module/Az.StorageMover/new-AzStorageMoverUploadLimitWeeklyRecurrenceObject +#> +function New-AzStorageMoverUploadLimitWeeklyRecurrenceObject { +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimitWeeklyRecurrence])] +[CmdletBinding(PositionalBinding=$false)] +param( + [Parameter(Mandatory)] + [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek])] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek[]] + # The set of days of week for the schedule recurrence. + # A day must not be specified more than once in a recurrence. + ${Day}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Body')] + [System.Int32] + # The WAN-link upload bandwidth (maximum data transfer rate) in megabits per second. + # Value of 0 indicates no throughput is allowed and any running migration job is effectively paused for the duration of this recurrence. + # Only data plane operations are governed by this limit. + # Control plane operations ensure seamless functionality. + # The agent may exceed this limit with control messages, if necessary. + ${LimitInMbps}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Body')] + [System.Int32] + # The hour element of the time. + # Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). + # Hour value 24 cannot be combined with any other minute value but 0. + ${EndTimeHour}, + + [Parameter(Mandatory)] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Body')] + [System.Int32] + # The hour element of the time. + # Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). + # Hour value 24 cannot be combined with any other minute value but 0. + ${StartTimeHour}, + + [Parameter()] + [ArgumentCompleter({0, 30})] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Body')] + [System.Int32] + # The minute element of the time. + # Allowed values are 0 and 30. + # If not specified, its value defaults to 0. + ${EndTimeMinute}, + + [Parameter()] + [ArgumentCompleter({0, 30})] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Body')] + [System.Int32] + # The minute element of the time. + # Allowed values are 0 and 30. + # If not specified, its value defaults to 0. + ${StartTimeMinute} +) + +begin { + try { + $outBuffer = $null + if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { + $PSBoundParameters['OutBuffer'] = 1 + } + $parameterSet = $PSCmdlet.ParameterSetName + + if ($null -eq [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion) { + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PowerShellVersion = $PSVersionTable.PSVersion.ToString() + } + $preTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + if ($preTelemetryId -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId =(New-Guid).ToString() + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.module]::Instance.Telemetry.Invoke('Create', $MyInvocation, $parameterSet, $PSCmdlet) + } else { + $internalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + if ($internalCalledCmdlets -eq '') { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $MyInvocation.MyCommand.Name + } else { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets += ',' + $MyInvocation.MyCommand.Name + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = 'internal' + } + + $mapping = @{ + __AllParameterSets = 'Az.StorageMover.custom\New-AzStorageMoverUploadLimitWeeklyRecurrenceObject'; + } + $cmdInfo = Get-Command -Name $mapping[$parameterSet] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.MessageAttributeHelper]::ProcessCustomAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + if ($null -ne $MyInvocation.MyCommand -and [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets -notcontains $MyInvocation.MyCommand.Name -and [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.MessageAttributeHelper]::ContainsPreviewAttribute($cmdInfo, $MyInvocation)){ + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.MessageAttributeHelper]::ProcessPreviewMessageAttributesAtRuntime($cmdInfo, $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Utilities.Common.AzurePSCmdlet]::PromptedPreviewMessageCmdlets.Enqueue($MyInvocation.MyCommand.Name) + } + $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) + $scriptCmd = {& $wrappedCmd @PSBoundParameters} + $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) + $steppablePipeline.Begin($PSCmdlet) + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + throw + } +} + +process { + try { + $steppablePipeline.Process($_) + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + throw + } + + finally { + $backupTelemetryId = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId + $backupInternalCalledCmdlets = [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + +} +end { + try { + $steppablePipeline.End() + + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $backupTelemetryId + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::InternalCalledCmdlets = $backupInternalCalledCmdlets + if ($preTelemetryId -eq '') { + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.module]::Instance.Telemetry.Invoke('Send', $MyInvocation, $parameterSet, $PSCmdlet) + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + } + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::TelemetryId = $preTelemetryId + + } catch { + [Microsoft.WindowsAzure.Commands.Common.MetricHelper]::ClearTelemetryContext() + throw + } +} +} + <# .Synopsis Deletes a Storage Mover resource. @@ -5335,7 +5508,7 @@ Get-AzStorageMoverEndpoint -ResourceGroupName "myresourcegroup" -StorageMoverNam .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Notes COMPLEX PARAMETER PROPERTIES @@ -5356,7 +5529,7 @@ https://learn.microsoft.com/powershell/module/az.storagemover/update-azstoragemo #> function Update-AzStorageMoverAzSmbFileShareEndpoint { [Alias('Update-AzStorageMoverSmbFileShareEndpoint')] -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] @@ -5548,7 +5721,7 @@ Update-AzStorageMoverAzStorageContainerEndpoint -Name myEndpoint -ResourceGroupN .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Notes COMPLEX PARAMETER PROPERTIES @@ -5568,7 +5741,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.storagemover/update-azstoragemoverazstoragecontainerendpoint #> function Update-AzStorageMoverAzStorageContainerEndpoint { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] @@ -5760,7 +5933,7 @@ Update-AzStorageMoverNfsEndpoint -Name myEndpoint -ResourceGroupName myResourceG .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Notes COMPLEX PARAMETER PROPERTIES @@ -5780,7 +5953,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.storagemover/update-azstoragemovernfsendpoint #> function Update-AzStorageMoverNfsEndpoint { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] @@ -5974,7 +6147,7 @@ Get-AzStorageMoverEndpoint -ResourceGroupName "myresourcegroup" -StorageMoverNam .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Notes COMPLEX PARAMETER PROPERTIES @@ -5994,7 +6167,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.storagemover/update-azstoragemoversmbendpoint #> function Update-AzStorageMoverSmbEndpoint { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] diff --git a/src/StorageMover/StorageMover.Autorest/exports/Start-AzStorageMoverJobDefinition.ps1 b/src/StorageMover/StorageMover.Autorest/exports/Start-AzStorageMoverJobDefinition.ps1 index c28960530b02..bc8ed84d4683 100644 --- a/src/StorageMover/StorageMover.Autorest/exports/Start-AzStorageMoverJobDefinition.ps1 +++ b/src/StorageMover/StorageMover.Autorest/exports/Start-AzStorageMoverJobDefinition.ps1 @@ -16,9 +16,9 @@ <# .Synopsis -Requests an Agent to start a new instance of this Job Definition, generating a new Job Run resource. +Creates a new Job Run resource for the specified Job Definition and passes it to the Agent for execution. .Description -Requests an Agent to start a new instance of this Job Definition, generating a new Job Run resource. +Creates a new Job Run resource for the specified Job Definition and passes it to the Agent for execution. .Example New-AzStorageMoverProject -ResourceGroupName myResourceGroup -StorageMoverName myStorageMover -Name myProject -Description "description" diff --git a/src/StorageMover/StorageMover.Autorest/exports/Update-AzStorageMover.ps1 b/src/StorageMover/StorageMover.Autorest/exports/Update-AzStorageMover.ps1 index b2a1239c67e5..54cbdf6755ea 100644 --- a/src/StorageMover/StorageMover.Autorest/exports/Update-AzStorageMover.ps1 +++ b/src/StorageMover/StorageMover.Autorest/exports/Update-AzStorageMover.ps1 @@ -25,11 +25,11 @@ Properties not specified in the request body will be unchanged. Update-AzStorageMover -ResourceGroupName myResourceGroup -Name myStorageMover -Description "Update description" .Inputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParameters +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParameters .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover .Notes COMPLEX PARAMETER PROPERTIES @@ -54,7 +54,7 @@ STORAGEMOVER : The Storage Mover resource. https://learn.microsoft.com/powershell/module/az.storagemover/update-azstoragemover #> function Update-AzStorageMover { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] @@ -92,7 +92,7 @@ param( [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParameters] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParameters] # The Storage Mover resource. # To construct, see NOTES section for STORAGEMOVER properties and create a hash table. ${StorageMover}, @@ -107,7 +107,7 @@ param( [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersTags]))] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersTags]))] [System.Collections.Hashtable] # Resource tags. ${Tag}, diff --git a/src/StorageMover/StorageMover.Autorest/exports/Update-AzStorageMoverAgent.ps1 b/src/StorageMover/StorageMover.Autorest/exports/Update-AzStorageMoverAgent.ps1 index 232a2a4ccd2e..fed04bcb2f64 100644 --- a/src/StorageMover/StorageMover.Autorest/exports/Update-AzStorageMoverAgent.ps1 +++ b/src/StorageMover/StorageMover.Autorest/exports/Update-AzStorageMoverAgent.ps1 @@ -20,14 +20,15 @@ Creates or updates an Agent resource. .Description Creates or updates an Agent resource. .Example -Update-AzStorageMoverAgent -ResourceGroupName myResourceGroup -StorageMoverName myStorageMover -Name myAgent -Description "Update description" +$recurrence = New-AzStorageMoverUploadLimitWeeklyRecurrenceObject -Day 'Monday','Tuesday','Friday' -LimitInMbps 100 -EndTimeHour 5 -StartTimeHour 1 -StartTimeMinute 30 -EndTimeMinute 0 +Update-AzStorageMoverAgent -ResourceGroupName myresourcegroup -StorageMoverName mystoragemover -Name myagent -Description "Update description" -UploadLimitScheduleWeeklyRecurrence $recurrence .Inputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParameters +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParameters .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent .Notes COMPLEX PARAMETER PROPERTIES @@ -35,6 +36,13 @@ To create the parameters described below, construct a hash table containing the AGENT : The Agent resource. [Description ]: A description for the Agent. + [UploadLimitScheduleWeeklyRecurrence ]: The set of weekly repeating recurrences of the WAN-link upload limit schedule. + Day : The set of days of week for the schedule recurrence. A day must not be specified more than once in a recurrence. + EndTimeHour : The hour element of the time. Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). Hour value 24 cannot be combined with any other minute value but 0. + StartTimeHour : The hour element of the time. Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). Hour value 24 cannot be combined with any other minute value but 0. + LimitInMbps : The WAN-link upload bandwidth (maximum data transfer rate) in megabits per second. Value of 0 indicates no throughput is allowed and any running migration job is effectively paused for the duration of this recurrence. Only data plane operations are governed by this limit. Control plane operations ensure seamless functionality. The agent may exceed this limit with control messages, if necessary. + [EndTimeMinute ]: The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0. + [StartTimeMinute ]: The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0. INPUTOBJECT : Identity Parameter [AgentName ]: The name of the Agent resource. @@ -46,11 +54,19 @@ INPUTOBJECT : Identity Parameter [ResourceGroupName ]: The name of the resource group. The name is case insensitive. [StorageMoverName ]: The name of the Storage Mover resource. [SubscriptionId ]: The ID of the target subscription. + +UPLOADLIMITSCHEDULEWEEKLYRECURRENCE : The set of weekly repeating recurrences of the WAN-link upload limit schedule. + Day : The set of days of week for the schedule recurrence. A day must not be specified more than once in a recurrence. + EndTimeHour : The hour element of the time. Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). Hour value 24 cannot be combined with any other minute value but 0. + StartTimeHour : The hour element of the time. Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). Hour value 24 cannot be combined with any other minute value but 0. + LimitInMbps : The WAN-link upload bandwidth (maximum data transfer rate) in megabits per second. Value of 0 indicates no throughput is allowed and any running migration job is effectively paused for the duration of this recurrence. Only data plane operations are governed by this limit. Control plane operations ensure seamless functionality. The agent may exceed this limit with control messages, if necessary. + [EndTimeMinute ]: The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0. + [StartTimeMinute ]: The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0. .Link https://learn.microsoft.com/powershell/module/az.storagemover/update-azstoragemoveragent #> function Update-AzStorageMoverAgent { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] @@ -95,7 +111,7 @@ param( [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParameters] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParameters] # The Agent resource. # To construct, see NOTES section for AGENT properties and create a hash table. ${Agent}, @@ -107,6 +123,15 @@ param( # A description for the Agent. ${Description}, + [Parameter(ParameterSetName='UpdateExpanded')] + [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] + [AllowEmptyCollection()] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Body')] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence[]] + # The set of weekly repeating recurrences of the WAN-link upload limit schedule. + # To construct, see NOTES section for UPLOADLIMITSCHEDULEWEEKLYRECURRENCE properties and create a hash table. + ${UploadLimitScheduleWeeklyRecurrence}, + [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] diff --git a/src/StorageMover/StorageMover.Autorest/exports/Update-AzStorageMoverAzSmbFileShareEndpoint.ps1 b/src/StorageMover/StorageMover.Autorest/exports/Update-AzStorageMoverAzSmbFileShareEndpoint.ps1 index 21f2f99241d9..26a4c73d6bee 100644 --- a/src/StorageMover/StorageMover.Autorest/exports/Update-AzStorageMoverAzSmbFileShareEndpoint.ps1 +++ b/src/StorageMover/StorageMover.Autorest/exports/Update-AzStorageMoverAzSmbFileShareEndpoint.ps1 @@ -29,7 +29,7 @@ Get-AzStorageMoverEndpoint -ResourceGroupName "myresourcegroup" -StorageMoverNam .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Notes COMPLEX PARAMETER PROPERTIES @@ -50,7 +50,7 @@ https://learn.microsoft.com/powershell/module/az.storagemover/update-azstoragemo #> function Update-AzStorageMoverAzSmbFileShareEndpoint { [Alias('Update-AzStorageMoverSmbFileShareEndpoint')] -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] diff --git a/src/StorageMover/StorageMover.Autorest/exports/Update-AzStorageMoverAzStorageContainerEndpoint.ps1 b/src/StorageMover/StorageMover.Autorest/exports/Update-AzStorageMoverAzStorageContainerEndpoint.ps1 index b4433c0dd0a4..605c1f8c4c68 100644 --- a/src/StorageMover/StorageMover.Autorest/exports/Update-AzStorageMoverAzStorageContainerEndpoint.ps1 +++ b/src/StorageMover/StorageMover.Autorest/exports/Update-AzStorageMoverAzStorageContainerEndpoint.ps1 @@ -27,7 +27,7 @@ Update-AzStorageMoverAzStorageContainerEndpoint -Name myEndpoint -ResourceGroupN .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Notes COMPLEX PARAMETER PROPERTIES @@ -47,7 +47,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.storagemover/update-azstoragemoverazstoragecontainerendpoint #> function Update-AzStorageMoverAzStorageContainerEndpoint { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] diff --git a/src/StorageMover/StorageMover.Autorest/exports/Update-AzStorageMoverJobDefinition.ps1 b/src/StorageMover/StorageMover.Autorest/exports/Update-AzStorageMoverJobDefinition.ps1 index 527252d5d497..88ba1c96a44b 100644 --- a/src/StorageMover/StorageMover.Autorest/exports/Update-AzStorageMoverJobDefinition.ps1 +++ b/src/StorageMover/StorageMover.Autorest/exports/Update-AzStorageMoverJobDefinition.ps1 @@ -25,11 +25,11 @@ Properties not specified in the request body will be unchanged. Update-AzStorageMoverJobDefinition -Name myJob -ProjectName myProject -ResourceGroupName myResourceGroup -StorageMoverName myStorageMover -Description "Update Description" .Inputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParameters +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParameters .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition .Notes COMPLEX PARAMETER PROPERTIES @@ -54,7 +54,7 @@ JOBDEFINITION : The Job Definition resource. https://learn.microsoft.com/powershell/module/az.storagemover/update-azstoragemoverjobdefinition #> function Update-AzStorageMoverJobDefinition { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] @@ -106,7 +106,7 @@ param( [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParameters] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParameters] # The Job Definition resource. # To construct, see NOTES section for JOBDEFINITION properties and create a hash table. ${JobDefinition}, diff --git a/src/StorageMover/StorageMover.Autorest/exports/Update-AzStorageMoverNfsEndpoint.ps1 b/src/StorageMover/StorageMover.Autorest/exports/Update-AzStorageMoverNfsEndpoint.ps1 index e9f2f8ed208a..c9e09831dc8c 100644 --- a/src/StorageMover/StorageMover.Autorest/exports/Update-AzStorageMoverNfsEndpoint.ps1 +++ b/src/StorageMover/StorageMover.Autorest/exports/Update-AzStorageMoverNfsEndpoint.ps1 @@ -27,7 +27,7 @@ Update-AzStorageMoverNfsEndpoint -Name myEndpoint -ResourceGroupName myResourceG .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Notes COMPLEX PARAMETER PROPERTIES @@ -47,7 +47,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.storagemover/update-azstoragemovernfsendpoint #> function Update-AzStorageMoverNfsEndpoint { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] diff --git a/src/StorageMover/StorageMover.Autorest/exports/Update-AzStorageMoverProject.ps1 b/src/StorageMover/StorageMover.Autorest/exports/Update-AzStorageMoverProject.ps1 index 3a26a0557e97..2c349e8cfee9 100644 --- a/src/StorageMover/StorageMover.Autorest/exports/Update-AzStorageMoverProject.ps1 +++ b/src/StorageMover/StorageMover.Autorest/exports/Update-AzStorageMoverProject.ps1 @@ -25,11 +25,11 @@ Properties not specified in the request body will be unchanged. Update-AzStorageMoverProject -ResourceGroupName myResourceGroup -StorageMoverName myStorageMover -Name myProject -Description "Update Description" .Inputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParameters +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParameters .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject .Notes COMPLEX PARAMETER PROPERTIES @@ -52,7 +52,7 @@ PROJECT : The Project resource. https://learn.microsoft.com/powershell/module/az.storagemover/update-azstoragemoverproject #> function Update-AzStorageMoverProject { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] @@ -97,7 +97,7 @@ param( [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParameters] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParameters] # The Project resource. # To construct, see NOTES section for PROJECT properties and create a hash table. ${Project}, diff --git a/src/StorageMover/StorageMover.Autorest/exports/Update-AzStorageMoverSmbEndpoint.ps1 b/src/StorageMover/StorageMover.Autorest/exports/Update-AzStorageMoverSmbEndpoint.ps1 index 4b0fcd6790a0..930ae52a98c2 100644 --- a/src/StorageMover/StorageMover.Autorest/exports/Update-AzStorageMoverSmbEndpoint.ps1 +++ b/src/StorageMover/StorageMover.Autorest/exports/Update-AzStorageMoverSmbEndpoint.ps1 @@ -29,7 +29,7 @@ Get-AzStorageMoverEndpoint -ResourceGroupName "myresourcegroup" -StorageMoverNam .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Notes COMPLEX PARAMETER PROPERTIES @@ -49,7 +49,7 @@ INPUTOBJECT : Identity Parameter https://learn.microsoft.com/powershell/module/az.storagemover/update-azstoragemoversmbendpoint #> function Update-AzStorageMoverSmbEndpoint { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentUpdateParameters.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentUpdateParameters.cs deleted file mode 100644 index 093c3f6e5981..000000000000 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentUpdateParameters.cs +++ /dev/null @@ -1,60 +0,0 @@ -// 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. - -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 -{ - using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; - - /// The Agent resource. - [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] - public partial class AgentUpdateParameters : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParameters, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParametersInternal - { - - /// A description for the Agent. - [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdatePropertiesInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdatePropertiesInternal)Property).Description = value ?? null; } - - /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateProperties Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParametersInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AgentUpdateProperties()); set { {_property = value;} } } - - /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateProperties _property; - - [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AgentUpdateProperties()); set => this._property = value; } - - /// Creates an new instance. - public AgentUpdateParameters() - { - - } - } - /// The Agent resource. - public partial interface IAgentUpdateParameters : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IJsonSerializable - { - /// A description for the Agent. - [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"A description for the Agent.", - SerializedName = @"description", - PossibleTypes = new [] { typeof(string) })] - string Description { get; set; } - - } - /// The Agent resource. - internal partial interface IAgentUpdateParametersInternal - - { - /// A description for the Agent. - string Description { get; set; } - - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateProperties Property { get; set; } - - } -} \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentUpdateProperties.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentUpdateProperties.cs deleted file mode 100644 index eb83cfebb703..000000000000 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentUpdateProperties.cs +++ /dev/null @@ -1,49 +0,0 @@ -// 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. - -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 -{ - using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; - - [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] - public partial class AgentUpdateProperties : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateProperties, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdatePropertiesInternal - { - - /// Backing field for property. - private string _description; - - /// A description for the Agent. - [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] - public string Description { get => this._description; set => this._description = value; } - - /// Creates an new instance. - public AgentUpdateProperties() - { - - } - } - public partial interface IAgentUpdateProperties : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IJsonSerializable - { - /// A description for the Agent. - [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Info( - Required = false, - ReadOnly = false, - Description = @"A description for the Agent.", - SerializedName = @"description", - PossibleTypes = new [] { typeof(string) })] - string Description { get; set; } - - } - internal partial interface IAgentUpdatePropertiesInternal - - { - /// A description for the Agent. - string Description { get; set; } - - } -} \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Agent.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Agent.PowerShell.cs similarity index 75% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Agent.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Agent.PowerShell.cs index f77bc74201a7..77d937009cbb 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Agent.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Agent.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -63,7 +63,7 @@ public partial class Agent partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -78,7 +78,7 @@ internal Agent(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AgentPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AgentPropertiesTypeConverter.ConvertFrom); } if (content.Contains("SystemDataCreatedBy")) { @@ -122,65 +122,77 @@ internal Agent(global::System.Collections.IDictionary content) } if (content.Contains("AgentStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).AgentStatus = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.AgentStatus?) content.GetValueForProperty("AgentStatus",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).AgentStatus, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.AgentStatus.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).AgentStatus = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.AgentStatus?) content.GetValueForProperty("AgentStatus",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).AgentStatus, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.AgentStatus.CreateFrom); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); + } + if (content.Contains("UploadLimitSchedule")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).UploadLimitSchedule = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitSchedule) content.GetValueForProperty("UploadLimitSchedule",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).UploadLimitSchedule, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimitScheduleTypeConverter.ConvertFrom); } if (content.Contains("ErrorDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).ErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesErrorDetails) content.GetValueForProperty("ErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).ErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AgentPropertiesErrorDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).ErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesErrorDetails) content.GetValueForProperty("ErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).ErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AgentPropertiesErrorDetailsTypeConverter.ConvertFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).Description, global::System.Convert.ToString); } if (content.Contains("Version")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).Version = (string) content.GetValueForProperty("Version",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).Version, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).Version = (string) content.GetValueForProperty("Version",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).Version, global::System.Convert.ToString); } if (content.Contains("ArcResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).ArcResourceId = (string) content.GetValueForProperty("ArcResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).ArcResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).ArcResourceId = (string) content.GetValueForProperty("ArcResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).ArcResourceId, global::System.Convert.ToString); } if (content.Contains("ArcVMUuid")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).ArcVMUuid = (string) content.GetValueForProperty("ArcVMUuid",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).ArcVMUuid, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).ArcVMUuid = (string) content.GetValueForProperty("ArcVMUuid",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).ArcVMUuid, global::System.Convert.ToString); } if (content.Contains("LastStatusUpdate")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).LastStatusUpdate = (global::System.DateTime?) content.GetValueForProperty("LastStatusUpdate",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).LastStatusUpdate, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).LastStatusUpdate = (global::System.DateTime?) content.GetValueForProperty("LastStatusUpdate",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).LastStatusUpdate, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("LocalIPAddress")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).LocalIPAddress = (string) content.GetValueForProperty("LocalIPAddress",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).LocalIPAddress, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).LocalIPAddress = (string) content.GetValueForProperty("LocalIPAddress",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).LocalIPAddress, global::System.Convert.ToString); } if (content.Contains("MemoryInMb")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).MemoryInMb = (long?) content.GetValueForProperty("MemoryInMb",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).MemoryInMb, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).MemoryInMb = (long?) content.GetValueForProperty("MemoryInMb",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).MemoryInMb, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("NumberOfCores")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).NumberOfCores = (long?) content.GetValueForProperty("NumberOfCores",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).NumberOfCores, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).NumberOfCores = (long?) content.GetValueForProperty("NumberOfCores",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).NumberOfCores, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("UptimeInSeconds")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).UptimeInSeconds = (long?) content.GetValueForProperty("UptimeInSeconds",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).UptimeInSeconds, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).UptimeInSeconds = (long?) content.GetValueForProperty("UptimeInSeconds",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).UptimeInSeconds, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + } + if (content.Contains("TimeZone")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).TimeZone = (string) content.GetValueForProperty("TimeZone",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).TimeZone, global::System.Convert.ToString); + } + if (content.Contains("UploadLimitScheduleWeeklyRecurrence")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).UploadLimitScheduleWeeklyRecurrence = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence[]) content.GetValueForProperty("UploadLimitScheduleWeeklyRecurrence",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).UploadLimitScheduleWeeklyRecurrence, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimitWeeklyRecurrenceTypeConverter.ConvertFrom)); } if (content.Contains("ErrorDetailCode")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).ErrorDetailCode = (string) content.GetValueForProperty("ErrorDetailCode",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).ErrorDetailCode, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).ErrorDetailCode = (string) content.GetValueForProperty("ErrorDetailCode",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).ErrorDetailCode, global::System.Convert.ToString); } if (content.Contains("ErrorDetailMessage")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).ErrorDetailMessage = (string) content.GetValueForProperty("ErrorDetailMessage",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).ErrorDetailMessage, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).ErrorDetailMessage = (string) content.GetValueForProperty("ErrorDetailMessage",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).ErrorDetailMessage, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -195,7 +207,7 @@ internal Agent(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AgentPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AgentPropertiesTypeConverter.ConvertFrom); } if (content.Contains("SystemDataCreatedBy")) { @@ -239,85 +251,97 @@ internal Agent(global::System.Management.Automation.PSObject content) } if (content.Contains("AgentStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).AgentStatus = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.AgentStatus?) content.GetValueForProperty("AgentStatus",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).AgentStatus, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.AgentStatus.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).AgentStatus = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.AgentStatus?) content.GetValueForProperty("AgentStatus",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).AgentStatus, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.AgentStatus.CreateFrom); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); + } + if (content.Contains("UploadLimitSchedule")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).UploadLimitSchedule = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitSchedule) content.GetValueForProperty("UploadLimitSchedule",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).UploadLimitSchedule, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimitScheduleTypeConverter.ConvertFrom); } if (content.Contains("ErrorDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).ErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesErrorDetails) content.GetValueForProperty("ErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).ErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AgentPropertiesErrorDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).ErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesErrorDetails) content.GetValueForProperty("ErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).ErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AgentPropertiesErrorDetailsTypeConverter.ConvertFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).Description, global::System.Convert.ToString); } if (content.Contains("Version")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).Version = (string) content.GetValueForProperty("Version",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).Version, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).Version = (string) content.GetValueForProperty("Version",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).Version, global::System.Convert.ToString); } if (content.Contains("ArcResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).ArcResourceId = (string) content.GetValueForProperty("ArcResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).ArcResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).ArcResourceId = (string) content.GetValueForProperty("ArcResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).ArcResourceId, global::System.Convert.ToString); } if (content.Contains("ArcVMUuid")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).ArcVMUuid = (string) content.GetValueForProperty("ArcVMUuid",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).ArcVMUuid, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).ArcVMUuid = (string) content.GetValueForProperty("ArcVMUuid",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).ArcVMUuid, global::System.Convert.ToString); } if (content.Contains("LastStatusUpdate")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).LastStatusUpdate = (global::System.DateTime?) content.GetValueForProperty("LastStatusUpdate",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).LastStatusUpdate, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).LastStatusUpdate = (global::System.DateTime?) content.GetValueForProperty("LastStatusUpdate",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).LastStatusUpdate, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("LocalIPAddress")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).LocalIPAddress = (string) content.GetValueForProperty("LocalIPAddress",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).LocalIPAddress, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).LocalIPAddress = (string) content.GetValueForProperty("LocalIPAddress",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).LocalIPAddress, global::System.Convert.ToString); } if (content.Contains("MemoryInMb")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).MemoryInMb = (long?) content.GetValueForProperty("MemoryInMb",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).MemoryInMb, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).MemoryInMb = (long?) content.GetValueForProperty("MemoryInMb",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).MemoryInMb, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("NumberOfCores")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).NumberOfCores = (long?) content.GetValueForProperty("NumberOfCores",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).NumberOfCores, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).NumberOfCores = (long?) content.GetValueForProperty("NumberOfCores",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).NumberOfCores, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("UptimeInSeconds")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).UptimeInSeconds = (long?) content.GetValueForProperty("UptimeInSeconds",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).UptimeInSeconds, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).UptimeInSeconds = (long?) content.GetValueForProperty("UptimeInSeconds",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).UptimeInSeconds, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + } + if (content.Contains("TimeZone")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).TimeZone = (string) content.GetValueForProperty("TimeZone",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).TimeZone, global::System.Convert.ToString); + } + if (content.Contains("UploadLimitScheduleWeeklyRecurrence")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).UploadLimitScheduleWeeklyRecurrence = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence[]) content.GetValueForProperty("UploadLimitScheduleWeeklyRecurrence",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).UploadLimitScheduleWeeklyRecurrence, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimitWeeklyRecurrenceTypeConverter.ConvertFrom)); } if (content.Contains("ErrorDetailCode")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).ErrorDetailCode = (string) content.GetValueForProperty("ErrorDetailCode",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).ErrorDetailCode, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).ErrorDetailCode = (string) content.GetValueForProperty("ErrorDetailCode",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).ErrorDetailCode, global::System.Convert.ToString); } if (content.Contains("ErrorDetailMessage")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).ErrorDetailMessage = (string) content.GetValueForProperty("ErrorDetailMessage",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal)this).ErrorDetailMessage, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).ErrorDetailMessage = (string) content.GetValueForProperty("ErrorDetailMessage",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal)this).ErrorDetailMessage, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new Agent(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new Agent(content); } @@ -327,7 +351,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Agent.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Agent.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Agent.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Agent.TypeConverter.cs index 30183caacd87..2cfd89311193 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Agent.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Agent.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -105,14 +105,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Agent.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Agent.cs similarity index 76% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Agent.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Agent.cs index c8ccece157d2..05485be78e4d 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Agent.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Agent.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; /// The Agent resource. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class Agent : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IValidates { /// @@ -22,27 +22,27 @@ public partial class Agent : /// The Agent status. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.AgentStatus? AgentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).AgentStatus; } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.AgentStatus? AgentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).AgentStatus; } /// The fully qualified resource ID of the Hybrid Compute resource for the Agent. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string ArcResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).ArcResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).ArcResourceId = value ; } + public string ArcResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).ArcResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).ArcResourceId = value ; } /// The VM UUID of the Hybrid Compute resource for the Agent. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string ArcVMUuid { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).ArcVMUuid; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).ArcVMUuid = value ; } + public string ArcVMUuid { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).ArcVMUuid; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).ArcVMUuid = value ; } /// A description for the Agent. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).Description = value ?? null; } + public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).Description = value ?? null; } /// Error code reported by Agent [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string ErrorDetailCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).ErrorDetailCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).ErrorDetailCode = value ?? null; } + public string ErrorDetailCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).ErrorDetailCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).ErrorDetailCode = value ?? null; } /// Expanded description of reported error code [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string ErrorDetailMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).ErrorDetailMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).ErrorDetailMessage = value ?? null; } + public string ErrorDetailMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).ErrorDetailMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).ErrorDetailMessage = value ?? null; } /// /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} @@ -52,45 +52,51 @@ public partial class Agent : /// The last updated time of the Agent status. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public global::System.DateTime? LastStatusUpdate { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).LastStatusUpdate; } + public global::System.DateTime? LastStatusUpdate { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).LastStatusUpdate; } /// Local IP address reported by the Agent. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string LocalIPAddress { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).LocalIPAddress; } + public string LocalIPAddress { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).LocalIPAddress; } /// Available memory reported by the Agent, in MB. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public long? MemoryInMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).MemoryInMb; } + public long? MemoryInMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).MemoryInMb; } /// Internal Acessors for AgentStatus - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.AgentStatus? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal.AgentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).AgentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).AgentStatus = value; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.AgentStatus? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal.AgentStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).AgentStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).AgentStatus = value; } /// Internal Acessors for ErrorDetail - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesErrorDetails Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal.ErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).ErrorDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).ErrorDetail = value; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesErrorDetails Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal.ErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).ErrorDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).ErrorDetail = value; } /// Internal Acessors for LastStatusUpdate - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal.LastStatusUpdate { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).LastStatusUpdate; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).LastStatusUpdate = value; } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal.LastStatusUpdate { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).LastStatusUpdate; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).LastStatusUpdate = value; } /// Internal Acessors for LocalIPAddress - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal.LocalIPAddress { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).LocalIPAddress; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).LocalIPAddress = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal.LocalIPAddress { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).LocalIPAddress; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).LocalIPAddress = value; } /// Internal Acessors for MemoryInMb - long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal.MemoryInMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).MemoryInMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).MemoryInMb = value; } + long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal.MemoryInMb { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).MemoryInMb; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).MemoryInMb = value; } /// Internal Acessors for NumberOfCores - long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal.NumberOfCores { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).NumberOfCore; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).NumberOfCore = value; } + long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal.NumberOfCores { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).NumberOfCore; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).NumberOfCore = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentProperties Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AgentProperties()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentProperties Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AgentProperties()); set { {_property = value;} } } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).ProvisioningState = value; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).ProvisioningState = value; } + + /// Internal Acessors for TimeZone + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal.TimeZone { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).TimeZone; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).TimeZone = value; } + + /// Internal Acessors for UploadLimitSchedule + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitSchedule Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal.UploadLimitSchedule { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).UploadLimitSchedule; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).UploadLimitSchedule = value; } /// Internal Acessors for UptimeInSeconds - long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal.UptimeInSeconds { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).UptimeInSecond; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).UptimeInSecond = value; } + long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal.UptimeInSeconds { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).UptimeInSecond; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).UptimeInSecond = value; } /// Internal Acessors for Version - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentInternal.Version { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).AgentVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).AgentVersion = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentInternal.Version { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).AgentVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).AgentVersion = value; } /// Internal Acessors for Id string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.IResourceInternal)__resource).Id = value; } @@ -110,17 +116,17 @@ public partial class Agent : /// Available compute cores reported by the Agent. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public long? NumberOfCores { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).NumberOfCore; } + public long? NumberOfCores { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).NumberOfCore; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentProperties _property; [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AgentProperties()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AgentProperties()); set => this._property = value; } /// The provisioning state of this resource. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).ProvisioningState; } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).ProvisioningState; } /// /// Azure Resource Manager metadata containing createdBy and modifiedBy information. @@ -152,19 +158,27 @@ public partial class Agent : [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CreatedByType? SystemDataLastModifiedByType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.IResourceInternal)__resource).SystemDataLastModifiedByType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.IResourceInternal)__resource).SystemDataLastModifiedByType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CreatedByType)""); } + /// The agent's local time zone represented in Windows format. + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] + public string TimeZone { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).TimeZone; } + /// /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" /// [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.IResourceInternal)__resource).Type; } + /// The set of weekly repeating recurrences of the WAN-link upload limit schedule. + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence[] UploadLimitScheduleWeeklyRecurrence { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).UploadLimitScheduleWeeklyRecurrence; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).UploadLimitScheduleWeeklyRecurrence = value ?? null /* arrayOf */; } + /// Uptime of the Agent in seconds. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public long? UptimeInSeconds { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).UptimeInSecond; } + public long? UptimeInSeconds { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).UptimeInSecond; } /// The Agent version. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string Version { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)Property).AgentVersion; } + public string Version { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)Property).AgentVersion; } /// Creates an new instance. public Agent() @@ -277,6 +291,22 @@ public partial interface IAgent : SerializedName = @"provisioningState", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState) })] Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? ProvisioningState { get; } + /// The agent's local time zone represented in Windows format. + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"The agent's local time zone represented in Windows format.", + SerializedName = @"timeZone", + PossibleTypes = new [] { typeof(string) })] + string TimeZone { get; } + /// The set of weekly repeating recurrences of the WAN-link upload limit schedule. + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The set of weekly repeating recurrences of the WAN-link upload limit schedule.", + SerializedName = @"weeklyRecurrences", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence) })] + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence[] UploadLimitScheduleWeeklyRecurrence { get; set; } /// Uptime of the Agent in seconds. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Info( Required = false, @@ -308,7 +338,7 @@ internal partial interface IAgentInternal : /// A description for the Agent. string Description { get; set; } - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesErrorDetails ErrorDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesErrorDetails ErrorDetail { get; set; } /// Error code reported by Agent string ErrorDetailCode { get; set; } /// Expanded description of reported error code @@ -322,9 +352,19 @@ internal partial interface IAgentInternal : /// Available compute cores reported by the Agent. long? NumberOfCores { get; set; } - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentProperties Property { get; set; } /// The provisioning state of this resource. Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? ProvisioningState { get; set; } + /// The agent's local time zone represented in Windows format. + string TimeZone { get; set; } + /// + /// The WAN-link upload limit schedule that applies to any Job Run the agent executes. Data plane operations (migrating files) + /// are affected. Control plane operations ensure seamless migration functionality and are not limited by this schedule. The + /// schedule is interpreted with the agent's local time. + /// + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitSchedule UploadLimitSchedule { get; set; } + /// The set of weekly repeating recurrences of the WAN-link upload limit schedule. + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence[] UploadLimitScheduleWeeklyRecurrence { get; set; } /// Uptime of the Agent in seconds. long? UptimeInSeconds { get; set; } /// The Agent version. diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Agent.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Agent.json.cs similarity index 97% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Agent.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Agent.json.cs index ba7eeceb54f4..e7044523e7c6 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Agent.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Agent.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -66,18 +66,18 @@ internal Agent(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.Json return; } __resource = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.Resource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AgentProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AgentProperties.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new Agent(json) : null; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentList.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentList.PowerShell.cs similarity index 86% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentList.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentList.PowerShell.cs index 837073e24edc..e31f1ea0a488 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentList.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentList.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -63,7 +63,7 @@ public partial class AgentList partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -78,17 +78,17 @@ internal AgentList(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AgentTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AgentTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -103,37 +103,37 @@ internal AgentList(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AgentTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AgentTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentList DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentList DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AgentList(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AgentList(content); } @@ -143,7 +143,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentList.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentList.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentList.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentList.TypeConverter.cs index 159edfef9ed5..12508b2e31d2 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentList.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentList.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -105,14 +105,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentList ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentList ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentList).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentList).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentList.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentList.cs similarity index 88% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentList.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentList.cs index 1081d6545c73..81cf9e5f82a4 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentList.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentList.cs @@ -3,22 +3,22 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; /// List of Agents. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class AgentList : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentList, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentListInternal + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentList, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentListInternal { /// Internal Acessors for NextLink - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentListInternal.NextLink { get => this._nextLink; set { {_nextLink = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentListInternal.NextLink { get => this._nextLink; set { {_nextLink = value;} } } /// Internal Acessors for Value - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent[] Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentListInternal.Value { get => this._value; set { {_value = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent[] Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentListInternal.Value { get => this._value; set { {_value = value;} } } /// Backing field for property. private string _nextLink; @@ -31,10 +31,10 @@ public partial class AgentList : public string NextLink { get => this._nextLink; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent[] _value; [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent[] Value { get => this._value; } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent[] Value { get => this._value; } /// Creates an new instance. public AgentList() @@ -63,8 +63,8 @@ public partial interface IAgentList : ReadOnly = true, Description = @"", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent) })] - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent[] Value { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent) })] + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent[] Value { get; } } /// List of Agents. @@ -77,7 +77,7 @@ internal partial interface IAgentListInternal /// string NextLink { get; set; } - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent[] Value { get; set; } } } \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentList.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentList.json.cs similarity index 95% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentList.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentList.json.cs index 0eb3323f1460..cbac4fe6b302 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentList.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentList.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -65,19 +65,19 @@ internal AgentList(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json. { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent) (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.Agent.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent) (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.Agent.FromJson(__u) )) ))() : null : Value;} {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)NextLink;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentList. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentList. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentList. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentList. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentList FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentList FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new AgentList(json) : null; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentProperties.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentProperties.PowerShell.cs similarity index 67% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentProperties.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentProperties.PowerShell.cs index f151b544879f..69dc5a0cd1fd 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentProperties.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -62,7 +62,7 @@ public partial class AgentProperties partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -75,67 +75,79 @@ internal AgentProperties(global::System.Collections.IDictionary content) return; } // actually deserialize + if (content.Contains("UploadLimitSchedule")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).UploadLimitSchedule = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitSchedule) content.GetValueForProperty("UploadLimitSchedule",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).UploadLimitSchedule, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimitScheduleTypeConverter.ConvertFrom); + } if (content.Contains("ErrorDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).ErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesErrorDetails) content.GetValueForProperty("ErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).ErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AgentPropertiesErrorDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).ErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesErrorDetails) content.GetValueForProperty("ErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).ErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AgentPropertiesErrorDetailsTypeConverter.ConvertFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).Description, global::System.Convert.ToString); } if (content.Contains("AgentVersion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).AgentVersion = (string) content.GetValueForProperty("AgentVersion",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).AgentVersion, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).AgentVersion = (string) content.GetValueForProperty("AgentVersion",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).AgentVersion, global::System.Convert.ToString); } if (content.Contains("ArcResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).ArcResourceId = (string) content.GetValueForProperty("ArcResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).ArcResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).ArcResourceId = (string) content.GetValueForProperty("ArcResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).ArcResourceId, global::System.Convert.ToString); } if (content.Contains("ArcVMUuid")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).ArcVMUuid = (string) content.GetValueForProperty("ArcVMUuid",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).ArcVMUuid, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).ArcVMUuid = (string) content.GetValueForProperty("ArcVMUuid",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).ArcVMUuid, global::System.Convert.ToString); } if (content.Contains("AgentStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).AgentStatus = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.AgentStatus?) content.GetValueForProperty("AgentStatus",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).AgentStatus, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.AgentStatus.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).AgentStatus = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.AgentStatus?) content.GetValueForProperty("AgentStatus",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).AgentStatus, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.AgentStatus.CreateFrom); } if (content.Contains("LastStatusUpdate")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).LastStatusUpdate = (global::System.DateTime?) content.GetValueForProperty("LastStatusUpdate",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).LastStatusUpdate, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).LastStatusUpdate = (global::System.DateTime?) content.GetValueForProperty("LastStatusUpdate",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).LastStatusUpdate, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("LocalIPAddress")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).LocalIPAddress = (string) content.GetValueForProperty("LocalIPAddress",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).LocalIPAddress, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).LocalIPAddress = (string) content.GetValueForProperty("LocalIPAddress",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).LocalIPAddress, global::System.Convert.ToString); } if (content.Contains("MemoryInMb")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).MemoryInMb = (long?) content.GetValueForProperty("MemoryInMb",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).MemoryInMb, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).MemoryInMb = (long?) content.GetValueForProperty("MemoryInMb",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).MemoryInMb, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("NumberOfCore")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).NumberOfCore = (long?) content.GetValueForProperty("NumberOfCore",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).NumberOfCore, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).NumberOfCore = (long?) content.GetValueForProperty("NumberOfCore",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).NumberOfCore, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("UptimeInSecond")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).UptimeInSecond = (long?) content.GetValueForProperty("UptimeInSecond",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).UptimeInSecond, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).UptimeInSecond = (long?) content.GetValueForProperty("UptimeInSecond",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).UptimeInSecond, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + } + if (content.Contains("TimeZone")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).TimeZone = (string) content.GetValueForProperty("TimeZone",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).TimeZone, global::System.Convert.ToString); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); + } + if (content.Contains("UploadLimitScheduleWeeklyRecurrence")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).UploadLimitScheduleWeeklyRecurrence = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence[]) content.GetValueForProperty("UploadLimitScheduleWeeklyRecurrence",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).UploadLimitScheduleWeeklyRecurrence, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimitWeeklyRecurrenceTypeConverter.ConvertFrom)); } if (content.Contains("ErrorDetailCode")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).ErrorDetailCode = (string) content.GetValueForProperty("ErrorDetailCode",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).ErrorDetailCode, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).ErrorDetailCode = (string) content.GetValueForProperty("ErrorDetailCode",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).ErrorDetailCode, global::System.Convert.ToString); } if (content.Contains("ErrorDetailMessage")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).ErrorDetailMessage = (string) content.GetValueForProperty("ErrorDetailMessage",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).ErrorDetailMessage, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).ErrorDetailMessage = (string) content.GetValueForProperty("ErrorDetailMessage",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).ErrorDetailMessage, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -148,87 +160,99 @@ internal AgentProperties(global::System.Management.Automation.PSObject content) return; } // actually deserialize + if (content.Contains("UploadLimitSchedule")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).UploadLimitSchedule = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitSchedule) content.GetValueForProperty("UploadLimitSchedule",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).UploadLimitSchedule, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimitScheduleTypeConverter.ConvertFrom); + } if (content.Contains("ErrorDetail")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).ErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesErrorDetails) content.GetValueForProperty("ErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).ErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AgentPropertiesErrorDetailsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).ErrorDetail = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesErrorDetails) content.GetValueForProperty("ErrorDetail",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).ErrorDetail, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AgentPropertiesErrorDetailsTypeConverter.ConvertFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).Description, global::System.Convert.ToString); } if (content.Contains("AgentVersion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).AgentVersion = (string) content.GetValueForProperty("AgentVersion",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).AgentVersion, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).AgentVersion = (string) content.GetValueForProperty("AgentVersion",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).AgentVersion, global::System.Convert.ToString); } if (content.Contains("ArcResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).ArcResourceId = (string) content.GetValueForProperty("ArcResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).ArcResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).ArcResourceId = (string) content.GetValueForProperty("ArcResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).ArcResourceId, global::System.Convert.ToString); } if (content.Contains("ArcVMUuid")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).ArcVMUuid = (string) content.GetValueForProperty("ArcVMUuid",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).ArcVMUuid, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).ArcVMUuid = (string) content.GetValueForProperty("ArcVMUuid",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).ArcVMUuid, global::System.Convert.ToString); } if (content.Contains("AgentStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).AgentStatus = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.AgentStatus?) content.GetValueForProperty("AgentStatus",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).AgentStatus, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.AgentStatus.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).AgentStatus = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.AgentStatus?) content.GetValueForProperty("AgentStatus",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).AgentStatus, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.AgentStatus.CreateFrom); } if (content.Contains("LastStatusUpdate")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).LastStatusUpdate = (global::System.DateTime?) content.GetValueForProperty("LastStatusUpdate",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).LastStatusUpdate, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).LastStatusUpdate = (global::System.DateTime?) content.GetValueForProperty("LastStatusUpdate",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).LastStatusUpdate, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("LocalIPAddress")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).LocalIPAddress = (string) content.GetValueForProperty("LocalIPAddress",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).LocalIPAddress, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).LocalIPAddress = (string) content.GetValueForProperty("LocalIPAddress",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).LocalIPAddress, global::System.Convert.ToString); } if (content.Contains("MemoryInMb")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).MemoryInMb = (long?) content.GetValueForProperty("MemoryInMb",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).MemoryInMb, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).MemoryInMb = (long?) content.GetValueForProperty("MemoryInMb",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).MemoryInMb, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("NumberOfCore")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).NumberOfCore = (long?) content.GetValueForProperty("NumberOfCore",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).NumberOfCore, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).NumberOfCore = (long?) content.GetValueForProperty("NumberOfCore",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).NumberOfCore, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("UptimeInSecond")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).UptimeInSecond = (long?) content.GetValueForProperty("UptimeInSecond",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).UptimeInSecond, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).UptimeInSecond = (long?) content.GetValueForProperty("UptimeInSecond",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).UptimeInSecond, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + } + if (content.Contains("TimeZone")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).TimeZone = (string) content.GetValueForProperty("TimeZone",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).TimeZone, global::System.Convert.ToString); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); + } + if (content.Contains("UploadLimitScheduleWeeklyRecurrence")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).UploadLimitScheduleWeeklyRecurrence = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence[]) content.GetValueForProperty("UploadLimitScheduleWeeklyRecurrence",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).UploadLimitScheduleWeeklyRecurrence, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimitWeeklyRecurrenceTypeConverter.ConvertFrom)); } if (content.Contains("ErrorDetailCode")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).ErrorDetailCode = (string) content.GetValueForProperty("ErrorDetailCode",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).ErrorDetailCode, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).ErrorDetailCode = (string) content.GetValueForProperty("ErrorDetailCode",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).ErrorDetailCode, global::System.Convert.ToString); } if (content.Contains("ErrorDetailMessage")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).ErrorDetailMessage = (string) content.GetValueForProperty("ErrorDetailMessage",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal)this).ErrorDetailMessage, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).ErrorDetailMessage = (string) content.GetValueForProperty("ErrorDetailMessage",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal)this).ErrorDetailMessage, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AgentProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AgentProperties(content); } @@ -238,7 +262,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentProperties.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentProperties.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentProperties.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentProperties.TypeConverter.cs index 9c508fff1d3f..a54e85a04c2e 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentProperties.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentProperties.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentProperties.cs similarity index 72% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentProperties.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentProperties.cs index 3c87181d495c..29ace1405519 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentProperties.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentProperties.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class AgentProperties : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentProperties, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentProperties, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal { /// Backing field for property. @@ -49,18 +49,18 @@ public partial class AgentProperties : public string Description { get => this._description; set => this._description = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesErrorDetails _errorDetail; + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesErrorDetails _errorDetail; [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesErrorDetails ErrorDetail { get => (this._errorDetail = this._errorDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AgentPropertiesErrorDetails()); } + internal Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesErrorDetails ErrorDetail { get => (this._errorDetail = this._errorDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AgentPropertiesErrorDetails()); } /// Error code reported by Agent [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string ErrorDetailCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesErrorDetailsInternal)ErrorDetail).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesErrorDetailsInternal)ErrorDetail).Code = value ?? null; } + public string ErrorDetailCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesErrorDetailsInternal)ErrorDetail).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesErrorDetailsInternal)ErrorDetail).Code = value ?? null; } /// Expanded description of reported error code [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string ErrorDetailMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesErrorDetailsInternal)ErrorDetail).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesErrorDetailsInternal)ErrorDetail).Message = value ?? null; } + public string ErrorDetailMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesErrorDetailsInternal)ErrorDetail).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesErrorDetailsInternal)ErrorDetail).Message = value ?? null; } /// Backing field for property. private global::System.DateTime? _lastStatusUpdate; @@ -84,31 +84,37 @@ public partial class AgentProperties : public long? MemoryInMb { get => this._memoryInMb; } /// Internal Acessors for AgentStatus - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.AgentStatus? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal.AgentStatus { get => this._agentStatus; set { {_agentStatus = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.AgentStatus? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal.AgentStatus { get => this._agentStatus; set { {_agentStatus = value;} } } /// Internal Acessors for AgentVersion - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal.AgentVersion { get => this._agentVersion; set { {_agentVersion = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal.AgentVersion { get => this._agentVersion; set { {_agentVersion = value;} } } /// Internal Acessors for ErrorDetail - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesErrorDetails Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal.ErrorDetail { get => (this._errorDetail = this._errorDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AgentPropertiesErrorDetails()); set { {_errorDetail = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesErrorDetails Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal.ErrorDetail { get => (this._errorDetail = this._errorDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AgentPropertiesErrorDetails()); set { {_errorDetail = value;} } } /// Internal Acessors for LastStatusUpdate - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal.LastStatusUpdate { get => this._lastStatusUpdate; set { {_lastStatusUpdate = value;} } } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal.LastStatusUpdate { get => this._lastStatusUpdate; set { {_lastStatusUpdate = value;} } } /// Internal Acessors for LocalIPAddress - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal.LocalIPAddress { get => this._localIPAddress; set { {_localIPAddress = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal.LocalIPAddress { get => this._localIPAddress; set { {_localIPAddress = value;} } } /// Internal Acessors for MemoryInMb - long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal.MemoryInMb { get => this._memoryInMb; set { {_memoryInMb = value;} } } + long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal.MemoryInMb { get => this._memoryInMb; set { {_memoryInMb = value;} } } /// Internal Acessors for NumberOfCore - long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal.NumberOfCore { get => this._numberOfCore; set { {_numberOfCore = value;} } } + long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal.NumberOfCore { get => this._numberOfCore; set { {_numberOfCore = value;} } } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } + + /// Internal Acessors for TimeZone + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal.TimeZone { get => this._timeZone; set { {_timeZone = value;} } } + + /// Internal Acessors for UploadLimitSchedule + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitSchedule Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal.UploadLimitSchedule { get => (this._uploadLimitSchedule = this._uploadLimitSchedule ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimitSchedule()); set { {_uploadLimitSchedule = value;} } } /// Internal Acessors for UptimeInSecond - long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesInternal.UptimeInSecond { get => this._uptimeInSecond; set { {_uptimeInSecond = value;} } } + long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesInternal.UptimeInSecond { get => this._uptimeInSecond; set { {_uptimeInSecond = value;} } } /// Backing field for property. private long? _numberOfCore; @@ -124,6 +130,28 @@ public partial class AgentProperties : [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? ProvisioningState { get => this._provisioningState; } + /// Backing field for property. + private string _timeZone; + + /// The agent's local time zone represented in Windows format. + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] + public string TimeZone { get => this._timeZone; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitSchedule _uploadLimitSchedule; + + /// + /// The WAN-link upload limit schedule that applies to any Job Run the agent executes. Data plane operations (migrating files) + /// are affected. Control plane operations ensure seamless migration functionality and are not limited by this schedule. The + /// schedule is interpreted with the agent's local time. + /// + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] + internal Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitSchedule UploadLimitSchedule { get => (this._uploadLimitSchedule = this._uploadLimitSchedule ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimitSchedule()); set => this._uploadLimitSchedule = value; } + + /// The set of weekly repeating recurrences of the WAN-link upload limit schedule. + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence[] UploadLimitScheduleWeeklyRecurrence { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitScheduleInternal)UploadLimitSchedule).WeeklyRecurrence; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitScheduleInternal)UploadLimitSchedule).WeeklyRecurrence = value ?? null /* arrayOf */; } + /// Backing field for property. private long? _uptimeInSecond; @@ -236,6 +264,22 @@ public partial interface IAgentProperties : SerializedName = @"provisioningState", PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState) })] Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? ProvisioningState { get; } + /// The agent's local time zone represented in Windows format. + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Info( + Required = false, + ReadOnly = true, + Description = @"The agent's local time zone represented in Windows format.", + SerializedName = @"timeZone", + PossibleTypes = new [] { typeof(string) })] + string TimeZone { get; } + /// The set of weekly repeating recurrences of the WAN-link upload limit schedule. + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The set of weekly repeating recurrences of the WAN-link upload limit schedule.", + SerializedName = @"weeklyRecurrences", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence) })] + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence[] UploadLimitScheduleWeeklyRecurrence { get; set; } /// Uptime of the Agent in seconds. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Info( Required = false, @@ -260,7 +304,7 @@ internal partial interface IAgentPropertiesInternal /// A description for the Agent. string Description { get; set; } - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesErrorDetails ErrorDetail { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesErrorDetails ErrorDetail { get; set; } /// Error code reported by Agent string ErrorDetailCode { get; set; } /// Expanded description of reported error code @@ -275,6 +319,16 @@ internal partial interface IAgentPropertiesInternal long? NumberOfCore { get; set; } /// The provisioning state of this resource. Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? ProvisioningState { get; set; } + /// The agent's local time zone represented in Windows format. + string TimeZone { get; set; } + /// + /// The WAN-link upload limit schedule that applies to any Job Run the agent executes. Data plane operations (migrating files) + /// are affected. Control plane operations ensure seamless migration functionality and are not limited by this schedule. The + /// schedule is interpreted with the agent's local time. + /// + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitSchedule UploadLimitSchedule { get; set; } + /// The set of weekly repeating recurrences of the WAN-link upload limit schedule. + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence[] UploadLimitScheduleWeeklyRecurrence { get; set; } /// Uptime of the Agent in seconds. long? UptimeInSecond { get; set; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentProperties.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentProperties.json.cs similarity index 90% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentProperties.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentProperties.json.cs index 477fe91bc997..4f928c142cd1 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentProperties.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -64,7 +64,8 @@ internal AgentProperties(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime { return; } - {_errorDetail = If( json?.PropertyT("errorDetails"), out var __jsonErrorDetails) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AgentPropertiesErrorDetails.FromJson(__jsonErrorDetails) : ErrorDetail;} + {_uploadLimitSchedule = If( json?.PropertyT("uploadLimitSchedule"), out var __jsonUploadLimitSchedule) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimitSchedule.FromJson(__jsonUploadLimitSchedule) : UploadLimitSchedule;} + {_errorDetail = If( json?.PropertyT("errorDetails"), out var __jsonErrorDetails) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AgentPropertiesErrorDetails.FromJson(__jsonErrorDetails) : ErrorDetail;} {_description = If( json?.PropertyT("description"), out var __jsonDescription) ? (string)__jsonDescription : (string)Description;} {_agentVersion = If( json?.PropertyT("agentVersion"), out var __jsonAgentVersion) ? (string)__jsonAgentVersion : (string)AgentVersion;} {_arcResourceId = If( json?.PropertyT("arcResourceId"), out var __jsonArcResourceId) ? (string)__jsonArcResourceId : (string)ArcResourceId;} @@ -75,18 +76,19 @@ internal AgentProperties(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime {_memoryInMb = If( json?.PropertyT("memoryInMB"), out var __jsonMemoryInMb) ? (long?)__jsonMemoryInMb : MemoryInMb;} {_numberOfCore = If( json?.PropertyT("numberOfCores"), out var __jsonNumberOfCores) ? (long?)__jsonNumberOfCores : NumberOfCore;} {_uptimeInSecond = If( json?.PropertyT("uptimeInSeconds"), out var __jsonUptimeInSeconds) ? (long?)__jsonUptimeInSeconds : UptimeInSecond;} + {_timeZone = If( json?.PropertyT("timeZone"), out var __jsonTimeZone) ? (string)__jsonTimeZone : (string)TimeZone;} {_provisioningState = If( json?.PropertyT("provisioningState"), out var __jsonProvisioningState) ? (string)__jsonProvisioningState : (string)ProvisioningState;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new AgentProperties(json) : null; } @@ -110,6 +112,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode ToJ { return container; } + AddIf( null != this._uploadLimitSchedule ? (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode) this._uploadLimitSchedule.ToJson(null,serializationMode) : null, "uploadLimitSchedule" ,container.Add ); if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.SerializationMode.IncludeReadOnly)) { AddIf( null != this._errorDetail ? (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode) this._errorDetail.ToJson(null,serializationMode) : null, "errorDetails" ,container.Add ); @@ -146,6 +149,10 @@ public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode ToJ AddIf( null != this._uptimeInSecond ? (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNumber((long)this._uptimeInSecond) : null, "uptimeInSeconds" ,container.Add ); } if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.SerializationMode.IncludeReadOnly)) + { + AddIf( null != (((object)this._timeZone)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonString(this._timeZone.ToString()) : null, "timeZone" ,container.Add ); + } + if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.SerializationMode.IncludeReadOnly)) { AddIf( null != (((object)this._provisioningState)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonString(this._provisioningState.ToString()) : null, "provisioningState" ,container.Add ); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentPropertiesErrorDetails.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentPropertiesErrorDetails.PowerShell.cs similarity index 89% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentPropertiesErrorDetails.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentPropertiesErrorDetails.PowerShell.cs index 5d33753db404..226ef8ccece3 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentPropertiesErrorDetails.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentPropertiesErrorDetails.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -62,7 +62,7 @@ public partial class AgentPropertiesErrorDetails partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -77,17 +77,17 @@ internal AgentPropertiesErrorDetails(global::System.Collections.IDictionary cont // actually deserialize if (content.Contains("Code")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesErrorDetailsInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesErrorDetailsInternal)this).Code, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesErrorDetailsInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesErrorDetailsInternal)this).Code, global::System.Convert.ToString); } if (content.Contains("Message")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesErrorDetailsInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesErrorDetailsInternal)this).Message, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesErrorDetailsInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesErrorDetailsInternal)this).Message, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -102,39 +102,39 @@ internal AgentPropertiesErrorDetails(global::System.Management.Automation.PSObje // actually deserialize if (content.Contains("Code")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesErrorDetailsInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesErrorDetailsInternal)this).Code, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesErrorDetailsInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesErrorDetailsInternal)this).Code, global::System.Convert.ToString); } if (content.Contains("Message")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesErrorDetailsInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesErrorDetailsInternal)this).Message, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesErrorDetailsInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesErrorDetailsInternal)this).Message, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesErrorDetails DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesErrorDetails DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AgentPropertiesErrorDetails(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesErrorDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesErrorDetails DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AgentPropertiesErrorDetails(content); } @@ -144,7 +144,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesErrorDetails FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesErrorDetails FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentPropertiesErrorDetails.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentPropertiesErrorDetails.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentPropertiesErrorDetails.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentPropertiesErrorDetails.TypeConverter.cs index bf191693f4fc..a2cd309cb16d 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentPropertiesErrorDetails.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentPropertiesErrorDetails.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesErrorDetails ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesErrorDetails ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesErrorDetails).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesErrorDetails).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentPropertiesErrorDetails.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentPropertiesErrorDetails.cs similarity index 96% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentPropertiesErrorDetails.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentPropertiesErrorDetails.cs index a79d02ed267f..4d581deb5a12 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentPropertiesErrorDetails.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentPropertiesErrorDetails.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class AgentPropertiesErrorDetails : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesErrorDetails, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesErrorDetailsInternal + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesErrorDetails, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesErrorDetailsInternal { /// Backing field for property. diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentPropertiesErrorDetails.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentPropertiesErrorDetails.json.cs similarity index 97% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentPropertiesErrorDetails.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentPropertiesErrorDetails.json.cs index e7290b7f1f17..e0c203714bdd 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentPropertiesErrorDetails.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentPropertiesErrorDetails.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -70,13 +70,13 @@ internal AgentPropertiesErrorDetails(Microsoft.Azure.PowerShell.Cmdlets.StorageM } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesErrorDetails. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesErrorDetails. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesErrorDetails. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesErrorDetails. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentPropertiesErrorDetails FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentPropertiesErrorDetails FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new AgentPropertiesErrorDetails(json) : null; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentUpdateParameters.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentUpdateParameters.PowerShell.cs similarity index 68% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentUpdateParameters.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentUpdateParameters.PowerShell.cs index 9a5d1566bbec..10883e7e3a64 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentUpdateParameters.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentUpdateParameters.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -63,7 +63,7 @@ public partial class AgentUpdateParameters partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -78,17 +78,25 @@ internal AgentUpdateParameters(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParametersInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParametersInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AgentUpdatePropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParametersInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParametersInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AgentUpdatePropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("UploadLimitSchedule")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParametersInternal)this).UploadLimitSchedule = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitSchedule) content.GetValueForProperty("UploadLimitSchedule",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParametersInternal)this).UploadLimitSchedule, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimitScheduleTypeConverter.ConvertFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParametersInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParametersInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParametersInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParametersInternal)this).Description, global::System.Convert.ToString); + } + if (content.Contains("UploadLimitScheduleWeeklyRecurrence")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParametersInternal)this).UploadLimitScheduleWeeklyRecurrence = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence[]) content.GetValueForProperty("UploadLimitScheduleWeeklyRecurrence",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParametersInternal)this).UploadLimitScheduleWeeklyRecurrence, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimitWeeklyRecurrenceTypeConverter.ConvertFrom)); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -103,37 +111,45 @@ internal AgentUpdateParameters(global::System.Management.Automation.PSObject con // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParametersInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParametersInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AgentUpdatePropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParametersInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParametersInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AgentUpdatePropertiesTypeConverter.ConvertFrom); + } + if (content.Contains("UploadLimitSchedule")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParametersInternal)this).UploadLimitSchedule = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitSchedule) content.GetValueForProperty("UploadLimitSchedule",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParametersInternal)this).UploadLimitSchedule, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimitScheduleTypeConverter.ConvertFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParametersInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParametersInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParametersInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParametersInternal)this).Description, global::System.Convert.ToString); + } + if (content.Contains("UploadLimitScheduleWeeklyRecurrence")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParametersInternal)this).UploadLimitScheduleWeeklyRecurrence = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence[]) content.GetValueForProperty("UploadLimitScheduleWeeklyRecurrence",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParametersInternal)this).UploadLimitScheduleWeeklyRecurrence, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimitWeeklyRecurrenceTypeConverter.ConvertFrom)); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AgentUpdateParameters(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AgentUpdateParameters(content); } @@ -143,7 +159,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentUpdateParameters.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentUpdateParameters.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentUpdateParameters.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentUpdateParameters.TypeConverter.cs index c11f91ee4968..d6d166dc9e13 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentUpdateParameters.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentUpdateParameters.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParameters ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParameters ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParameters).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParameters).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentUpdateParameters.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentUpdateParameters.cs new file mode 100644 index 000000000000..fc451f5ea45c --- /dev/null +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentUpdateParameters.cs @@ -0,0 +1,83 @@ +// 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. + +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; + + /// The Agent resource. + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] + public partial class AgentUpdateParameters : + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParameters, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParametersInternal + { + + /// A description for the Agent. + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] + public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdatePropertiesInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdatePropertiesInternal)Property).Description = value ?? null; } + + /// Internal Acessors for Property + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateProperties Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParametersInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AgentUpdateProperties()); set { {_property = value;} } } + + /// Internal Acessors for UploadLimitSchedule + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitSchedule Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParametersInternal.UploadLimitSchedule { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdatePropertiesInternal)Property).UploadLimitSchedule; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdatePropertiesInternal)Property).UploadLimitSchedule = value; } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateProperties _property; + + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] + internal Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AgentUpdateProperties()); set => this._property = value; } + + /// The set of weekly repeating recurrences of the WAN-link upload limit schedule. + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence[] UploadLimitScheduleWeeklyRecurrence { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdatePropertiesInternal)Property).UploadLimitScheduleWeeklyRecurrence; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdatePropertiesInternal)Property).UploadLimitScheduleWeeklyRecurrence = value ?? null /* arrayOf */; } + + /// Creates an new instance. + public AgentUpdateParameters() + { + + } + } + /// The Agent resource. + public partial interface IAgentUpdateParameters : + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IJsonSerializable + { + /// A description for the Agent. + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"A description for the Agent.", + SerializedName = @"description", + PossibleTypes = new [] { typeof(string) })] + string Description { get; set; } + /// The set of weekly repeating recurrences of the WAN-link upload limit schedule. + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The set of weekly repeating recurrences of the WAN-link upload limit schedule.", + SerializedName = @"weeklyRecurrences", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence) })] + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence[] UploadLimitScheduleWeeklyRecurrence { get; set; } + + } + /// The Agent resource. + internal partial interface IAgentUpdateParametersInternal + + { + /// A description for the Agent. + string Description { get; set; } + + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateProperties Property { get; set; } + /// + /// The WAN-link upload limit schedule that applies to any Job Run the agent executes. Data plane operations (migrating files) + /// are affected. Control plane operations ensure seamless migration functionality and are not limited by this schedule. The + /// schedule is interpreted with the agent's local time. + /// + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitSchedule UploadLimitSchedule { get; set; } + /// The set of weekly repeating recurrences of the WAN-link upload limit schedule. + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence[] UploadLimitScheduleWeeklyRecurrence { get; set; } + + } +} \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentUpdateParameters.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentUpdateParameters.json.cs similarity index 96% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentUpdateParameters.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentUpdateParameters.json.cs index a56c3e10c539..8ecf29e1f7fe 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentUpdateParameters.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentUpdateParameters.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -65,18 +65,18 @@ internal AgentUpdateParameters(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.R { return; } - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AgentUpdateProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AgentUpdateProperties.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParameters. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParameters. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParameters. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParameters. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new AgentUpdateParameters(json) : null; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentUpdateProperties.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentUpdateProperties.PowerShell.cs new file mode 100644 index 000000000000..020ef44084fb --- /dev/null +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentUpdateProperties.PowerShell.cs @@ -0,0 +1,178 @@ +// 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. + +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 +{ + using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; + + [System.ComponentModel.TypeConverter(typeof(AgentUpdatePropertiesTypeConverter))] + public partial class AgentUpdateProperties + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal AgentUpdateProperties(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("UploadLimitSchedule")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdatePropertiesInternal)this).UploadLimitSchedule = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitSchedule) content.GetValueForProperty("UploadLimitSchedule",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdatePropertiesInternal)this).UploadLimitSchedule, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimitScheduleTypeConverter.ConvertFrom); + } + if (content.Contains("Description")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); + } + if (content.Contains("UploadLimitScheduleWeeklyRecurrence")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdatePropertiesInternal)this).UploadLimitScheduleWeeklyRecurrence = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence[]) content.GetValueForProperty("UploadLimitScheduleWeeklyRecurrence",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdatePropertiesInternal)this).UploadLimitScheduleWeeklyRecurrence, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimitWeeklyRecurrenceTypeConverter.ConvertFrom)); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal AgentUpdateProperties(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("UploadLimitSchedule")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdatePropertiesInternal)this).UploadLimitSchedule = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitSchedule) content.GetValueForProperty("UploadLimitSchedule",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdatePropertiesInternal)this).UploadLimitSchedule, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimitScheduleTypeConverter.ConvertFrom); + } + if (content.Contains("Description")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); + } + if (content.Contains("UploadLimitScheduleWeeklyRecurrence")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdatePropertiesInternal)this).UploadLimitScheduleWeeklyRecurrence = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence[]) content.GetValueForProperty("UploadLimitScheduleWeeklyRecurrence",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdatePropertiesInternal)this).UploadLimitScheduleWeeklyRecurrence, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimitWeeklyRecurrenceTypeConverter.ConvertFrom)); + } + AfterDeserializePSObject(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new AgentUpdateProperties(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new AgentUpdateProperties(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + [System.ComponentModel.TypeConverter(typeof(AgentUpdatePropertiesTypeConverter))] + public partial interface IAgentUpdateProperties + + { + + } +} \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentUpdateProperties.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentUpdateProperties.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentUpdateProperties.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentUpdateProperties.TypeConverter.cs index 2fb27005cb77..5e6f919ba15b 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentUpdateProperties.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentUpdateProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentUpdateProperties.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentUpdateProperties.cs new file mode 100644 index 000000000000..2619a1ee9c5b --- /dev/null +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentUpdateProperties.cs @@ -0,0 +1,83 @@ +// 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. + +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; + + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] + public partial class AgentUpdateProperties : + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateProperties, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdatePropertiesInternal + { + + /// Backing field for property. + private string _description; + + /// A description for the Agent. + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] + public string Description { get => this._description; set => this._description = value; } + + /// Internal Acessors for UploadLimitSchedule + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitSchedule Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdatePropertiesInternal.UploadLimitSchedule { get => (this._uploadLimitSchedule = this._uploadLimitSchedule ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimitSchedule()); set { {_uploadLimitSchedule = value;} } } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitSchedule _uploadLimitSchedule; + + /// + /// The WAN-link upload limit schedule that applies to any Job Run the agent executes. Data plane operations (migrating files) + /// are affected. Control plane operations ensure seamless migration functionality and are not limited by this schedule. The + /// schedule is interpreted with the agent's local time. + /// + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] + internal Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitSchedule UploadLimitSchedule { get => (this._uploadLimitSchedule = this._uploadLimitSchedule ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimitSchedule()); set => this._uploadLimitSchedule = value; } + + /// The set of weekly repeating recurrences of the WAN-link upload limit schedule. + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence[] UploadLimitScheduleWeeklyRecurrence { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitScheduleInternal)UploadLimitSchedule).WeeklyRecurrence; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitScheduleInternal)UploadLimitSchedule).WeeklyRecurrence = value ?? null /* arrayOf */; } + + /// Creates an new instance. + public AgentUpdateProperties() + { + + } + } + public partial interface IAgentUpdateProperties : + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IJsonSerializable + { + /// A description for the Agent. + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"A description for the Agent.", + SerializedName = @"description", + PossibleTypes = new [] { typeof(string) })] + string Description { get; set; } + /// The set of weekly repeating recurrences of the WAN-link upload limit schedule. + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The set of weekly repeating recurrences of the WAN-link upload limit schedule.", + SerializedName = @"weeklyRecurrences", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence) })] + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence[] UploadLimitScheduleWeeklyRecurrence { get; set; } + + } + internal partial interface IAgentUpdatePropertiesInternal + + { + /// A description for the Agent. + string Description { get; set; } + /// + /// The WAN-link upload limit schedule that applies to any Job Run the agent executes. Data plane operations (migrating files) + /// are affected. Control plane operations ensure seamless migration functionality and are not limited by this schedule. The + /// schedule is interpreted with the agent's local time. + /// + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitSchedule UploadLimitSchedule { get; set; } + /// The set of weekly repeating recurrences of the WAN-link upload limit schedule. + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence[] UploadLimitScheduleWeeklyRecurrence { get; set; } + + } +} \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentUpdateProperties.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentUpdateProperties.json.cs similarity index 90% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentUpdateProperties.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentUpdateProperties.json.cs index 88e090463ca1..0f3be469e0c3 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentUpdateProperties.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AgentUpdateProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -64,18 +64,19 @@ internal AgentUpdateProperties(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.R { return; } + {_uploadLimitSchedule = If( json?.PropertyT("uploadLimitSchedule"), out var __jsonUploadLimitSchedule) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimitSchedule.FromJson(__jsonUploadLimitSchedule) : UploadLimitSchedule;} {_description = If( json?.PropertyT("description"), out var __jsonDescription) ? (string)__jsonDescription : (string)Description;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new AgentUpdateProperties(json) : null; } @@ -99,6 +100,7 @@ public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode ToJ { return container; } + AddIf( null != this._uploadLimitSchedule ? (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode) this._uploadLimitSchedule.ToJson(null,serializationMode) : null, "uploadLimitSchedule" ,container.Add ); AddIf( null != (((object)this._description)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonString(this._description.ToString()) : null, "description" ,container.Add ); AfterToJson(ref container); return container; diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureKeyVaultSmbCredentials.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureKeyVaultSmbCredentials.PowerShell.cs similarity index 87% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureKeyVaultSmbCredentials.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureKeyVaultSmbCredentials.PowerShell.cs index 3141d8adf72c..e349420227f1 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureKeyVaultSmbCredentials.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureKeyVaultSmbCredentials.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -63,7 +63,7 @@ public partial class AzureKeyVaultSmbCredentials partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -78,21 +78,21 @@ internal AzureKeyVaultSmbCredentials(global::System.Collections.IDictionary cont // actually deserialize if (content.Contains("UsernameUri")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentialsInternal)this).UsernameUri = (string) content.GetValueForProperty("UsernameUri",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentialsInternal)this).UsernameUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentialsInternal)this).UsernameUri = (string) content.GetValueForProperty("UsernameUri",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentialsInternal)this).UsernameUri, global::System.Convert.ToString); } if (content.Contains("PasswordUri")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentialsInternal)this).PasswordUri = (string) content.GetValueForProperty("PasswordUri",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentialsInternal)this).PasswordUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentialsInternal)this).PasswordUri = (string) content.GetValueForProperty("PasswordUri",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentialsInternal)this).PasswordUri, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ICredentialsInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ICredentialsInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentialsInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentialsInternal)this).Type, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -107,43 +107,43 @@ internal AzureKeyVaultSmbCredentials(global::System.Management.Automation.PSObje // actually deserialize if (content.Contains("UsernameUri")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentialsInternal)this).UsernameUri = (string) content.GetValueForProperty("UsernameUri",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentialsInternal)this).UsernameUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentialsInternal)this).UsernameUri = (string) content.GetValueForProperty("UsernameUri",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentialsInternal)this).UsernameUri, global::System.Convert.ToString); } if (content.Contains("PasswordUri")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentialsInternal)this).PasswordUri = (string) content.GetValueForProperty("PasswordUri",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentialsInternal)this).PasswordUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentialsInternal)this).PasswordUri = (string) content.GetValueForProperty("PasswordUri",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentialsInternal)this).PasswordUri, global::System.Convert.ToString); } if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ICredentialsInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ICredentialsInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentialsInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentialsInternal)this).Type, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentials DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentials DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AzureKeyVaultSmbCredentials(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentials DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentials DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureKeyVaultSmbCredentials(content); } @@ -153,7 +153,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentials FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentials FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureKeyVaultSmbCredentials.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureKeyVaultSmbCredentials.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureKeyVaultSmbCredentials.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureKeyVaultSmbCredentials.TypeConverter.cs index cf953d0773de..3e67f5181e21 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureKeyVaultSmbCredentials.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureKeyVaultSmbCredentials.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentials ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentials ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentials).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentials).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureKeyVaultSmbCredentials.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureKeyVaultSmbCredentials.cs similarity index 90% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureKeyVaultSmbCredentials.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureKeyVaultSmbCredentials.cs index 768055401150..e1ab2a22b883 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureKeyVaultSmbCredentials.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureKeyVaultSmbCredentials.cs @@ -3,24 +3,24 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; /// The Azure Key Vault secret URIs which store the credentials. public partial class AzureKeyVaultSmbCredentials : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentials, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentialsInternal, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentials, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentialsInternal, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ICredentials __credentials = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.Credentials(); + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentials __credentials = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.Credentials(); /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ICredentialsInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ICredentialsInternal)__credentials).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ICredentialsInternal)__credentials).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentialsInternal.Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentialsInternal)__credentials).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentialsInternal)__credentials).Type = value; } /// Backing field for property. private string _passwordUri; @@ -33,7 +33,7 @@ public partial class AzureKeyVaultSmbCredentials : /// The Credentials type. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] - public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ICredentialsInternal)__credentials).Type; } + public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentialsInternal)__credentials).Type; } /// Backing field for property. private string _usernameUri; @@ -65,7 +65,7 @@ public AzureKeyVaultSmbCredentials() /// The Azure Key Vault secret URIs which store the credentials. public partial interface IAzureKeyVaultSmbCredentials : Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ICredentials + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentials { /// /// The Azure Key Vault secret URI which stores the password. Use empty string to clean-up existing value. @@ -91,7 +91,7 @@ public partial interface IAzureKeyVaultSmbCredentials : } /// The Azure Key Vault secret URIs which store the credentials. internal partial interface IAzureKeyVaultSmbCredentialsInternal : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ICredentialsInternal + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentialsInternal { /// /// The Azure Key Vault secret URI which stores the password. Use empty string to clean-up existing value. diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureKeyVaultSmbCredentials.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureKeyVaultSmbCredentials.json.cs similarity index 97% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureKeyVaultSmbCredentials.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureKeyVaultSmbCredentials.json.cs index c62b810a5c00..2cb2c11dc79e 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureKeyVaultSmbCredentials.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureKeyVaultSmbCredentials.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -65,20 +65,20 @@ internal AzureKeyVaultSmbCredentials(Microsoft.Azure.PowerShell.Cmdlets.StorageM { return; } - __credentials = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.Credentials(json); + __credentials = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.Credentials(json); {_usernameUri = If( json?.PropertyT("usernameUri"), out var __jsonUsernameUri) ? (string)__jsonUsernameUri : (string)UsernameUri;} {_passwordUri = If( json?.PropertyT("passwordUri"), out var __jsonPasswordUri) ? (string)__jsonPasswordUri : (string)PasswordUri;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentials. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentials. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentials. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentials. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentials FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentials FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new AzureKeyVaultSmbCredentials(json) : null; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageBlobContainerEndpointProperties.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageBlobContainerEndpointProperties.PowerShell.cs similarity index 86% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageBlobContainerEndpointProperties.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageBlobContainerEndpointProperties.PowerShell.cs index f3816763dd86..05790fe80d4f 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageBlobContainerEndpointProperties.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageBlobContainerEndpointProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -63,7 +63,7 @@ public partial class AzureStorageBlobContainerEndpointProperties partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -78,29 +78,29 @@ internal AzureStorageBlobContainerEndpointProperties(global::System.Collections. // actually deserialize if (content.Contains("StorageAccountResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageBlobContainerEndpointPropertiesInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageBlobContainerEndpointPropertiesInternal)this).StorageAccountResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageBlobContainerEndpointPropertiesInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageBlobContainerEndpointPropertiesInternal)this).StorageAccountResourceId, global::System.Convert.ToString); } if (content.Contains("BlobContainerName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageBlobContainerEndpointPropertiesInternal)this).BlobContainerName = (string) content.GetValueForProperty("BlobContainerName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageBlobContainerEndpointPropertiesInternal)this).BlobContainerName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageBlobContainerEndpointPropertiesInternal)this).BlobContainerName = (string) content.GetValueForProperty("BlobContainerName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageBlobContainerEndpointPropertiesInternal)this).BlobContainerName, global::System.Convert.ToString); } if (content.Contains("EndpointType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).Description, global::System.Convert.ToString); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -115,51 +115,51 @@ internal AzureStorageBlobContainerEndpointProperties(global::System.Management.A // actually deserialize if (content.Contains("StorageAccountResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageBlobContainerEndpointPropertiesInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageBlobContainerEndpointPropertiesInternal)this).StorageAccountResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageBlobContainerEndpointPropertiesInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageBlobContainerEndpointPropertiesInternal)this).StorageAccountResourceId, global::System.Convert.ToString); } if (content.Contains("BlobContainerName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageBlobContainerEndpointPropertiesInternal)this).BlobContainerName = (string) content.GetValueForProperty("BlobContainerName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageBlobContainerEndpointPropertiesInternal)this).BlobContainerName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageBlobContainerEndpointPropertiesInternal)this).BlobContainerName = (string) content.GetValueForProperty("BlobContainerName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageBlobContainerEndpointPropertiesInternal)this).BlobContainerName, global::System.Convert.ToString); } if (content.Contains("EndpointType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).Description, global::System.Convert.ToString); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageBlobContainerEndpointProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageBlobContainerEndpointProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AzureStorageBlobContainerEndpointProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageBlobContainerEndpointProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageBlobContainerEndpointProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureStorageBlobContainerEndpointProperties(content); } @@ -172,7 +172,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageBlobContainerEndpointProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageBlobContainerEndpointProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageBlobContainerEndpointProperties.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageBlobContainerEndpointProperties.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageBlobContainerEndpointProperties.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageBlobContainerEndpointProperties.TypeConverter.cs index b797db2f343c..0dae2f36be7d 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageBlobContainerEndpointProperties.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageBlobContainerEndpointProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -110,14 +110,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageBlobContainerEndpointProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageBlobContainerEndpointProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageBlobContainerEndpointProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageBlobContainerEndpointProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageBlobContainerEndpointProperties.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageBlobContainerEndpointProperties.cs similarity index 88% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageBlobContainerEndpointProperties.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageBlobContainerEndpointProperties.cs index a28ed635d1df..d3227c0c33e4 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageBlobContainerEndpointProperties.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageBlobContainerEndpointProperties.cs @@ -3,22 +3,22 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; /// The properties of Azure Storage blob container endpoint. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class AzureStorageBlobContainerEndpointProperties : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageBlobContainerEndpointProperties, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageBlobContainerEndpointPropertiesInternal, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageBlobContainerEndpointProperties, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageBlobContainerEndpointPropertiesInternal, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseProperties __endpointBaseProperties = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.EndpointBaseProperties(); + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseProperties __endpointBaseProperties = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.EndpointBaseProperties(); /// Backing field for property. private string _blobContainerName; @@ -29,18 +29,18 @@ public partial class AzureStorageBlobContainerEndpointProperties : /// A description for the Endpoint. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] - public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)__endpointBaseProperties).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)__endpointBaseProperties).Description = value ?? null; } + public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)__endpointBaseProperties).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)__endpointBaseProperties).Description = value ?? null; } /// The Endpoint resource type. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType EndpointType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)__endpointBaseProperties).EndpointType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)__endpointBaseProperties).EndpointType = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType EndpointType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)__endpointBaseProperties).EndpointType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)__endpointBaseProperties).EndpointType = value ; } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)__endpointBaseProperties).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)__endpointBaseProperties).ProvisioningState = value; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)__endpointBaseProperties).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)__endpointBaseProperties).ProvisioningState = value; } /// The provisioning state of this resource. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)__endpointBaseProperties).ProvisioningState; } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)__endpointBaseProperties).ProvisioningState; } /// Backing field for property. private string _storageAccountResourceId; @@ -72,7 +72,7 @@ public AzureStorageBlobContainerEndpointProperties() /// The properties of Azure Storage blob container endpoint. public partial interface IAzureStorageBlobContainerEndpointProperties : Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseProperties + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseProperties { /// The name of the Storage blob container that is the target destination. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Info( @@ -94,7 +94,7 @@ public partial interface IAzureStorageBlobContainerEndpointProperties : } /// The properties of Azure Storage blob container endpoint. internal partial interface IAzureStorageBlobContainerEndpointPropertiesInternal : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal { /// The name of the Storage blob container that is the target destination. string BlobContainerName { get; set; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageBlobContainerEndpointProperties.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageBlobContainerEndpointProperties.json.cs similarity index 96% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageBlobContainerEndpointProperties.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageBlobContainerEndpointProperties.json.cs index e1800ac791fa..c45ba94ac4ac 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageBlobContainerEndpointProperties.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageBlobContainerEndpointProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -65,20 +65,20 @@ internal AzureStorageBlobContainerEndpointProperties(Microsoft.Azure.PowerShell. { return; } - __endpointBaseProperties = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.EndpointBaseProperties(json); + __endpointBaseProperties = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.EndpointBaseProperties(json); {_storageAccountResourceId = If( json?.PropertyT("storageAccountResourceId"), out var __jsonStorageAccountResourceId) ? (string)__jsonStorageAccountResourceId : (string)StorageAccountResourceId;} {_blobContainerName = If( json?.PropertyT("blobContainerName"), out var __jsonBlobContainerName) ? (string)__jsonBlobContainerName : (string)BlobContainerName;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageBlobContainerEndpointProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageBlobContainerEndpointProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageBlobContainerEndpointProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageBlobContainerEndpointProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageBlobContainerEndpointProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageBlobContainerEndpointProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new AzureStorageBlobContainerEndpointProperties(json) : null; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageBlobContainerEndpointUpdateProperties.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageBlobContainerEndpointUpdateProperties.PowerShell.cs similarity index 90% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageBlobContainerEndpointUpdateProperties.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageBlobContainerEndpointUpdateProperties.PowerShell.cs index d9c4c43aa03a..803928f94d9a 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageBlobContainerEndpointUpdateProperties.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageBlobContainerEndpointUpdateProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -62,7 +62,7 @@ public partial class AzureStorageBlobContainerEndpointUpdateProperties partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -77,17 +77,17 @@ internal AzureStorageBlobContainerEndpointUpdateProperties(global::System.Collec // actually deserialize if (content.Contains("EndpointType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -102,39 +102,39 @@ internal AzureStorageBlobContainerEndpointUpdateProperties(global::System.Manage // actually deserialize if (content.Contains("EndpointType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageBlobContainerEndpointUpdateProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageBlobContainerEndpointUpdateProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AzureStorageBlobContainerEndpointUpdateProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageBlobContainerEndpointUpdateProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageBlobContainerEndpointUpdateProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureStorageBlobContainerEndpointUpdateProperties(content); } @@ -147,7 +147,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageBlobContainerEndpointUpdateProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageBlobContainerEndpointUpdateProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageBlobContainerEndpointUpdateProperties.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageBlobContainerEndpointUpdateProperties.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageBlobContainerEndpointUpdateProperties.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageBlobContainerEndpointUpdateProperties.TypeConverter.cs index ea718fdda6e8..e2a4a832ae56 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageBlobContainerEndpointUpdateProperties.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageBlobContainerEndpointUpdateProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -112,14 +112,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// an instance of , or null if there is no suitable /// conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageBlobContainerEndpointUpdateProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageBlobContainerEndpointUpdateProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageBlobContainerEndpointUpdateProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageBlobContainerEndpointUpdateProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageBlobContainerEndpointUpdateProperties.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageBlobContainerEndpointUpdateProperties.cs similarity index 84% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageBlobContainerEndpointUpdateProperties.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageBlobContainerEndpointUpdateProperties.cs index fb232d842ec2..a1028243061d 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageBlobContainerEndpointUpdateProperties.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageBlobContainerEndpointUpdateProperties.cs @@ -3,29 +3,29 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class AzureStorageBlobContainerEndpointUpdateProperties : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageBlobContainerEndpointUpdateProperties, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageBlobContainerEndpointUpdatePropertiesInternal, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageBlobContainerEndpointUpdateProperties, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageBlobContainerEndpointUpdatePropertiesInternal, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateProperties __endpointBaseUpdateProperties = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.EndpointBaseUpdateProperties(); + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateProperties __endpointBaseUpdateProperties = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.EndpointBaseUpdateProperties(); /// A description for the Endpoint. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] - public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)__endpointBaseUpdateProperties).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)__endpointBaseUpdateProperties).Description = value ?? null; } + public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)__endpointBaseUpdateProperties).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)__endpointBaseUpdateProperties).Description = value ?? null; } /// The Endpoint resource type. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType EndpointType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)__endpointBaseUpdateProperties).EndpointType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)__endpointBaseUpdateProperties).EndpointType = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType EndpointType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)__endpointBaseUpdateProperties).EndpointType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)__endpointBaseUpdateProperties).EndpointType = value ; } /// /// Creates an new instance. @@ -49,12 +49,12 @@ public AzureStorageBlobContainerEndpointUpdateProperties() } public partial interface IAzureStorageBlobContainerEndpointUpdateProperties : Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateProperties + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateProperties { } internal partial interface IAzureStorageBlobContainerEndpointUpdatePropertiesInternal : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal { } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageBlobContainerEndpointUpdateProperties.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageBlobContainerEndpointUpdateProperties.json.cs similarity index 96% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageBlobContainerEndpointUpdateProperties.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageBlobContainerEndpointUpdateProperties.json.cs index e418476f691e..b253038dfca0 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageBlobContainerEndpointUpdateProperties.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageBlobContainerEndpointUpdateProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -65,18 +65,18 @@ internal AzureStorageBlobContainerEndpointUpdateProperties(Microsoft.Azure.Power { return; } - __endpointBaseUpdateProperties = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.EndpointBaseUpdateProperties(json); + __endpointBaseUpdateProperties = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.EndpointBaseUpdateProperties(json); AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageBlobContainerEndpointUpdateProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageBlobContainerEndpointUpdateProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageBlobContainerEndpointUpdateProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageBlobContainerEndpointUpdateProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageBlobContainerEndpointUpdateProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageBlobContainerEndpointUpdateProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new AzureStorageBlobContainerEndpointUpdateProperties(json) : null; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageSmbFileShareEndpointProperties.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageSmbFileShareEndpointProperties.PowerShell.cs similarity index 86% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageSmbFileShareEndpointProperties.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageSmbFileShareEndpointProperties.PowerShell.cs index 89eb8b86f2e3..001b0f84ce69 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageSmbFileShareEndpointProperties.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageSmbFileShareEndpointProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -63,7 +63,7 @@ public partial class AzureStorageSmbFileShareEndpointProperties partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -78,29 +78,29 @@ internal AzureStorageSmbFileShareEndpointProperties(global::System.Collections.I // actually deserialize if (content.Contains("StorageAccountResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageSmbFileShareEndpointPropertiesInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageSmbFileShareEndpointPropertiesInternal)this).StorageAccountResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageSmbFileShareEndpointPropertiesInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageSmbFileShareEndpointPropertiesInternal)this).StorageAccountResourceId, global::System.Convert.ToString); } if (content.Contains("FileShareName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageSmbFileShareEndpointPropertiesInternal)this).FileShareName = (string) content.GetValueForProperty("FileShareName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageSmbFileShareEndpointPropertiesInternal)this).FileShareName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageSmbFileShareEndpointPropertiesInternal)this).FileShareName = (string) content.GetValueForProperty("FileShareName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageSmbFileShareEndpointPropertiesInternal)this).FileShareName, global::System.Convert.ToString); } if (content.Contains("EndpointType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).Description, global::System.Convert.ToString); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -115,51 +115,51 @@ internal AzureStorageSmbFileShareEndpointProperties(global::System.Management.Au // actually deserialize if (content.Contains("StorageAccountResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageSmbFileShareEndpointPropertiesInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageSmbFileShareEndpointPropertiesInternal)this).StorageAccountResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageSmbFileShareEndpointPropertiesInternal)this).StorageAccountResourceId = (string) content.GetValueForProperty("StorageAccountResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageSmbFileShareEndpointPropertiesInternal)this).StorageAccountResourceId, global::System.Convert.ToString); } if (content.Contains("FileShareName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageSmbFileShareEndpointPropertiesInternal)this).FileShareName = (string) content.GetValueForProperty("FileShareName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageSmbFileShareEndpointPropertiesInternal)this).FileShareName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageSmbFileShareEndpointPropertiesInternal)this).FileShareName = (string) content.GetValueForProperty("FileShareName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageSmbFileShareEndpointPropertiesInternal)this).FileShareName, global::System.Convert.ToString); } if (content.Contains("EndpointType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).Description, global::System.Convert.ToString); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageSmbFileShareEndpointProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageSmbFileShareEndpointProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AzureStorageSmbFileShareEndpointProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageSmbFileShareEndpointProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageSmbFileShareEndpointProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureStorageSmbFileShareEndpointProperties(content); } @@ -172,7 +172,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageSmbFileShareEndpointProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageSmbFileShareEndpointProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageSmbFileShareEndpointProperties.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageSmbFileShareEndpointProperties.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageSmbFileShareEndpointProperties.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageSmbFileShareEndpointProperties.TypeConverter.cs index 44ece9291b11..793b2e92afdb 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageSmbFileShareEndpointProperties.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageSmbFileShareEndpointProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -110,14 +110,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageSmbFileShareEndpointProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageSmbFileShareEndpointProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageSmbFileShareEndpointProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageSmbFileShareEndpointProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageSmbFileShareEndpointProperties.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageSmbFileShareEndpointProperties.cs similarity index 87% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageSmbFileShareEndpointProperties.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageSmbFileShareEndpointProperties.cs index 4acc73806416..54d1c9f838dc 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageSmbFileShareEndpointProperties.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageSmbFileShareEndpointProperties.cs @@ -3,30 +3,30 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; /// The properties of Azure Storage SMB file share endpoint. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class AzureStorageSmbFileShareEndpointProperties : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageSmbFileShareEndpointProperties, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageSmbFileShareEndpointPropertiesInternal, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageSmbFileShareEndpointProperties, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageSmbFileShareEndpointPropertiesInternal, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseProperties __endpointBaseProperties = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.EndpointBaseProperties(); + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseProperties __endpointBaseProperties = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.EndpointBaseProperties(); /// A description for the Endpoint. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] - public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)__endpointBaseProperties).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)__endpointBaseProperties).Description = value ?? null; } + public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)__endpointBaseProperties).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)__endpointBaseProperties).Description = value ?? null; } /// The Endpoint resource type. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType EndpointType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)__endpointBaseProperties).EndpointType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)__endpointBaseProperties).EndpointType = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType EndpointType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)__endpointBaseProperties).EndpointType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)__endpointBaseProperties).EndpointType = value ; } /// Backing field for property. private string _fileShareName; @@ -36,11 +36,11 @@ public partial class AzureStorageSmbFileShareEndpointProperties : public string FileShareName { get => this._fileShareName; set => this._fileShareName = value; } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)__endpointBaseProperties).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)__endpointBaseProperties).ProvisioningState = value; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)__endpointBaseProperties).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)__endpointBaseProperties).ProvisioningState = value; } /// The provisioning state of this resource. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)__endpointBaseProperties).ProvisioningState; } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)__endpointBaseProperties).ProvisioningState; } /// Backing field for property. private string _storageAccountResourceId; @@ -72,7 +72,7 @@ public AzureStorageSmbFileShareEndpointProperties() /// The properties of Azure Storage SMB file share endpoint. public partial interface IAzureStorageSmbFileShareEndpointProperties : Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseProperties + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseProperties { /// The name of the Azure Storage file share. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Info( @@ -94,7 +94,7 @@ public partial interface IAzureStorageSmbFileShareEndpointProperties : } /// The properties of Azure Storage SMB file share endpoint. internal partial interface IAzureStorageSmbFileShareEndpointPropertiesInternal : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal { /// The name of the Azure Storage file share. string FileShareName { get; set; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageSmbFileShareEndpointProperties.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageSmbFileShareEndpointProperties.json.cs similarity index 96% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageSmbFileShareEndpointProperties.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageSmbFileShareEndpointProperties.json.cs index afea0dbfeb29..dff3afe7717b 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageSmbFileShareEndpointProperties.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageSmbFileShareEndpointProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -65,20 +65,20 @@ internal AzureStorageSmbFileShareEndpointProperties(Microsoft.Azure.PowerShell.C { return; } - __endpointBaseProperties = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.EndpointBaseProperties(json); + __endpointBaseProperties = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.EndpointBaseProperties(json); {_storageAccountResourceId = If( json?.PropertyT("storageAccountResourceId"), out var __jsonStorageAccountResourceId) ? (string)__jsonStorageAccountResourceId : (string)StorageAccountResourceId;} {_fileShareName = If( json?.PropertyT("fileShareName"), out var __jsonFileShareName) ? (string)__jsonFileShareName : (string)FileShareName;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageSmbFileShareEndpointProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageSmbFileShareEndpointProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageSmbFileShareEndpointProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageSmbFileShareEndpointProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageSmbFileShareEndpointProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageSmbFileShareEndpointProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new AzureStorageSmbFileShareEndpointProperties(json) : null; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageSmbFileShareEndpointUpdateProperties.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageSmbFileShareEndpointUpdateProperties.PowerShell.cs similarity index 90% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageSmbFileShareEndpointUpdateProperties.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageSmbFileShareEndpointUpdateProperties.PowerShell.cs index f87ac0d5854b..659f282659e3 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageSmbFileShareEndpointUpdateProperties.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageSmbFileShareEndpointUpdateProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -63,7 +63,7 @@ public partial class AzureStorageSmbFileShareEndpointUpdateProperties partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -78,17 +78,17 @@ internal AzureStorageSmbFileShareEndpointUpdateProperties(global::System.Collect // actually deserialize if (content.Contains("EndpointType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -103,39 +103,39 @@ internal AzureStorageSmbFileShareEndpointUpdateProperties(global::System.Managem // actually deserialize if (content.Contains("EndpointType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageSmbFileShareEndpointUpdateProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageSmbFileShareEndpointUpdateProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new AzureStorageSmbFileShareEndpointUpdateProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageSmbFileShareEndpointUpdateProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageSmbFileShareEndpointUpdateProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new AzureStorageSmbFileShareEndpointUpdateProperties(content); } @@ -148,7 +148,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// an instance of the model class. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageSmbFileShareEndpointUpdateProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageSmbFileShareEndpointUpdateProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageSmbFileShareEndpointUpdateProperties.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageSmbFileShareEndpointUpdateProperties.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageSmbFileShareEndpointUpdateProperties.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageSmbFileShareEndpointUpdateProperties.TypeConverter.cs index 8f9d61674ec6..71a2b6f6639a 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageSmbFileShareEndpointUpdateProperties.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageSmbFileShareEndpointUpdateProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -112,14 +112,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// an instance of , or null if there is no suitable /// conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageSmbFileShareEndpointUpdateProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageSmbFileShareEndpointUpdateProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageSmbFileShareEndpointUpdateProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageSmbFileShareEndpointUpdateProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageSmbFileShareEndpointUpdateProperties.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageSmbFileShareEndpointUpdateProperties.cs similarity index 85% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageSmbFileShareEndpointUpdateProperties.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageSmbFileShareEndpointUpdateProperties.cs index 59ae768322b6..1b8e7e51eaec 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageSmbFileShareEndpointUpdateProperties.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageSmbFileShareEndpointUpdateProperties.cs @@ -3,30 +3,30 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; /// The properties of Azure Storage SMB file share endpoint to update. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class AzureStorageSmbFileShareEndpointUpdateProperties : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageSmbFileShareEndpointUpdateProperties, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageSmbFileShareEndpointUpdatePropertiesInternal, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageSmbFileShareEndpointUpdateProperties, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageSmbFileShareEndpointUpdatePropertiesInternal, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateProperties __endpointBaseUpdateProperties = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.EndpointBaseUpdateProperties(); + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateProperties __endpointBaseUpdateProperties = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.EndpointBaseUpdateProperties(); /// A description for the Endpoint. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] - public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)__endpointBaseUpdateProperties).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)__endpointBaseUpdateProperties).Description = value ?? null; } + public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)__endpointBaseUpdateProperties).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)__endpointBaseUpdateProperties).Description = value ?? null; } /// The Endpoint resource type. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType EndpointType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)__endpointBaseUpdateProperties).EndpointType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)__endpointBaseUpdateProperties).EndpointType = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType EndpointType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)__endpointBaseUpdateProperties).EndpointType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)__endpointBaseUpdateProperties).EndpointType = value ; } /// /// Creates an new instance. @@ -51,13 +51,13 @@ public AzureStorageSmbFileShareEndpointUpdateProperties() /// The properties of Azure Storage SMB file share endpoint to update. public partial interface IAzureStorageSmbFileShareEndpointUpdateProperties : Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateProperties + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateProperties { } /// The properties of Azure Storage SMB file share endpoint to update. internal partial interface IAzureStorageSmbFileShareEndpointUpdatePropertiesInternal : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal { } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageSmbFileShareEndpointUpdateProperties.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageSmbFileShareEndpointUpdateProperties.json.cs similarity index 96% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageSmbFileShareEndpointUpdateProperties.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageSmbFileShareEndpointUpdateProperties.json.cs index e52047ebc51f..bde1a2f63658 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AzureStorageSmbFileShareEndpointUpdateProperties.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/AzureStorageSmbFileShareEndpointUpdateProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -66,18 +66,18 @@ internal AzureStorageSmbFileShareEndpointUpdateProperties(Microsoft.Azure.PowerS { return; } - __endpointBaseUpdateProperties = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.EndpointBaseUpdateProperties(json); + __endpointBaseUpdateProperties = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.EndpointBaseUpdateProperties(json); AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageSmbFileShareEndpointUpdateProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageSmbFileShareEndpointUpdateProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageSmbFileShareEndpointUpdateProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageSmbFileShareEndpointUpdateProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureStorageSmbFileShareEndpointUpdateProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureStorageSmbFileShareEndpointUpdateProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new AzureStorageSmbFileShareEndpointUpdateProperties(json) : null; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Credentials.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Credentials.PowerShell.cs similarity index 90% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Credentials.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Credentials.PowerShell.cs index 83688c98e2b2..ff47a28d2bd2 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Credentials.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Credentials.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -63,7 +63,7 @@ public partial class Credentials partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -78,13 +78,13 @@ internal Credentials(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ICredentialsInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ICredentialsInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentialsInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentialsInternal)this).Type, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -99,33 +99,33 @@ internal Credentials(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Type")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ICredentialsInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ICredentialsInternal)this).Type, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentialsInternal)this).Type = (string) content.GetValueForProperty("Type",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentialsInternal)this).Type, global::System.Convert.ToString); } AfterDeserializePSObject(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ICredentials DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentials DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new Credentials(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ICredentials DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentials DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new Credentials(content); } @@ -135,7 +135,7 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ICredentials FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentials FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Credentials.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Credentials.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Credentials.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Credentials.TypeConverter.cs index ca9bed2b59dc..e130feb398ae 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Credentials.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Credentials.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ICredentials ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentials ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ICredentials).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentials).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Credentials.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Credentials.cs similarity index 93% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Credentials.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Credentials.cs index b294e36e7448..7696f72ddba6 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Credentials.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Credentials.cs @@ -3,18 +3,18 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; /// The Credentials. public partial class Credentials : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ICredentials, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ICredentialsInternal + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentials, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentialsInternal { /// Internal Acessors for Type - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ICredentialsInternal.Type { get => this._type; set { {_type = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentialsInternal.Type { get => this._type; set { {_type = value;} } } /// Backing field for property. private string _type= @"AzureKeyVaultSmb"; diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Credentials.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Credentials.json.cs similarity index 97% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Credentials.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Credentials.json.cs index 2564d748930e..5440a3dd68b9 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Credentials.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Credentials.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -70,15 +70,15 @@ internal Credentials(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Jso } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ICredentials. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ICredentials interface is polymorphic, and + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentials. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentials interface is polymorphic, and /// the precise model class that will get deserialized is determined at runtime based on the payload. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ICredentials. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentials. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ICredentials FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentials FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { if (!(node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json)) { diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Endpoint.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Endpoint.PowerShell.cs similarity index 94% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Endpoint.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Endpoint.PowerShell.cs index 7915b986ff04..f6387a69e91d 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Endpoint.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Endpoint.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -65,33 +65,33 @@ public partial class Endpoint partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new Endpoint(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new Endpoint(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -106,7 +106,7 @@ internal Endpoint(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.EndpointBasePropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.EndpointBasePropertiesTypeConverter.ConvertFrom); } if (content.Contains("SystemDataCreatedBy")) { @@ -152,7 +152,7 @@ internal Endpoint(global::System.Collections.IDictionary content) } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -167,7 +167,7 @@ internal Endpoint(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.EndpointBasePropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.EndpointBasePropertiesTypeConverter.ConvertFrom); } if (content.Contains("SystemDataCreatedBy")) { @@ -217,7 +217,7 @@ internal Endpoint(global::System.Management.Automation.PSObject content) /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Endpoint.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Endpoint.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Endpoint.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Endpoint.TypeConverter.cs index 0fdab9a649e3..71907ca52dcb 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Endpoint.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Endpoint.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -105,14 +105,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Endpoint.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Endpoint.cs similarity index 96% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Endpoint.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Endpoint.cs index 1616556440b9..f372f8290389 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Endpoint.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Endpoint.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -12,8 +12,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class Endpoint : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointInternal, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointInternal, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IValidates { /// @@ -45,11 +45,11 @@ public partial class Endpoint : public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.IResourceInternal)__resource).Name; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseProperties _property; /// The resource specific properties for the Storage Mover resource. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.EndpointBaseProperties()); set => this._property = value; } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.EndpointBaseProperties()); set => this._property = value; } /// /// Azure Resource Manager metadata containing createdBy and modifiedBy information. @@ -116,8 +116,8 @@ public partial interface IEndpoint : ReadOnly = false, Description = @"The resource specific properties for the Storage Mover resource.", SerializedName = @"properties", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseProperties) })] - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseProperties Property { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseProperties) })] + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseProperties Property { get; set; } } /// The Endpoint resource, which contains information about file sources and targets. @@ -125,7 +125,7 @@ internal partial interface IEndpointInternal : Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.IResourceInternal { /// The resource specific properties for the Storage Mover resource. - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseProperties Property { get; set; } } } \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Endpoint.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Endpoint.json.cs similarity index 97% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Endpoint.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Endpoint.json.cs index 98bac01a3518..485531411d75 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Endpoint.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Endpoint.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -68,18 +68,18 @@ internal Endpoint(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.J return; } __resource = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.Resource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.EndpointBaseProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.EndpointBaseProperties.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new Endpoint(json) : null; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseProperties.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseProperties.PowerShell.cs similarity index 88% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseProperties.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseProperties.PowerShell.cs index 77becf41eed9..636b3cd89c42 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseProperties.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -63,35 +63,35 @@ public partial class EndpointBaseProperties partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new EndpointBaseProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new EndpointBaseProperties(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -106,21 +106,21 @@ internal EndpointBaseProperties(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("EndpointType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).Description, global::System.Convert.ToString); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -135,15 +135,15 @@ internal EndpointBaseProperties(global::System.Management.Automation.PSObject co // actually deserialize if (content.Contains("EndpointType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).Description, global::System.Convert.ToString); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); } AfterDeserializePSObject(content); } @@ -153,7 +153,7 @@ internal EndpointBaseProperties(global::System.Management.Automation.PSObject co /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseProperties.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseProperties.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseProperties.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseProperties.TypeConverter.cs index 743b23c607a9..0dbbe953ab37 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseProperties.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseProperties.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseProperties.cs similarity index 96% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseProperties.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseProperties.cs index 6fe25d2dcbc2..19a205504af3 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseProperties.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseProperties.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; /// The resource specific properties for the Storage Mover resource. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class EndpointBaseProperties : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseProperties, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseProperties, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal { /// Backing field for property. @@ -29,7 +29,7 @@ public partial class EndpointBaseProperties : public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType EndpointType { get => this._endpointType; set => this._endpointType = value; } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? _provisioningState; diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseProperties.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseProperties.json.cs similarity index 97% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseProperties.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseProperties.json.cs index 925302e14052..803129b31b4a 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseProperties.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -72,15 +72,15 @@ internal EndpointBaseProperties(Microsoft.Azure.PowerShell.Cmdlets.StorageMover. } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseProperties. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseProperties interface is polymorphic, + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseProperties. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseProperties interface is polymorphic, /// and the precise model class that will get deserialized is determined at runtime based on the payload. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { if (!(node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json)) { diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseUpdateParameters.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseUpdateParameters.PowerShell.cs similarity index 88% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseUpdateParameters.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseUpdateParameters.PowerShell.cs index bb11db7552e8..e158853b1859 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseUpdateParameters.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseUpdateParameters.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -63,35 +63,35 @@ public partial class EndpointBaseUpdateParameters partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new EndpointBaseUpdateParameters(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new EndpointBaseUpdateParameters(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -106,13 +106,13 @@ internal EndpointBaseUpdateParameters(global::System.Collections.IDictionary con // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateParametersInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateParametersInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.EndpointBaseUpdatePropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateParametersInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateParametersInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.EndpointBaseUpdatePropertiesTypeConverter.ConvertFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -127,7 +127,7 @@ internal EndpointBaseUpdateParameters(global::System.Management.Automation.PSObj // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateParametersInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateParametersInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.EndpointBaseUpdatePropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateParametersInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateParametersInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.EndpointBaseUpdatePropertiesTypeConverter.ConvertFrom); } AfterDeserializePSObject(content); } @@ -137,7 +137,7 @@ internal EndpointBaseUpdateParameters(global::System.Management.Automation.PSObj /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseUpdateParameters.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseUpdateParameters.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseUpdateParameters.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseUpdateParameters.TypeConverter.cs index c0634de88837..edd29fd6eabf 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseUpdateParameters.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseUpdateParameters.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateParameters ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateParameters ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateParameters).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateParameters).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseUpdateParameters.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseUpdateParameters.cs similarity index 84% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseUpdateParameters.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseUpdateParameters.cs index a262453e68ec..aa624c54cd10 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseUpdateParameters.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseUpdateParameters.cs @@ -3,25 +3,25 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; /// The Endpoint resource. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class EndpointBaseUpdateParameters : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateParameters, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateParametersInternal + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateParameters, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateParametersInternal { /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateProperties _property; /// /// The Endpoint resource, which contains information about file sources and targets. /// [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.EndpointBaseUpdateProperties()); set => this._property = value; } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.EndpointBaseUpdateProperties()); set => this._property = value; } /// Creates an new instance. public EndpointBaseUpdateParameters() @@ -41,8 +41,8 @@ public partial interface IEndpointBaseUpdateParameters : ReadOnly = false, Description = @"The Endpoint resource, which contains information about file sources and targets.", SerializedName = @"properties", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateProperties) })] - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateProperties Property { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateProperties) })] + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateProperties Property { get; set; } } /// The Endpoint resource. @@ -52,7 +52,7 @@ internal partial interface IEndpointBaseUpdateParametersInternal /// /// The Endpoint resource, which contains information about file sources and targets. /// - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateProperties Property { get; set; } } } \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseUpdateParameters.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseUpdateParameters.json.cs similarity index 96% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseUpdateParameters.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseUpdateParameters.json.cs index 4ea9999b0d68..7aba6cd0cc04 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseUpdateParameters.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseUpdateParameters.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -65,18 +65,18 @@ internal EndpointBaseUpdateParameters(Microsoft.Azure.PowerShell.Cmdlets.Storage { return; } - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.EndpointBaseUpdateProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.EndpointBaseUpdateProperties.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateParameters. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateParameters. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateParameters. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateParameters. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new EndpointBaseUpdateParameters(json) : null; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseUpdateProperties.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseUpdateProperties.PowerShell.cs similarity index 89% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseUpdateProperties.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseUpdateProperties.PowerShell.cs index 7851175ba363..3a73edf9b6e2 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseUpdateProperties.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseUpdateProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -65,35 +65,35 @@ public partial class EndpointBaseUpdateProperties partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new EndpointBaseUpdateProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new EndpointBaseUpdateProperties(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -108,17 +108,17 @@ internal EndpointBaseUpdateProperties(global::System.Collections.IDictionary con // actually deserialize if (content.Contains("EndpointType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -133,11 +133,11 @@ internal EndpointBaseUpdateProperties(global::System.Management.Automation.PSObj // actually deserialize if (content.Contains("EndpointType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); } AfterDeserializePSObject(content); } @@ -147,7 +147,7 @@ internal EndpointBaseUpdateProperties(global::System.Management.Automation.PSObj /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseUpdateProperties.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseUpdateProperties.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseUpdateProperties.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseUpdateProperties.TypeConverter.cs index c4766462495b..07440968d95f 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseUpdateProperties.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseUpdateProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseUpdateProperties.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseUpdateProperties.cs similarity index 97% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseUpdateProperties.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseUpdateProperties.cs index 9794dd28e27b..48f08e0a84bc 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseUpdateProperties.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseUpdateProperties.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -12,8 +12,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class EndpointBaseUpdateProperties : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateProperties, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateProperties, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal { /// Backing field for property. diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseUpdateProperties.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseUpdateProperties.json.cs similarity index 97% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseUpdateProperties.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseUpdateProperties.json.cs index 30a3c876d5dd..65bc1cd86a18 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointBaseUpdateProperties.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointBaseUpdateProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -73,15 +73,15 @@ internal EndpointBaseUpdateProperties(Microsoft.Azure.PowerShell.Cmdlets.Storage } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateProperties. - /// Note: the Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateProperties interface is + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateProperties. + /// Note: the Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateProperties interface is /// polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { if (!(node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json)) { diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointList.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointList.PowerShell.cs similarity index 85% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointList.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointList.PowerShell.cs index eca029ca355f..b56d28b12d75 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointList.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointList.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -63,33 +63,33 @@ public partial class EndpointList partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointList DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointList DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new EndpointList(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new EndpointList(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -104,17 +104,17 @@ internal EndpointList(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.EndpointTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.EndpointTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -129,11 +129,11 @@ internal EndpointList(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.EndpointTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.EndpointTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializePSObject(content); } @@ -143,7 +143,7 @@ internal EndpointList(global::System.Management.Automation.PSObject content) /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointList.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointList.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointList.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointList.TypeConverter.cs index cab07f73ac20..49127cfef013 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointList.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointList.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointList ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointList ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointList).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointList).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointList.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointList.cs similarity index 87% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointList.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointList.cs index 57ad018f361d..fc06718e0123 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointList.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointList.cs @@ -3,22 +3,22 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; /// List of Endpoints. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class EndpointList : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointList, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointListInternal + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointList, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointListInternal { /// Internal Acessors for NextLink - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointListInternal.NextLink { get => this._nextLink; set { {_nextLink = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointListInternal.NextLink { get => this._nextLink; set { {_nextLink = value;} } } /// Internal Acessors for Value - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint[] Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointListInternal.Value { get => this._value; set { {_value = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint[] Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointListInternal.Value { get => this._value; set { {_value = value;} } } /// Backing field for property. private string _nextLink; @@ -31,10 +31,10 @@ public partial class EndpointList : public string NextLink { get => this._nextLink; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint[] _value; [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint[] Value { get => this._value; } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint[] Value { get => this._value; } /// Creates an new instance. public EndpointList() @@ -63,8 +63,8 @@ public partial interface IEndpointList : ReadOnly = true, Description = @"", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint) })] - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint[] Value { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint) })] + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint[] Value { get; } } /// List of Endpoints. @@ -77,7 +77,7 @@ internal partial interface IEndpointListInternal /// string NextLink { get; set; } - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint[] Value { get; set; } } } \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointList.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointList.json.cs similarity index 95% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointList.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointList.json.cs index e939ca6106a3..002beb3e18b9 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/EndpointList.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/EndpointList.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -65,19 +65,19 @@ internal EndpointList(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Js { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint) (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.Endpoint.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint) (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.Endpoint.FromJson(__u) )) ))() : null : Value;} {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)NextLink;} AfterFromJson(json); } /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointList. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointList. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointList. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointList. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointList FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointList FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new EndpointList(json) : null; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinition.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinition.PowerShell.cs similarity index 84% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinition.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinition.PowerShell.cs index 8462e0d20f43..913843c23721 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinition.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinition.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -63,27 +63,27 @@ public partial class JobDefinition partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new JobDefinition(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new JobDefinition(content); } @@ -93,10 +93,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -111,7 +111,7 @@ internal JobDefinition(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobDefinitionPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobDefinitionPropertiesTypeConverter.ConvertFrom); } if (content.Contains("SystemDataCreatedBy")) { @@ -155,65 +155,65 @@ internal JobDefinition(global::System.Collections.IDictionary content) } if (content.Contains("CopyMode")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).CopyMode = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode) content.GetValueForProperty("CopyMode",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).CopyMode, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).CopyMode = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode) content.GetValueForProperty("CopyMode",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).CopyMode, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode.CreateFrom); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).Description, global::System.Convert.ToString); } if (content.Contains("SourceName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).SourceName = (string) content.GetValueForProperty("SourceName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).SourceName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).SourceName = (string) content.GetValueForProperty("SourceName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).SourceName, global::System.Convert.ToString); } if (content.Contains("SourceResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).SourceResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).SourceResourceId, global::System.Convert.ToString); } if (content.Contains("SourceSubpath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).SourceSubpath = (string) content.GetValueForProperty("SourceSubpath",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).SourceSubpath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).SourceSubpath = (string) content.GetValueForProperty("SourceSubpath",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).SourceSubpath, global::System.Convert.ToString); } if (content.Contains("TargetName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).TargetName = (string) content.GetValueForProperty("TargetName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).TargetName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).TargetName = (string) content.GetValueForProperty("TargetName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).TargetName, global::System.Convert.ToString); } if (content.Contains("TargetResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).TargetResourceId = (string) content.GetValueForProperty("TargetResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).TargetResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).TargetResourceId = (string) content.GetValueForProperty("TargetResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).TargetResourceId, global::System.Convert.ToString); } if (content.Contains("TargetSubpath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).TargetSubpath = (string) content.GetValueForProperty("TargetSubpath",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).TargetSubpath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).TargetSubpath = (string) content.GetValueForProperty("TargetSubpath",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).TargetSubpath, global::System.Convert.ToString); } if (content.Contains("LatestJobRunName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).LatestJobRunName = (string) content.GetValueForProperty("LatestJobRunName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).LatestJobRunName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).LatestJobRunName = (string) content.GetValueForProperty("LatestJobRunName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).LatestJobRunName, global::System.Convert.ToString); } if (content.Contains("LatestJobRunResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).LatestJobRunResourceId = (string) content.GetValueForProperty("LatestJobRunResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).LatestJobRunResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).LatestJobRunResourceId = (string) content.GetValueForProperty("LatestJobRunResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).LatestJobRunResourceId, global::System.Convert.ToString); } if (content.Contains("LatestJobRunStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).LatestJobRunStatus = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus?) content.GetValueForProperty("LatestJobRunStatus",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).LatestJobRunStatus, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).LatestJobRunStatus = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus?) content.GetValueForProperty("LatestJobRunStatus",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).LatestJobRunStatus, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus.CreateFrom); } if (content.Contains("AgentName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).AgentName = (string) content.GetValueForProperty("AgentName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).AgentName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).AgentName = (string) content.GetValueForProperty("AgentName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).AgentName, global::System.Convert.ToString); } if (content.Contains("AgentResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).AgentResourceId = (string) content.GetValueForProperty("AgentResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).AgentResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).AgentResourceId = (string) content.GetValueForProperty("AgentResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).AgentResourceId, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -228,7 +228,7 @@ internal JobDefinition(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobDefinitionPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobDefinitionPropertiesTypeConverter.ConvertFrom); } if (content.Contains("SystemDataCreatedBy")) { @@ -272,59 +272,59 @@ internal JobDefinition(global::System.Management.Automation.PSObject content) } if (content.Contains("CopyMode")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).CopyMode = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode) content.GetValueForProperty("CopyMode",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).CopyMode, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).CopyMode = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode) content.GetValueForProperty("CopyMode",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).CopyMode, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode.CreateFrom); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).Description, global::System.Convert.ToString); } if (content.Contains("SourceName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).SourceName = (string) content.GetValueForProperty("SourceName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).SourceName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).SourceName = (string) content.GetValueForProperty("SourceName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).SourceName, global::System.Convert.ToString); } if (content.Contains("SourceResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).SourceResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).SourceResourceId, global::System.Convert.ToString); } if (content.Contains("SourceSubpath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).SourceSubpath = (string) content.GetValueForProperty("SourceSubpath",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).SourceSubpath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).SourceSubpath = (string) content.GetValueForProperty("SourceSubpath",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).SourceSubpath, global::System.Convert.ToString); } if (content.Contains("TargetName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).TargetName = (string) content.GetValueForProperty("TargetName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).TargetName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).TargetName = (string) content.GetValueForProperty("TargetName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).TargetName, global::System.Convert.ToString); } if (content.Contains("TargetResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).TargetResourceId = (string) content.GetValueForProperty("TargetResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).TargetResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).TargetResourceId = (string) content.GetValueForProperty("TargetResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).TargetResourceId, global::System.Convert.ToString); } if (content.Contains("TargetSubpath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).TargetSubpath = (string) content.GetValueForProperty("TargetSubpath",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).TargetSubpath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).TargetSubpath = (string) content.GetValueForProperty("TargetSubpath",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).TargetSubpath, global::System.Convert.ToString); } if (content.Contains("LatestJobRunName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).LatestJobRunName = (string) content.GetValueForProperty("LatestJobRunName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).LatestJobRunName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).LatestJobRunName = (string) content.GetValueForProperty("LatestJobRunName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).LatestJobRunName, global::System.Convert.ToString); } if (content.Contains("LatestJobRunResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).LatestJobRunResourceId = (string) content.GetValueForProperty("LatestJobRunResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).LatestJobRunResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).LatestJobRunResourceId = (string) content.GetValueForProperty("LatestJobRunResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).LatestJobRunResourceId, global::System.Convert.ToString); } if (content.Contains("LatestJobRunStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).LatestJobRunStatus = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus?) content.GetValueForProperty("LatestJobRunStatus",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).LatestJobRunStatus, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).LatestJobRunStatus = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus?) content.GetValueForProperty("LatestJobRunStatus",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).LatestJobRunStatus, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus.CreateFrom); } if (content.Contains("AgentName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).AgentName = (string) content.GetValueForProperty("AgentName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).AgentName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).AgentName = (string) content.GetValueForProperty("AgentName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).AgentName, global::System.Convert.ToString); } if (content.Contains("AgentResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).AgentResourceId = (string) content.GetValueForProperty("AgentResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal)this).AgentResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).AgentResourceId = (string) content.GetValueForProperty("AgentResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal)this).AgentResourceId, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinition.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinition.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinition.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinition.TypeConverter.cs index 47b9ac97735a..6e2b52fee4b0 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinition.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinition.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinition.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinition.cs similarity index 89% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinition.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinition.cs index 29747a78c277..a14980a2ae07 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinition.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinition.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; /// The Job Definition resource. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class JobDefinition : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IValidates { /// @@ -22,21 +22,21 @@ public partial class JobDefinition : /// Name of the Agent to assign for new Job Runs of this Job Definition. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string AgentName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).AgentName; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).AgentName = value ?? null; } + public string AgentName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).AgentName; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).AgentName = value ?? null; } /// /// Fully qualified resource id of the Agent to assign for new Job Runs of this Job Definition. /// [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string AgentResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).AgentResourceId; } + public string AgentResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).AgentResourceId; } /// Strategy to use for copy. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode CopyMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).CopyMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).CopyMode = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode CopyMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).CopyMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).CopyMode = value ; } /// A description for the Job Definition. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).Description = value ?? null; } + public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).Description = value ?? null; } /// /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} @@ -46,41 +46,41 @@ public partial class JobDefinition : /// The name of the Job Run in a non-terminal state, if exists. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string LatestJobRunName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).LatestJobRunName; } + public string LatestJobRunName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).LatestJobRunName; } /// /// The fully qualified resource ID of the Job Run in a non-terminal state, if exists. /// [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string LatestJobRunResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).LatestJobRunResourceId; } + public string LatestJobRunResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).LatestJobRunResourceId; } /// The current status of the Job Run in a non-terminal state, if exists. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus? LatestJobRunStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).LatestJobRunStatus; } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus? LatestJobRunStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).LatestJobRunStatus; } /// Internal Acessors for AgentResourceId - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal.AgentResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).AgentResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).AgentResourceId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal.AgentResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).AgentResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).AgentResourceId = value; } /// Internal Acessors for LatestJobRunName - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal.LatestJobRunName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).LatestJobRunName; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).LatestJobRunName = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal.LatestJobRunName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).LatestJobRunName; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).LatestJobRunName = value; } /// Internal Acessors for LatestJobRunResourceId - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal.LatestJobRunResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).LatestJobRunResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).LatestJobRunResourceId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal.LatestJobRunResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).LatestJobRunResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).LatestJobRunResourceId = value; } /// Internal Acessors for LatestJobRunStatus - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal.LatestJobRunStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).LatestJobRunStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).LatestJobRunStatus = value; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal.LatestJobRunStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).LatestJobRunStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).LatestJobRunStatus = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionProperties Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobDefinitionProperties()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionProperties Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobDefinitionProperties()); set { {_property = value;} } } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).ProvisioningState = value; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).ProvisioningState = value; } /// Internal Acessors for SourceResourceId - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal.SourceResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).SourceResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).SourceResourceId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal.SourceResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).SourceResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).SourceResourceId = value; } /// Internal Acessors for TargetResourceId - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionInternal.TargetResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).TargetResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).TargetResourceId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionInternal.TargetResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).TargetResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).TargetResourceId = value; } /// Internal Acessors for Id string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.IResourceInternal)__resource).Id = value; } @@ -99,27 +99,27 @@ public partial class JobDefinition : public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.IResourceInternal)__resource).Name; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionProperties _property; /// Job definition properties. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobDefinitionProperties()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobDefinitionProperties()); set => this._property = value; } /// The provisioning state of this resource. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).ProvisioningState; } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).ProvisioningState; } /// The name of the source Endpoint. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string SourceName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).SourceName; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).SourceName = value ; } + public string SourceName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).SourceName; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).SourceName = value ; } /// Fully qualified resource ID of the source Endpoint. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string SourceResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).SourceResourceId; } + public string SourceResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).SourceResourceId; } /// The subpath to use when reading from the source Endpoint. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string SourceSubpath { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).SourceSubpath; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).SourceSubpath = value ?? null; } + public string SourceSubpath { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).SourceSubpath; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).SourceSubpath = value ?? null; } /// /// Azure Resource Manager metadata containing createdBy and modifiedBy information. @@ -153,15 +153,15 @@ public partial class JobDefinition : /// The name of the target Endpoint. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string TargetName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).TargetName; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).TargetName = value ; } + public string TargetName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).TargetName; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).TargetName = value ; } /// Fully qualified resource ID of the target Endpoint. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string TargetResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).TargetResourceId; } + public string TargetResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).TargetResourceId; } /// The subpath to use when writing to the target Endpoint. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string TargetSubpath { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).TargetSubpath; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)Property).TargetSubpath = value ?? null; } + public string TargetSubpath { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).TargetSubpath; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)Property).TargetSubpath = value ?? null; } /// /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" @@ -333,7 +333,7 @@ internal partial interface IJobDefinitionInternal : /// The current status of the Job Run in a non-terminal state, if exists. Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus? LatestJobRunStatus { get; set; } /// Job definition properties. - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionProperties Property { get; set; } /// The provisioning state of this resource. Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? ProvisioningState { get; set; } /// The name of the source Endpoint. diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinition.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinition.json.cs similarity index 97% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinition.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinition.json.cs index 96b42f5c6676..78ad65157e77 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinition.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinition.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class JobDefinition partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new JobDefinition(json) : null; } @@ -78,7 +78,7 @@ internal JobDefinition(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.J return; } __resource = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.Resource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobDefinitionProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobDefinitionProperties.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionList.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionList.PowerShell.cs similarity index 86% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionList.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionList.PowerShell.cs index 91ef1f7ee965..bc6e6c902b08 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionList.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionList.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -63,27 +63,27 @@ public partial class JobDefinitionList partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionList DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionList DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new JobDefinitionList(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new JobDefinitionList(content); } @@ -93,10 +93,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -111,17 +111,17 @@ internal JobDefinitionList(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobDefinitionTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobDefinitionTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -136,11 +136,11 @@ internal JobDefinitionList(global::System.Management.Automation.PSObject content // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobDefinitionTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobDefinitionTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionList.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionList.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionList.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionList.TypeConverter.cs index 2087d3e52ede..05f354ef80a6 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionList.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionList.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionList ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionList ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionList).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionList).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionList.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionList.cs similarity index 87% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionList.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionList.cs index bed45b8cae69..d65c750ef34e 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionList.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionList.cs @@ -3,22 +3,22 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; /// List of Job Definitions. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class JobDefinitionList : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionList, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionListInternal + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionList, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionListInternal { /// Internal Acessors for NextLink - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionListInternal.NextLink { get => this._nextLink; set { {_nextLink = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionListInternal.NextLink { get => this._nextLink; set { {_nextLink = value;} } } /// Internal Acessors for Value - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition[] Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionListInternal.Value { get => this._value; set { {_value = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition[] Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionListInternal.Value { get => this._value; set { {_value = value;} } } /// Backing field for property. private string _nextLink; @@ -31,10 +31,10 @@ public partial class JobDefinitionList : public string NextLink { get => this._nextLink; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition[] _value; [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition[] Value { get => this._value; } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition[] Value { get => this._value; } /// Creates an new instance. public JobDefinitionList() @@ -63,8 +63,8 @@ public partial interface IJobDefinitionList : ReadOnly = true, Description = @"", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition) })] - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition[] Value { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition) })] + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition[] Value { get; } } /// List of Job Definitions. @@ -77,7 +77,7 @@ internal partial interface IJobDefinitionListInternal /// string NextLink { get; set; } - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition[] Value { get; set; } } } \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionList.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionList.json.cs similarity index 95% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionList.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionList.json.cs index 177de92db26f..d9905bb04566 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionList.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionList.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class JobDefinitionList partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionList. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionList. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionList. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionList. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionList FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionList FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new JobDefinitionList(json) : null; } @@ -77,7 +77,7 @@ internal JobDefinitionList(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runti { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition) (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobDefinition.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition) (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobDefinition.FromJson(__u) )) ))() : null : Value;} {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)NextLink;} AfterFromJson(json); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionProperties.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionProperties.PowerShell.cs similarity index 80% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionProperties.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionProperties.PowerShell.cs index 2c7c53280527..a6ce075c7b21 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionProperties.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -63,29 +63,29 @@ public partial class JobDefinitionProperties partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new JobDefinitionProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new JobDefinitionProperties(content); } @@ -95,10 +95,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -113,65 +113,65 @@ internal JobDefinitionProperties(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).Description, global::System.Convert.ToString); } if (content.Contains("CopyMode")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).CopyMode = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode) content.GetValueForProperty("CopyMode",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).CopyMode, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).CopyMode = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode) content.GetValueForProperty("CopyMode",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).CopyMode, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode.CreateFrom); } if (content.Contains("SourceName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).SourceName = (string) content.GetValueForProperty("SourceName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).SourceName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).SourceName = (string) content.GetValueForProperty("SourceName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).SourceName, global::System.Convert.ToString); } if (content.Contains("SourceResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).SourceResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).SourceResourceId, global::System.Convert.ToString); } if (content.Contains("SourceSubpath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).SourceSubpath = (string) content.GetValueForProperty("SourceSubpath",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).SourceSubpath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).SourceSubpath = (string) content.GetValueForProperty("SourceSubpath",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).SourceSubpath, global::System.Convert.ToString); } if (content.Contains("TargetName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).TargetName = (string) content.GetValueForProperty("TargetName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).TargetName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).TargetName = (string) content.GetValueForProperty("TargetName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).TargetName, global::System.Convert.ToString); } if (content.Contains("TargetResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).TargetResourceId = (string) content.GetValueForProperty("TargetResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).TargetResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).TargetResourceId = (string) content.GetValueForProperty("TargetResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).TargetResourceId, global::System.Convert.ToString); } if (content.Contains("TargetSubpath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).TargetSubpath = (string) content.GetValueForProperty("TargetSubpath",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).TargetSubpath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).TargetSubpath = (string) content.GetValueForProperty("TargetSubpath",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).TargetSubpath, global::System.Convert.ToString); } if (content.Contains("LatestJobRunName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).LatestJobRunName = (string) content.GetValueForProperty("LatestJobRunName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).LatestJobRunName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).LatestJobRunName = (string) content.GetValueForProperty("LatestJobRunName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).LatestJobRunName, global::System.Convert.ToString); } if (content.Contains("LatestJobRunResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).LatestJobRunResourceId = (string) content.GetValueForProperty("LatestJobRunResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).LatestJobRunResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).LatestJobRunResourceId = (string) content.GetValueForProperty("LatestJobRunResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).LatestJobRunResourceId, global::System.Convert.ToString); } if (content.Contains("LatestJobRunStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).LatestJobRunStatus = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus?) content.GetValueForProperty("LatestJobRunStatus",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).LatestJobRunStatus, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).LatestJobRunStatus = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus?) content.GetValueForProperty("LatestJobRunStatus",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).LatestJobRunStatus, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus.CreateFrom); } if (content.Contains("AgentName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).AgentName = (string) content.GetValueForProperty("AgentName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).AgentName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).AgentName = (string) content.GetValueForProperty("AgentName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).AgentName, global::System.Convert.ToString); } if (content.Contains("AgentResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).AgentResourceId = (string) content.GetValueForProperty("AgentResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).AgentResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).AgentResourceId = (string) content.GetValueForProperty("AgentResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).AgentResourceId, global::System.Convert.ToString); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -186,59 +186,59 @@ internal JobDefinitionProperties(global::System.Management.Automation.PSObject c // actually deserialize if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).Description, global::System.Convert.ToString); } if (content.Contains("CopyMode")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).CopyMode = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode) content.GetValueForProperty("CopyMode",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).CopyMode, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).CopyMode = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode) content.GetValueForProperty("CopyMode",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).CopyMode, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode.CreateFrom); } if (content.Contains("SourceName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).SourceName = (string) content.GetValueForProperty("SourceName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).SourceName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).SourceName = (string) content.GetValueForProperty("SourceName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).SourceName, global::System.Convert.ToString); } if (content.Contains("SourceResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).SourceResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).SourceResourceId, global::System.Convert.ToString); } if (content.Contains("SourceSubpath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).SourceSubpath = (string) content.GetValueForProperty("SourceSubpath",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).SourceSubpath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).SourceSubpath = (string) content.GetValueForProperty("SourceSubpath",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).SourceSubpath, global::System.Convert.ToString); } if (content.Contains("TargetName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).TargetName = (string) content.GetValueForProperty("TargetName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).TargetName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).TargetName = (string) content.GetValueForProperty("TargetName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).TargetName, global::System.Convert.ToString); } if (content.Contains("TargetResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).TargetResourceId = (string) content.GetValueForProperty("TargetResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).TargetResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).TargetResourceId = (string) content.GetValueForProperty("TargetResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).TargetResourceId, global::System.Convert.ToString); } if (content.Contains("TargetSubpath")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).TargetSubpath = (string) content.GetValueForProperty("TargetSubpath",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).TargetSubpath, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).TargetSubpath = (string) content.GetValueForProperty("TargetSubpath",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).TargetSubpath, global::System.Convert.ToString); } if (content.Contains("LatestJobRunName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).LatestJobRunName = (string) content.GetValueForProperty("LatestJobRunName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).LatestJobRunName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).LatestJobRunName = (string) content.GetValueForProperty("LatestJobRunName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).LatestJobRunName, global::System.Convert.ToString); } if (content.Contains("LatestJobRunResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).LatestJobRunResourceId = (string) content.GetValueForProperty("LatestJobRunResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).LatestJobRunResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).LatestJobRunResourceId = (string) content.GetValueForProperty("LatestJobRunResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).LatestJobRunResourceId, global::System.Convert.ToString); } if (content.Contains("LatestJobRunStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).LatestJobRunStatus = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus?) content.GetValueForProperty("LatestJobRunStatus",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).LatestJobRunStatus, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).LatestJobRunStatus = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus?) content.GetValueForProperty("LatestJobRunStatus",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).LatestJobRunStatus, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus.CreateFrom); } if (content.Contains("AgentName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).AgentName = (string) content.GetValueForProperty("AgentName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).AgentName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).AgentName = (string) content.GetValueForProperty("AgentName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).AgentName, global::System.Convert.ToString); } if (content.Contains("AgentResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).AgentResourceId = (string) content.GetValueForProperty("AgentResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).AgentResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).AgentResourceId = (string) content.GetValueForProperty("AgentResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).AgentResourceId, global::System.Convert.ToString); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); } AfterDeserializePSObject(content); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionProperties.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionProperties.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionProperties.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionProperties.TypeConverter.cs index d7cef09b1c02..86c98b951328 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionProperties.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionProperties.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionProperties.cs similarity index 97% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionProperties.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionProperties.cs index f063d533d3d9..90d77638881c 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionProperties.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionProperties.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; /// Job definition properties. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class JobDefinitionProperties : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionProperties, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionProperties, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal { /// Backing field for property. @@ -68,25 +68,25 @@ public partial class JobDefinitionProperties : public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus? LatestJobRunStatus { get => this._latestJobRunStatus; } /// Internal Acessors for AgentResourceId - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal.AgentResourceId { get => this._agentResourceId; set { {_agentResourceId = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal.AgentResourceId { get => this._agentResourceId; set { {_agentResourceId = value;} } } /// Internal Acessors for LatestJobRunName - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal.LatestJobRunName { get => this._latestJobRunName; set { {_latestJobRunName = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal.LatestJobRunName { get => this._latestJobRunName; set { {_latestJobRunName = value;} } } /// Internal Acessors for LatestJobRunResourceId - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal.LatestJobRunResourceId { get => this._latestJobRunResourceId; set { {_latestJobRunResourceId = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal.LatestJobRunResourceId { get => this._latestJobRunResourceId; set { {_latestJobRunResourceId = value;} } } /// Internal Acessors for LatestJobRunStatus - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal.LatestJobRunStatus { get => this._latestJobRunStatus; set { {_latestJobRunStatus = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal.LatestJobRunStatus { get => this._latestJobRunStatus; set { {_latestJobRunStatus = value;} } } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } /// Internal Acessors for SourceResourceId - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal.SourceResourceId { get => this._sourceResourceId; set { {_sourceResourceId = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal.SourceResourceId { get => this._sourceResourceId; set { {_sourceResourceId = value;} } } /// Internal Acessors for TargetResourceId - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionPropertiesInternal.TargetResourceId { get => this._targetResourceId; set { {_targetResourceId = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionPropertiesInternal.TargetResourceId { get => this._targetResourceId; set { {_targetResourceId = value;} } } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? _provisioningState; diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionProperties.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionProperties.json.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionProperties.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionProperties.json.cs index b4a7d55cbe6a..b5dd41acd8b1 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionProperties.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class JobDefinitionProperties partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new JobDefinitionProperties(json) : null; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionUpdateParameters.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionUpdateParameters.PowerShell.cs similarity index 84% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionUpdateParameters.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionUpdateParameters.PowerShell.cs index 3bd7c1cfde56..19b49094106f 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionUpdateParameters.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionUpdateParameters.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -63,29 +63,29 @@ public partial class JobDefinitionUpdateParameters partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new JobDefinitionUpdateParameters(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new JobDefinitionUpdateParameters(content); } @@ -95,10 +95,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -113,25 +113,25 @@ internal JobDefinitionUpdateParameters(global::System.Collections.IDictionary co // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParametersInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParametersInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobDefinitionUpdatePropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParametersInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParametersInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobDefinitionUpdatePropertiesTypeConverter.ConvertFrom); } if (content.Contains("CopyMode")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParametersInternal)this).CopyMode = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode?) content.GetValueForProperty("CopyMode",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParametersInternal)this).CopyMode, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParametersInternal)this).CopyMode = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode?) content.GetValueForProperty("CopyMode",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParametersInternal)this).CopyMode, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode.CreateFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParametersInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParametersInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParametersInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParametersInternal)this).Description, global::System.Convert.ToString); } if (content.Contains("AgentName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParametersInternal)this).AgentName = (string) content.GetValueForProperty("AgentName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParametersInternal)this).AgentName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParametersInternal)this).AgentName = (string) content.GetValueForProperty("AgentName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParametersInternal)this).AgentName, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -146,19 +146,19 @@ internal JobDefinitionUpdateParameters(global::System.Management.Automation.PSOb // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParametersInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParametersInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobDefinitionUpdatePropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParametersInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParametersInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobDefinitionUpdatePropertiesTypeConverter.ConvertFrom); } if (content.Contains("CopyMode")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParametersInternal)this).CopyMode = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode?) content.GetValueForProperty("CopyMode",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParametersInternal)this).CopyMode, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParametersInternal)this).CopyMode = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode?) content.GetValueForProperty("CopyMode",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParametersInternal)this).CopyMode, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode.CreateFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParametersInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParametersInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParametersInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParametersInternal)this).Description, global::System.Convert.ToString); } if (content.Contains("AgentName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParametersInternal)this).AgentName = (string) content.GetValueForProperty("AgentName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParametersInternal)this).AgentName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParametersInternal)this).AgentName = (string) content.GetValueForProperty("AgentName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParametersInternal)this).AgentName, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionUpdateParameters.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionUpdateParameters.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionUpdateParameters.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionUpdateParameters.TypeConverter.cs index 87cbe1334ed7..5097d918d949 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionUpdateParameters.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionUpdateParameters.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParameters ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParameters ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParameters).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParameters).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionUpdateParameters.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionUpdateParameters.cs similarity index 84% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionUpdateParameters.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionUpdateParameters.cs index aac469e28c41..131875fd361e 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionUpdateParameters.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionUpdateParameters.cs @@ -3,38 +3,38 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; /// The Job Definition resource. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class JobDefinitionUpdateParameters : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParameters, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParametersInternal + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParameters, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParametersInternal { /// Name of the Agent to assign for new Job Runs of this Job Definition. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string AgentName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdatePropertiesInternal)Property).AgentName; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdatePropertiesInternal)Property).AgentName = value ?? null; } + public string AgentName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdatePropertiesInternal)Property).AgentName; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdatePropertiesInternal)Property).AgentName = value ?? null; } /// Strategy to use for copy. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode? CopyMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdatePropertiesInternal)Property).CopyMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdatePropertiesInternal)Property).CopyMode = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode)""); } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode? CopyMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdatePropertiesInternal)Property).CopyMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdatePropertiesInternal)Property).CopyMode = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode)""); } /// A description for the Job Definition. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdatePropertiesInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdatePropertiesInternal)Property).Description = value ?? null; } + public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdatePropertiesInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdatePropertiesInternal)Property).Description = value ?? null; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateProperties Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParametersInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobDefinitionUpdateProperties()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateProperties Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParametersInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobDefinitionUpdateProperties()); set { {_property = value;} } } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateProperties _property; /// Job definition properties. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobDefinitionUpdateProperties()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobDefinitionUpdateProperties()); set => this._property = value; } /// Creates an new instance. public JobDefinitionUpdateParameters() @@ -83,7 +83,7 @@ internal partial interface IJobDefinitionUpdateParametersInternal /// A description for the Job Definition. string Description { get; set; } /// Job definition properties. - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateProperties Property { get; set; } } } \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionUpdateParameters.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionUpdateParameters.json.cs similarity index 96% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionUpdateParameters.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionUpdateParameters.json.cs index 85ca5cea1d66..650153684615 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionUpdateParameters.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionUpdateParameters.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class JobDefinitionUpdateParameters partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParameters. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParameters. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParameters. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParameters. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new JobDefinitionUpdateParameters(json) : null; } @@ -77,7 +77,7 @@ internal JobDefinitionUpdateParameters(Microsoft.Azure.PowerShell.Cmdlets.Storag { return; } - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobDefinitionUpdateProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobDefinitionUpdateProperties.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionUpdateProperties.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionUpdateProperties.PowerShell.cs similarity index 87% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionUpdateProperties.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionUpdateProperties.PowerShell.cs index ac0db8f8032e..5f171a923c8b 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionUpdateProperties.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionUpdateProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -63,29 +63,29 @@ public partial class JobDefinitionUpdateProperties partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new JobDefinitionUpdateProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new JobDefinitionUpdateProperties(content); } @@ -95,10 +95,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -113,21 +113,21 @@ internal JobDefinitionUpdateProperties(global::System.Collections.IDictionary co // actually deserialize if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); } if (content.Contains("CopyMode")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdatePropertiesInternal)this).CopyMode = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode?) content.GetValueForProperty("CopyMode",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdatePropertiesInternal)this).CopyMode, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdatePropertiesInternal)this).CopyMode = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode?) content.GetValueForProperty("CopyMode",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdatePropertiesInternal)this).CopyMode, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode.CreateFrom); } if (content.Contains("AgentName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdatePropertiesInternal)this).AgentName = (string) content.GetValueForProperty("AgentName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdatePropertiesInternal)this).AgentName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdatePropertiesInternal)this).AgentName = (string) content.GetValueForProperty("AgentName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdatePropertiesInternal)this).AgentName, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -142,15 +142,15 @@ internal JobDefinitionUpdateProperties(global::System.Management.Automation.PSOb // actually deserialize if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); } if (content.Contains("CopyMode")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdatePropertiesInternal)this).CopyMode = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode?) content.GetValueForProperty("CopyMode",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdatePropertiesInternal)this).CopyMode, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdatePropertiesInternal)this).CopyMode = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode?) content.GetValueForProperty("CopyMode",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdatePropertiesInternal)this).CopyMode, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.CopyMode.CreateFrom); } if (content.Contains("AgentName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdatePropertiesInternal)this).AgentName = (string) content.GetValueForProperty("AgentName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdatePropertiesInternal)this).AgentName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdatePropertiesInternal)this).AgentName = (string) content.GetValueForProperty("AgentName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdatePropertiesInternal)this).AgentName, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionUpdateProperties.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionUpdateProperties.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionUpdateProperties.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionUpdateProperties.TypeConverter.cs index dc9a33ab1f62..b8c5efc22460 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionUpdateProperties.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionUpdateProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionUpdateProperties.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionUpdateProperties.cs similarity index 97% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionUpdateProperties.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionUpdateProperties.cs index 65f12a16caa8..5cc927cb6d6a 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionUpdateProperties.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionUpdateProperties.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; /// Job definition properties. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class JobDefinitionUpdateProperties : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateProperties, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdatePropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateProperties, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdatePropertiesInternal { /// Backing field for property. diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionUpdateProperties.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionUpdateProperties.json.cs similarity index 97% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionUpdateProperties.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionUpdateProperties.json.cs index e156f556659e..62e73ab73be6 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobDefinitionUpdateProperties.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobDefinitionUpdateProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class JobDefinitionUpdateProperties partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new JobDefinitionUpdateProperties(json) : null; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRun.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRun.PowerShell.cs similarity index 79% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRun.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRun.PowerShell.cs index 5065b7de7929..3dbe1a81f6ca 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRun.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRun.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -63,27 +63,27 @@ public partial class JobRun partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRun DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new JobRun(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRun DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new JobRun(content); } @@ -93,10 +93,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRun FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -111,7 +111,7 @@ internal JobRun(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobRunPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobRunPropertiesTypeConverter.ConvertFrom); } if (content.Contains("SystemDataCreatedBy")) { @@ -155,133 +155,133 @@ internal JobRun(global::System.Collections.IDictionary content) } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); } if (content.Contains("Error")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunError) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobRunErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunError) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobRunErrorTypeConverter.ConvertFrom); } if (content.Contains("Status")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).Status = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus?) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).Status, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).Status = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus?) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).Status, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus.CreateFrom); } if (content.Contains("ScanStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ScanStatus = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunScanStatus?) content.GetValueForProperty("ScanStatus",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ScanStatus, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunScanStatus.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ScanStatus = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunScanStatus?) content.GetValueForProperty("ScanStatus",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ScanStatus, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunScanStatus.CreateFrom); } if (content.Contains("AgentName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).AgentName = (string) content.GetValueForProperty("AgentName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).AgentName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).AgentName = (string) content.GetValueForProperty("AgentName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).AgentName, global::System.Convert.ToString); } if (content.Contains("AgentResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).AgentResourceId = (string) content.GetValueForProperty("AgentResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).AgentResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).AgentResourceId = (string) content.GetValueForProperty("AgentResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).AgentResourceId, global::System.Convert.ToString); } if (content.Contains("ExecutionStartTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ExecutionStartTime = (global::System.DateTime?) content.GetValueForProperty("ExecutionStartTime",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ExecutionStartTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ExecutionStartTime = (global::System.DateTime?) content.GetValueForProperty("ExecutionStartTime",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ExecutionStartTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("ExecutionEndTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ExecutionEndTime = (global::System.DateTime?) content.GetValueForProperty("ExecutionEndTime",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ExecutionEndTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ExecutionEndTime = (global::System.DateTime?) content.GetValueForProperty("ExecutionEndTime",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ExecutionEndTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("LastStatusUpdate")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).LastStatusUpdate = (global::System.DateTime?) content.GetValueForProperty("LastStatusUpdate",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).LastStatusUpdate, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).LastStatusUpdate = (global::System.DateTime?) content.GetValueForProperty("LastStatusUpdate",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).LastStatusUpdate, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("ItemsScanned")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ItemsScanned = (long?) content.GetValueForProperty("ItemsScanned",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ItemsScanned, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ItemsScanned = (long?) content.GetValueForProperty("ItemsScanned",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ItemsScanned, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("ItemsExcluded")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ItemsExcluded = (long?) content.GetValueForProperty("ItemsExcluded",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ItemsExcluded, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ItemsExcluded = (long?) content.GetValueForProperty("ItemsExcluded",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ItemsExcluded, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("ItemsUnsupported")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ItemsUnsupported = (long?) content.GetValueForProperty("ItemsUnsupported",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ItemsUnsupported, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ItemsUnsupported = (long?) content.GetValueForProperty("ItemsUnsupported",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ItemsUnsupported, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("ItemsNoTransferNeeded")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ItemsNoTransferNeeded = (long?) content.GetValueForProperty("ItemsNoTransferNeeded",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ItemsNoTransferNeeded, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ItemsNoTransferNeeded = (long?) content.GetValueForProperty("ItemsNoTransferNeeded",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ItemsNoTransferNeeded, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("ItemsFailed")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ItemsFailed = (long?) content.GetValueForProperty("ItemsFailed",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ItemsFailed, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ItemsFailed = (long?) content.GetValueForProperty("ItemsFailed",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ItemsFailed, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("ItemsTransferred")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ItemsTransferred = (long?) content.GetValueForProperty("ItemsTransferred",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ItemsTransferred, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ItemsTransferred = (long?) content.GetValueForProperty("ItemsTransferred",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ItemsTransferred, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("BytesScanned")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).BytesScanned = (long?) content.GetValueForProperty("BytesScanned",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).BytesScanned, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).BytesScanned = (long?) content.GetValueForProperty("BytesScanned",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).BytesScanned, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("BytesExcluded")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).BytesExcluded = (long?) content.GetValueForProperty("BytesExcluded",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).BytesExcluded, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).BytesExcluded = (long?) content.GetValueForProperty("BytesExcluded",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).BytesExcluded, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("BytesUnsupported")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).BytesUnsupported = (long?) content.GetValueForProperty("BytesUnsupported",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).BytesUnsupported, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).BytesUnsupported = (long?) content.GetValueForProperty("BytesUnsupported",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).BytesUnsupported, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("BytesNoTransferNeeded")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).BytesNoTransferNeeded = (long?) content.GetValueForProperty("BytesNoTransferNeeded",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).BytesNoTransferNeeded, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).BytesNoTransferNeeded = (long?) content.GetValueForProperty("BytesNoTransferNeeded",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).BytesNoTransferNeeded, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("BytesFailed")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).BytesFailed = (long?) content.GetValueForProperty("BytesFailed",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).BytesFailed, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).BytesFailed = (long?) content.GetValueForProperty("BytesFailed",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).BytesFailed, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("BytesTransferred")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).BytesTransferred = (long?) content.GetValueForProperty("BytesTransferred",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).BytesTransferred, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).BytesTransferred = (long?) content.GetValueForProperty("BytesTransferred",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).BytesTransferred, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("SourceName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).SourceName = (string) content.GetValueForProperty("SourceName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).SourceName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).SourceName = (string) content.GetValueForProperty("SourceName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).SourceName, global::System.Convert.ToString); } if (content.Contains("SourceResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).SourceResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).SourceResourceId, global::System.Convert.ToString); } if (content.Contains("SourceProperty")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).SourceProperty = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny) content.GetValueForProperty("SourceProperty",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).SourceProperty, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.AnyTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).SourceProperty = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny) content.GetValueForProperty("SourceProperty",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).SourceProperty, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.AnyTypeConverter.ConvertFrom); } if (content.Contains("TargetName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).TargetName = (string) content.GetValueForProperty("TargetName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).TargetName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).TargetName = (string) content.GetValueForProperty("TargetName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).TargetName, global::System.Convert.ToString); } if (content.Contains("TargetResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).TargetResourceId = (string) content.GetValueForProperty("TargetResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).TargetResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).TargetResourceId = (string) content.GetValueForProperty("TargetResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).TargetResourceId, global::System.Convert.ToString); } if (content.Contains("TargetProperty")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).TargetProperty = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny) content.GetValueForProperty("TargetProperty",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).TargetProperty, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.AnyTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).TargetProperty = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny) content.GetValueForProperty("TargetProperty",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).TargetProperty, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.AnyTypeConverter.ConvertFrom); } if (content.Contains("JobDefinitionProperty")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).JobDefinitionProperty = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny) content.GetValueForProperty("JobDefinitionProperty",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).JobDefinitionProperty, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.AnyTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).JobDefinitionProperty = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny) content.GetValueForProperty("JobDefinitionProperty",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).JobDefinitionProperty, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.AnyTypeConverter.ConvertFrom); } if (content.Contains("ErrorCode")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ErrorCode = (string) content.GetValueForProperty("ErrorCode",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ErrorCode, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ErrorCode = (string) content.GetValueForProperty("ErrorCode",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ErrorCode, global::System.Convert.ToString); } if (content.Contains("ErrorMessage")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ErrorMessage = (string) content.GetValueForProperty("ErrorMessage",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ErrorMessage, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ErrorMessage = (string) content.GetValueForProperty("ErrorMessage",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ErrorMessage, global::System.Convert.ToString); } if (content.Contains("Target")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).Target, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).Target, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -296,7 +296,7 @@ internal JobRun(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobRunPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobRunPropertiesTypeConverter.ConvertFrom); } if (content.Contains("SystemDataCreatedBy")) { @@ -340,127 +340,127 @@ internal JobRun(global::System.Management.Automation.PSObject content) } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); } if (content.Contains("Error")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunError) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobRunErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunError) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobRunErrorTypeConverter.ConvertFrom); } if (content.Contains("Status")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).Status = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus?) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).Status, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).Status = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus?) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).Status, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus.CreateFrom); } if (content.Contains("ScanStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ScanStatus = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunScanStatus?) content.GetValueForProperty("ScanStatus",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ScanStatus, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunScanStatus.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ScanStatus = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunScanStatus?) content.GetValueForProperty("ScanStatus",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ScanStatus, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunScanStatus.CreateFrom); } if (content.Contains("AgentName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).AgentName = (string) content.GetValueForProperty("AgentName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).AgentName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).AgentName = (string) content.GetValueForProperty("AgentName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).AgentName, global::System.Convert.ToString); } if (content.Contains("AgentResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).AgentResourceId = (string) content.GetValueForProperty("AgentResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).AgentResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).AgentResourceId = (string) content.GetValueForProperty("AgentResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).AgentResourceId, global::System.Convert.ToString); } if (content.Contains("ExecutionStartTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ExecutionStartTime = (global::System.DateTime?) content.GetValueForProperty("ExecutionStartTime",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ExecutionStartTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ExecutionStartTime = (global::System.DateTime?) content.GetValueForProperty("ExecutionStartTime",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ExecutionStartTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("ExecutionEndTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ExecutionEndTime = (global::System.DateTime?) content.GetValueForProperty("ExecutionEndTime",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ExecutionEndTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ExecutionEndTime = (global::System.DateTime?) content.GetValueForProperty("ExecutionEndTime",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ExecutionEndTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("LastStatusUpdate")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).LastStatusUpdate = (global::System.DateTime?) content.GetValueForProperty("LastStatusUpdate",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).LastStatusUpdate, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).LastStatusUpdate = (global::System.DateTime?) content.GetValueForProperty("LastStatusUpdate",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).LastStatusUpdate, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("ItemsScanned")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ItemsScanned = (long?) content.GetValueForProperty("ItemsScanned",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ItemsScanned, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ItemsScanned = (long?) content.GetValueForProperty("ItemsScanned",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ItemsScanned, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("ItemsExcluded")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ItemsExcluded = (long?) content.GetValueForProperty("ItemsExcluded",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ItemsExcluded, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ItemsExcluded = (long?) content.GetValueForProperty("ItemsExcluded",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ItemsExcluded, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("ItemsUnsupported")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ItemsUnsupported = (long?) content.GetValueForProperty("ItemsUnsupported",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ItemsUnsupported, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ItemsUnsupported = (long?) content.GetValueForProperty("ItemsUnsupported",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ItemsUnsupported, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("ItemsNoTransferNeeded")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ItemsNoTransferNeeded = (long?) content.GetValueForProperty("ItemsNoTransferNeeded",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ItemsNoTransferNeeded, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ItemsNoTransferNeeded = (long?) content.GetValueForProperty("ItemsNoTransferNeeded",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ItemsNoTransferNeeded, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("ItemsFailed")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ItemsFailed = (long?) content.GetValueForProperty("ItemsFailed",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ItemsFailed, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ItemsFailed = (long?) content.GetValueForProperty("ItemsFailed",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ItemsFailed, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("ItemsTransferred")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ItemsTransferred = (long?) content.GetValueForProperty("ItemsTransferred",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ItemsTransferred, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ItemsTransferred = (long?) content.GetValueForProperty("ItemsTransferred",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ItemsTransferred, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("BytesScanned")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).BytesScanned = (long?) content.GetValueForProperty("BytesScanned",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).BytesScanned, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).BytesScanned = (long?) content.GetValueForProperty("BytesScanned",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).BytesScanned, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("BytesExcluded")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).BytesExcluded = (long?) content.GetValueForProperty("BytesExcluded",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).BytesExcluded, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).BytesExcluded = (long?) content.GetValueForProperty("BytesExcluded",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).BytesExcluded, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("BytesUnsupported")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).BytesUnsupported = (long?) content.GetValueForProperty("BytesUnsupported",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).BytesUnsupported, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).BytesUnsupported = (long?) content.GetValueForProperty("BytesUnsupported",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).BytesUnsupported, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("BytesNoTransferNeeded")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).BytesNoTransferNeeded = (long?) content.GetValueForProperty("BytesNoTransferNeeded",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).BytesNoTransferNeeded, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).BytesNoTransferNeeded = (long?) content.GetValueForProperty("BytesNoTransferNeeded",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).BytesNoTransferNeeded, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("BytesFailed")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).BytesFailed = (long?) content.GetValueForProperty("BytesFailed",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).BytesFailed, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).BytesFailed = (long?) content.GetValueForProperty("BytesFailed",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).BytesFailed, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("BytesTransferred")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).BytesTransferred = (long?) content.GetValueForProperty("BytesTransferred",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).BytesTransferred, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).BytesTransferred = (long?) content.GetValueForProperty("BytesTransferred",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).BytesTransferred, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("SourceName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).SourceName = (string) content.GetValueForProperty("SourceName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).SourceName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).SourceName = (string) content.GetValueForProperty("SourceName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).SourceName, global::System.Convert.ToString); } if (content.Contains("SourceResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).SourceResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).SourceResourceId, global::System.Convert.ToString); } if (content.Contains("SourceProperty")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).SourceProperty = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny) content.GetValueForProperty("SourceProperty",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).SourceProperty, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.AnyTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).SourceProperty = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny) content.GetValueForProperty("SourceProperty",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).SourceProperty, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.AnyTypeConverter.ConvertFrom); } if (content.Contains("TargetName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).TargetName = (string) content.GetValueForProperty("TargetName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).TargetName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).TargetName = (string) content.GetValueForProperty("TargetName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).TargetName, global::System.Convert.ToString); } if (content.Contains("TargetResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).TargetResourceId = (string) content.GetValueForProperty("TargetResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).TargetResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).TargetResourceId = (string) content.GetValueForProperty("TargetResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).TargetResourceId, global::System.Convert.ToString); } if (content.Contains("TargetProperty")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).TargetProperty = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny) content.GetValueForProperty("TargetProperty",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).TargetProperty, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.AnyTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).TargetProperty = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny) content.GetValueForProperty("TargetProperty",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).TargetProperty, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.AnyTypeConverter.ConvertFrom); } if (content.Contains("JobDefinitionProperty")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).JobDefinitionProperty = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny) content.GetValueForProperty("JobDefinitionProperty",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).JobDefinitionProperty, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.AnyTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).JobDefinitionProperty = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny) content.GetValueForProperty("JobDefinitionProperty",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).JobDefinitionProperty, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.AnyTypeConverter.ConvertFrom); } if (content.Contains("ErrorCode")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ErrorCode = (string) content.GetValueForProperty("ErrorCode",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ErrorCode, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ErrorCode = (string) content.GetValueForProperty("ErrorCode",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ErrorCode, global::System.Convert.ToString); } if (content.Contains("ErrorMessage")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ErrorMessage = (string) content.GetValueForProperty("ErrorMessage",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).ErrorMessage, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ErrorMessage = (string) content.GetValueForProperty("ErrorMessage",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).ErrorMessage, global::System.Convert.ToString); } if (content.Contains("Target")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal)this).Target, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal)this).Target, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRun.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRun.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRun.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRun.TypeConverter.cs index eae91810e196..68846051b760 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRun.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRun.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -105,14 +105,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRun ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRun).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRun.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRun.cs similarity index 85% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRun.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRun.cs index 442cd8ed35a7..f91ac04fee60 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRun.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRun.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; /// The Job Run resource. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class JobRun : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRun, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IValidates { /// @@ -22,55 +22,55 @@ public partial class JobRun : /// Name of the Agent assigned to this run. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string AgentName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).AgentName; } + public string AgentName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).AgentName; } /// Fully qualified resource id of the Agent assigned to this run. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string AgentResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).AgentResourceId; } + public string AgentResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).AgentResourceId; } /// /// Bytes of data that will not be transferred, as they are excluded by user configuration. /// [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public long? BytesExcluded { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).BytesExcluded; } + public long? BytesExcluded { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).BytesExcluded; } /// Bytes of data that were attempted to transfer and failed. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public long? BytesFailed { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).BytesFailed; } + public long? BytesFailed { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).BytesFailed; } /// /// Bytes of data that will not be transferred, as they are already found on target (e.g. mirror mode). /// [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public long? BytesNoTransferNeeded { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).BytesNoTransferNeeded; } + public long? BytesNoTransferNeeded { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).BytesNoTransferNeeded; } /// Bytes of data scanned so far in source. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public long? BytesScanned { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).BytesScanned; } + public long? BytesScanned { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).BytesScanned; } /// Bytes of data successfully transferred to target. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public long? BytesTransferred { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).BytesTransferred; } + public long? BytesTransferred { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).BytesTransferred; } /// Bytes of data that will not be transferred, as they are unsupported on target. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public long? BytesUnsupported { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).BytesUnsupported; } + public long? BytesUnsupported { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).BytesUnsupported; } /// Error code of the given entry. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string ErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).Code = value ?? null; } + public string ErrorCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).Code = value ?? null; } /// Error message of the given entry. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string ErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).Message = value ?? null; } + public string ErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).Message = value ?? null; } /// End time of the run. Null if Agent has not reported that the job has ended. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public global::System.DateTime? ExecutionEndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).ExecutionEndTime; } + public global::System.DateTime? ExecutionEndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).ExecutionEndTime; } /// Start time of the run. Null if no Agent reported that the job has started. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public global::System.DateTime? ExecutionStartTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).ExecutionStartTime; } + public global::System.DateTime? ExecutionStartTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).ExecutionStartTime; } /// /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} @@ -82,126 +82,126 @@ public partial class JobRun : /// Number of items that will not be transferred, as they are excluded by user configuration. /// [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public long? ItemsExcluded { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).ItemsExcluded; } + public long? ItemsExcluded { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).ItemsExcluded; } /// Number of items that were attempted to transfer and failed. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public long? ItemsFailed { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).ItemsFailed; } + public long? ItemsFailed { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).ItemsFailed; } /// /// Number of items that will not be transferred, as they are already found on target (e.g. mirror mode). /// [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public long? ItemsNoTransferNeeded { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).ItemsNoTransferNeeded; } + public long? ItemsNoTransferNeeded { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).ItemsNoTransferNeeded; } /// Number of items scanned so far in source. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public long? ItemsScanned { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).ItemsScanned; } + public long? ItemsScanned { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).ItemsScanned; } /// Number of items successfully transferred to target. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public long? ItemsTransferred { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).ItemsTransferred; } + public long? ItemsTransferred { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).ItemsTransferred; } /// /// Number of items that will not be transferred, as they are unsupported on target. /// [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public long? ItemsUnsupported { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).ItemsUnsupported; } + public long? ItemsUnsupported { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).ItemsUnsupported; } /// Copy of parent Job Definition's properties at time of Job Run creation. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny JobDefinitionProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).JobDefinitionProperty; } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny JobDefinitionProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).JobDefinitionProperty; } /// The last updated time of the Job Run. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public global::System.DateTime? LastStatusUpdate { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).LastStatusUpdate; } + public global::System.DateTime? LastStatusUpdate { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).LastStatusUpdate; } /// Internal Acessors for AgentName - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal.AgentName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).AgentName; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).AgentName = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal.AgentName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).AgentName; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).AgentName = value; } /// Internal Acessors for AgentResourceId - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal.AgentResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).AgentResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).AgentResourceId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal.AgentResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).AgentResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).AgentResourceId = value; } /// Internal Acessors for BytesExcluded - long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal.BytesExcluded { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).BytesExcluded; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).BytesExcluded = value; } + long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal.BytesExcluded { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).BytesExcluded; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).BytesExcluded = value; } /// Internal Acessors for BytesFailed - long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal.BytesFailed { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).BytesFailed; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).BytesFailed = value; } + long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal.BytesFailed { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).BytesFailed; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).BytesFailed = value; } /// Internal Acessors for BytesNoTransferNeeded - long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal.BytesNoTransferNeeded { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).BytesNoTransferNeeded; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).BytesNoTransferNeeded = value; } + long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal.BytesNoTransferNeeded { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).BytesNoTransferNeeded; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).BytesNoTransferNeeded = value; } /// Internal Acessors for BytesScanned - long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal.BytesScanned { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).BytesScanned; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).BytesScanned = value; } + long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal.BytesScanned { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).BytesScanned; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).BytesScanned = value; } /// Internal Acessors for BytesTransferred - long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal.BytesTransferred { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).BytesTransferred; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).BytesTransferred = value; } + long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal.BytesTransferred { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).BytesTransferred; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).BytesTransferred = value; } /// Internal Acessors for BytesUnsupported - long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal.BytesUnsupported { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).BytesUnsupported; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).BytesUnsupported = value; } + long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal.BytesUnsupported { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).BytesUnsupported; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).BytesUnsupported = value; } /// Internal Acessors for Error - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunError Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal.Error { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).Error; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).Error = value; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunError Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal.Error { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).Error; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).Error = value; } /// Internal Acessors for ExecutionEndTime - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal.ExecutionEndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).ExecutionEndTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).ExecutionEndTime = value; } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal.ExecutionEndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).ExecutionEndTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).ExecutionEndTime = value; } /// Internal Acessors for ExecutionStartTime - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal.ExecutionStartTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).ExecutionStartTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).ExecutionStartTime = value; } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal.ExecutionStartTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).ExecutionStartTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).ExecutionStartTime = value; } /// Internal Acessors for ItemsExcluded - long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal.ItemsExcluded { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).ItemsExcluded; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).ItemsExcluded = value; } + long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal.ItemsExcluded { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).ItemsExcluded; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).ItemsExcluded = value; } /// Internal Acessors for ItemsFailed - long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal.ItemsFailed { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).ItemsFailed; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).ItemsFailed = value; } + long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal.ItemsFailed { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).ItemsFailed; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).ItemsFailed = value; } /// Internal Acessors for ItemsNoTransferNeeded - long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal.ItemsNoTransferNeeded { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).ItemsNoTransferNeeded; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).ItemsNoTransferNeeded = value; } + long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal.ItemsNoTransferNeeded { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).ItemsNoTransferNeeded; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).ItemsNoTransferNeeded = value; } /// Internal Acessors for ItemsScanned - long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal.ItemsScanned { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).ItemsScanned; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).ItemsScanned = value; } + long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal.ItemsScanned { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).ItemsScanned; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).ItemsScanned = value; } /// Internal Acessors for ItemsTransferred - long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal.ItemsTransferred { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).ItemsTransferred; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).ItemsTransferred = value; } + long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal.ItemsTransferred { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).ItemsTransferred; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).ItemsTransferred = value; } /// Internal Acessors for ItemsUnsupported - long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal.ItemsUnsupported { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).ItemsUnsupported; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).ItemsUnsupported = value; } + long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal.ItemsUnsupported { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).ItemsUnsupported; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).ItemsUnsupported = value; } /// Internal Acessors for JobDefinitionProperty - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal.JobDefinitionProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).JobDefinitionProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).JobDefinitionProperty = value; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal.JobDefinitionProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).JobDefinitionProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).JobDefinitionProperty = value; } /// Internal Acessors for LastStatusUpdate - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal.LastStatusUpdate { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).LastStatusUpdate; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).LastStatusUpdate = value; } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal.LastStatusUpdate { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).LastStatusUpdate; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).LastStatusUpdate = value; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunProperties Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobRunProperties()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunProperties Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobRunProperties()); set { {_property = value;} } } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).ProvisioningState = value; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).ProvisioningState = value; } /// Internal Acessors for ScanStatus - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunScanStatus? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal.ScanStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).ScanStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).ScanStatus = value; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunScanStatus? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal.ScanStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).ScanStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).ScanStatus = value; } /// Internal Acessors for SourceName - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal.SourceName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).SourceName; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).SourceName = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal.SourceName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).SourceName; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).SourceName = value; } /// Internal Acessors for SourceProperty - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal.SourceProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).SourceProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).SourceProperty = value; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal.SourceProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).SourceProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).SourceProperty = value; } /// Internal Acessors for SourceResourceId - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal.SourceResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).SourceResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).SourceResourceId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal.SourceResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).SourceResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).SourceResourceId = value; } /// Internal Acessors for Status - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).Status = value; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal.Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).Status = value; } /// Internal Acessors for TargetName - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal.TargetName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).TargetName; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).TargetName = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal.TargetName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).TargetName; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).TargetName = value; } /// Internal Acessors for TargetProperty - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal.TargetProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).TargetProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).TargetProperty = value; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal.TargetProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).TargetProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).TargetProperty = value; } /// Internal Acessors for TargetResourceId - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunInternal.TargetResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).TargetResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).TargetResourceId = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunInternal.TargetResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).TargetResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).TargetResourceId = value; } /// Internal Acessors for Id string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.IResourceInternal)__resource).Id = value; } @@ -220,35 +220,35 @@ public partial class JobRun : public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.IResourceInternal)__resource).Name; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunProperties _property; /// Job run properties. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobRunProperties()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobRunProperties()); set => this._property = value; } /// The provisioning state of this resource. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).ProvisioningState; } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).ProvisioningState; } /// The status of Agent's scanning of source. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunScanStatus? ScanStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).ScanStatus; } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunScanStatus? ScanStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).ScanStatus; } /// Name of source Endpoint resource. This resource may no longer exist. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string SourceName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).SourceName; } + public string SourceName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).SourceName; } /// Copy of source Endpoint resource's properties at time of Job Run creation. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny SourceProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).SourceProperty; } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny SourceProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).SourceProperty; } /// Fully qualified resource id of source Endpoint. This id may no longer exist. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string SourceResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).SourceResourceId; } + public string SourceResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).SourceResourceId; } /// The state of the job execution. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus? Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).Status; } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus? Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).Status; } /// /// Azure Resource Manager metadata containing createdBy and modifiedBy information. @@ -282,19 +282,19 @@ public partial class JobRun : /// Target of the given error entry. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).Target = value ?? null; } + public string Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).Target = value ?? null; } /// Name of target Endpoint resource. This resource may no longer exist. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string TargetName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).TargetName; } + public string TargetName { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).TargetName; } /// Copy of Endpoint resource's properties at time of Job Run creation. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny TargetProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).TargetProperty; } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny TargetProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).TargetProperty; } /// Fully qualified resource id of of Endpoint. This id may no longer exist. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string TargetResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)Property).TargetResourceId; } + public string TargetResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)Property).TargetResourceId; } /// /// The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" @@ -602,7 +602,7 @@ internal partial interface IJobRunInternal : /// Bytes of data that will not be transferred, as they are unsupported on target. long? BytesUnsupported { get; set; } /// Error details. - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunError Error { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunError Error { get; set; } /// Error code of the given entry. string ErrorCode { get; set; } /// Error message of the given entry. @@ -634,7 +634,7 @@ internal partial interface IJobRunInternal : /// The last updated time of the Job Run. global::System.DateTime? LastStatusUpdate { get; set; } /// Job run properties. - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunProperties Property { get; set; } /// The provisioning state of this resource. Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? ProvisioningState { get; set; } /// The status of Agent's scanning of source. diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRun.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRun.json.cs similarity index 97% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRun.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRun.json.cs index 31ee37355835..3784b19cedfe 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRun.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRun.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class JobRun partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRun. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRun. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRun FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new JobRun(json) : null; } @@ -78,7 +78,7 @@ internal JobRun(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.Jso return; } __resource = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.Resource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobRunProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobRunProperties.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunError.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunError.PowerShell.cs similarity index 87% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunError.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunError.PowerShell.cs index e1a509937091..5f5ab88dca55 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunError.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunError.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -63,27 +63,27 @@ public partial class JobRunError partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunError DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunError DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new JobRunError(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunError DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunError DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new JobRunError(content); } @@ -93,10 +93,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunError FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunError FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -111,21 +111,21 @@ internal JobRunError(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Code")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunErrorInternal)this).Code, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunErrorInternal)this).Code, global::System.Convert.ToString); } if (content.Contains("Message")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunErrorInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunErrorInternal)this).Message, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunErrorInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunErrorInternal)this).Message, global::System.Convert.ToString); } if (content.Contains("Target")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunErrorInternal)this).Target, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunErrorInternal)this).Target, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -140,15 +140,15 @@ internal JobRunError(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Code")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunErrorInternal)this).Code, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunErrorInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunErrorInternal)this).Code, global::System.Convert.ToString); } if (content.Contains("Message")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunErrorInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunErrorInternal)this).Message, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunErrorInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunErrorInternal)this).Message, global::System.Convert.ToString); } if (content.Contains("Target")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunErrorInternal)this).Target, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunErrorInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunErrorInternal)this).Target, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunError.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunError.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunError.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunError.TypeConverter.cs index 67dc10204641..2ef3725bbce5 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunError.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunError.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunError ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunError ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunError).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunError).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunError.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunError.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunError.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunError.cs index d8e9d07e8edd..5f3dc55051f1 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunError.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunError.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; /// Error type [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class JobRunError : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunError, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunErrorInternal + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunError, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunErrorInternal { /// Backing field for property. diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunError.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunError.json.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunError.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunError.json.cs index 7c93c2b40bd3..3bb02c522c50 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunError.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunError.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class JobRunError partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunError. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunError. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunError. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunError. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunError FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunError FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new JobRunError(json) : null; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunList.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunList.PowerShell.cs similarity index 86% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunList.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunList.PowerShell.cs index b89506113bd8..18e199f80a00 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunList.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunList.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -63,27 +63,27 @@ public partial class JobRunList partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunList DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunList DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new JobRunList(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new JobRunList(content); } @@ -93,10 +93,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -111,17 +111,17 @@ internal JobRunList(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRun[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobRunTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobRunTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -136,11 +136,11 @@ internal JobRunList(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRun[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobRunTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobRunTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunList.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunList.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunList.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunList.TypeConverter.cs index 927702d4d09a..927a37b2dbdd 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunList.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunList.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -105,14 +105,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunList ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunList ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunList).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunList).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunList.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunList.cs similarity index 87% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunList.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunList.cs index f3fd37e05db6..fcf6b4e123c6 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunList.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunList.cs @@ -3,22 +3,22 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; /// List of Job Runs. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class JobRunList : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunList, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunListInternal + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunList, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunListInternal { /// Internal Acessors for NextLink - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunListInternal.NextLink { get => this._nextLink; set { {_nextLink = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunListInternal.NextLink { get => this._nextLink; set { {_nextLink = value;} } } /// Internal Acessors for Value - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRun[] Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunListInternal.Value { get => this._value; set { {_value = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun[] Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunListInternal.Value { get => this._value; set { {_value = value;} } } /// Backing field for property. private string _nextLink; @@ -31,10 +31,10 @@ public partial class JobRunList : public string NextLink { get => this._nextLink; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRun[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun[] _value; [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRun[] Value { get => this._value; } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun[] Value { get => this._value; } /// Creates an new instance. public JobRunList() @@ -63,8 +63,8 @@ public partial interface IJobRunList : ReadOnly = true, Description = @"", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRun) })] - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRun[] Value { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun) })] + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun[] Value { get; } } /// List of Job Runs. @@ -77,7 +77,7 @@ internal partial interface IJobRunListInternal /// string NextLink { get; set; } - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRun[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun[] Value { get; set; } } } \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunList.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunList.json.cs similarity index 95% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunList.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunList.json.cs index 884222be4dde..e102fc1bc99a 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunList.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunList.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class JobRunList partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunList. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunList. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunList. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunList. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunList FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunList FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new JobRunList(json) : null; } @@ -77,7 +77,7 @@ internal JobRunList(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRun) (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobRun.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun) (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobRun.FromJson(__u) )) ))() : null : Value;} {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)NextLink;} AfterFromJson(json); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunProperties.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunProperties.PowerShell.cs similarity index 74% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunProperties.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunProperties.PowerShell.cs index 352e0032ea7f..531e234e7cd0 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunProperties.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -63,27 +63,27 @@ public partial class JobRunProperties partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new JobRunProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new JobRunProperties(content); } @@ -93,10 +93,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -111,133 +111,133 @@ internal JobRunProperties(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Error")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunError) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobRunErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunError) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobRunErrorTypeConverter.ConvertFrom); } if (content.Contains("Status")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).Status = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus?) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).Status, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).Status = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus?) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).Status, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus.CreateFrom); } if (content.Contains("ScanStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ScanStatus = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunScanStatus?) content.GetValueForProperty("ScanStatus",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ScanStatus, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunScanStatus.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ScanStatus = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunScanStatus?) content.GetValueForProperty("ScanStatus",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ScanStatus, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunScanStatus.CreateFrom); } if (content.Contains("AgentName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).AgentName = (string) content.GetValueForProperty("AgentName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).AgentName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).AgentName = (string) content.GetValueForProperty("AgentName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).AgentName, global::System.Convert.ToString); } if (content.Contains("AgentResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).AgentResourceId = (string) content.GetValueForProperty("AgentResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).AgentResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).AgentResourceId = (string) content.GetValueForProperty("AgentResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).AgentResourceId, global::System.Convert.ToString); } if (content.Contains("ExecutionStartTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ExecutionStartTime = (global::System.DateTime?) content.GetValueForProperty("ExecutionStartTime",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ExecutionStartTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ExecutionStartTime = (global::System.DateTime?) content.GetValueForProperty("ExecutionStartTime",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ExecutionStartTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("ExecutionEndTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ExecutionEndTime = (global::System.DateTime?) content.GetValueForProperty("ExecutionEndTime",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ExecutionEndTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ExecutionEndTime = (global::System.DateTime?) content.GetValueForProperty("ExecutionEndTime",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ExecutionEndTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("LastStatusUpdate")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).LastStatusUpdate = (global::System.DateTime?) content.GetValueForProperty("LastStatusUpdate",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).LastStatusUpdate, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).LastStatusUpdate = (global::System.DateTime?) content.GetValueForProperty("LastStatusUpdate",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).LastStatusUpdate, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("ItemsScanned")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ItemsScanned = (long?) content.GetValueForProperty("ItemsScanned",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ItemsScanned, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ItemsScanned = (long?) content.GetValueForProperty("ItemsScanned",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ItemsScanned, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("ItemsExcluded")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ItemsExcluded = (long?) content.GetValueForProperty("ItemsExcluded",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ItemsExcluded, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ItemsExcluded = (long?) content.GetValueForProperty("ItemsExcluded",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ItemsExcluded, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("ItemsUnsupported")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ItemsUnsupported = (long?) content.GetValueForProperty("ItemsUnsupported",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ItemsUnsupported, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ItemsUnsupported = (long?) content.GetValueForProperty("ItemsUnsupported",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ItemsUnsupported, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("ItemsNoTransferNeeded")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ItemsNoTransferNeeded = (long?) content.GetValueForProperty("ItemsNoTransferNeeded",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ItemsNoTransferNeeded, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ItemsNoTransferNeeded = (long?) content.GetValueForProperty("ItemsNoTransferNeeded",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ItemsNoTransferNeeded, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("ItemsFailed")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ItemsFailed = (long?) content.GetValueForProperty("ItemsFailed",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ItemsFailed, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ItemsFailed = (long?) content.GetValueForProperty("ItemsFailed",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ItemsFailed, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("ItemsTransferred")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ItemsTransferred = (long?) content.GetValueForProperty("ItemsTransferred",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ItemsTransferred, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ItemsTransferred = (long?) content.GetValueForProperty("ItemsTransferred",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ItemsTransferred, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("BytesScanned")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).BytesScanned = (long?) content.GetValueForProperty("BytesScanned",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).BytesScanned, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).BytesScanned = (long?) content.GetValueForProperty("BytesScanned",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).BytesScanned, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("BytesExcluded")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).BytesExcluded = (long?) content.GetValueForProperty("BytesExcluded",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).BytesExcluded, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).BytesExcluded = (long?) content.GetValueForProperty("BytesExcluded",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).BytesExcluded, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("BytesUnsupported")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).BytesUnsupported = (long?) content.GetValueForProperty("BytesUnsupported",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).BytesUnsupported, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).BytesUnsupported = (long?) content.GetValueForProperty("BytesUnsupported",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).BytesUnsupported, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("BytesNoTransferNeeded")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).BytesNoTransferNeeded = (long?) content.GetValueForProperty("BytesNoTransferNeeded",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).BytesNoTransferNeeded, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).BytesNoTransferNeeded = (long?) content.GetValueForProperty("BytesNoTransferNeeded",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).BytesNoTransferNeeded, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("BytesFailed")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).BytesFailed = (long?) content.GetValueForProperty("BytesFailed",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).BytesFailed, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).BytesFailed = (long?) content.GetValueForProperty("BytesFailed",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).BytesFailed, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("BytesTransferred")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).BytesTransferred = (long?) content.GetValueForProperty("BytesTransferred",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).BytesTransferred, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).BytesTransferred = (long?) content.GetValueForProperty("BytesTransferred",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).BytesTransferred, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("SourceName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).SourceName = (string) content.GetValueForProperty("SourceName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).SourceName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).SourceName = (string) content.GetValueForProperty("SourceName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).SourceName, global::System.Convert.ToString); } if (content.Contains("SourceResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).SourceResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).SourceResourceId, global::System.Convert.ToString); } if (content.Contains("SourceProperty")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).SourceProperty = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny) content.GetValueForProperty("SourceProperty",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).SourceProperty, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.AnyTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).SourceProperty = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny) content.GetValueForProperty("SourceProperty",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).SourceProperty, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.AnyTypeConverter.ConvertFrom); } if (content.Contains("TargetName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).TargetName = (string) content.GetValueForProperty("TargetName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).TargetName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).TargetName = (string) content.GetValueForProperty("TargetName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).TargetName, global::System.Convert.ToString); } if (content.Contains("TargetResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).TargetResourceId = (string) content.GetValueForProperty("TargetResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).TargetResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).TargetResourceId = (string) content.GetValueForProperty("TargetResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).TargetResourceId, global::System.Convert.ToString); } if (content.Contains("TargetProperty")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).TargetProperty = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny) content.GetValueForProperty("TargetProperty",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).TargetProperty, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.AnyTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).TargetProperty = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny) content.GetValueForProperty("TargetProperty",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).TargetProperty, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.AnyTypeConverter.ConvertFrom); } if (content.Contains("JobDefinitionProperty")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).JobDefinitionProperty = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny) content.GetValueForProperty("JobDefinitionProperty",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).JobDefinitionProperty, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.AnyTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).JobDefinitionProperty = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny) content.GetValueForProperty("JobDefinitionProperty",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).JobDefinitionProperty, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.AnyTypeConverter.ConvertFrom); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); } if (content.Contains("Code")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).Code, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).Code, global::System.Convert.ToString); } if (content.Contains("Message")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).Message, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).Message, global::System.Convert.ToString); } if (content.Contains("Target")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).Target, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).Target, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -252,127 +252,127 @@ internal JobRunProperties(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Error")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunError) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobRunErrorTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).Error = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunError) content.GetValueForProperty("Error",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).Error, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobRunErrorTypeConverter.ConvertFrom); } if (content.Contains("Status")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).Status = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus?) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).Status, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).Status = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus?) content.GetValueForProperty("Status",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).Status, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus.CreateFrom); } if (content.Contains("ScanStatus")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ScanStatus = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunScanStatus?) content.GetValueForProperty("ScanStatus",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ScanStatus, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunScanStatus.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ScanStatus = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunScanStatus?) content.GetValueForProperty("ScanStatus",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ScanStatus, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunScanStatus.CreateFrom); } if (content.Contains("AgentName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).AgentName = (string) content.GetValueForProperty("AgentName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).AgentName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).AgentName = (string) content.GetValueForProperty("AgentName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).AgentName, global::System.Convert.ToString); } if (content.Contains("AgentResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).AgentResourceId = (string) content.GetValueForProperty("AgentResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).AgentResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).AgentResourceId = (string) content.GetValueForProperty("AgentResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).AgentResourceId, global::System.Convert.ToString); } if (content.Contains("ExecutionStartTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ExecutionStartTime = (global::System.DateTime?) content.GetValueForProperty("ExecutionStartTime",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ExecutionStartTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ExecutionStartTime = (global::System.DateTime?) content.GetValueForProperty("ExecutionStartTime",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ExecutionStartTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("ExecutionEndTime")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ExecutionEndTime = (global::System.DateTime?) content.GetValueForProperty("ExecutionEndTime",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ExecutionEndTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ExecutionEndTime = (global::System.DateTime?) content.GetValueForProperty("ExecutionEndTime",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ExecutionEndTime, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("LastStatusUpdate")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).LastStatusUpdate = (global::System.DateTime?) content.GetValueForProperty("LastStatusUpdate",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).LastStatusUpdate, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).LastStatusUpdate = (global::System.DateTime?) content.GetValueForProperty("LastStatusUpdate",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).LastStatusUpdate, (v) => v is global::System.DateTime _v ? _v : global::System.Xml.XmlConvert.ToDateTime( v.ToString() , global::System.Xml.XmlDateTimeSerializationMode.Unspecified)); } if (content.Contains("ItemsScanned")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ItemsScanned = (long?) content.GetValueForProperty("ItemsScanned",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ItemsScanned, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ItemsScanned = (long?) content.GetValueForProperty("ItemsScanned",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ItemsScanned, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("ItemsExcluded")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ItemsExcluded = (long?) content.GetValueForProperty("ItemsExcluded",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ItemsExcluded, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ItemsExcluded = (long?) content.GetValueForProperty("ItemsExcluded",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ItemsExcluded, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("ItemsUnsupported")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ItemsUnsupported = (long?) content.GetValueForProperty("ItemsUnsupported",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ItemsUnsupported, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ItemsUnsupported = (long?) content.GetValueForProperty("ItemsUnsupported",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ItemsUnsupported, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("ItemsNoTransferNeeded")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ItemsNoTransferNeeded = (long?) content.GetValueForProperty("ItemsNoTransferNeeded",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ItemsNoTransferNeeded, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ItemsNoTransferNeeded = (long?) content.GetValueForProperty("ItemsNoTransferNeeded",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ItemsNoTransferNeeded, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("ItemsFailed")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ItemsFailed = (long?) content.GetValueForProperty("ItemsFailed",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ItemsFailed, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ItemsFailed = (long?) content.GetValueForProperty("ItemsFailed",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ItemsFailed, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("ItemsTransferred")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ItemsTransferred = (long?) content.GetValueForProperty("ItemsTransferred",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ItemsTransferred, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ItemsTransferred = (long?) content.GetValueForProperty("ItemsTransferred",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ItemsTransferred, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("BytesScanned")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).BytesScanned = (long?) content.GetValueForProperty("BytesScanned",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).BytesScanned, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).BytesScanned = (long?) content.GetValueForProperty("BytesScanned",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).BytesScanned, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("BytesExcluded")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).BytesExcluded = (long?) content.GetValueForProperty("BytesExcluded",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).BytesExcluded, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).BytesExcluded = (long?) content.GetValueForProperty("BytesExcluded",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).BytesExcluded, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("BytesUnsupported")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).BytesUnsupported = (long?) content.GetValueForProperty("BytesUnsupported",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).BytesUnsupported, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).BytesUnsupported = (long?) content.GetValueForProperty("BytesUnsupported",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).BytesUnsupported, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("BytesNoTransferNeeded")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).BytesNoTransferNeeded = (long?) content.GetValueForProperty("BytesNoTransferNeeded",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).BytesNoTransferNeeded, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).BytesNoTransferNeeded = (long?) content.GetValueForProperty("BytesNoTransferNeeded",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).BytesNoTransferNeeded, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("BytesFailed")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).BytesFailed = (long?) content.GetValueForProperty("BytesFailed",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).BytesFailed, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).BytesFailed = (long?) content.GetValueForProperty("BytesFailed",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).BytesFailed, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("BytesTransferred")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).BytesTransferred = (long?) content.GetValueForProperty("BytesTransferred",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).BytesTransferred, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).BytesTransferred = (long?) content.GetValueForProperty("BytesTransferred",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).BytesTransferred, (__y)=> (long) global::System.Convert.ChangeType(__y, typeof(long))); } if (content.Contains("SourceName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).SourceName = (string) content.GetValueForProperty("SourceName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).SourceName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).SourceName = (string) content.GetValueForProperty("SourceName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).SourceName, global::System.Convert.ToString); } if (content.Contains("SourceResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).SourceResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).SourceResourceId = (string) content.GetValueForProperty("SourceResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).SourceResourceId, global::System.Convert.ToString); } if (content.Contains("SourceProperty")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).SourceProperty = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny) content.GetValueForProperty("SourceProperty",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).SourceProperty, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.AnyTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).SourceProperty = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny) content.GetValueForProperty("SourceProperty",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).SourceProperty, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.AnyTypeConverter.ConvertFrom); } if (content.Contains("TargetName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).TargetName = (string) content.GetValueForProperty("TargetName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).TargetName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).TargetName = (string) content.GetValueForProperty("TargetName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).TargetName, global::System.Convert.ToString); } if (content.Contains("TargetResourceId")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).TargetResourceId = (string) content.GetValueForProperty("TargetResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).TargetResourceId, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).TargetResourceId = (string) content.GetValueForProperty("TargetResourceId",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).TargetResourceId, global::System.Convert.ToString); } if (content.Contains("TargetProperty")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).TargetProperty = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny) content.GetValueForProperty("TargetProperty",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).TargetProperty, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.AnyTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).TargetProperty = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny) content.GetValueForProperty("TargetProperty",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).TargetProperty, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.AnyTypeConverter.ConvertFrom); } if (content.Contains("JobDefinitionProperty")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).JobDefinitionProperty = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny) content.GetValueForProperty("JobDefinitionProperty",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).JobDefinitionProperty, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.AnyTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).JobDefinitionProperty = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny) content.GetValueForProperty("JobDefinitionProperty",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).JobDefinitionProperty, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.AnyTypeConverter.ConvertFrom); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); } if (content.Contains("Code")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).Code, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).Code = (string) content.GetValueForProperty("Code",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).Code, global::System.Convert.ToString); } if (content.Contains("Message")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).Message, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).Message = (string) content.GetValueForProperty("Message",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).Message, global::System.Convert.ToString); } if (content.Contains("Target")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal)this).Target, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).Target = (string) content.GetValueForProperty("Target",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal)this).Target, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunProperties.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunProperties.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunProperties.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunProperties.TypeConverter.cs index 4f2558f226fe..cb80d661dc83 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunProperties.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunProperties.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunProperties.cs similarity index 94% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunProperties.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunProperties.cs index 9471da33fde8..320d18c891f0 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunProperties.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunProperties.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; /// Job run properties. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class JobRunProperties : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunProperties, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunProperties, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal { /// Backing field for property. @@ -76,14 +76,14 @@ public partial class JobRunProperties : /// Error code of the given entry. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunErrorInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunErrorInternal)Error).Code = value ?? null; } + public string Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunErrorInternal)Error).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunErrorInternal)Error).Code = value ?? null; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunError _error; + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunError _error; /// Error details. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunError Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobRunError()); } + internal Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunError Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobRunError()); } /// Backing field for property. private global::System.DateTime? _executionEndTime; @@ -163,91 +163,91 @@ public partial class JobRunProperties : /// Error message of the given entry. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunErrorInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunErrorInternal)Error).Message = value ?? null; } + public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunErrorInternal)Error).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunErrorInternal)Error).Message = value ?? null; } /// Internal Acessors for AgentName - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal.AgentName { get => this._agentName; set { {_agentName = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal.AgentName { get => this._agentName; set { {_agentName = value;} } } /// Internal Acessors for AgentResourceId - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal.AgentResourceId { get => this._agentResourceId; set { {_agentResourceId = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal.AgentResourceId { get => this._agentResourceId; set { {_agentResourceId = value;} } } /// Internal Acessors for BytesExcluded - long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal.BytesExcluded { get => this._bytesExcluded; set { {_bytesExcluded = value;} } } + long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal.BytesExcluded { get => this._bytesExcluded; set { {_bytesExcluded = value;} } } /// Internal Acessors for BytesFailed - long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal.BytesFailed { get => this._bytesFailed; set { {_bytesFailed = value;} } } + long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal.BytesFailed { get => this._bytesFailed; set { {_bytesFailed = value;} } } /// Internal Acessors for BytesNoTransferNeeded - long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal.BytesNoTransferNeeded { get => this._bytesNoTransferNeeded; set { {_bytesNoTransferNeeded = value;} } } + long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal.BytesNoTransferNeeded { get => this._bytesNoTransferNeeded; set { {_bytesNoTransferNeeded = value;} } } /// Internal Acessors for BytesScanned - long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal.BytesScanned { get => this._bytesScanned; set { {_bytesScanned = value;} } } + long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal.BytesScanned { get => this._bytesScanned; set { {_bytesScanned = value;} } } /// Internal Acessors for BytesTransferred - long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal.BytesTransferred { get => this._bytesTransferred; set { {_bytesTransferred = value;} } } + long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal.BytesTransferred { get => this._bytesTransferred; set { {_bytesTransferred = value;} } } /// Internal Acessors for BytesUnsupported - long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal.BytesUnsupported { get => this._bytesUnsupported; set { {_bytesUnsupported = value;} } } + long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal.BytesUnsupported { get => this._bytesUnsupported; set { {_bytesUnsupported = value;} } } /// Internal Acessors for Error - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunError Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobRunError()); set { {_error = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunError Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal.Error { get => (this._error = this._error ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobRunError()); set { {_error = value;} } } /// Internal Acessors for ExecutionEndTime - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal.ExecutionEndTime { get => this._executionEndTime; set { {_executionEndTime = value;} } } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal.ExecutionEndTime { get => this._executionEndTime; set { {_executionEndTime = value;} } } /// Internal Acessors for ExecutionStartTime - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal.ExecutionStartTime { get => this._executionStartTime; set { {_executionStartTime = value;} } } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal.ExecutionStartTime { get => this._executionStartTime; set { {_executionStartTime = value;} } } /// Internal Acessors for ItemsExcluded - long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal.ItemsExcluded { get => this._itemsExcluded; set { {_itemsExcluded = value;} } } + long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal.ItemsExcluded { get => this._itemsExcluded; set { {_itemsExcluded = value;} } } /// Internal Acessors for ItemsFailed - long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal.ItemsFailed { get => this._itemsFailed; set { {_itemsFailed = value;} } } + long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal.ItemsFailed { get => this._itemsFailed; set { {_itemsFailed = value;} } } /// Internal Acessors for ItemsNoTransferNeeded - long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal.ItemsNoTransferNeeded { get => this._itemsNoTransferNeeded; set { {_itemsNoTransferNeeded = value;} } } + long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal.ItemsNoTransferNeeded { get => this._itemsNoTransferNeeded; set { {_itemsNoTransferNeeded = value;} } } /// Internal Acessors for ItemsScanned - long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal.ItemsScanned { get => this._itemsScanned; set { {_itemsScanned = value;} } } + long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal.ItemsScanned { get => this._itemsScanned; set { {_itemsScanned = value;} } } /// Internal Acessors for ItemsTransferred - long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal.ItemsTransferred { get => this._itemsTransferred; set { {_itemsTransferred = value;} } } + long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal.ItemsTransferred { get => this._itemsTransferred; set { {_itemsTransferred = value;} } } /// Internal Acessors for ItemsUnsupported - long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal.ItemsUnsupported { get => this._itemsUnsupported; set { {_itemsUnsupported = value;} } } + long? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal.ItemsUnsupported { get => this._itemsUnsupported; set { {_itemsUnsupported = value;} } } /// Internal Acessors for JobDefinitionProperty - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal.JobDefinitionProperty { get => (this._jobDefinitionProperty = this._jobDefinitionProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Any()); set { {_jobDefinitionProperty = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal.JobDefinitionProperty { get => (this._jobDefinitionProperty = this._jobDefinitionProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Any()); set { {_jobDefinitionProperty = value;} } } /// Internal Acessors for LastStatusUpdate - global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal.LastStatusUpdate { get => this._lastStatusUpdate; set { {_lastStatusUpdate = value;} } } + global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal.LastStatusUpdate { get => this._lastStatusUpdate; set { {_lastStatusUpdate = value;} } } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } /// Internal Acessors for ScanStatus - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunScanStatus? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal.ScanStatus { get => this._scanStatus; set { {_scanStatus = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunScanStatus? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal.ScanStatus { get => this._scanStatus; set { {_scanStatus = value;} } } /// Internal Acessors for SourceName - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal.SourceName { get => this._sourceName; set { {_sourceName = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal.SourceName { get => this._sourceName; set { {_sourceName = value;} } } /// Internal Acessors for SourceProperty - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal.SourceProperty { get => (this._sourceProperty = this._sourceProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Any()); set { {_sourceProperty = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal.SourceProperty { get => (this._sourceProperty = this._sourceProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Any()); set { {_sourceProperty = value;} } } /// Internal Acessors for SourceResourceId - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal.SourceResourceId { get => this._sourceResourceId; set { {_sourceResourceId = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal.SourceResourceId { get => this._sourceResourceId; set { {_sourceResourceId = value;} } } /// Internal Acessors for Status - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal.Status { get => this._status; set { {_status = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal.Status { get => this._status; set { {_status = value;} } } /// Internal Acessors for TargetName - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal.TargetName { get => this._targetName; set { {_targetName = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal.TargetName { get => this._targetName; set { {_targetName = value;} } } /// Internal Acessors for TargetProperty - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal.TargetProperty { get => (this._targetProperty = this._targetProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Any()); set { {_targetProperty = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IAny Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal.TargetProperty { get => (this._targetProperty = this._targetProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Any()); set { {_targetProperty = value;} } } /// Internal Acessors for TargetResourceId - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunPropertiesInternal.TargetResourceId { get => this._targetResourceId; set { {_targetResourceId = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunPropertiesInternal.TargetResourceId { get => this._targetResourceId; set { {_targetResourceId = value;} } } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? _provisioningState; @@ -293,7 +293,7 @@ public partial class JobRunProperties : /// Target of the given error entry. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunErrorInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunErrorInternal)Error).Target = value ?? null; } + public string Target { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunErrorInternal)Error).Target; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunErrorInternal)Error).Target = value ?? null; } /// Backing field for property. private string _targetName; @@ -605,7 +605,7 @@ internal partial interface IJobRunPropertiesInternal /// Error code of the given entry. string Code { get; set; } /// Error details. - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunError Error { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunError Error { get; set; } /// End time of the run. Null if Agent has not reported that the job has ended. global::System.DateTime? ExecutionEndTime { get; set; } /// Start time of the run. Null if no Agent reported that the job has started. diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunProperties.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunProperties.json.cs similarity index 99% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunProperties.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunProperties.json.cs index 8cfc16b5d8af..d0f54ab9b400 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunProperties.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class JobRunProperties partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new JobRunProperties(json) : null; } @@ -77,7 +77,7 @@ internal JobRunProperties(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtim { return; } - {_error = If( json?.PropertyT("error"), out var __jsonError) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobRunError.FromJson(__jsonError) : Error;} + {_error = If( json?.PropertyT("error"), out var __jsonError) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobRunError.FromJson(__jsonError) : Error;} {_status = If( json?.PropertyT("status"), out var __jsonStatus) ? (string)__jsonStatus : (string)Status;} {_scanStatus = If( json?.PropertyT("scanStatus"), out var __jsonScanStatus) ? (string)__jsonScanStatus : (string)ScanStatus;} {_agentName = If( json?.PropertyT("agentName"), out var __jsonAgentName) ? (string)__jsonAgentName : (string)AgentName;} diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunResourceId.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunResourceId.PowerShell.cs similarity index 90% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunResourceId.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunResourceId.PowerShell.cs index e62dc6ed78f6..553dee2b2b03 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunResourceId.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunResourceId.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -63,27 +63,27 @@ public partial class JobRunResourceId partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunResourceId DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunResourceId DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new JobRunResourceId(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunResourceId DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunResourceId DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new JobRunResourceId(content); } @@ -93,10 +93,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunResourceId FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunResourceId FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -111,13 +111,13 @@ internal JobRunResourceId(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("JobRunResourceId1")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunResourceIdInternal)this).JobRunResourceId1 = (string) content.GetValueForProperty("JobRunResourceId1",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunResourceIdInternal)this).JobRunResourceId1, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunResourceIdInternal)this).JobRunResourceId1 = (string) content.GetValueForProperty("JobRunResourceId1",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunResourceIdInternal)this).JobRunResourceId1, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -132,7 +132,7 @@ internal JobRunResourceId(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("JobRunResourceId1")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunResourceIdInternal)this).JobRunResourceId1 = (string) content.GetValueForProperty("JobRunResourceId1",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunResourceIdInternal)this).JobRunResourceId1, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunResourceIdInternal)this).JobRunResourceId1 = (string) content.GetValueForProperty("JobRunResourceId1",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunResourceIdInternal)this).JobRunResourceId1, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunResourceId.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunResourceId.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunResourceId.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunResourceId.TypeConverter.cs index 35522ee88dfd..d2a6208fc17c 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunResourceId.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunResourceId.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunResourceId ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunResourceId ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunResourceId).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunResourceId).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunResourceId.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunResourceId.cs similarity index 94% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunResourceId.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunResourceId.cs index 5af94ec23ed9..2a8ef2ed7c3c 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunResourceId.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunResourceId.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; /// Response that identifies a Job Run. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class JobRunResourceId : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunResourceId, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunResourceIdInternal + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunResourceId, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunResourceIdInternal { /// Backing field for property. @@ -22,7 +22,7 @@ public partial class JobRunResourceId : public string JobRunResourceId1 { get => this._jobRunResourceId1; } /// Internal Acessors for JobRunResourceId1 - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunResourceIdInternal.JobRunResourceId1 { get => this._jobRunResourceId1; set { {_jobRunResourceId1 = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunResourceIdInternal.JobRunResourceId1 { get => this._jobRunResourceId1; set { {_jobRunResourceId1 = value;} } } /// Creates an new instance. public JobRunResourceId() diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunResourceId.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunResourceId.json.cs similarity index 97% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunResourceId.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunResourceId.json.cs index 98cee71518f9..d1d0c951fbc2 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/JobRunResourceId.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/JobRunResourceId.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class JobRunResourceId partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunResourceId. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunResourceId. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunResourceId. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunResourceId. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunResourceId FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunResourceId FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new JobRunResourceId(json) : null; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/NfsMountEndpointProperties.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/NfsMountEndpointProperties.PowerShell.cs similarity index 85% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/NfsMountEndpointProperties.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/NfsMountEndpointProperties.PowerShell.cs index f14073aacfe0..ca7eb06bf1a8 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/NfsMountEndpointProperties.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/NfsMountEndpointProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -63,29 +63,29 @@ public partial class NfsMountEndpointProperties partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.INfsMountEndpointProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.INfsMountEndpointProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new NfsMountEndpointProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.INfsMountEndpointProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.INfsMountEndpointProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new NfsMountEndpointProperties(content); } @@ -95,10 +95,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.INfsMountEndpointProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.INfsMountEndpointProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -113,33 +113,33 @@ internal NfsMountEndpointProperties(global::System.Collections.IDictionary conte // actually deserialize if (content.Contains("Host")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.INfsMountEndpointPropertiesInternal)this).Host = (string) content.GetValueForProperty("Host",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.INfsMountEndpointPropertiesInternal)this).Host, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.INfsMountEndpointPropertiesInternal)this).Host = (string) content.GetValueForProperty("Host",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.INfsMountEndpointPropertiesInternal)this).Host, global::System.Convert.ToString); } if (content.Contains("NfsVersion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.INfsMountEndpointPropertiesInternal)this).NfsVersion = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.NfsVersion?) content.GetValueForProperty("NfsVersion",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.INfsMountEndpointPropertiesInternal)this).NfsVersion, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.NfsVersion.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.INfsMountEndpointPropertiesInternal)this).NfsVersion = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.NfsVersion?) content.GetValueForProperty("NfsVersion",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.INfsMountEndpointPropertiesInternal)this).NfsVersion, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.NfsVersion.CreateFrom); } if (content.Contains("Export")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.INfsMountEndpointPropertiesInternal)this).Export = (string) content.GetValueForProperty("Export",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.INfsMountEndpointPropertiesInternal)this).Export, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.INfsMountEndpointPropertiesInternal)this).Export = (string) content.GetValueForProperty("Export",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.INfsMountEndpointPropertiesInternal)this).Export, global::System.Convert.ToString); } if (content.Contains("EndpointType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).Description, global::System.Convert.ToString); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -154,27 +154,27 @@ internal NfsMountEndpointProperties(global::System.Management.Automation.PSObjec // actually deserialize if (content.Contains("Host")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.INfsMountEndpointPropertiesInternal)this).Host = (string) content.GetValueForProperty("Host",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.INfsMountEndpointPropertiesInternal)this).Host, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.INfsMountEndpointPropertiesInternal)this).Host = (string) content.GetValueForProperty("Host",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.INfsMountEndpointPropertiesInternal)this).Host, global::System.Convert.ToString); } if (content.Contains("NfsVersion")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.INfsMountEndpointPropertiesInternal)this).NfsVersion = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.NfsVersion?) content.GetValueForProperty("NfsVersion",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.INfsMountEndpointPropertiesInternal)this).NfsVersion, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.NfsVersion.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.INfsMountEndpointPropertiesInternal)this).NfsVersion = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.NfsVersion?) content.GetValueForProperty("NfsVersion",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.INfsMountEndpointPropertiesInternal)this).NfsVersion, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.NfsVersion.CreateFrom); } if (content.Contains("Export")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.INfsMountEndpointPropertiesInternal)this).Export = (string) content.GetValueForProperty("Export",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.INfsMountEndpointPropertiesInternal)this).Export, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.INfsMountEndpointPropertiesInternal)this).Export = (string) content.GetValueForProperty("Export",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.INfsMountEndpointPropertiesInternal)this).Export, global::System.Convert.ToString); } if (content.Contains("EndpointType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).Description, global::System.Convert.ToString); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); } AfterDeserializePSObject(content); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/NfsMountEndpointProperties.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/NfsMountEndpointProperties.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/NfsMountEndpointProperties.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/NfsMountEndpointProperties.TypeConverter.cs index 11ad12919513..80ef5f6f42d2 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/NfsMountEndpointProperties.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/NfsMountEndpointProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.INfsMountEndpointProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.INfsMountEndpointProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.INfsMountEndpointProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.INfsMountEndpointProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/NfsMountEndpointProperties.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/NfsMountEndpointProperties.cs similarity index 89% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/NfsMountEndpointProperties.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/NfsMountEndpointProperties.cs index 5202f2c79e59..a797033c1832 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/NfsMountEndpointProperties.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/NfsMountEndpointProperties.cs @@ -3,30 +3,30 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; /// The properties of NFS share endpoint. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class NfsMountEndpointProperties : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.INfsMountEndpointProperties, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.INfsMountEndpointPropertiesInternal, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.INfsMountEndpointProperties, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.INfsMountEndpointPropertiesInternal, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseProperties __endpointBaseProperties = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.EndpointBaseProperties(); + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseProperties __endpointBaseProperties = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.EndpointBaseProperties(); /// A description for the Endpoint. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] - public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)__endpointBaseProperties).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)__endpointBaseProperties).Description = value ?? null; } + public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)__endpointBaseProperties).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)__endpointBaseProperties).Description = value ?? null; } /// The Endpoint resource type. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType EndpointType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)__endpointBaseProperties).EndpointType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)__endpointBaseProperties).EndpointType = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType EndpointType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)__endpointBaseProperties).EndpointType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)__endpointBaseProperties).EndpointType = value ; } /// Backing field for property. private string _export; @@ -43,7 +43,7 @@ public partial class NfsMountEndpointProperties : public string Host { get => this._host; set => this._host = value; } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)__endpointBaseProperties).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)__endpointBaseProperties).ProvisioningState = value; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)__endpointBaseProperties).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)__endpointBaseProperties).ProvisioningState = value; } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.NfsVersion? _nfsVersion; @@ -54,7 +54,7 @@ public partial class NfsMountEndpointProperties : /// The provisioning state of this resource. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)__endpointBaseProperties).ProvisioningState; } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)__endpointBaseProperties).ProvisioningState; } /// Creates an new instance. public NfsMountEndpointProperties() @@ -77,7 +77,7 @@ public NfsMountEndpointProperties() /// The properties of NFS share endpoint. public partial interface INfsMountEndpointProperties : Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseProperties + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseProperties { /// The directory being exported from the server. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Info( @@ -107,7 +107,7 @@ public partial interface INfsMountEndpointProperties : } /// The properties of NFS share endpoint. internal partial interface INfsMountEndpointPropertiesInternal : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal { /// The directory being exported from the server. string Export { get; set; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/NfsMountEndpointProperties.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/NfsMountEndpointProperties.json.cs similarity index 97% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/NfsMountEndpointProperties.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/NfsMountEndpointProperties.json.cs index c06dd10a307d..5980f58c9fb8 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/NfsMountEndpointProperties.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/NfsMountEndpointProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class NfsMountEndpointProperties partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.INfsMountEndpointProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.INfsMountEndpointProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.INfsMountEndpointProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.INfsMountEndpointProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.INfsMountEndpointProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.INfsMountEndpointProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new NfsMountEndpointProperties(json) : null; } @@ -77,7 +77,7 @@ internal NfsMountEndpointProperties(Microsoft.Azure.PowerShell.Cmdlets.StorageMo { return; } - __endpointBaseProperties = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.EndpointBaseProperties(json); + __endpointBaseProperties = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.EndpointBaseProperties(json); {_host = If( json?.PropertyT("host"), out var __jsonHost) ? (string)__jsonHost : (string)Host;} {_nfsVersion = If( json?.PropertyT("nfsVersion"), out var __jsonNfsVersion) ? (string)__jsonNfsVersion : (string)NfsVersion;} {_export = If( json?.PropertyT("export"), out var __jsonExport) ? (string)__jsonExport : (string)Export;} diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/NfsMountEndpointUpdateProperties.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/NfsMountEndpointUpdateProperties.PowerShell.cs similarity index 89% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/NfsMountEndpointUpdateProperties.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/NfsMountEndpointUpdateProperties.PowerShell.cs index 72265e8c1370..c9cabaddf81a 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/NfsMountEndpointUpdateProperties.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/NfsMountEndpointUpdateProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -62,29 +62,29 @@ public partial class NfsMountEndpointUpdateProperties partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.INfsMountEndpointUpdateProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.INfsMountEndpointUpdateProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new NfsMountEndpointUpdateProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.INfsMountEndpointUpdateProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.INfsMountEndpointUpdateProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new NfsMountEndpointUpdateProperties(content); } @@ -94,10 +94,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.INfsMountEndpointUpdateProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.INfsMountEndpointUpdateProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -112,17 +112,17 @@ internal NfsMountEndpointUpdateProperties(global::System.Collections.IDictionary // actually deserialize if (content.Contains("EndpointType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -137,11 +137,11 @@ internal NfsMountEndpointUpdateProperties(global::System.Management.Automation.P // actually deserialize if (content.Contains("EndpointType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/NfsMountEndpointUpdateProperties.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/NfsMountEndpointUpdateProperties.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/NfsMountEndpointUpdateProperties.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/NfsMountEndpointUpdateProperties.TypeConverter.cs index cc7961eb5575..41d3c5168b61 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/NfsMountEndpointUpdateProperties.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/NfsMountEndpointUpdateProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -107,14 +107,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.INfsMountEndpointUpdateProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.INfsMountEndpointUpdateProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.INfsMountEndpointUpdateProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.INfsMountEndpointUpdateProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/NfsMountEndpointUpdateProperties.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/NfsMountEndpointUpdateProperties.cs similarity index 84% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/NfsMountEndpointUpdateProperties.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/NfsMountEndpointUpdateProperties.cs index fb574fa01858..81231d6ea42c 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/NfsMountEndpointUpdateProperties.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/NfsMountEndpointUpdateProperties.cs @@ -3,29 +3,29 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class NfsMountEndpointUpdateProperties : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.INfsMountEndpointUpdateProperties, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.INfsMountEndpointUpdatePropertiesInternal, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.INfsMountEndpointUpdateProperties, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.INfsMountEndpointUpdatePropertiesInternal, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateProperties __endpointBaseUpdateProperties = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.EndpointBaseUpdateProperties(); + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateProperties __endpointBaseUpdateProperties = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.EndpointBaseUpdateProperties(); /// A description for the Endpoint. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] - public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)__endpointBaseUpdateProperties).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)__endpointBaseUpdateProperties).Description = value ?? null; } + public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)__endpointBaseUpdateProperties).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)__endpointBaseUpdateProperties).Description = value ?? null; } /// The Endpoint resource type. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType EndpointType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)__endpointBaseUpdateProperties).EndpointType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)__endpointBaseUpdateProperties).EndpointType = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType EndpointType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)__endpointBaseUpdateProperties).EndpointType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)__endpointBaseUpdateProperties).EndpointType = value ; } /// Creates an new instance. public NfsMountEndpointUpdateProperties() @@ -47,12 +47,12 @@ public NfsMountEndpointUpdateProperties() } public partial interface INfsMountEndpointUpdateProperties : Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateProperties + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateProperties { } internal partial interface INfsMountEndpointUpdatePropertiesInternal : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal { } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/NfsMountEndpointUpdateProperties.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/NfsMountEndpointUpdateProperties.json.cs similarity index 96% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/NfsMountEndpointUpdateProperties.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/NfsMountEndpointUpdateProperties.json.cs index ac733180363a..a427280dbb7c 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/NfsMountEndpointUpdateProperties.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/NfsMountEndpointUpdateProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -53,13 +53,13 @@ public partial class NfsMountEndpointUpdateProperties partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.INfsMountEndpointUpdateProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.INfsMountEndpointUpdateProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.INfsMountEndpointUpdateProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.INfsMountEndpointUpdateProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.INfsMountEndpointUpdateProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.INfsMountEndpointUpdateProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new NfsMountEndpointUpdateProperties(json) : null; } @@ -76,7 +76,7 @@ internal NfsMountEndpointUpdateProperties(Microsoft.Azure.PowerShell.Cmdlets.Sto { return; } - __endpointBaseUpdateProperties = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.EndpointBaseUpdateProperties(json); + __endpointBaseUpdateProperties = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.EndpointBaseUpdateProperties(json); AfterFromJson(json); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Project.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Project.PowerShell.cs similarity index 92% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Project.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Project.PowerShell.cs index abd43a6fd5bb..6eb7a92c5e71 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Project.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Project.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -63,27 +63,27 @@ public partial class Project partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new Project(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new Project(content); } @@ -93,10 +93,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -111,7 +111,7 @@ internal Project(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ProjectPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ProjectPropertiesTypeConverter.ConvertFrom); } if (content.Contains("SystemDataCreatedBy")) { @@ -155,17 +155,17 @@ internal Project(global::System.Collections.IDictionary content) } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectInternal)this).Description, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -180,7 +180,7 @@ internal Project(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ProjectPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ProjectPropertiesTypeConverter.ConvertFrom); } if (content.Contains("SystemDataCreatedBy")) { @@ -224,11 +224,11 @@ internal Project(global::System.Management.Automation.PSObject content) } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectInternal)this).Description, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Project.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Project.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Project.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Project.TypeConverter.cs index 666c94087a19..a1c08b809583 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Project.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Project.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -105,14 +105,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Project.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Project.cs similarity index 93% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Project.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Project.cs index 693865ae9c66..634b53209f95 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Project.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Project.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; /// The Project resource. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class Project : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectInternal, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectInternal, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IValidates { /// @@ -22,7 +22,7 @@ public partial class Project : /// A description for the Project. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectPropertiesInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectPropertiesInternal)Property).Description = value ?? null; } + public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectPropertiesInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectPropertiesInternal)Property).Description = value ?? null; } /// /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} @@ -31,10 +31,10 @@ public partial class Project : public string Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.IResourceInternal)__resource).Id; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectProperties Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ProjectProperties()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectProperties Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ProjectProperties()); set { {_property = value;} } } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectPropertiesInternal)Property).ProvisioningState = value; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectPropertiesInternal)Property).ProvisioningState = value; } /// Internal Acessors for Id string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.IResourceInternal)__resource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.IResourceInternal)__resource).Id = value; } @@ -53,15 +53,15 @@ public partial class Project : public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.IResourceInternal)__resource).Name; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectProperties _property; /// Project properties. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ProjectProperties()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ProjectProperties()); set => this._property = value; } /// The provisioning state of this resource. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectPropertiesInternal)Property).ProvisioningState; } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectPropertiesInternal)Property).ProvisioningState; } /// /// Azure Resource Manager metadata containing createdBy and modifiedBy information. @@ -147,7 +147,7 @@ internal partial interface IProjectInternal : /// A description for the Project. string Description { get; set; } /// Project properties. - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectProperties Property { get; set; } /// The provisioning state of this resource. Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? ProvisioningState { get; set; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Project.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Project.json.cs similarity index 97% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Project.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Project.json.cs index ee3341f78c3d..e6feb561862d 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/Project.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Project.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class Project partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new Project(json) : null; } @@ -78,7 +78,7 @@ internal Project(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.Js return; } __resource = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.Resource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ProjectProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ProjectProperties.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectList.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectList.PowerShell.cs similarity index 85% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectList.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectList.PowerShell.cs index 00568bda70d7..b1e9063e5d6a 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectList.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectList.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -63,27 +63,27 @@ public partial class ProjectList partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectList DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectList DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ProjectList(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ProjectList(content); } @@ -93,10 +93,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -111,17 +111,17 @@ internal ProjectList(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ProjectTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ProjectTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -136,11 +136,11 @@ internal ProjectList(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ProjectTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ProjectTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectList.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectList.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectList.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectList.TypeConverter.cs index e9ae06df7b0d..f4029e4d330c 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectList.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectList.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectList ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectList ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectList).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectList).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectList.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectList.cs similarity index 87% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectList.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectList.cs index 7746e18c28f7..e1a30cbfc761 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectList.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectList.cs @@ -3,22 +3,22 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; /// List of Project resources. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class ProjectList : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectList, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectListInternal + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectList, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectListInternal { /// Internal Acessors for NextLink - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectListInternal.NextLink { get => this._nextLink; set { {_nextLink = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectListInternal.NextLink { get => this._nextLink; set { {_nextLink = value;} } } /// Internal Acessors for Value - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject[] Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectListInternal.Value { get => this._value; set { {_value = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject[] Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectListInternal.Value { get => this._value; set { {_value = value;} } } /// Backing field for property. private string _nextLink; @@ -31,10 +31,10 @@ public partial class ProjectList : public string NextLink { get => this._nextLink; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject[] _value; [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject[] Value { get => this._value; } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject[] Value { get => this._value; } /// Creates an new instance. public ProjectList() @@ -63,8 +63,8 @@ public partial interface IProjectList : ReadOnly = true, Description = @"", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject) })] - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject[] Value { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject) })] + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject[] Value { get; } } /// List of Project resources. @@ -77,7 +77,7 @@ internal partial interface IProjectListInternal /// string NextLink { get; set; } - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject[] Value { get; set; } } } \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectList.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectList.json.cs similarity index 96% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectList.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectList.json.cs index 63bc75c012d9..3b3e2eb79120 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectList.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectList.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class ProjectList partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectList. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectList. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectList. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectList. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectList FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectList FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new ProjectList(json) : null; } @@ -77,7 +77,7 @@ internal ProjectList(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Jso { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject) (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.Project.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject) (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.Project.FromJson(__u) )) ))() : null : Value;} {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)NextLink;} AfterFromJson(json); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectProperties.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectProperties.PowerShell.cs similarity index 89% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectProperties.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectProperties.PowerShell.cs index a5c41f5dcd3a..7477d9b63696 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectProperties.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -63,27 +63,27 @@ public partial class ProjectProperties partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ProjectProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ProjectProperties(content); } @@ -93,10 +93,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -111,17 +111,17 @@ internal ProjectProperties(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectPropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectPropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectPropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectPropertiesInternal)this).Description, global::System.Convert.ToString); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -136,11 +136,11 @@ internal ProjectProperties(global::System.Management.Automation.PSObject content // actually deserialize if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectPropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectPropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectPropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectPropertiesInternal)this).Description, global::System.Convert.ToString); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); } AfterDeserializePSObject(content); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectProperties.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectProperties.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectProperties.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectProperties.TypeConverter.cs index c2da3d2c4861..aad431e89cb1 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectProperties.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectProperties.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectProperties.cs similarity index 96% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectProperties.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectProperties.cs index 3dfc02280c65..3ac25b9da51f 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectProperties.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectProperties.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; /// Project properties. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class ProjectProperties : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectProperties, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectPropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectProperties, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectPropertiesInternal { /// Backing field for property. @@ -22,7 +22,7 @@ public partial class ProjectProperties : public string Description { get => this._description; set => this._description = value; } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? _provisioningState; diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectProperties.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectProperties.json.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectProperties.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectProperties.json.cs index 60863f6a5f75..701cadbb5700 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectProperties.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class ProjectProperties partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new ProjectProperties(json) : null; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectUpdateParameters.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectUpdateParameters.PowerShell.cs similarity index 86% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectUpdateParameters.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectUpdateParameters.PowerShell.cs index 0c77f7696116..729bc9448009 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectUpdateParameters.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectUpdateParameters.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -63,29 +63,29 @@ public partial class ProjectUpdateParameters partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ProjectUpdateParameters(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ProjectUpdateParameters(content); } @@ -95,10 +95,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -113,17 +113,17 @@ internal ProjectUpdateParameters(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParametersInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParametersInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ProjectUpdatePropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParametersInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParametersInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ProjectUpdatePropertiesTypeConverter.ConvertFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParametersInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParametersInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParametersInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParametersInternal)this).Description, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -138,11 +138,11 @@ internal ProjectUpdateParameters(global::System.Management.Automation.PSObject c // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParametersInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParametersInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ProjectUpdatePropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParametersInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParametersInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ProjectUpdatePropertiesTypeConverter.ConvertFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParametersInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParametersInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParametersInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParametersInternal)this).Description, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectUpdateParameters.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectUpdateParameters.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectUpdateParameters.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectUpdateParameters.TypeConverter.cs index d4c75bada698..945fa27e0ddc 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectUpdateParameters.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectUpdateParameters.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParameters ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParameters ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParameters).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParameters).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectUpdateParameters.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectUpdateParameters.cs similarity index 80% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectUpdateParameters.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectUpdateParameters.cs index d8ade53dd0b2..2b3b0c6aa512 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectUpdateParameters.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectUpdateParameters.cs @@ -3,30 +3,30 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; /// The Project resource. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class ProjectUpdateParameters : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParameters, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParametersInternal + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParameters, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParametersInternal { /// A description for the Project. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdatePropertiesInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdatePropertiesInternal)Property).Description = value ?? null; } + public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdatePropertiesInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdatePropertiesInternal)Property).Description = value ?? null; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateProperties Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParametersInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ProjectUpdateProperties()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateProperties Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParametersInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ProjectUpdateProperties()); set { {_property = value;} } } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateProperties _property; /// Project properties. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ProjectUpdateProperties()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ProjectUpdateProperties()); set => this._property = value; } /// Creates an new instance. public ProjectUpdateParameters() @@ -55,7 +55,7 @@ internal partial interface IProjectUpdateParametersInternal /// A description for the Project. string Description { get; set; } /// Project properties. - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateProperties Property { get; set; } } } \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectUpdateParameters.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectUpdateParameters.json.cs similarity index 96% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectUpdateParameters.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectUpdateParameters.json.cs index bf3df51b8584..e469942a6afb 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectUpdateParameters.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectUpdateParameters.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class ProjectUpdateParameters partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParameters. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParameters. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParameters. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParameters. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new ProjectUpdateParameters(json) : null; } @@ -77,7 +77,7 @@ internal ProjectUpdateParameters(Microsoft.Azure.PowerShell.Cmdlets.StorageMover { return; } - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ProjectUpdateProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ProjectUpdateProperties.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectUpdateProperties.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectUpdateProperties.PowerShell.cs similarity index 91% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectUpdateProperties.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectUpdateProperties.PowerShell.cs index 1ed83571c7c0..883357c0e193 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectUpdateProperties.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectUpdateProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -63,29 +63,29 @@ public partial class ProjectUpdateProperties partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new ProjectUpdateProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new ProjectUpdateProperties(content); } @@ -95,10 +95,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -113,13 +113,13 @@ internal ProjectUpdateProperties(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -134,7 +134,7 @@ internal ProjectUpdateProperties(global::System.Management.Automation.PSObject c // actually deserialize if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectUpdateProperties.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectUpdateProperties.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectUpdateProperties.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectUpdateProperties.TypeConverter.cs index eaeec7897549..65aaee1adb89 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectUpdateProperties.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectUpdateProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectUpdateProperties.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectUpdateProperties.cs similarity index 95% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectUpdateProperties.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectUpdateProperties.cs index fb61dd8280cd..29c4fb839e58 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectUpdateProperties.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectUpdateProperties.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; /// Project properties. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class ProjectUpdateProperties : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateProperties, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdatePropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateProperties, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdatePropertiesInternal { /// Backing field for property. diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectUpdateProperties.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectUpdateProperties.json.cs similarity index 97% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectUpdateProperties.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectUpdateProperties.json.cs index 3613d1949777..1888392b7aa3 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/ProjectUpdateProperties.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/ProjectUpdateProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class ProjectUpdateProperties partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new ProjectUpdateProperties(json) : null; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Recurrence.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Recurrence.PowerShell.cs new file mode 100644 index 000000000000..e206d42af3f8 --- /dev/null +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Recurrence.PowerShell.cs @@ -0,0 +1,204 @@ +// 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. + +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 +{ + using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; + + /// The schedule recurrence. + [System.ComponentModel.TypeConverter(typeof(RecurrenceTypeConverter))] + public partial class Recurrence + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrence DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new Recurrence(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrence DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new Recurrence(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrence FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal Recurrence(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("StartTime")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTime = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTime, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.TimeTypeConverter.ConvertFrom); + } + if (content.Contains("EndTime")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTime = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTime, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.TimeTypeConverter.ConvertFrom); + } + if (content.Contains("StartTimeHour")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTimeHour = (int) content.GetValueForProperty("StartTimeHour",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTimeHour, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("StartTimeMinute")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTimeMinute = (int?) content.GetValueForProperty("StartTimeMinute",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTimeMinute, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("EndTimeHour")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTimeHour = (int) content.GetValueForProperty("EndTimeHour",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTimeHour, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("EndTimeMinute")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTimeMinute = (int?) content.GetValueForProperty("EndTimeMinute",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTimeMinute, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal Recurrence(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("StartTime")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTime = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTime, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.TimeTypeConverter.ConvertFrom); + } + if (content.Contains("EndTime")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTime = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTime, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.TimeTypeConverter.ConvertFrom); + } + if (content.Contains("StartTimeHour")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTimeHour = (int) content.GetValueForProperty("StartTimeHour",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTimeHour, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("StartTimeMinute")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTimeMinute = (int?) content.GetValueForProperty("StartTimeMinute",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTimeMinute, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("EndTimeHour")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTimeHour = (int) content.GetValueForProperty("EndTimeHour",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTimeHour, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("EndTimeMinute")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTimeMinute = (int?) content.GetValueForProperty("EndTimeMinute",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTimeMinute, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + AfterDeserializePSObject(content); + } + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// The schedule recurrence. + [System.ComponentModel.TypeConverter(typeof(RecurrenceTypeConverter))] + public partial interface IRecurrence + + { + + } +} \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Recurrence.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Recurrence.TypeConverter.cs new file mode 100644 index 000000000000..2efc680dc434 --- /dev/null +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Recurrence.TypeConverter.cs @@ -0,0 +1,146 @@ +// 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. + +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 +{ + using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class RecurrenceTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrence ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrence).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return Recurrence.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return Recurrence.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return Recurrence.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Recurrence.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Recurrence.cs new file mode 100644 index 000000000000..437476486311 --- /dev/null +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Recurrence.cs @@ -0,0 +1,152 @@ +// 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. + +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; + + /// The schedule recurrence. + public partial class Recurrence : + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrence, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal + { + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime _endTime; + + /// + /// The end time of the schedule recurrence. Full hour and 30-minute intervals are supported. + /// + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] + internal Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime EndTime { get => (this._endTime = this._endTime ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.Time()); set => this._endTime = value; } + + /// + /// The hour element of the time. Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). + /// Hour value 24 cannot be combined with any other minute value but 0. + /// + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] + public int EndTimeHour { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITimeInternal)EndTime).Hour; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITimeInternal)EndTime).Hour = value ; } + + /// + /// The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0. + /// + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] + public int? EndTimeMinute { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITimeInternal)EndTime).Minute; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITimeInternal)EndTime).Minute = value ?? default(int); } + + /// Internal Acessors for EndTime + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal.EndTime { get => (this._endTime = this._endTime ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.Time()); set { {_endTime = value;} } } + + /// Internal Acessors for StartTime + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal.StartTime { get => (this._startTime = this._startTime ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.Time()); set { {_startTime = value;} } } + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime _startTime; + + /// + /// The start time of the schedule recurrence. Full hour and 30-minute intervals are supported. + /// + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] + internal Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime StartTime { get => (this._startTime = this._startTime ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.Time()); set => this._startTime = value; } + + /// + /// The hour element of the time. Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). + /// Hour value 24 cannot be combined with any other minute value but 0. + /// + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] + public int StartTimeHour { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITimeInternal)StartTime).Hour; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITimeInternal)StartTime).Hour = value ; } + + /// + /// The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0. + /// + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] + public int? StartTimeMinute { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITimeInternal)StartTime).Minute; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITimeInternal)StartTime).Minute = value ?? default(int); } + + /// Creates an new instance. + public Recurrence() + { + + } + } + /// The schedule recurrence. + public partial interface IRecurrence : + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IJsonSerializable + { + /// + /// The hour element of the time. Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). + /// Hour value 24 cannot be combined with any other minute value but 0. + /// + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The hour element of the time. Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). Hour value 24 cannot be combined with any other minute value but 0.", + SerializedName = @"hour", + PossibleTypes = new [] { typeof(int) })] + int EndTimeHour { get; set; } + /// + /// The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0. + /// + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0.", + SerializedName = @"minute", + PossibleTypes = new [] { typeof(int) })] + int? EndTimeMinute { get; set; } + /// + /// The hour element of the time. Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). + /// Hour value 24 cannot be combined with any other minute value but 0. + /// + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The hour element of the time. Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). Hour value 24 cannot be combined with any other minute value but 0.", + SerializedName = @"hour", + PossibleTypes = new [] { typeof(int) })] + int StartTimeHour { get; set; } + /// + /// The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0. + /// + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0.", + SerializedName = @"minute", + PossibleTypes = new [] { typeof(int) })] + int? StartTimeMinute { get; set; } + + } + /// The schedule recurrence. + internal partial interface IRecurrenceInternal + + { + /// + /// The end time of the schedule recurrence. Full hour and 30-minute intervals are supported. + /// + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime EndTime { get; set; } + /// + /// The hour element of the time. Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). + /// Hour value 24 cannot be combined with any other minute value but 0. + /// + int EndTimeHour { get; set; } + /// + /// The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0. + /// + int? EndTimeMinute { get; set; } + /// + /// The start time of the schedule recurrence. Full hour and 30-minute intervals are supported. + /// + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime StartTime { get; set; } + /// + /// The hour element of the time. Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). + /// Hour value 24 cannot be combined with any other minute value but 0. + /// + int StartTimeHour { get; set; } + /// + /// The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0. + /// + int? StartTimeMinute { get; set; } + + } +} \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Recurrence.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Recurrence.json.cs new file mode 100644 index 000000000000..9c1c27f92036 --- /dev/null +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Recurrence.json.cs @@ -0,0 +1,110 @@ +// 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. + +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; + + /// The schedule recurrence. + public partial class Recurrence + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrence. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrence. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrence FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new Recurrence(json) : null; + } + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject instance to deserialize from. + internal Recurrence(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_startTime = If( json?.PropertyT("startTime"), out var __jsonStartTime) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.Time.FromJson(__jsonStartTime) : StartTime;} + {_endTime = If( json?.PropertyT("endTime"), out var __jsonEndTime) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.Time.FromJson(__jsonEndTime) : EndTime;} + AfterFromJson(json); + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( null != this._startTime ? (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode) this._startTime.ToJson(null,serializationMode) : null, "startTime" ,container.Add ); + AddIf( null != this._endTime ? (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode) this._endTime.ToJson(null,serializationMode) : null, "endTime" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/SmbMountEndpointProperties.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/SmbMountEndpointProperties.PowerShell.cs similarity index 81% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/SmbMountEndpointProperties.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/SmbMountEndpointProperties.PowerShell.cs index 554b53652f81..a43fad376449 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/SmbMountEndpointProperties.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/SmbMountEndpointProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -63,29 +63,29 @@ public partial class SmbMountEndpointProperties partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new SmbMountEndpointProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new SmbMountEndpointProperties(content); } @@ -95,10 +95,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -113,45 +113,45 @@ internal SmbMountEndpointProperties(global::System.Collections.IDictionary conte // actually deserialize if (content.Contains("Credentials")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointPropertiesInternal)this).Credentials = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentials) content.GetValueForProperty("Credentials",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointPropertiesInternal)this).Credentials, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AzureKeyVaultSmbCredentialsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointPropertiesInternal)this).Credentials = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentials) content.GetValueForProperty("Credentials",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointPropertiesInternal)this).Credentials, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AzureKeyVaultSmbCredentialsTypeConverter.ConvertFrom); } if (content.Contains("Host")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointPropertiesInternal)this).Host = (string) content.GetValueForProperty("Host",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointPropertiesInternal)this).Host, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointPropertiesInternal)this).Host = (string) content.GetValueForProperty("Host",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointPropertiesInternal)this).Host, global::System.Convert.ToString); } if (content.Contains("ShareName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointPropertiesInternal)this).ShareName = (string) content.GetValueForProperty("ShareName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointPropertiesInternal)this).ShareName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointPropertiesInternal)this).ShareName = (string) content.GetValueForProperty("ShareName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointPropertiesInternal)this).ShareName, global::System.Convert.ToString); } if (content.Contains("EndpointType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).Description, global::System.Convert.ToString); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); } if (content.Contains("CredentialsType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointPropertiesInternal)this).CredentialsType = (string) content.GetValueForProperty("CredentialsType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointPropertiesInternal)this).CredentialsType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointPropertiesInternal)this).CredentialsType = (string) content.GetValueForProperty("CredentialsType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointPropertiesInternal)this).CredentialsType, global::System.Convert.ToString); } if (content.Contains("CredentialsUsernameUri")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointPropertiesInternal)this).CredentialsUsernameUri = (string) content.GetValueForProperty("CredentialsUsernameUri",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointPropertiesInternal)this).CredentialsUsernameUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointPropertiesInternal)this).CredentialsUsernameUri = (string) content.GetValueForProperty("CredentialsUsernameUri",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointPropertiesInternal)this).CredentialsUsernameUri, global::System.Convert.ToString); } if (content.Contains("CredentialsPasswordUri")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointPropertiesInternal)this).CredentialsPasswordUri = (string) content.GetValueForProperty("CredentialsPasswordUri",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointPropertiesInternal)this).CredentialsPasswordUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointPropertiesInternal)this).CredentialsPasswordUri = (string) content.GetValueForProperty("CredentialsPasswordUri",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointPropertiesInternal)this).CredentialsPasswordUri, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -166,39 +166,39 @@ internal SmbMountEndpointProperties(global::System.Management.Automation.PSObjec // actually deserialize if (content.Contains("Credentials")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointPropertiesInternal)this).Credentials = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentials) content.GetValueForProperty("Credentials",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointPropertiesInternal)this).Credentials, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AzureKeyVaultSmbCredentialsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointPropertiesInternal)this).Credentials = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentials) content.GetValueForProperty("Credentials",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointPropertiesInternal)this).Credentials, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AzureKeyVaultSmbCredentialsTypeConverter.ConvertFrom); } if (content.Contains("Host")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointPropertiesInternal)this).Host = (string) content.GetValueForProperty("Host",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointPropertiesInternal)this).Host, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointPropertiesInternal)this).Host = (string) content.GetValueForProperty("Host",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointPropertiesInternal)this).Host, global::System.Convert.ToString); } if (content.Contains("ShareName")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointPropertiesInternal)this).ShareName = (string) content.GetValueForProperty("ShareName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointPropertiesInternal)this).ShareName, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointPropertiesInternal)this).ShareName = (string) content.GetValueForProperty("ShareName",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointPropertiesInternal)this).ShareName, global::System.Convert.ToString); } if (content.Contains("EndpointType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).Description, global::System.Convert.ToString); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); } if (content.Contains("CredentialsType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointPropertiesInternal)this).CredentialsType = (string) content.GetValueForProperty("CredentialsType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointPropertiesInternal)this).CredentialsType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointPropertiesInternal)this).CredentialsType = (string) content.GetValueForProperty("CredentialsType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointPropertiesInternal)this).CredentialsType, global::System.Convert.ToString); } if (content.Contains("CredentialsUsernameUri")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointPropertiesInternal)this).CredentialsUsernameUri = (string) content.GetValueForProperty("CredentialsUsernameUri",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointPropertiesInternal)this).CredentialsUsernameUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointPropertiesInternal)this).CredentialsUsernameUri = (string) content.GetValueForProperty("CredentialsUsernameUri",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointPropertiesInternal)this).CredentialsUsernameUri, global::System.Convert.ToString); } if (content.Contains("CredentialsPasswordUri")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointPropertiesInternal)this).CredentialsPasswordUri = (string) content.GetValueForProperty("CredentialsPasswordUri",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointPropertiesInternal)this).CredentialsPasswordUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointPropertiesInternal)this).CredentialsPasswordUri = (string) content.GetValueForProperty("CredentialsPasswordUri",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointPropertiesInternal)this).CredentialsPasswordUri, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/SmbMountEndpointProperties.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/SmbMountEndpointProperties.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/SmbMountEndpointProperties.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/SmbMountEndpointProperties.TypeConverter.cs index cef44f99d001..4acc466830a6 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/SmbMountEndpointProperties.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/SmbMountEndpointProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/SmbMountEndpointProperties.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/SmbMountEndpointProperties.cs similarity index 85% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/SmbMountEndpointProperties.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/SmbMountEndpointProperties.cs index bc6fab25bd94..f2c5653c8884 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/SmbMountEndpointProperties.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/SmbMountEndpointProperties.cs @@ -3,55 +3,55 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; /// The properties of SMB share endpoint. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class SmbMountEndpointProperties : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointProperties, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointPropertiesInternal, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointProperties, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointPropertiesInternal, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseProperties __endpointBaseProperties = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.EndpointBaseProperties(); + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseProperties __endpointBaseProperties = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.EndpointBaseProperties(); /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentials _credentials; + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentials _credentials; /// /// The Azure Key Vault secret URIs which store the required credentials to access the SMB share. /// [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentials Credentials { get => (this._credentials = this._credentials ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AzureKeyVaultSmbCredentials()); set => this._credentials = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentials Credentials { get => (this._credentials = this._credentials ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AzureKeyVaultSmbCredentials()); set => this._credentials = value; } /// /// The Azure Key Vault secret URI which stores the password. Use empty string to clean-up existing value. /// [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string CredentialsPasswordUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentialsInternal)Credentials).PasswordUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentialsInternal)Credentials).PasswordUri = value ?? null; } + public string CredentialsPasswordUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentialsInternal)Credentials).PasswordUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentialsInternal)Credentials).PasswordUri = value ?? null; } /// The Credentials type. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string CredentialsType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ICredentialsInternal)Credentials).Type; } + public string CredentialsType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentialsInternal)Credentials).Type; } /// /// The Azure Key Vault secret URI which stores the username. Use empty string to clean-up existing value. /// [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string CredentialsUsernameUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentialsInternal)Credentials).UsernameUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentialsInternal)Credentials).UsernameUri = value ?? null; } + public string CredentialsUsernameUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentialsInternal)Credentials).UsernameUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentialsInternal)Credentials).UsernameUri = value ?? null; } /// A description for the Endpoint. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] - public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)__endpointBaseProperties).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)__endpointBaseProperties).Description = value ?? null; } + public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)__endpointBaseProperties).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)__endpointBaseProperties).Description = value ?? null; } /// The Endpoint resource type. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType EndpointType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)__endpointBaseProperties).EndpointType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)__endpointBaseProperties).EndpointType = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType EndpointType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)__endpointBaseProperties).EndpointType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)__endpointBaseProperties).EndpointType = value ; } /// Backing field for property. private string _host; @@ -61,17 +61,17 @@ public partial class SmbMountEndpointProperties : public string Host { get => this._host; set => this._host = value; } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)__endpointBaseProperties).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)__endpointBaseProperties).ProvisioningState = value; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)__endpointBaseProperties).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)__endpointBaseProperties).ProvisioningState = value; } /// Internal Acessors for Credentials - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentials Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointPropertiesInternal.Credentials { get => (this._credentials = this._credentials ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AzureKeyVaultSmbCredentials()); set { {_credentials = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentials Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointPropertiesInternal.Credentials { get => (this._credentials = this._credentials ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AzureKeyVaultSmbCredentials()); set { {_credentials = value;} } } /// Internal Acessors for CredentialsType - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointPropertiesInternal.CredentialsType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ICredentialsInternal)Credentials).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ICredentialsInternal)Credentials).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointPropertiesInternal.CredentialsType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentialsInternal)Credentials).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentialsInternal)Credentials).Type = value; } /// The provisioning state of this resource. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal)__endpointBaseProperties).ProvisioningState; } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal)__endpointBaseProperties).ProvisioningState; } /// Backing field for property. private string _shareName; @@ -101,7 +101,7 @@ public SmbMountEndpointProperties() /// The properties of SMB share endpoint. public partial interface ISmbMountEndpointProperties : Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseProperties + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseProperties { /// /// The Azure Key Vault secret URI which stores the password. Use empty string to clean-up existing value. @@ -151,12 +151,12 @@ public partial interface ISmbMountEndpointProperties : } /// The properties of SMB share endpoint. internal partial interface ISmbMountEndpointPropertiesInternal : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBasePropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBasePropertiesInternal { /// /// The Azure Key Vault secret URIs which store the required credentials to access the SMB share. /// - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentials Credentials { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentials Credentials { get; set; } /// /// The Azure Key Vault secret URI which stores the password. Use empty string to clean-up existing value. /// diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/SmbMountEndpointProperties.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/SmbMountEndpointProperties.json.cs similarity index 96% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/SmbMountEndpointProperties.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/SmbMountEndpointProperties.json.cs index 61884e95f4a1..371ec1b57dcd 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/SmbMountEndpointProperties.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/SmbMountEndpointProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class SmbMountEndpointProperties partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new SmbMountEndpointProperties(json) : null; } @@ -77,8 +77,8 @@ internal SmbMountEndpointProperties(Microsoft.Azure.PowerShell.Cmdlets.StorageMo { return; } - __endpointBaseProperties = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.EndpointBaseProperties(json); - {_credentials = If( json?.PropertyT("credentials"), out var __jsonCredentials) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AzureKeyVaultSmbCredentials.FromJson(__jsonCredentials) : Credentials;} + __endpointBaseProperties = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.EndpointBaseProperties(json); + {_credentials = If( json?.PropertyT("credentials"), out var __jsonCredentials) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AzureKeyVaultSmbCredentials.FromJson(__jsonCredentials) : Credentials;} {_host = If( json?.PropertyT("host"), out var __jsonHost) ? (string)__jsonHost : (string)Host;} {_shareName = If( json?.PropertyT("shareName"), out var __jsonShareName) ? (string)__jsonShareName : (string)ShareName;} AfterFromJson(json); diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/SmbMountEndpointUpdateProperties.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/SmbMountEndpointUpdateProperties.PowerShell.cs similarity index 83% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/SmbMountEndpointUpdateProperties.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/SmbMountEndpointUpdateProperties.PowerShell.cs index da3331ac3dd8..68c3280b135b 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/SmbMountEndpointUpdateProperties.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/SmbMountEndpointUpdateProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -63,29 +63,29 @@ public partial class SmbMountEndpointUpdateProperties partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointUpdateProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointUpdateProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new SmbMountEndpointUpdateProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointUpdateProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointUpdateProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new SmbMountEndpointUpdateProperties(content); } @@ -95,10 +95,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointUpdateProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointUpdateProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -113,33 +113,33 @@ internal SmbMountEndpointUpdateProperties(global::System.Collections.IDictionary // actually deserialize if (content.Contains("Credentials")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointUpdatePropertiesInternal)this).Credentials = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentials) content.GetValueForProperty("Credentials",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointUpdatePropertiesInternal)this).Credentials, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AzureKeyVaultSmbCredentialsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointUpdatePropertiesInternal)this).Credentials = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentials) content.GetValueForProperty("Credentials",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointUpdatePropertiesInternal)this).Credentials, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AzureKeyVaultSmbCredentialsTypeConverter.ConvertFrom); } if (content.Contains("EndpointType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); } if (content.Contains("CredentialsType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointUpdatePropertiesInternal)this).CredentialsType = (string) content.GetValueForProperty("CredentialsType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointUpdatePropertiesInternal)this).CredentialsType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointUpdatePropertiesInternal)this).CredentialsType = (string) content.GetValueForProperty("CredentialsType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointUpdatePropertiesInternal)this).CredentialsType, global::System.Convert.ToString); } if (content.Contains("CredentialsUsernameUri")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointUpdatePropertiesInternal)this).CredentialsUsernameUri = (string) content.GetValueForProperty("CredentialsUsernameUri",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointUpdatePropertiesInternal)this).CredentialsUsernameUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointUpdatePropertiesInternal)this).CredentialsUsernameUri = (string) content.GetValueForProperty("CredentialsUsernameUri",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointUpdatePropertiesInternal)this).CredentialsUsernameUri, global::System.Convert.ToString); } if (content.Contains("CredentialsPasswordUri")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointUpdatePropertiesInternal)this).CredentialsPasswordUri = (string) content.GetValueForProperty("CredentialsPasswordUri",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointUpdatePropertiesInternal)this).CredentialsPasswordUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointUpdatePropertiesInternal)this).CredentialsPasswordUri = (string) content.GetValueForProperty("CredentialsPasswordUri",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointUpdatePropertiesInternal)this).CredentialsPasswordUri, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -154,27 +154,27 @@ internal SmbMountEndpointUpdateProperties(global::System.Management.Automation.P // actually deserialize if (content.Contains("Credentials")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointUpdatePropertiesInternal)this).Credentials = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentials) content.GetValueForProperty("Credentials",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointUpdatePropertiesInternal)this).Credentials, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AzureKeyVaultSmbCredentialsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointUpdatePropertiesInternal)this).Credentials = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentials) content.GetValueForProperty("Credentials",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointUpdatePropertiesInternal)this).Credentials, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AzureKeyVaultSmbCredentialsTypeConverter.ConvertFrom); } if (content.Contains("EndpointType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).EndpointType = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType) content.GetValueForProperty("EndpointType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).EndpointType, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType.CreateFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); } if (content.Contains("CredentialsType")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointUpdatePropertiesInternal)this).CredentialsType = (string) content.GetValueForProperty("CredentialsType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointUpdatePropertiesInternal)this).CredentialsType, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointUpdatePropertiesInternal)this).CredentialsType = (string) content.GetValueForProperty("CredentialsType",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointUpdatePropertiesInternal)this).CredentialsType, global::System.Convert.ToString); } if (content.Contains("CredentialsUsernameUri")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointUpdatePropertiesInternal)this).CredentialsUsernameUri = (string) content.GetValueForProperty("CredentialsUsernameUri",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointUpdatePropertiesInternal)this).CredentialsUsernameUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointUpdatePropertiesInternal)this).CredentialsUsernameUri = (string) content.GetValueForProperty("CredentialsUsernameUri",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointUpdatePropertiesInternal)this).CredentialsUsernameUri, global::System.Convert.ToString); } if (content.Contains("CredentialsPasswordUri")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointUpdatePropertiesInternal)this).CredentialsPasswordUri = (string) content.GetValueForProperty("CredentialsPasswordUri",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointUpdatePropertiesInternal)this).CredentialsPasswordUri, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointUpdatePropertiesInternal)this).CredentialsPasswordUri = (string) content.GetValueForProperty("CredentialsPasswordUri",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointUpdatePropertiesInternal)this).CredentialsPasswordUri, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/SmbMountEndpointUpdateProperties.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/SmbMountEndpointUpdateProperties.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/SmbMountEndpointUpdateProperties.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/SmbMountEndpointUpdateProperties.TypeConverter.cs index ff03cfa7d101..a3524056ef4e 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/SmbMountEndpointUpdateProperties.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/SmbMountEndpointUpdateProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -107,14 +107,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointUpdateProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointUpdateProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointUpdateProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointUpdateProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/SmbMountEndpointUpdateProperties.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/SmbMountEndpointUpdateProperties.cs similarity index 83% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/SmbMountEndpointUpdateProperties.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/SmbMountEndpointUpdateProperties.cs index 8d5b4c1e1a9c..176005df579f 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/SmbMountEndpointUpdateProperties.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/SmbMountEndpointUpdateProperties.cs @@ -3,61 +3,61 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; /// The properties of SMB share endpoint to update. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class SmbMountEndpointUpdateProperties : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointUpdateProperties, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointUpdatePropertiesInternal, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointUpdateProperties, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointUpdatePropertiesInternal, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IValidates { /// - /// Backing field for Inherited model /// - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateProperties __endpointBaseUpdateProperties = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.EndpointBaseUpdateProperties(); + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateProperties __endpointBaseUpdateProperties = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.EndpointBaseUpdateProperties(); /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentials _credentials; + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentials _credentials; /// /// The Azure Key Vault secret URIs which store the required credentials to access the SMB share. /// [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentials Credentials { get => (this._credentials = this._credentials ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AzureKeyVaultSmbCredentials()); set => this._credentials = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentials Credentials { get => (this._credentials = this._credentials ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AzureKeyVaultSmbCredentials()); set => this._credentials = value; } /// /// The Azure Key Vault secret URI which stores the password. Use empty string to clean-up existing value. /// [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string CredentialsPasswordUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentialsInternal)Credentials).PasswordUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentialsInternal)Credentials).PasswordUri = value ?? null; } + public string CredentialsPasswordUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentialsInternal)Credentials).PasswordUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentialsInternal)Credentials).PasswordUri = value ?? null; } /// The Credentials type. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string CredentialsType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ICredentialsInternal)Credentials).Type; } + public string CredentialsType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentialsInternal)Credentials).Type; } /// /// The Azure Key Vault secret URI which stores the username. Use empty string to clean-up existing value. /// [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string CredentialsUsernameUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentialsInternal)Credentials).UsernameUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentialsInternal)Credentials).UsernameUri = value ?? null; } + public string CredentialsUsernameUri { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentialsInternal)Credentials).UsernameUri; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentialsInternal)Credentials).UsernameUri = value ?? null; } /// A description for the Endpoint. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] - public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)__endpointBaseUpdateProperties).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)__endpointBaseUpdateProperties).Description = value ?? null; } + public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)__endpointBaseUpdateProperties).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)__endpointBaseUpdateProperties).Description = value ?? null; } /// The Endpoint resource type. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType EndpointType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)__endpointBaseUpdateProperties).EndpointType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal)__endpointBaseUpdateProperties).EndpointType = value ; } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.EndpointType EndpointType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)__endpointBaseUpdateProperties).EndpointType; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal)__endpointBaseUpdateProperties).EndpointType = value ; } /// Internal Acessors for Credentials - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentials Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointUpdatePropertiesInternal.Credentials { get => (this._credentials = this._credentials ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AzureKeyVaultSmbCredentials()); set { {_credentials = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentials Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointUpdatePropertiesInternal.Credentials { get => (this._credentials = this._credentials ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AzureKeyVaultSmbCredentials()); set { {_credentials = value;} } } /// Internal Acessors for CredentialsType - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointUpdatePropertiesInternal.CredentialsType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ICredentialsInternal)Credentials).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ICredentialsInternal)Credentials).Type = value; } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointUpdatePropertiesInternal.CredentialsType { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentialsInternal)Credentials).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ICredentialsInternal)Credentials).Type = value; } /// Creates an new instance. public SmbMountEndpointUpdateProperties() @@ -80,7 +80,7 @@ public SmbMountEndpointUpdateProperties() /// The properties of SMB share endpoint to update. public partial interface ISmbMountEndpointUpdateProperties : Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IJsonSerializable, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateProperties + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateProperties { /// /// The Azure Key Vault secret URI which stores the password. Use empty string to clean-up existing value. @@ -114,12 +114,12 @@ public partial interface ISmbMountEndpointUpdateProperties : } /// The properties of SMB share endpoint to update. internal partial interface ISmbMountEndpointUpdatePropertiesInternal : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdatePropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdatePropertiesInternal { /// /// The Azure Key Vault secret URIs which store the required credentials to access the SMB share. /// - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAzureKeyVaultSmbCredentials Credentials { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAzureKeyVaultSmbCredentials Credentials { get; set; } /// /// The Azure Key Vault secret URI which stores the password. Use empty string to clean-up existing value. /// diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/SmbMountEndpointUpdateProperties.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/SmbMountEndpointUpdateProperties.json.cs similarity index 95% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/SmbMountEndpointUpdateProperties.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/SmbMountEndpointUpdateProperties.json.cs index 5e5bce9f3405..fc8b98fa12fd 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/SmbMountEndpointUpdateProperties.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/SmbMountEndpointUpdateProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class SmbMountEndpointUpdateProperties partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointUpdateProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointUpdateProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointUpdateProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointUpdateProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ISmbMountEndpointUpdateProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ISmbMountEndpointUpdateProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new SmbMountEndpointUpdateProperties(json) : null; } @@ -77,8 +77,8 @@ internal SmbMountEndpointUpdateProperties(Microsoft.Azure.PowerShell.Cmdlets.Sto { return; } - __endpointBaseUpdateProperties = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.EndpointBaseUpdateProperties(json); - {_credentials = If( json?.PropertyT("credentials"), out var __jsonCredentials) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AzureKeyVaultSmbCredentials.FromJson(__jsonCredentials) : Credentials;} + __endpointBaseUpdateProperties = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.EndpointBaseUpdateProperties(json); + {_credentials = If( json?.PropertyT("credentials"), out var __jsonCredentials) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AzureKeyVaultSmbCredentials.FromJson(__jsonCredentials) : Credentials;} AfterFromJson(json); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMover.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMover.PowerShell.cs similarity index 92% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMover.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMover.PowerShell.cs index 6545678cc98d..d541f87f9c1a 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMover.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMover.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -65,27 +65,27 @@ public partial class StorageMover partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new StorageMover(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new StorageMover(content); } @@ -95,10 +95,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -113,7 +113,7 @@ internal StorageMover(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.StorageMoverPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.StorageMoverPropertiesTypeConverter.ConvertFrom); } if (content.Contains("SystemDataCreatedBy")) { @@ -165,17 +165,17 @@ internal StorageMover(global::System.Collections.IDictionary content) } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverInternal)this).Description, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -190,7 +190,7 @@ internal StorageMover(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.StorageMoverPropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.StorageMoverPropertiesTypeConverter.ConvertFrom); } if (content.Contains("SystemDataCreatedBy")) { @@ -242,11 +242,11 @@ internal StorageMover(global::System.Management.Automation.PSObject content) } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverInternal)this).Description, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMover.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMover.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMover.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMover.TypeConverter.cs index 6b156b5ef4b6..d53cf095b834 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMover.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMover.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMover.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMover.cs similarity index 94% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMover.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMover.cs index 0834d879c563..3050608686a9 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMover.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMover.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -12,8 +12,8 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class StorageMover : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverInternal, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverInternal, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IValidates { /// @@ -24,7 +24,7 @@ public partial class StorageMover : /// A description for the Storage Mover. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverPropertiesInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverPropertiesInternal)Property).Description = value ?? null; } + public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverPropertiesInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverPropertiesInternal)Property).Description = value ?? null; } /// /// Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} @@ -37,10 +37,10 @@ public partial class StorageMover : public string Location { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.ITrackedResourceInternal)__trackedResource).Location; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.ITrackedResourceInternal)__trackedResource).Location = value ; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverProperties Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.StorageMoverProperties()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverProperties Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.StorageMoverProperties()); set { {_property = value;} } } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverPropertiesInternal)Property).ProvisioningState = value; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverInternal.ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverPropertiesInternal)Property).ProvisioningState; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverPropertiesInternal)Property).ProvisioningState = value; } /// Internal Acessors for Id string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.IResourceInternal.Id { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.IResourceInternal)__trackedResource).Id; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.IResourceInternal)__trackedResource).Id = value; } @@ -59,15 +59,15 @@ public partial class StorageMover : public string Name { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.IResourceInternal)__trackedResource).Name; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverProperties _property; /// The resource specific properties for the Storage Mover resource. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.StorageMoverProperties()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.StorageMoverProperties()); set => this._property = value; } /// The provisioning state of this resource. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverPropertiesInternal)Property).ProvisioningState; } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? ProvisioningState { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverPropertiesInternal)Property).ProvisioningState; } /// /// Azure Resource Manager metadata containing createdBy and modifiedBy information. @@ -157,7 +157,7 @@ internal partial interface IStorageMoverInternal : /// A description for the Storage Mover. string Description { get; set; } /// The resource specific properties for the Storage Mover resource. - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverProperties Property { get; set; } /// The provisioning state of this resource. Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? ProvisioningState { get; set; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMover.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMover.json.cs similarity index 97% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMover.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMover.json.cs index 6297b90ff9c5..7b6b15ee70cf 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMover.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMover.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -56,13 +56,13 @@ public partial class StorageMover partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new StorageMover(json) : null; } @@ -80,7 +80,7 @@ internal StorageMover(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Js return; } __trackedResource = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.TrackedResource(json); - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.StorageMoverProperties.FromJson(__jsonProperties) : Property;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.StorageMoverProperties.FromJson(__jsonProperties) : Property;} AfterFromJson(json); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverList.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverList.PowerShell.cs similarity index 85% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverList.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverList.PowerShell.cs index edbd64fb5ec0..e13de51cbdc1 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverList.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverList.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -63,27 +63,27 @@ public partial class StorageMoverList partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverList DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverList DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new StorageMoverList(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverList DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new StorageMoverList(content); } @@ -93,10 +93,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverList FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -111,17 +111,17 @@ internal StorageMoverList(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.StorageMoverTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.StorageMoverTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -136,11 +136,11 @@ internal StorageMoverList(global::System.Management.Automation.PSObject content) // actually deserialize if (content.Contains("Value")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.StorageMoverTypeConverter.ConvertFrom)); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverListInternal)this).Value = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover[]) content.GetValueForProperty("Value",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverListInternal)this).Value, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.StorageMoverTypeConverter.ConvertFrom)); } if (content.Contains("NextLink")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverListInternal)this).NextLink, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverListInternal)this).NextLink = (string) content.GetValueForProperty("NextLink",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverListInternal)this).NextLink, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverList.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverList.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverList.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverList.TypeConverter.cs index f75aab2e832f..6ef898d1b92e 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverList.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverList.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverList ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverList ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverList).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverList).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverList.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverList.cs similarity index 87% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverList.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverList.cs index f25394200f82..03ea939294b1 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverList.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverList.cs @@ -3,22 +3,22 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; /// List of Storage Movers. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class StorageMoverList : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverList, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverListInternal + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverList, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverListInternal { /// Internal Acessors for NextLink - string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverListInternal.NextLink { get => this._nextLink; set { {_nextLink = value;} } } + string Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverListInternal.NextLink { get => this._nextLink; set { {_nextLink = value;} } } /// Internal Acessors for Value - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover[] Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverListInternal.Value { get => this._value; set { {_value = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover[] Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverListInternal.Value { get => this._value; set { {_value = value;} } } /// Backing field for property. private string _nextLink; @@ -31,10 +31,10 @@ public partial class StorageMoverList : public string NextLink { get => this._nextLink; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover[] _value; + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover[] _value; [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover[] Value { get => this._value; } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover[] Value { get => this._value; } /// Creates an new instance. public StorageMoverList() @@ -63,8 +63,8 @@ public partial interface IStorageMoverList : ReadOnly = true, Description = @"", SerializedName = @"value", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover) })] - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover[] Value { get; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover) })] + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover[] Value { get; } } /// List of Storage Movers. @@ -77,7 +77,7 @@ internal partial interface IStorageMoverListInternal /// string NextLink { get; set; } - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover[] Value { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover[] Value { get; set; } } } \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverList.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverList.json.cs similarity index 95% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverList.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverList.json.cs index 3b02c96c7213..ee926b081e34 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverList.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverList.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class StorageMoverList partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverList. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverList. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverList. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverList. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverList FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverList FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new StorageMoverList(json) : null; } @@ -77,7 +77,7 @@ internal StorageMoverList(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtim { return; } - {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover) (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.StorageMover.FromJson(__u) )) ))() : null : Value;} + {_value = If( json?.PropertyT("value"), out var __jsonValue) ? If( __jsonValue as Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover) (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.StorageMover.FromJson(__u) )) ))() : null : Value;} {_nextLink = If( json?.PropertyT("nextLink"), out var __jsonNextLink) ? (string)__jsonNextLink : (string)NextLink;} AfterFromJson(json); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverProperties.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverProperties.PowerShell.cs similarity index 89% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverProperties.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverProperties.PowerShell.cs index 2a310711f2e6..8c137430a93b 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverProperties.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -63,29 +63,29 @@ public partial class StorageMoverProperties partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new StorageMoverProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new StorageMoverProperties(content); } @@ -95,10 +95,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -113,17 +113,17 @@ internal StorageMoverProperties(global::System.Collections.IDictionary content) // actually deserialize if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverPropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverPropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverPropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverPropertiesInternal)this).Description, global::System.Convert.ToString); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -138,11 +138,11 @@ internal StorageMoverProperties(global::System.Management.Automation.PSObject co // actually deserialize if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverPropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverPropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverPropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverPropertiesInternal)this).Description, global::System.Convert.ToString); } if (content.Contains("ProvisioningState")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverPropertiesInternal)this).ProvisioningState = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState?) content.GetValueForProperty("ProvisioningState",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverPropertiesInternal)this).ProvisioningState, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState.CreateFrom); } AfterDeserializePSObject(content); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverProperties.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverProperties.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverProperties.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverProperties.TypeConverter.cs index 8ae3cbb07dfc..b9155ee75c5f 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverProperties.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverProperties.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverProperties.cs similarity index 96% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverProperties.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverProperties.cs index 8b6c91b3352a..1356d6ea8258 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverProperties.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverProperties.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; /// The resource specific properties for the Storage Mover resource. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class StorageMoverProperties : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverProperties, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverPropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverProperties, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverPropertiesInternal { /// Backing field for property. @@ -22,7 +22,7 @@ public partial class StorageMoverProperties : public string Description { get => this._description; set => this._description = value; } /// Internal Acessors for ProvisioningState - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverPropertiesInternal.ProvisioningState { get => this._provisioningState; set { {_provisioningState = value;} } } /// Backing field for property. private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState? _provisioningState; diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverProperties.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverProperties.json.cs similarity index 97% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverProperties.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverProperties.json.cs index d268818a38e4..9bb7fd877d64 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverProperties.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class StorageMoverProperties partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new StorageMoverProperties(json) : null; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateParameters.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateParameters.PowerShell.cs similarity index 84% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateParameters.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateParameters.PowerShell.cs index 533ee1d9f1b0..f1e4ee5ea8a4 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateParameters.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateParameters.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -63,29 +63,29 @@ public partial class StorageMoverUpdateParameters partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParameters DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new StorageMoverUpdateParameters(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParameters DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new StorageMoverUpdateParameters(content); } @@ -95,10 +95,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParameters FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -113,21 +113,21 @@ internal StorageMoverUpdateParameters(global::System.Collections.IDictionary con // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.StorageMoverUpdatePropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.StorageMoverUpdatePropertiesTypeConverter.ConvertFrom); } if (content.Contains("Tag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.StorageMoverUpdateParametersTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.StorageMoverUpdateParametersTagsTypeConverter.ConvertFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersInternal)this).Description, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -142,15 +142,15 @@ internal StorageMoverUpdateParameters(global::System.Management.Automation.PSObj // actually deserialize if (content.Contains("Property")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.StorageMoverUpdatePropertiesTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersInternal)this).Property = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateProperties) content.GetValueForProperty("Property",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersInternal)this).Property, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.StorageMoverUpdatePropertiesTypeConverter.ConvertFrom); } if (content.Contains("Tag")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.StorageMoverUpdateParametersTagsTypeConverter.ConvertFrom); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersInternal)this).Tag = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersTags) content.GetValueForProperty("Tag",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersInternal)this).Tag, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.StorageMoverUpdateParametersTagsTypeConverter.ConvertFrom); } if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersInternal)this).Description, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateParameters.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateParameters.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateParameters.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateParameters.TypeConverter.cs index 8bd793558dcd..60e073bf876e 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateParameters.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateParameters.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParameters ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParameters ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParameters).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParameters).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateParameters.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateParameters.cs similarity index 79% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateParameters.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateParameters.cs index 86fac56b320d..a748cb6fcc0c 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateParameters.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateParameters.cs @@ -3,37 +3,37 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; /// The Storage Mover resource. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class StorageMoverUpdateParameters : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParameters, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersInternal + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParameters, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersInternal { /// A description for the Storage Mover. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inlined)] - public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdatePropertiesInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdatePropertiesInternal)Property).Description = value ?? null; } + public string Description { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdatePropertiesInternal)Property).Description; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdatePropertiesInternal)Property).Description = value ?? null; } /// Internal Acessors for Property - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateProperties Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.StorageMoverUpdateProperties()); set { {_property = value;} } } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateProperties Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersInternal.Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.StorageMoverUpdateProperties()); set { {_property = value;} } } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateProperties _property; + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateProperties _property; /// The resource specific properties for the Storage Mover resource. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] - internal Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.StorageMoverUpdateProperties()); set => this._property = value; } + internal Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateProperties Property { get => (this._property = this._property ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.StorageMoverUpdateProperties()); set => this._property = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersTags _tag; + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersTags _tag; /// Resource tags. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersTags Tag { get => (this._tag = this._tag ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.StorageMoverUpdateParametersTags()); set => this._tag = value; } + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersTags Tag { get => (this._tag = this._tag ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.StorageMoverUpdateParametersTags()); set => this._tag = value; } /// Creates an new instance. public StorageMoverUpdateParameters() @@ -59,8 +59,8 @@ public partial interface IStorageMoverUpdateParameters : ReadOnly = false, Description = @"Resource tags.", SerializedName = @"tags", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersTags) })] - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersTags Tag { get; set; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersTags) })] + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersTags Tag { get; set; } } /// The Storage Mover resource. @@ -70,9 +70,9 @@ internal partial interface IStorageMoverUpdateParametersInternal /// A description for the Storage Mover. string Description { get; set; } /// The resource specific properties for the Storage Mover resource. - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateProperties Property { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateProperties Property { get; set; } /// Resource tags. - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersTags Tag { get; set; } + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersTags Tag { get; set; } } } \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateParameters.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateParameters.json.cs similarity index 96% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateParameters.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateParameters.json.cs index 2336eea0e6a1..38067ecb39b2 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateParameters.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateParameters.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class StorageMoverUpdateParameters partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParameters. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParameters. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParameters. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParameters. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParameters FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new StorageMoverUpdateParameters(json) : null; } @@ -77,8 +77,8 @@ internal StorageMoverUpdateParameters(Microsoft.Azure.PowerShell.Cmdlets.Storage { return; } - {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.StorageMoverUpdateProperties.FromJson(__jsonProperties) : Property;} - {_tag = If( json?.PropertyT("tags"), out var __jsonTags) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.StorageMoverUpdateParametersTags.FromJson(__jsonTags) : Tag;} + {_property = If( json?.PropertyT("properties"), out var __jsonProperties) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.StorageMoverUpdateProperties.FromJson(__jsonProperties) : Property;} + {_tag = If( json?.PropertyT("tags"), out var __jsonTags) ? Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.StorageMoverUpdateParametersTags.FromJson(__jsonTags) : Tag;} AfterFromJson(json); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateParametersTags.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateParametersTags.PowerShell.cs similarity index 93% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateParametersTags.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateParametersTags.PowerShell.cs index 2c10ae658395..945eab15bc2b 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateParametersTags.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateParametersTags.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -63,29 +63,29 @@ public partial class StorageMoverUpdateParametersTags partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersTags DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersTags DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new StorageMoverUpdateParametersTags(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersTags DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersTags DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new StorageMoverUpdateParametersTags(content); } @@ -95,10 +95,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersTags FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersTags FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -117,7 +117,7 @@ internal StorageMoverUpdateParametersTags(global::System.Collections.IDictionary } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateParametersTags.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateParametersTags.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateParametersTags.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateParametersTags.TypeConverter.cs index d21b09094b73..73669d192e65 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateParametersTags.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateParametersTags.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -107,14 +107,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersTags ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersTags ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersTags).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersTags).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateParametersTags.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateParametersTags.cs similarity index 91% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateParametersTags.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateParametersTags.cs index 29f245bc1aff..0b9da438e14e 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateParametersTags.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateParametersTags.cs @@ -3,14 +3,14 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; /// Resource tags. public partial class StorageMoverUpdateParametersTags : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersTags, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersTagsInternal + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersTags, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersTagsInternal { /// Creates an new instance. diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateParametersTags.dictionary.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateParametersTags.dictionary.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateParametersTags.dictionary.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateParametersTags.dictionary.cs index 36662490c403..38226adfa86f 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateParametersTags.dictionary.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateParametersTags.dictionary.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -70,6 +70,6 @@ public void CopyFrom(global::System.Management.Automation.PSObject source) /// - public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.StorageMoverUpdateParametersTags source) => source.__additionalProperties; + public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.StorageMoverUpdateParametersTags source) => source.__additionalProperties; } } \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateParametersTags.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateParametersTags.json.cs similarity index 97% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateParametersTags.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateParametersTags.json.cs index 739e405dfbec..17d57bc5106d 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateParametersTags.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateParametersTags.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class StorageMoverUpdateParametersTags partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersTags. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersTags. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersTags. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersTags. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersTags FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersTags FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new StorageMoverUpdateParametersTags(json) : null; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateProperties.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateProperties.PowerShell.cs similarity index 91% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateProperties.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateProperties.PowerShell.cs index 0170d91661e7..487b87fc44a4 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateProperties.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateProperties.PowerShell.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -63,29 +63,29 @@ public partial class StorageMoverUpdateProperties partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) { return new StorageMoverUpdateProperties(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { return new StorageMoverUpdateProperties(content); } @@ -95,10 +95,10 @@ public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 /// /// a string containing a JSON serialized instance of this model. /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Collections.IDictionary content that should be used. @@ -113,13 +113,13 @@ internal StorageMoverUpdateProperties(global::System.Collections.IDictionary con // actually deserialize if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); } AfterDeserializeDictionary(content); } /// - /// Deserializes a into a new instance of into a new instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. @@ -134,7 +134,7 @@ internal StorageMoverUpdateProperties(global::System.Management.Automation.PSObj // actually deserialize if (content.Contains("Description")) { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); } AfterDeserializePSObject(content); } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateProperties.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateProperties.TypeConverter.cs similarity index 98% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateProperties.TypeConverter.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateProperties.TypeConverter.cs index da9eea42a239..5b24dda7412b 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateProperties.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateProperties.TypeConverter.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; @@ -106,14 +106,14 @@ public static bool CanConvertFrom(dynamic sourceValue) /// /// an instance of , or null if there is no suitable conversion. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateProperties ConvertFrom(dynamic sourceValue) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateProperties ConvertFrom(dynamic sourceValue) { if (null == sourceValue) { return null; } global::System.Type type = sourceValue.GetType(); - if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateProperties).IsAssignableFrom(type)) + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateProperties).IsAssignableFrom(type)) { return sourceValue; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateProperties.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateProperties.cs similarity index 95% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateProperties.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateProperties.cs index fa908f2c15f1..47a07dc342c8 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateProperties.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateProperties.cs @@ -3,15 +3,15 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; /// The resource specific properties for the Storage Mover resource. [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.DoNotFormat] public partial class StorageMoverUpdateProperties : - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateProperties, - Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdatePropertiesInternal + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateProperties, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdatePropertiesInternal { /// Backing field for property. diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateProperties.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateProperties.json.cs similarity index 97% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateProperties.json.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateProperties.json.cs index 9fc0d77c1e34..ae08813cea32 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/StorageMoverUpdateProperties.json.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/StorageMoverUpdateProperties.json.cs @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; @@ -54,13 +54,13 @@ public partial class StorageMoverUpdateProperties partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, ref bool returnNow); /// - /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateProperties. + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateProperties. /// /// a to deserialize from. /// - /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateProperties. + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateProperties. /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateProperties FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) { return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new StorageMoverUpdateProperties(json) : null; } diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Time.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Time.PowerShell.cs new file mode 100644 index 000000000000..a532bb93a0e3 --- /dev/null +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Time.PowerShell.cs @@ -0,0 +1,172 @@ +// 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. + +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 +{ + using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; + + /// The time of day. + [System.ComponentModel.TypeConverter(typeof(TimeTypeConverter))] + public partial class Time + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new Time(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new Time(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal Time(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Hour")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITimeInternal)this).Hour = (int) content.GetValueForProperty("Hour",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITimeInternal)this).Hour, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("Minute")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITimeInternal)this).Minute = (int?) content.GetValueForProperty("Minute",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITimeInternal)this).Minute, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal Time(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Hour")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITimeInternal)this).Hour = (int) content.GetValueForProperty("Hour",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITimeInternal)this).Hour, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("Minute")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITimeInternal)this).Minute = (int?) content.GetValueForProperty("Minute",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITimeInternal)this).Minute, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + AfterDeserializePSObject(content); + } + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + } + /// The time of day. + [System.ComponentModel.TypeConverter(typeof(TimeTypeConverter))] + public partial interface ITime + + { + + } +} \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Time.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Time.TypeConverter.cs new file mode 100644 index 000000000000..00c25fd83568 --- /dev/null +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Time.TypeConverter.cs @@ -0,0 +1,146 @@ +// 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. + +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 +{ + using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class TimeTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return Time.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return Time.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return Time.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Time.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Time.cs new file mode 100644 index 000000000000..74e3e00c9676 --- /dev/null +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Time.cs @@ -0,0 +1,83 @@ +// 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. + +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; + + /// The time of day. + public partial class Time : + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITimeInternal + { + + /// Backing field for property. + private int _hour; + + /// + /// The hour element of the time. Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). + /// Hour value 24 cannot be combined with any other minute value but 0. + /// + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] + public int Hour { get => this._hour; set => this._hour = value; } + + /// Backing field for property. + private int? _minute; + + /// + /// The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0. + /// + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] + public int? Minute { get => this._minute; set => this._minute = value; } + + /// Creates an new instance. + public Time() + { + + } + } + /// The time of day. + public partial interface ITime : + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IJsonSerializable + { + /// + /// The hour element of the time. Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). + /// Hour value 24 cannot be combined with any other minute value but 0. + /// + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The hour element of the time. Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). Hour value 24 cannot be combined with any other minute value but 0.", + SerializedName = @"hour", + PossibleTypes = new [] { typeof(int) })] + int Hour { get; set; } + /// + /// The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0. + /// + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0.", + SerializedName = @"minute", + PossibleTypes = new [] { typeof(int) })] + int? Minute { get; set; } + + } + /// The time of day. + internal partial interface ITimeInternal + + { + /// + /// The hour element of the time. Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). + /// Hour value 24 cannot be combined with any other minute value but 0. + /// + int Hour { get; set; } + /// + /// The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0. + /// + int? Minute { get; set; } + + } +} \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Time.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Time.json.cs new file mode 100644 index 000000000000..7356329ff45d --- /dev/null +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/Time.json.cs @@ -0,0 +1,110 @@ +// 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. + +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; + + /// The time of day. + public partial class Time + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new Time(json) : null; + } + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject instance to deserialize from. + internal Time(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_hour = If( json?.PropertyT("hour"), out var __jsonHour) ? (int)__jsonHour : Hour;} + {_minute = If( json?.PropertyT("minute"), out var __jsonMinute) ? (int?)__jsonMinute : Minute;} + AfterFromJson(json); + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNumber(this._hour), "hour" ,container.Add ); + AddIf( null != this._minute ? (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNumber((int)this._minute) : null, "minute" ,container.Add ); + AfterToJson(ref container); + return container; + } + } +} \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentUpdateProperties.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimit.PowerShell.cs similarity index 74% rename from src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentUpdateProperties.PowerShell.cs rename to src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimit.PowerShell.cs index c0a0d538fdae..57d35a533e2f 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20231001/AgentUpdateProperties.PowerShell.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimit.PowerShell.cs @@ -3,12 +3,13 @@ // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. -namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001 +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 { using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; - [System.ComponentModel.TypeConverter(typeof(AgentUpdatePropertiesTypeConverter))] - public partial class AgentUpdateProperties + /// The WAN-link upload limit. + [System.ComponentModel.TypeConverter(typeof(UploadLimitTypeConverter))] + public partial class UploadLimit { /// @@ -62,79 +63,37 @@ public partial class AgentUpdateProperties partial void OverrideToString(ref string stringResult, ref bool returnNow); /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Collections.IDictionary content that should be used. - internal AgentUpdateProperties(global::System.Collections.IDictionary content) - { - bool returnNow = false; - BeforeDeserializeDictionary(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Description")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); - } - AfterDeserializeDictionary(content); - } - - /// - /// Deserializes a into a new instance of . - /// - /// The global::System.Management.Automation.PSObject content that should be used. - internal AgentUpdateProperties(global::System.Management.Automation.PSObject content) - { - bool returnNow = false; - BeforeDeserializePSObject(content, ref returnNow); - if (returnNow) - { - return; - } - // actually deserialize - if (content.Contains("Description")) - { - ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdatePropertiesInternal)this).Description = (string) content.GetValueForProperty("Description",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdatePropertiesInternal)this).Description, global::System.Convert.ToString); - } - AfterDeserializePSObject(content); - } - - /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Collections.IDictionary content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateProperties DeserializeFromDictionary(global::System.Collections.IDictionary content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimit DeserializeFromDictionary(global::System.Collections.IDictionary content) { - return new AgentUpdateProperties(content); + return new UploadLimit(content); } /// - /// Deserializes a into an instance of into an instance of . /// /// The global::System.Management.Automation.PSObject content that should be used. /// - /// an instance of . + /// an instance of . /// - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateProperties DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimit DeserializeFromPSObject(global::System.Management.Automation.PSObject content) { - return new AgentUpdateProperties(content); + return new UploadLimit(content); } /// - /// Creates a new instance of , deserializing the content from a json string. + /// Creates a new instance of , deserializing the content from a json string. /// /// a string containing a JSON serialized instance of this model. - /// an instance of the model class. - public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateProperties FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimit FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); /// Serializes this instance to a json string. @@ -152,9 +111,52 @@ public override string ToString() } return ToJsonString(); } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal UploadLimit(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("LimitInMbps")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitInternal)this).LimitInMbps = (int) content.GetValueForProperty("LimitInMbps",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitInternal)this).LimitInMbps, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal UploadLimit(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("LimitInMbps")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitInternal)this).LimitInMbps = (int) content.GetValueForProperty("LimitInMbps",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitInternal)this).LimitInMbps, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + AfterDeserializePSObject(content); + } } - [System.ComponentModel.TypeConverter(typeof(AgentUpdatePropertiesTypeConverter))] - public partial interface IAgentUpdateProperties + /// The WAN-link upload limit. + [System.ComponentModel.TypeConverter(typeof(UploadLimitTypeConverter))] + public partial interface IUploadLimit { diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimit.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimit.TypeConverter.cs new file mode 100644 index 000000000000..eaf6e095e576 --- /dev/null +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimit.TypeConverter.cs @@ -0,0 +1,147 @@ +// 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. + +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 +{ + using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class UploadLimitTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimit ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimit).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return UploadLimit.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return UploadLimit.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return UploadLimit.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimit.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimit.cs new file mode 100644 index 000000000000..d657b017f9bd --- /dev/null +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimit.cs @@ -0,0 +1,66 @@ +// 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. + +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; + + /// The WAN-link upload limit. + public partial class UploadLimit : + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimit, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitInternal + { + + /// Backing field for property. + private int _limitInMbps; + + /// + /// The WAN-link upload bandwidth (maximum data transfer rate) in megabits per second. Value of 0 indicates no throughput + /// is allowed and any running migration job is effectively paused for the duration of this recurrence. Only data plane operations + /// are governed by this limit. Control plane operations ensure seamless functionality. The agent may exceed this limit with + /// control messages, if necessary. + /// + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] + public int LimitInMbps { get => this._limitInMbps; set => this._limitInMbps = value; } + + /// Creates an new instance. + public UploadLimit() + { + + } + } + /// The WAN-link upload limit. + public partial interface IUploadLimit : + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IJsonSerializable + { + /// + /// The WAN-link upload bandwidth (maximum data transfer rate) in megabits per second. Value of 0 indicates no throughput + /// is allowed and any running migration job is effectively paused for the duration of this recurrence. Only data plane operations + /// are governed by this limit. Control plane operations ensure seamless functionality. The agent may exceed this limit with + /// control messages, if necessary. + /// + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The WAN-link upload bandwidth (maximum data transfer rate) in megabits per second. Value of 0 indicates no throughput is allowed and any running migration job is effectively paused for the duration of this recurrence. Only data plane operations are governed by this limit. Control plane operations ensure seamless functionality. The agent may exceed this limit with control messages, if necessary.", + SerializedName = @"limitInMbps", + PossibleTypes = new [] { typeof(int) })] + int LimitInMbps { get; set; } + + } + /// The WAN-link upload limit. + internal partial interface IUploadLimitInternal + + { + /// + /// The WAN-link upload bandwidth (maximum data transfer rate) in megabits per second. Value of 0 indicates no throughput + /// is allowed and any running migration job is effectively paused for the duration of this recurrence. Only data plane operations + /// are governed by this limit. Control plane operations ensure seamless functionality. The agent may exceed this limit with + /// control messages, if necessary. + /// + int LimitInMbps { get; set; } + + } +} \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimit.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimit.json.cs new file mode 100644 index 000000000000..791d205433a9 --- /dev/null +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimit.json.cs @@ -0,0 +1,108 @@ +// 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. + +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; + + /// The WAN-link upload limit. + public partial class UploadLimit + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimit. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimit. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimit FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new UploadLimit(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + AddIf( (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNumber(this._limitInMbps), "limitInMbps" ,container.Add ); + AfterToJson(ref container); + return container; + } + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject instance to deserialize from. + internal UploadLimit(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_limitInMbps = If( json?.PropertyT("limitInMbps"), out var __jsonLimitInMbps) ? (int)__jsonLimitInMbps : LimitInMbps;} + AfterFromJson(json); + } + } +} \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimitSchedule.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimitSchedule.PowerShell.cs new file mode 100644 index 000000000000..6d59e64f0303 --- /dev/null +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimitSchedule.PowerShell.cs @@ -0,0 +1,164 @@ +// 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. + +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 +{ + using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; + + /// The WAN-link upload limit schedule. Overlapping recurrences are not allowed. + [System.ComponentModel.TypeConverter(typeof(UploadLimitScheduleTypeConverter))] + public partial class UploadLimitSchedule + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitSchedule DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new UploadLimitSchedule(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitSchedule DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new UploadLimitSchedule(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitSchedule FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal UploadLimitSchedule(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("WeeklyRecurrence")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitScheduleInternal)this).WeeklyRecurrence = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence[]) content.GetValueForProperty("WeeklyRecurrence",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitScheduleInternal)this).WeeklyRecurrence, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimitWeeklyRecurrenceTypeConverter.ConvertFrom)); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal UploadLimitSchedule(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("WeeklyRecurrence")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitScheduleInternal)this).WeeklyRecurrence = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence[]) content.GetValueForProperty("WeeklyRecurrence",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitScheduleInternal)this).WeeklyRecurrence, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimitWeeklyRecurrenceTypeConverter.ConvertFrom)); + } + AfterDeserializePSObject(content); + } + } + /// The WAN-link upload limit schedule. Overlapping recurrences are not allowed. + [System.ComponentModel.TypeConverter(typeof(UploadLimitScheduleTypeConverter))] + public partial interface IUploadLimitSchedule + + { + + } +} \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimitSchedule.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimitSchedule.TypeConverter.cs new file mode 100644 index 000000000000..5334312c52f7 --- /dev/null +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimitSchedule.TypeConverter.cs @@ -0,0 +1,147 @@ +// 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. + +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 +{ + using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class UploadLimitScheduleTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitSchedule ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitSchedule).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return UploadLimitSchedule.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return UploadLimitSchedule.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return UploadLimitSchedule.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimitSchedule.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimitSchedule.cs new file mode 100644 index 000000000000..db6cbd535dad --- /dev/null +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimitSchedule.cs @@ -0,0 +1,51 @@ +// 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. + +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; + + /// The WAN-link upload limit schedule. Overlapping recurrences are not allowed. + public partial class UploadLimitSchedule : + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitSchedule, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitScheduleInternal + { + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence[] _weeklyRecurrence; + + /// The set of weekly repeating recurrences of the WAN-link upload limit schedule. + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence[] WeeklyRecurrence { get => this._weeklyRecurrence; set => this._weeklyRecurrence = value; } + + /// Creates an new instance. + public UploadLimitSchedule() + { + + } + } + /// The WAN-link upload limit schedule. Overlapping recurrences are not allowed. + public partial interface IUploadLimitSchedule : + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IJsonSerializable + { + /// The set of weekly repeating recurrences of the WAN-link upload limit schedule. + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The set of weekly repeating recurrences of the WAN-link upload limit schedule.", + SerializedName = @"weeklyRecurrences", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence) })] + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence[] WeeklyRecurrence { get; set; } + + } + /// The WAN-link upload limit schedule. Overlapping recurrences are not allowed. + internal partial interface IUploadLimitScheduleInternal + + { + /// The set of weekly repeating recurrences of the WAN-link upload limit schedule. + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence[] WeeklyRecurrence { get; set; } + + } +} \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimitSchedule.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimitSchedule.json.cs new file mode 100644 index 000000000000..4f8ed37f20e9 --- /dev/null +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimitSchedule.json.cs @@ -0,0 +1,116 @@ +// 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. + +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; + + /// The WAN-link upload limit schedule. Overlapping recurrences are not allowed. + public partial class UploadLimitSchedule + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitSchedule. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitSchedule. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitSchedule FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new UploadLimitSchedule(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + if (null != this._weeklyRecurrence) + { + var __w = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.XNodeArray(); + foreach( var __x in this._weeklyRecurrence ) + { + AddIf(__x?.ToJson(null, serializationMode) ,__w.Add); + } + container.Add("weeklyRecurrences",__w); + } + AfterToJson(ref container); + return container; + } + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject instance to deserialize from. + internal UploadLimitSchedule(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + {_weeklyRecurrence = If( json?.PropertyT("weeklyRecurrences"), out var __jsonWeeklyRecurrences) ? If( __jsonWeeklyRecurrences as Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence) (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimitWeeklyRecurrence.FromJson(__u) )) ))() : null : WeeklyRecurrence;} + AfterFromJson(json); + } + } +} \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimitWeeklyRecurrence.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimitWeeklyRecurrence.PowerShell.cs new file mode 100644 index 000000000000..ddf1ece09829 --- /dev/null +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimitWeeklyRecurrence.PowerShell.cs @@ -0,0 +1,226 @@ +// 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. + +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 +{ + using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; + + /// + /// The weekly recurrence of the WAN-link upload limit schedule. The start time must be earlier in the day than the end time. + /// The recurrence must not span across multiple days. + /// + [System.ComponentModel.TypeConverter(typeof(UploadLimitWeeklyRecurrenceTypeConverter))] + public partial class UploadLimitWeeklyRecurrence + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new UploadLimitWeeklyRecurrence(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new UploadLimitWeeklyRecurrence(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal UploadLimitWeeklyRecurrence(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("StartTimeHour")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTimeHour = (int) content.GetValueForProperty("StartTimeHour",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTimeHour, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("StartTimeMinute")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTimeMinute = (int?) content.GetValueForProperty("StartTimeMinute",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTimeMinute, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("EndTimeHour")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTimeHour = (int) content.GetValueForProperty("EndTimeHour",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTimeHour, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("EndTimeMinute")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTimeMinute = (int?) content.GetValueForProperty("EndTimeMinute",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTimeMinute, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("StartTime")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTime = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTime, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.TimeTypeConverter.ConvertFrom); + } + if (content.Contains("EndTime")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTime = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTime, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.TimeTypeConverter.ConvertFrom); + } + if (content.Contains("Day")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IWeeklyRecurrenceInternal)this).Day = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek[]) content.GetValueForProperty("Day",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IWeeklyRecurrenceInternal)this).Day, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek.CreateFrom)); + } + if (content.Contains("LimitInMbps")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitInternal)this).LimitInMbps = (int) content.GetValueForProperty("LimitInMbps",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitInternal)this).LimitInMbps, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal UploadLimitWeeklyRecurrence(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("StartTimeHour")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTimeHour = (int) content.GetValueForProperty("StartTimeHour",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTimeHour, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("StartTimeMinute")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTimeMinute = (int?) content.GetValueForProperty("StartTimeMinute",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTimeMinute, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("EndTimeHour")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTimeHour = (int) content.GetValueForProperty("EndTimeHour",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTimeHour, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("EndTimeMinute")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTimeMinute = (int?) content.GetValueForProperty("EndTimeMinute",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTimeMinute, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("StartTime")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTime = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTime, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.TimeTypeConverter.ConvertFrom); + } + if (content.Contains("EndTime")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTime = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTime, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.TimeTypeConverter.ConvertFrom); + } + if (content.Contains("Day")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IWeeklyRecurrenceInternal)this).Day = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek[]) content.GetValueForProperty("Day",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IWeeklyRecurrenceInternal)this).Day, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek.CreateFrom)); + } + if (content.Contains("LimitInMbps")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitInternal)this).LimitInMbps = (int) content.GetValueForProperty("LimitInMbps",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitInternal)this).LimitInMbps, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + AfterDeserializePSObject(content); + } + } + /// The weekly recurrence of the WAN-link upload limit schedule. The start time must be earlier in the day than the end time. + /// The recurrence must not span across multiple days. + [System.ComponentModel.TypeConverter(typeof(UploadLimitWeeklyRecurrenceTypeConverter))] + public partial interface IUploadLimitWeeklyRecurrence + + { + + } +} \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimitWeeklyRecurrence.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimitWeeklyRecurrence.TypeConverter.cs new file mode 100644 index 000000000000..6b8d73da3052 --- /dev/null +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimitWeeklyRecurrence.TypeConverter.cs @@ -0,0 +1,147 @@ +// 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. + +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 +{ + using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class UploadLimitWeeklyRecurrenceTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return UploadLimitWeeklyRecurrence.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return UploadLimitWeeklyRecurrence.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return UploadLimitWeeklyRecurrence.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimitWeeklyRecurrence.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimitWeeklyRecurrence.cs new file mode 100644 index 000000000000..d53e45fef3ec --- /dev/null +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimitWeeklyRecurrence.cs @@ -0,0 +1,121 @@ +// 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. + +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; + + /// + /// The weekly recurrence of the WAN-link upload limit schedule. The start time must be earlier in the day than the end time. + /// The recurrence must not span across multiple days. + /// + public partial class UploadLimitWeeklyRecurrence : + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrenceInternal, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IValidates + { + /// + /// Backing field for Inherited model + /// + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimit __uploadLimit = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimit(); + + /// + /// Backing field for Inherited model + /// + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IWeeklyRecurrence __weeklyRecurrence = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.WeeklyRecurrence(); + + /// + /// The set of days of week for the schedule recurrence. A day must not be specified more than once in a recurrence. + /// + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek[] Day { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IWeeklyRecurrenceInternal)__weeklyRecurrence).Day; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IWeeklyRecurrenceInternal)__weeklyRecurrence).Day = value ; } + + /// + /// The end time of the schedule recurrence. Full hour and 30-minute intervals are supported. + /// + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime EndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)__weeklyRecurrence).EndTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)__weeklyRecurrence).EndTime = value ; } + + /// + /// The hour element of the time. Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). + /// Hour value 24 cannot be combined with any other minute value but 0. + /// + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] + public int EndTimeHour { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)__weeklyRecurrence).EndTimeHour; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)__weeklyRecurrence).EndTimeHour = value ; } + + /// + /// The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0. + /// + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] + public int? EndTimeMinute { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)__weeklyRecurrence).EndTimeMinute; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)__weeklyRecurrence).EndTimeMinute = value ?? default(int); } + + /// + /// The WAN-link upload bandwidth (maximum data transfer rate) in megabits per second. Value of 0 indicates no throughput + /// is allowed and any running migration job is effectively paused for the duration of this recurrence. Only data plane operations + /// are governed by this limit. Control plane operations ensure seamless functionality. The agent may exceed this limit with + /// control messages, if necessary. + /// + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] + public int LimitInMbps { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitInternal)__uploadLimit).LimitInMbps; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitInternal)__uploadLimit).LimitInMbps = value ; } + + /// + /// The start time of the schedule recurrence. Full hour and 30-minute intervals are supported. + /// + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime StartTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)__weeklyRecurrence).StartTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)__weeklyRecurrence).StartTime = value ; } + + /// + /// The hour element of the time. Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). + /// Hour value 24 cannot be combined with any other minute value but 0. + /// + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] + public int StartTimeHour { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)__weeklyRecurrence).StartTimeHour; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)__weeklyRecurrence).StartTimeHour = value ; } + + /// + /// The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0. + /// + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] + public int? StartTimeMinute { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)__weeklyRecurrence).StartTimeMinute; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)__weeklyRecurrence).StartTimeMinute = value ?? default(int); } + + /// Creates an new instance. + public UploadLimitWeeklyRecurrence() + { + + } + + /// Validates that this object meets the validation criteria. + /// an instance that will receive validation + /// events. + /// + /// A that will be complete when validation is completed. + /// + public async global::System.Threading.Tasks.Task Validate(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener) + { + await eventListener.AssertNotNull(nameof(__weeklyRecurrence), __weeklyRecurrence); + await eventListener.AssertObjectIsValid(nameof(__weeklyRecurrence), __weeklyRecurrence); + await eventListener.AssertNotNull(nameof(__uploadLimit), __uploadLimit); + await eventListener.AssertObjectIsValid(nameof(__uploadLimit), __uploadLimit); + } + } + /// The weekly recurrence of the WAN-link upload limit schedule. The start time must be earlier in the day than the end time. + /// The recurrence must not span across multiple days. + public partial interface IUploadLimitWeeklyRecurrence : + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IJsonSerializable, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IWeeklyRecurrence, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimit + { + + } + /// The weekly recurrence of the WAN-link upload limit schedule. The start time must be earlier in the day than the end time. + /// The recurrence must not span across multiple days. + internal partial interface IUploadLimitWeeklyRecurrenceInternal : + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IWeeklyRecurrenceInternal, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitInternal + { + + } +} \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimitWeeklyRecurrence.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimitWeeklyRecurrence.json.cs new file mode 100644 index 000000000000..72d2d7b74e27 --- /dev/null +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/UploadLimitWeeklyRecurrence.json.cs @@ -0,0 +1,113 @@ +// 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. + +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; + + /// + /// The weekly recurrence of the WAN-link upload limit schedule. The start time must be earlier in the day than the end time. + /// The recurrence must not span across multiple days. + /// + public partial class UploadLimitWeeklyRecurrence + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new UploadLimitWeeklyRecurrence(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + __weeklyRecurrence?.ToJson(container, serializationMode); + __uploadLimit?.ToJson(container, serializationMode); + AfterToJson(ref container); + return container; + } + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject instance to deserialize from. + internal UploadLimitWeeklyRecurrence(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + __weeklyRecurrence = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.WeeklyRecurrence(json); + __uploadLimit = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.UploadLimit(json); + AfterFromJson(json); + } + } +} \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/WeeklyRecurrence.PowerShell.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/WeeklyRecurrence.PowerShell.cs new file mode 100644 index 000000000000..4cde3af4857b --- /dev/null +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/WeeklyRecurrence.PowerShell.cs @@ -0,0 +1,212 @@ +// 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. + +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 +{ + using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; + + /// The weekly recurrence of the schedule. + [System.ComponentModel.TypeConverter(typeof(WeeklyRecurrenceTypeConverter))] + public partial class WeeklyRecurrence + { + + /// + /// AfterDeserializeDictionary will be called after the deserialization has finished, allowing customization of the + /// object before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Collections.IDictionary content that should be used. + + partial void AfterDeserializeDictionary(global::System.Collections.IDictionary content); + + /// + /// AfterDeserializePSObject will be called after the deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The global::System.Management.Automation.PSObject content that should be used. + + partial void AfterDeserializePSObject(global::System.Management.Automation.PSObject content); + + /// + /// BeforeDeserializeDictionary will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Collections.IDictionary content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializeDictionary(global::System.Collections.IDictionary content, ref bool returnNow); + + /// + /// BeforeDeserializePSObject will be called before the deserialization has commenced, allowing complete customization + /// of the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeDeserializePSObject(global::System.Management.Automation.PSObject content, ref bool returnNow); + + /// + /// OverrideToString will be called if it is implemented. Implement this method in a partial class to enable this behavior + /// + /// /// instance serialized to a string, normally it is a Json + /// /// set returnNow to true if you provide a customized OverrideToString function + + partial void OverrideToString(ref string stringResult, ref bool returnNow); + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IWeeklyRecurrence DeserializeFromDictionary(global::System.Collections.IDictionary content) + { + return new WeeklyRecurrence(content); + } + + /// + /// Deserializes a into an instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + /// + /// an instance of . + /// + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IWeeklyRecurrence DeserializeFromPSObject(global::System.Management.Automation.PSObject content) + { + return new WeeklyRecurrence(content); + } + + /// + /// Creates a new instance of , deserializing the content from a json string. + /// + /// a string containing a JSON serialized instance of this model. + /// an instance of the model class. + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IWeeklyRecurrence FromJsonString(string jsonText) => FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(jsonText)); + + /// Serializes this instance to a json string. + + /// a containing this model serialized to JSON text. + public string ToJsonString() => ToJson(null, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.SerializationMode.IncludeAll)?.ToString(); + + public override string ToString() + { + var returnNow = false; + var result = global::System.String.Empty; + OverrideToString(ref result, ref returnNow); + if (returnNow) + { + return result; + } + return ToJsonString(); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Collections.IDictionary content that should be used. + internal WeeklyRecurrence(global::System.Collections.IDictionary content) + { + bool returnNow = false; + BeforeDeserializeDictionary(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Day")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IWeeklyRecurrenceInternal)this).Day = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek[]) content.GetValueForProperty("Day",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IWeeklyRecurrenceInternal)this).Day, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek.CreateFrom)); + } + if (content.Contains("StartTimeHour")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTimeHour = (int) content.GetValueForProperty("StartTimeHour",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTimeHour, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("StartTimeMinute")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTimeMinute = (int?) content.GetValueForProperty("StartTimeMinute",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTimeMinute, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("EndTimeHour")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTimeHour = (int) content.GetValueForProperty("EndTimeHour",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTimeHour, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("EndTimeMinute")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTimeMinute = (int?) content.GetValueForProperty("EndTimeMinute",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTimeMinute, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("StartTime")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTime = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTime, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.TimeTypeConverter.ConvertFrom); + } + if (content.Contains("EndTime")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTime = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTime, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.TimeTypeConverter.ConvertFrom); + } + AfterDeserializeDictionary(content); + } + + /// + /// Deserializes a into a new instance of . + /// + /// The global::System.Management.Automation.PSObject content that should be used. + internal WeeklyRecurrence(global::System.Management.Automation.PSObject content) + { + bool returnNow = false; + BeforeDeserializePSObject(content, ref returnNow); + if (returnNow) + { + return; + } + // actually deserialize + if (content.Contains("Day")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IWeeklyRecurrenceInternal)this).Day = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek[]) content.GetValueForProperty("Day",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IWeeklyRecurrenceInternal)this).Day, __y => TypeConverterExtensions.SelectToArray(__y, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek.CreateFrom)); + } + if (content.Contains("StartTimeHour")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTimeHour = (int) content.GetValueForProperty("StartTimeHour",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTimeHour, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("StartTimeMinute")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTimeMinute = (int?) content.GetValueForProperty("StartTimeMinute",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTimeMinute, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("EndTimeHour")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTimeHour = (int) content.GetValueForProperty("EndTimeHour",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTimeHour, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("EndTimeMinute")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTimeMinute = (int?) content.GetValueForProperty("EndTimeMinute",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTimeMinute, (__y)=> (int) global::System.Convert.ChangeType(__y, typeof(int))); + } + if (content.Contains("StartTime")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTime = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime) content.GetValueForProperty("StartTime",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).StartTime, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.TimeTypeConverter.ConvertFrom); + } + if (content.Contains("EndTime")) + { + ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTime = (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime) content.GetValueForProperty("EndTime",((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)this).EndTime, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.TimeTypeConverter.ConvertFrom); + } + AfterDeserializePSObject(content); + } + } + /// The weekly recurrence of the schedule. + [System.ComponentModel.TypeConverter(typeof(WeeklyRecurrenceTypeConverter))] + public partial interface IWeeklyRecurrence + + { + + } +} \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/WeeklyRecurrence.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/WeeklyRecurrence.TypeConverter.cs new file mode 100644 index 000000000000..fb7002377c7d --- /dev/null +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/WeeklyRecurrence.TypeConverter.cs @@ -0,0 +1,147 @@ +// 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. + +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 +{ + using Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.PowerShell; + + /// + /// A PowerShell PSTypeConverter to support converting to an instance of + /// + public partial class WeeklyRecurrenceTypeConverter : global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue); + + /// + /// Determines if the converter can convert the parameter to the + /// type. + /// + /// the instance to check if it can be converted to the type. + /// + /// true if the instance could be converted to a type, otherwise false + /// + public static bool CanConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return true; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + // we say yest to PSObjects + return true; + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + // we say yest to Hashtables/dictionaries + return true; + } + try + { + if (null != sourceValue.ToJsonString()) + { + return true; + } + } + catch + { + // Not one of our objects + } + try + { + string text = sourceValue.ToString()?.Trim(); + return true == text?.StartsWith("{") && true == text?.EndsWith("}") && Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(text).Type == Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonType.Object; + } + catch + { + // Doesn't look like it can be treated as JSON + } + return false; + } + + /// + /// Determines if the parameter can be converted to the + /// parameter + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue); + + /// + /// Converts the parameter into an instance of + /// + /// the value to convert into an instance of . + /// + /// an instance of , or null if there is no suitable conversion. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IWeeklyRecurrence ConvertFrom(dynamic sourceValue) + { + if (null == sourceValue) + { + return null; + } + global::System.Type type = sourceValue.GetType(); + if (typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IWeeklyRecurrence).IsAssignableFrom(type)) + { + return sourceValue; + } + try + { + return WeeklyRecurrence.FromJsonString(typeof(string) == sourceValue.GetType() ? sourceValue : sourceValue.ToJsonString());; + } + catch + { + // Unable to use JSON pattern + } + if (typeof(global::System.Management.Automation.PSObject).IsAssignableFrom(type)) + { + return WeeklyRecurrence.DeserializeFromPSObject(sourceValue); + } + if (typeof(global::System.Collections.IDictionary).IsAssignableFrom(type)) + { + return WeeklyRecurrence.DeserializeFromDictionary(sourceValue); + } + return null; + } + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/WeeklyRecurrence.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/WeeklyRecurrence.cs new file mode 100644 index 000000000000..887b00b50736 --- /dev/null +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/WeeklyRecurrence.cs @@ -0,0 +1,114 @@ +// 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. + +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; + + /// The weekly recurrence of the schedule. + public partial class WeeklyRecurrence : + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IWeeklyRecurrence, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IWeeklyRecurrenceInternal, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IValidates + { + /// + /// Backing field for Inherited model + /// + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrence __recurrence = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.Recurrence(); + + /// Backing field for property. + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek[] _day; + + /// + /// The set of days of week for the schedule recurrence. A day must not be specified more than once in a recurrence. + /// + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Owned)] + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek[] Day { get => this._day; set => this._day = value; } + + /// + /// The end time of the schedule recurrence. Full hour and 30-minute intervals are supported. + /// + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime EndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)__recurrence).EndTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)__recurrence).EndTime = value ; } + + /// + /// The hour element of the time. Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). + /// Hour value 24 cannot be combined with any other minute value but 0. + /// + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] + public int EndTimeHour { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)__recurrence).EndTimeHour; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)__recurrence).EndTimeHour = value ; } + + /// + /// The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0. + /// + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] + public int? EndTimeMinute { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)__recurrence).EndTimeMinute; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)__recurrence).EndTimeMinute = value ?? default(int); } + + /// + /// The start time of the schedule recurrence. Full hour and 30-minute intervals are supported. + /// + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ITime StartTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)__recurrence).StartTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)__recurrence).StartTime = value ; } + + /// + /// The hour element of the time. Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). + /// Hour value 24 cannot be combined with any other minute value but 0. + /// + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] + public int StartTimeHour { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)__recurrence).StartTimeHour; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)__recurrence).StartTimeHour = value ; } + + /// + /// The minute element of the time. Allowed values are 0 and 30. If not specified, its value defaults to 0. + /// + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Origin(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.PropertyOrigin.Inherited)] + public int? StartTimeMinute { get => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)__recurrence).StartTimeMinute; set => ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal)__recurrence).StartTimeMinute = value ?? default(int); } + + /// Validates that this object meets the validation criteria. + /// an instance that will receive validation + /// events. + /// + /// A that will be complete when validation is completed. + /// + public async global::System.Threading.Tasks.Task Validate(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener) + { + await eventListener.AssertNotNull(nameof(__recurrence), __recurrence); + await eventListener.AssertObjectIsValid(nameof(__recurrence), __recurrence); + } + + /// Creates an new instance. + public WeeklyRecurrence() + { + + } + } + /// The weekly recurrence of the schedule. + public partial interface IWeeklyRecurrence : + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IJsonSerializable, + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrence + { + /// + /// The set of days of week for the schedule recurrence. A day must not be specified more than once in a recurrence. + /// + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Info( + Required = true, + ReadOnly = false, + Description = @"The set of days of week for the schedule recurrence. A day must not be specified more than once in a recurrence.", + SerializedName = @"days", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek) })] + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek[] Day { get; set; } + + } + /// The weekly recurrence of the schedule. + internal partial interface IWeeklyRecurrenceInternal : + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IRecurrenceInternal + { + /// + /// The set of days of week for the schedule recurrence. A day must not be specified more than once in a recurrence. + /// + Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek[] Day { get; set; } + + } +} \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/WeeklyRecurrence.json.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/WeeklyRecurrence.json.cs new file mode 100644 index 000000000000..468c0a1c5201 --- /dev/null +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Models/Api20240701/WeeklyRecurrence.json.cs @@ -0,0 +1,118 @@ +// 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. + +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701 +{ + using static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Extensions; + + /// The weekly recurrence of the schedule. + public partial class WeeklyRecurrence + { + + /// + /// AfterFromJson will be called after the json deserialization has finished, allowing customization of the object + /// before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JsonNode that should be deserialized into this object. + + partial void AfterFromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json); + + /// + /// AfterToJson will be called after the json serialization has finished, allowing customization of the before it is returned. Implement this method in a partial class to enable this behavior + /// + /// The JSON container that the serialization result will be placed in. + + partial void AfterToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container); + + /// + /// BeforeFromJson will be called before the json deserialization has commenced, allowing complete customization of + /// the object before it is deserialized. + /// If you wish to disable the default deserialization entirely, return true in the + /// output parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JsonNode that should be deserialized into this object. + /// Determines if the rest of the deserialization should be processed, or if the method should return + /// instantly. + + partial void BeforeFromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json, ref bool returnNow); + + /// + /// BeforeToJson will be called before the json serialization has commenced, allowing complete customization of the + /// object before it is serialized. + /// If you wish to disable the default serialization entirely, return true in the output + /// parameter. + /// Implement this method in a partial class to enable this behavior. + /// + /// The JSON container that the serialization result will be placed in. + /// Determines if the rest of the serialization should be processed, or if the method should return + /// instantly. + + partial void BeforeToJson(ref Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, ref bool returnNow); + + /// + /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IWeeklyRecurrence. + /// + /// a to deserialize from. + /// + /// an instance of Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IWeeklyRecurrence. + /// + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IWeeklyRecurrence FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode node) + { + return node is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json ? new WeeklyRecurrence(json) : null; + } + + /// + /// Serializes this instance of into a . + /// + /// The container to serialize this object into. If the caller + /// passes in null, a new instance will be created and returned to the caller. + /// Allows the caller to choose the depth of the serialization. See . + /// + /// a serialized instance of as a . + /// + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.SerializationMode serializationMode) + { + container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject(); + + bool returnNow = false; + BeforeToJson(ref container, ref returnNow); + if (returnNow) + { + return container; + } + __recurrence?.ToJson(container, serializationMode); + if (null != this._day) + { + var __w = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.XNodeArray(); + foreach( var __x in this._day ) + { + AddIf(null != (((object)__x)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonString(__x.ToString()) : null ,__w.Add); + } + container.Add("days",__w); + } + AfterToJson(ref container); + return container; + } + + /// + /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject into a new instance of . + /// + /// A Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject instance to deserialize from. + internal WeeklyRecurrence(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonObject json) + { + bool returnNow = false; + BeforeFromJson(json, ref returnNow); + if (returnNow) + { + return; + } + __recurrence = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.Recurrence(json); + {_day = If( json?.PropertyT("days"), out var __jsonDays) ? If( __jsonDays as Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek) (__u is Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonString __t ? (Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek)(__t.ToString()) : ((Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek)""))) ))() : null : Day;} + AfterFromJson(json); + } + } +} \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/StorageMover.cs b/src/StorageMover/StorageMover.Autorest/generated/api/StorageMover.cs index 69a63edfcddb..8337f6b58510 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/StorageMover.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/StorageMover.cs @@ -30,9 +30,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AgentsCreateOrUpdate(string subscriptionId, string resourceGroupName, string storageMoverName, string agentName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AgentsCreateOrUpdate(string subscriptionId, string resourceGroupName, string storageMoverName, string agentName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -80,9 +80,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AgentsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AgentsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -140,7 +140,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AgentsCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AgentsCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -158,7 +158,7 @@ public partial class StorageMover case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.Agent.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.Agent.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -192,7 +192,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AgentsCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string storageMoverName, string agentName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent body, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task AgentsCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string storageMoverName, string agentName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent body, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -224,7 +224,7 @@ public partial class StorageMover /// public async global::System.Threading.Tasks.Task AgentsDelete(string subscriptionId, string resourceGroupName, string storageMoverName, string agentName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -268,7 +268,7 @@ public partial class StorageMover /// public async global::System.Threading.Tasks.Task AgentsDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -504,9 +504,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AgentsGet(string subscriptionId, string resourceGroupName, string storageMoverName, string agentName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AgentsGet(string subscriptionId, string resourceGroupName, string storageMoverName, string agentName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -547,9 +547,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AgentsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AgentsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -603,7 +603,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AgentsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AgentsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -621,7 +621,7 @@ public partial class StorageMover case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.Agent.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.Agent.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -680,9 +680,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AgentsList(string subscriptionId, string resourceGroupName, string storageMoverName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AgentsList(string subscriptionId, string resourceGroupName, string storageMoverName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -722,9 +722,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AgentsListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AgentsListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -776,7 +776,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AgentsList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AgentsList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -794,7 +794,7 @@ public partial class StorageMover case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AgentList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AgentList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -853,9 +853,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AgentsUpdate(string subscriptionId, string resourceGroupName, string storageMoverName, string agentName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AgentsUpdate(string subscriptionId, string resourceGroupName, string storageMoverName, string agentName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -901,9 +901,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task AgentsUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task AgentsUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -961,7 +961,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AgentsUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task AgentsUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -979,7 +979,7 @@ public partial class StorageMover case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.Agent.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.Agent.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -1013,7 +1013,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task AgentsUpdate_Validate(string subscriptionId, string resourceGroupName, string storageMoverName, string agentName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParameters body, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task AgentsUpdate_Validate(string subscriptionId, string resourceGroupName, string storageMoverName, string agentName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParameters body, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -1045,9 +1045,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task EndpointsCreateOrUpdate(string subscriptionId, string resourceGroupName, string storageMoverName, string endpointName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task EndpointsCreateOrUpdate(string subscriptionId, string resourceGroupName, string storageMoverName, string endpointName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1095,9 +1095,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task EndpointsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task EndpointsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1155,7 +1155,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task EndpointsCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task EndpointsCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -1173,7 +1173,7 @@ public partial class StorageMover case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.Endpoint.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.Endpoint.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -1207,7 +1207,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task EndpointsCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string storageMoverName, string endpointName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint body, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task EndpointsCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string storageMoverName, string endpointName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint body, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -1239,7 +1239,7 @@ public partial class StorageMover /// public async global::System.Threading.Tasks.Task EndpointsDelete(string subscriptionId, string resourceGroupName, string storageMoverName, string endpointName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1283,7 +1283,7 @@ public partial class StorageMover /// public async global::System.Threading.Tasks.Task EndpointsDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1519,9 +1519,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task EndpointsGet(string subscriptionId, string resourceGroupName, string storageMoverName, string endpointName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task EndpointsGet(string subscriptionId, string resourceGroupName, string storageMoverName, string endpointName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1562,9 +1562,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task EndpointsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task EndpointsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1618,7 +1618,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task EndpointsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task EndpointsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -1636,7 +1636,7 @@ public partial class StorageMover case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.Endpoint.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.Endpoint.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -1695,9 +1695,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task EndpointsList(string subscriptionId, string resourceGroupName, string storageMoverName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task EndpointsList(string subscriptionId, string resourceGroupName, string storageMoverName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1737,9 +1737,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task EndpointsListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task EndpointsListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1791,7 +1791,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task EndpointsList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task EndpointsList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -1809,7 +1809,7 @@ public partial class StorageMover case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.EndpointList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.EndpointList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -1870,9 +1870,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task EndpointsUpdate(string subscriptionId, string resourceGroupName, string storageMoverName, string endpointName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task EndpointsUpdate(string subscriptionId, string resourceGroupName, string storageMoverName, string endpointName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1920,9 +1920,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task EndpointsUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task EndpointsUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -1980,7 +1980,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task EndpointsUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task EndpointsUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -1998,7 +1998,7 @@ public partial class StorageMover case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.Endpoint.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.Endpoint.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -2032,7 +2032,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task EndpointsUpdate_Validate(string subscriptionId, string resourceGroupName, string storageMoverName, string endpointName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateParameters body, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task EndpointsUpdate_Validate(string subscriptionId, string resourceGroupName, string storageMoverName, string endpointName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateParameters body, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -2065,9 +2065,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task JobDefinitionsCreateOrUpdate(string subscriptionId, string resourceGroupName, string storageMoverName, string projectName, string jobDefinitionName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task JobDefinitionsCreateOrUpdate(string subscriptionId, string resourceGroupName, string storageMoverName, string projectName, string jobDefinitionName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2117,9 +2117,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task JobDefinitionsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task JobDefinitionsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2180,7 +2180,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task JobDefinitionsCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task JobDefinitionsCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -2198,7 +2198,7 @@ public partial class StorageMover case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobDefinition.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobDefinition.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -2233,7 +2233,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task JobDefinitionsCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string storageMoverName, string projectName, string jobDefinitionName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition body, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task JobDefinitionsCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string storageMoverName, string projectName, string jobDefinitionName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition body, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -2267,7 +2267,7 @@ public partial class StorageMover /// public async global::System.Threading.Tasks.Task JobDefinitionsDelete(string subscriptionId, string resourceGroupName, string storageMoverName, string projectName, string jobDefinitionName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2313,7 +2313,7 @@ public partial class StorageMover /// public async global::System.Threading.Tasks.Task JobDefinitionsDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2555,9 +2555,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task JobDefinitionsGet(string subscriptionId, string resourceGroupName, string storageMoverName, string projectName, string jobDefinitionName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task JobDefinitionsGet(string subscriptionId, string resourceGroupName, string storageMoverName, string projectName, string jobDefinitionName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2600,9 +2600,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task JobDefinitionsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task JobDefinitionsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2659,7 +2659,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task JobDefinitionsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task JobDefinitionsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -2677,7 +2677,7 @@ public partial class StorageMover case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobDefinition.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobDefinition.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -2739,9 +2739,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task JobDefinitionsList(string subscriptionId, string resourceGroupName, string storageMoverName, string projectName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task JobDefinitionsList(string subscriptionId, string resourceGroupName, string storageMoverName, string projectName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2783,9 +2783,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task JobDefinitionsListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task JobDefinitionsListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2840,7 +2840,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task JobDefinitionsList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task JobDefinitionsList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -2858,7 +2858,7 @@ public partial class StorageMover case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobDefinitionList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobDefinitionList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -2906,7 +2906,7 @@ public partial class StorageMover } /// - /// Requests an Agent to start a new instance of this Job Definition, generating a new Job Run resource. + /// Creates a new Job Run resource for the specified Job Definition and passes it to the Agent for execution. /// /// The ID of the target subscription. /// The name of the resource group. The name is case insensitive. @@ -2921,9 +2921,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task JobDefinitionsStartJob(string subscriptionId, string resourceGroupName, string storageMoverName, string projectName, string jobDefinitionName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task JobDefinitionsStartJob(string subscriptionId, string resourceGroupName, string storageMoverName, string projectName, string jobDefinitionName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -2958,7 +2958,7 @@ public partial class StorageMover } /// - /// Requests an Agent to start a new instance of this Job Definition, generating a new Job Run resource. + /// Creates a new Job Run resource for the specified Job Definition and passes it to the Agent for execution. /// /// /// a delegate that is called when the remote service returns 200 (OK). @@ -2969,9 +2969,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task JobDefinitionsStartJobViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task JobDefinitionsStartJobViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3029,7 +3029,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task JobDefinitionsStartJob_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task JobDefinitionsStartJob_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -3047,7 +3047,7 @@ public partial class StorageMover case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobRunResourceId.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobRunResourceId.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -3110,9 +3110,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task JobDefinitionsStopJob(string subscriptionId, string resourceGroupName, string storageMoverName, string projectName, string jobDefinitionName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task JobDefinitionsStopJob(string subscriptionId, string resourceGroupName, string storageMoverName, string projectName, string jobDefinitionName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3156,9 +3156,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task JobDefinitionsStopJobViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task JobDefinitionsStopJobViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3216,7 +3216,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task JobDefinitionsStopJob_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task JobDefinitionsStopJob_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -3234,7 +3234,7 @@ public partial class StorageMover case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobRunResourceId.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobRunResourceId.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -3300,9 +3300,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task JobDefinitionsUpdate(string subscriptionId, string resourceGroupName, string storageMoverName, string projectName, string jobDefinitionName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task JobDefinitionsUpdate(string subscriptionId, string resourceGroupName, string storageMoverName, string projectName, string jobDefinitionName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3352,9 +3352,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task JobDefinitionsUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task JobDefinitionsUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3415,7 +3415,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task JobDefinitionsUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task JobDefinitionsUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -3433,7 +3433,7 @@ public partial class StorageMover case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobDefinition.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobDefinition.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -3468,7 +3468,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task JobDefinitionsUpdate_Validate(string subscriptionId, string resourceGroupName, string storageMoverName, string projectName, string jobDefinitionName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParameters body, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task JobDefinitionsUpdate_Validate(string subscriptionId, string resourceGroupName, string storageMoverName, string projectName, string jobDefinitionName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParameters body, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -3500,9 +3500,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task JobRunsGet(string subscriptionId, string resourceGroupName, string storageMoverName, string projectName, string jobDefinitionName, string jobRunName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task JobRunsGet(string subscriptionId, string resourceGroupName, string storageMoverName, string projectName, string jobDefinitionName, string jobRunName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3547,9 +3547,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task JobRunsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task JobRunsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3609,7 +3609,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task JobRunsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task JobRunsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -3627,7 +3627,7 @@ public partial class StorageMover case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobRun.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobRun.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -3692,9 +3692,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task JobRunsList(string subscriptionId, string resourceGroupName, string storageMoverName, string projectName, string jobDefinitionName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task JobRunsList(string subscriptionId, string resourceGroupName, string storageMoverName, string projectName, string jobDefinitionName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3738,9 +3738,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task JobRunsListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task JobRunsListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3798,7 +3798,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task JobRunsList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task JobRunsList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -3816,7 +3816,7 @@ public partial class StorageMover case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobRunList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobRunList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -3876,7 +3876,7 @@ public partial class StorageMover /// public async global::System.Threading.Tasks.Task OperationsList(global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -3912,7 +3912,7 @@ public partial class StorageMover /// public async global::System.Threading.Tasks.Task OperationsListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4026,9 +4026,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ProjectsCreateOrUpdate(string subscriptionId, string resourceGroupName, string storageMoverName, string projectName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ProjectsCreateOrUpdate(string subscriptionId, string resourceGroupName, string storageMoverName, string projectName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4076,9 +4076,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ProjectsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ProjectsCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4136,7 +4136,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ProjectsCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ProjectsCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -4154,7 +4154,7 @@ public partial class StorageMover case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.Project.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.Project.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -4188,7 +4188,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ProjectsCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string storageMoverName, string projectName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject body, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ProjectsCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string storageMoverName, string projectName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject body, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -4220,7 +4220,7 @@ public partial class StorageMover /// public async global::System.Threading.Tasks.Task ProjectsDelete(string subscriptionId, string resourceGroupName, string storageMoverName, string projectName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4264,7 +4264,7 @@ public partial class StorageMover /// public async global::System.Threading.Tasks.Task ProjectsDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4500,9 +4500,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ProjectsGet(string subscriptionId, string resourceGroupName, string storageMoverName, string projectName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ProjectsGet(string subscriptionId, string resourceGroupName, string storageMoverName, string projectName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4543,9 +4543,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ProjectsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ProjectsGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4599,7 +4599,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ProjectsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ProjectsGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -4617,7 +4617,7 @@ public partial class StorageMover case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.Project.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.Project.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -4676,9 +4676,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ProjectsList(string subscriptionId, string resourceGroupName, string storageMoverName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ProjectsList(string subscriptionId, string resourceGroupName, string storageMoverName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4718,9 +4718,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ProjectsListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ProjectsListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4772,7 +4772,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ProjectsList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ProjectsList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -4790,7 +4790,7 @@ public partial class StorageMover case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ProjectList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ProjectList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -4851,9 +4851,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ProjectsUpdate(string subscriptionId, string resourceGroupName, string storageMoverName, string projectName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ProjectsUpdate(string subscriptionId, string resourceGroupName, string storageMoverName, string projectName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4901,9 +4901,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task ProjectsUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task ProjectsUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -4961,7 +4961,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ProjectsUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task ProjectsUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -4979,7 +4979,7 @@ public partial class StorageMover case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.Project.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.Project.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -5013,7 +5013,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task ProjectsUpdate_Validate(string subscriptionId, string resourceGroupName, string storageMoverName, string projectName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParameters body, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task ProjectsUpdate_Validate(string subscriptionId, string resourceGroupName, string storageMoverName, string projectName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParameters body, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -5042,9 +5042,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task StorageMoversCreateOrUpdate(string subscriptionId, string resourceGroupName, string storageMoverName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task StorageMoversCreateOrUpdate(string subscriptionId, string resourceGroupName, string storageMoverName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5088,9 +5088,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task StorageMoversCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task StorageMoversCreateOrUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5145,7 +5145,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task StorageMoversCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task StorageMoversCreateOrUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -5163,7 +5163,7 @@ public partial class StorageMover case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.StorageMover.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.StorageMover.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -5196,7 +5196,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task StorageMoversCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string storageMoverName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover body, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task StorageMoversCreateOrUpdate_Validate(string subscriptionId, string resourceGroupName, string storageMoverName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover body, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { @@ -5226,7 +5226,7 @@ public partial class StorageMover /// public async global::System.Threading.Tasks.Task StorageMoversDelete(string subscriptionId, string resourceGroupName, string storageMoverName, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5268,7 +5268,7 @@ public partial class StorageMover /// public async global::System.Threading.Tasks.Task StorageMoversDeleteViaIdentity(global::System.String viaIdentity, global::System.Func onOk, global::System.Func onNoContent, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5498,9 +5498,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task StorageMoversGet(string subscriptionId, string resourceGroupName, string storageMoverName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task StorageMoversGet(string subscriptionId, string resourceGroupName, string storageMoverName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5539,9 +5539,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task StorageMoversGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task StorageMoversGetViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5592,7 +5592,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task StorageMoversGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task StorageMoversGet_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -5610,7 +5610,7 @@ public partial class StorageMover case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.StorageMover.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.StorageMover.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -5666,9 +5666,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task StorageMoversList(string subscriptionId, string resourceGroupName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task StorageMoversList(string subscriptionId, string resourceGroupName, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5706,9 +5706,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task StorageMoversListBySubscription(string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task StorageMoversListBySubscription(string subscriptionId, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5744,9 +5744,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task StorageMoversListBySubscriptionViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task StorageMoversListBySubscriptionViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5792,7 +5792,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task StorageMoversListBySubscription_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task StorageMoversListBySubscription_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -5810,7 +5810,7 @@ public partial class StorageMover case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.StorageMoverList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.StorageMoverList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -5859,9 +5859,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task StorageMoversListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task StorageMoversListViaIdentity(global::System.String viaIdentity, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -5910,7 +5910,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task StorageMoversList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task StorageMoversList_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -5928,7 +5928,7 @@ public partial class StorageMover case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.StorageMoverList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.StorageMoverList.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -5986,9 +5986,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task StorageMoversUpdate(string subscriptionId, string resourceGroupName, string storageMoverName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task StorageMoversUpdate(string subscriptionId, string resourceGroupName, string storageMoverName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6034,9 +6034,9 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - public async global::System.Threading.Tasks.Task StorageMoversUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + public async global::System.Threading.Tasks.Task StorageMoversUpdateViaIdentity(global::System.String viaIdentity, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParameters body, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { - var apiVersion = @"2023-10-01"; + var apiVersion = @"2024-07-01"; // Constant Parameters using( NoSynchronizationContext ) { @@ -6091,7 +6091,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task StorageMoversUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) + internal async global::System.Threading.Tasks.Task StorageMoversUpdate_Call(global::System.Net.Http.HttpRequestMessage request, global::System.Func, global::System.Threading.Tasks.Task> onOk, global::System.Func, global::System.Threading.Tasks.Task> onDefault, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.ISendAsync sender) { using( NoSynchronizationContext ) { @@ -6109,7 +6109,7 @@ public partial class StorageMover case global::System.Net.HttpStatusCode.OK: { await eventListener.Signal(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Events.BeforeResponseDispatch, _response); if( eventListener.Token.IsCancellationRequested ) { return; } - await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.StorageMover.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); + await onOk(_response,_response.Content.ReadAsStringAsync().ContinueWith( body => Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.StorageMover.FromJson(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Json.JsonNode.Parse(body.Result)) )); break; } default: @@ -6142,7 +6142,7 @@ public partial class StorageMover /// /// A that will be complete when handling of the response is completed. /// - internal async global::System.Threading.Tasks.Task StorageMoversUpdate_Validate(string subscriptionId, string resourceGroupName, string storageMoverName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParameters body, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener) + internal async global::System.Threading.Tasks.Task StorageMoversUpdate_Validate(string subscriptionId, string resourceGroupName, string storageMoverName, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParameters body, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener eventListener) { using( NoSynchronizationContext ) { diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Support/DayOfWeek.Completer.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Support/DayOfWeek.Completer.cs new file mode 100644 index 000000000000..fedbd9b5c73b --- /dev/null +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Support/DayOfWeek.Completer.cs @@ -0,0 +1,59 @@ +// 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. + +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support +{ + + /// The day of week. + [System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeekTypeConverter))] + public partial struct DayOfWeek : + System.Management.Automation.IArgumentCompleter + { + + /// + /// Implementations of this function are called by PowerShell to complete arguments. + /// + /// The name of the command that needs argument completion. + /// The name of the parameter that needs argument completion. + /// The (possibly empty) word being completed. + /// The command ast in case it is needed for completion. + /// This parameter is similar to $PSBoundParameters, except that sometimes PowerShell cannot + /// or will not attempt to evaluate an argument, in which case you may need to use commandAst. + /// + /// A collection of completion results, most like with ResultType set to ParameterValue. + /// + public global::System.Collections.Generic.IEnumerable CompleteArgument(global::System.String commandName, global::System.String parameterName, global::System.String wordToComplete, global::System.Management.Automation.Language.CommandAst commandAst, global::System.Collections.IDictionary fakeBoundParameters) + { + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Monday".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'Monday'", "Monday", global::System.Management.Automation.CompletionResultType.ParameterValue, "Monday"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Tuesday".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'Tuesday'", "Tuesday", global::System.Management.Automation.CompletionResultType.ParameterValue, "Tuesday"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Wednesday".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'Wednesday'", "Wednesday", global::System.Management.Automation.CompletionResultType.ParameterValue, "Wednesday"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Thursday".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'Thursday'", "Thursday", global::System.Management.Automation.CompletionResultType.ParameterValue, "Thursday"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Friday".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'Friday'", "Friday", global::System.Management.Automation.CompletionResultType.ParameterValue, "Friday"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Saturday".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'Saturday'", "Saturday", global::System.Management.Automation.CompletionResultType.ParameterValue, "Saturday"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Sunday".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'Sunday'", "Sunday", global::System.Management.Automation.CompletionResultType.ParameterValue, "Sunday"); + } + } + } +} \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Support/DayOfWeek.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Support/DayOfWeek.TypeConverter.cs new file mode 100644 index 000000000000..82b55044f502 --- /dev/null +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Support/DayOfWeek.TypeConverter.cs @@ -0,0 +1,59 @@ +// 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. + +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support +{ + + /// The day of week. + public partial class DayOfWeekTypeConverter : + global::System.Management.Automation.PSTypeConverter + { + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => true; + + /// + /// Determines if the converter can convert the parameter to the parameter. + /// + /// the to convert from + /// the to convert to + /// + /// true if the converter can convert the parameter to the parameter, otherwise false. + /// + public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false; + + /// + /// Converts the parameter to the parameter using and + /// + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// + /// an instance of , or null if there is no suitable conversion. + /// + public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => DayOfWeek.CreateFrom(sourceValue); + + /// NotImplemented -- this will return null + /// the to convert from + /// the to convert to + /// not used by this TypeConverter. + /// when set to true, will ignore the case when converting. + /// will always return null. + public override object ConvertTo(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => null; + } +} \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Support/DayOfWeek.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Support/DayOfWeek.cs new file mode 100644 index 000000000000..aabeff2c7185 --- /dev/null +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Support/DayOfWeek.cs @@ -0,0 +1,108 @@ +// 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. + +namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support +{ + + /// The day of week. + public partial struct DayOfWeek : + System.IEquatable + { + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek Friday = @"Friday"; + + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek Monday = @"Monday"; + + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek Saturday = @"Saturday"; + + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek Sunday = @"Sunday"; + + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek Thursday = @"Thursday"; + + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek Tuesday = @"Tuesday"; + + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek Wednesday = @"Wednesday"; + + /// the value for an instance of the Enum. + private string _value { get; set; } + + /// Conversion from arbitrary object to DayOfWeek + /// the value to convert to an instance of . + internal static object CreateFrom(object value) + { + return new DayOfWeek(global::System.Convert.ToString(value)); + } + + /// Creates an instance of the Enum class. + /// the value to create an instance for. + private DayOfWeek(string underlyingValue) + { + this._value = underlyingValue; + } + + /// Compares values of enum type DayOfWeek + /// the value to compare against this instance. + /// true if the two instances are equal to the same value + public bool Equals(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek e) + { + return _value.Equals(e._value); + } + + /// Compares values of enum type DayOfWeek (override for Object) + /// the value to compare against this instance. + /// true if the two instances are equal to the same value + public override bool Equals(object obj) + { + return obj is DayOfWeek && Equals((DayOfWeek)obj); + } + + /// Returns hashCode for enum DayOfWeek + /// The hashCode of the value + public override int GetHashCode() + { + return this._value.GetHashCode(); + } + + /// Returns string representation for DayOfWeek + /// A string for this value. + public override string ToString() + { + return this._value; + } + + /// Implicit operator to convert string to DayOfWeek + /// the value to convert to an instance of . + + public static implicit operator DayOfWeek(string value) + { + return new DayOfWeek(value); + } + + /// Implicit operator to convert DayOfWeek to string + /// the value to convert to an instance of . + + public static implicit operator string(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek e) + { + return e._value; + } + + /// Overriding != operator for enum DayOfWeek + /// the value to compare against + /// the value to compare against + /// true if the two instances are not equal to the same value + public static bool operator !=(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek e1, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek e2) + { + return !e2.Equals(e1); + } + + /// Overriding == operator for enum DayOfWeek + /// the value to compare against + /// the value to compare against + /// true if the two instances are equal to the same value + public static bool operator ==(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek e1, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek e2) + { + return e2.Equals(e1); + } + } +} \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Support/JobRunStatus.Completer.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Support/JobRunStatus.Completer.cs index 8f7719ee99bd..c2a73c65e14b 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Support/JobRunStatus.Completer.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Support/JobRunStatus.Completer.cs @@ -58,6 +58,10 @@ public partial struct JobRunStatus : { yield return new global::System.Management.Automation.CompletionResult("'Succeeded'", "Succeeded", global::System.Management.Automation.CompletionResultType.ParameterValue, "Succeeded"); } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "PausedByBandwidthManagement".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'PausedByBandwidthManagement'", "PausedByBandwidthManagement", global::System.Management.Automation.CompletionResultType.ParameterValue, "PausedByBandwidthManagement"); + } } } } \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Support/JobRunStatus.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Support/JobRunStatus.cs index 573e14c9cbf9..fc3622e1b308 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Support/JobRunStatus.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Support/JobRunStatus.cs @@ -18,6 +18,8 @@ public partial struct JobRunStatus : public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus Failed = @"Failed"; + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus PausedByBandwidthManagement = @"PausedByBandwidthManagement"; + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus Queued = @"Queued"; public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.JobRunStatus Running = @"Running"; diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Support/ProvisioningState.Completer.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Support/ProvisioningState.Completer.cs index 2563a7510878..5517fcd7a22e 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Support/ProvisioningState.Completer.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Support/ProvisioningState.Completer.cs @@ -6,7 +6,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support { - /// The provisioning state of this resource. + /// The provisioning state of a resource. [System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningStateTypeConverter))] public partial struct ProvisioningState : System.Management.Automation.IArgumentCompleter @@ -30,6 +30,18 @@ public partial struct ProvisioningState : { yield return new global::System.Management.Automation.CompletionResult("'Succeeded'", "Succeeded", global::System.Management.Automation.CompletionResultType.ParameterValue, "Succeeded"); } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Canceled".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'Canceled'", "Canceled", global::System.Management.Automation.CompletionResultType.ParameterValue, "Canceled"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Failed".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'Failed'", "Failed", global::System.Management.Automation.CompletionResultType.ParameterValue, "Failed"); + } + if (global::System.String.IsNullOrEmpty(wordToComplete) || "Deleting".StartsWith(wordToComplete, global::System.StringComparison.InvariantCultureIgnoreCase)) + { + yield return new global::System.Management.Automation.CompletionResult("'Deleting'", "Deleting", global::System.Management.Automation.CompletionResultType.ParameterValue, "Deleting"); + } } } } \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Support/ProvisioningState.TypeConverter.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Support/ProvisioningState.TypeConverter.cs index 5a7f2b64dd33..c81017062d21 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Support/ProvisioningState.TypeConverter.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Support/ProvisioningState.TypeConverter.cs @@ -6,7 +6,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support { - /// The provisioning state of this resource. + /// The provisioning state of a resource. public partial class ProvisioningStateTypeConverter : global::System.Management.Automation.PSTypeConverter { diff --git a/src/StorageMover/StorageMover.Autorest/generated/api/Support/ProvisioningState.cs b/src/StorageMover/StorageMover.Autorest/generated/api/Support/ProvisioningState.cs index bdd6be74cb14..c025b7b78241 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/api/Support/ProvisioningState.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/api/Support/ProvisioningState.cs @@ -6,10 +6,16 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support { - /// The provisioning state of this resource. + /// The provisioning state of a resource. public partial struct ProvisioningState : System.IEquatable { + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState Canceled = @"Canceled"; + + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState Deleting = @"Deleting"; + + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState Failed = @"Failed"; + public static Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.ProvisioningState Succeeded = @"Succeeded"; /// the value for an instance of the Enum. diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverAgent_Get.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverAgent_Get.cs index cc5850029518..73ac47182864 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverAgent_Get.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverAgent_Get.cs @@ -13,10 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzStorageMoverAgent_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Gets an Agent resource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}", ApiVersion = "2024-07-01")] public partial class GetAzStorageMoverAgent_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -174,12 +174,12 @@ public partial class GetAzStorageMoverAgent_Get : global::System.Management.Auto /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -427,12 +427,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -444,7 +444,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverAgent_GetViaIdentity.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverAgent_GetViaIdentity.cs index e62a00211f49..750d1d6eb7a3 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverAgent_GetViaIdentity.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverAgent_GetViaIdentity.cs @@ -13,10 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzStorageMoverAgent_GetViaIdentity")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Gets an Agent resource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}", ApiVersion = "2024-07-01")] public partial class GetAzStorageMoverAgent_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -121,12 +121,12 @@ public partial class GetAzStorageMoverAgent_GetViaIdentity : global::System.Mana /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -395,12 +395,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -412,7 +412,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverAgent_List.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverAgent_List.cs index 1b7288575fa8..8d865ab75737 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverAgent_List.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverAgent_List.cs @@ -13,10 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] List=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzStorageMoverAgent_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Lists all Agents in a Storage Mover.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents", ApiVersion = "2024-07-01")] public partial class GetAzStorageMoverAgent_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -165,12 +165,12 @@ public partial class GetAzStorageMoverAgent_List : global::System.Management.Aut /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentList /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -418,12 +418,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentList /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverEndpoint_Get.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverEndpoint_Get.cs index 556aa2bc1cd9..57ff0f889d89 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverEndpoint_Get.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverEndpoint_Get.cs @@ -13,10 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/endpoints/{endpointName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzStorageMoverEndpoint_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Gets an Endpoint resource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/endpoints/{endpointName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/endpoints/{endpointName}", ApiVersion = "2024-07-01")] public partial class GetAzStorageMoverEndpoint_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -174,12 +174,12 @@ public partial class GetAzStorageMoverEndpoint_Get : global::System.Management.A /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -427,12 +427,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -444,7 +444,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverEndpoint_GetViaIdentity.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverEndpoint_GetViaIdentity.cs index 3cfe6c9c82f5..934faec856c1 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverEndpoint_GetViaIdentity.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverEndpoint_GetViaIdentity.cs @@ -13,10 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/endpoints/{endpointName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzStorageMoverEndpoint_GetViaIdentity")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Gets an Endpoint resource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/endpoints/{endpointName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/endpoints/{endpointName}", ApiVersion = "2024-07-01")] public partial class GetAzStorageMoverEndpoint_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -121,12 +121,12 @@ public partial class GetAzStorageMoverEndpoint_GetViaIdentity : global::System.M /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -395,12 +395,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -412,7 +412,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverEndpoint_List.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverEndpoint_List.cs index c30427d845a2..240673029f25 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverEndpoint_List.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverEndpoint_List.cs @@ -13,10 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] List=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/endpoints" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzStorageMoverEndpoint_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Lists all Endpoints in a Storage Mover.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/endpoints", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/endpoints", ApiVersion = "2024-07-01")] public partial class GetAzStorageMoverEndpoint_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -165,12 +165,12 @@ public partial class GetAzStorageMoverEndpoint_List : global::System.Management. /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointList /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -418,12 +418,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointList /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverJobDefinition_Get.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverJobDefinition_Get.cs index bcdef7a2a77c..9c75b643d376 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverJobDefinition_Get.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverJobDefinition_Get.cs @@ -13,10 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzStorageMoverJobDefinition_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Gets a Job Definition resource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}", ApiVersion = "2024-07-01")] public partial class GetAzStorageMoverJobDefinition_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -188,12 +188,12 @@ public partial class GetAzStorageMoverJobDefinition_Get : global::System.Managem /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -441,12 +441,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -458,7 +458,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverJobDefinition_GetViaIdentity.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverJobDefinition_GetViaIdentity.cs index 480aee8d6ea0..fe788ebddd91 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverJobDefinition_GetViaIdentity.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverJobDefinition_GetViaIdentity.cs @@ -13,10 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzStorageMoverJobDefinition_GetViaIdentity")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Gets a Job Definition resource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}", ApiVersion = "2024-07-01")] public partial class GetAzStorageMoverJobDefinition_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -121,12 +121,12 @@ public partial class GetAzStorageMoverJobDefinition_GetViaIdentity : global::Sys /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -399,12 +399,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -416,7 +416,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverJobDefinition_List.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverJobDefinition_List.cs index fb8487a2a39c..b8d1beac4225 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverJobDefinition_List.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverJobDefinition_List.cs @@ -13,10 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] List=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzStorageMoverJobDefinition_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Lists all Job Definitions in a Project.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions", ApiVersion = "2024-07-01")] public partial class GetAzStorageMoverJobDefinition_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -179,12 +179,12 @@ public partial class GetAzStorageMoverJobDefinition_List : global::System.Manage /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionList /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -432,12 +432,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionList /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverJobRun_Get.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverJobRun_Get.cs index 2ba42e518ba8..143d1f728d4d 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverJobRun_Get.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverJobRun_Get.cs @@ -13,10 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/jobRuns/{jobRunName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzStorageMoverJobRun_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRun))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Gets a Job Run resource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/jobRuns/{jobRunName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/jobRuns/{jobRunName}", ApiVersion = "2024-07-01")] public partial class GetAzStorageMoverJobRun_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -202,12 +202,12 @@ public partial class GetAzStorageMoverJobRun_Get : global::System.Management.Aut /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRun + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -455,12 +455,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRun + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -472,7 +472,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRun + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverJobRun_GetViaIdentity.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverJobRun_GetViaIdentity.cs index 160c5d5bb4ae..f7e69f8be4a7 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverJobRun_GetViaIdentity.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverJobRun_GetViaIdentity.cs @@ -13,10 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/jobRuns/{jobRunName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzStorageMoverJobRun_GetViaIdentity")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRun))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Gets a Job Run resource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/jobRuns/{jobRunName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/jobRuns/{jobRunName}", ApiVersion = "2024-07-01")] public partial class GetAzStorageMoverJobRun_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -121,12 +121,12 @@ public partial class GetAzStorageMoverJobRun_GetViaIdentity : global::System.Man /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRun + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -403,12 +403,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRun + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -420,7 +420,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRun + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverJobRun_List.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverJobRun_List.cs index 083fecfea499..a1c92aee1a9c 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverJobRun_List.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverJobRun_List.cs @@ -13,10 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] List=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/jobRuns" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzStorageMoverJobRun_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRun))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Lists all Job Runs in a Job Definition.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/jobRuns", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/jobRuns", ApiVersion = "2024-07-01")] public partial class GetAzStorageMoverJobRun_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -193,12 +193,12 @@ public partial class GetAzStorageMoverJobRun_List : global::System.Management.Au /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunList /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -446,12 +446,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunList /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverOperation_List.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverOperation_List.cs index 607df337b9ed..3e35c75ab5c3 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverOperation_List.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverOperation_List.cs @@ -17,7 +17,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api30.IOperation))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Lists all the supported operations for the Azure Storage Mover REST API.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/providers/Microsoft.StorageMover/operations", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/providers/Microsoft.StorageMover/operations", ApiVersion = "2024-07-01")] public partial class GetAzStorageMoverOperation_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverProject_Get.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverProject_Get.cs index 2a79a6a6c19c..c1246056dccb 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverProject_Get.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverProject_Get.cs @@ -13,10 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzStorageMoverProject_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Gets a Project resource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}", ApiVersion = "2024-07-01")] public partial class GetAzStorageMoverProject_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -174,12 +174,12 @@ public partial class GetAzStorageMoverProject_Get : global::System.Management.Au /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -427,12 +427,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -444,7 +444,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverProject_GetViaIdentity.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverProject_GetViaIdentity.cs index 9f984f9d4512..c41eaae7b756 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverProject_GetViaIdentity.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverProject_GetViaIdentity.cs @@ -13,10 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzStorageMoverProject_GetViaIdentity")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Gets a Project resource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}", ApiVersion = "2024-07-01")] public partial class GetAzStorageMoverProject_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -121,12 +121,12 @@ public partial class GetAzStorageMoverProject_GetViaIdentity : global::System.Ma /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -395,12 +395,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -412,7 +412,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverProject_List.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverProject_List.cs index 038080de828d..86c02c207dfa 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverProject_List.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMoverProject_List.cs @@ -13,10 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] List=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzStorageMoverProject_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Lists all Projects in a Storage Mover.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects", ApiVersion = "2024-07-01")] public partial class GetAzStorageMoverProject_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -165,12 +165,12 @@ public partial class GetAzStorageMoverProject_List : global::System.Management.A /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectList /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -418,12 +418,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectList /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMover_Get.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMover_Get.cs index ca20af597829..65d0417707cc 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMover_Get.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMover_Get.cs @@ -13,10 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzStorageMover_Get")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Gets a Storage Mover resource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}", ApiVersion = "2024-07-01")] public partial class GetAzStorageMover_Get : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -160,12 +160,12 @@ public partial class GetAzStorageMover_Get : global::System.Management.Automatio /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -413,12 +413,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -430,7 +430,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMover_GetViaIdentity.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMover_GetViaIdentity.cs index d3e3e5c490bf..165acbc6fa15 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMover_GetViaIdentity.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMover_GetViaIdentity.cs @@ -13,10 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] Get=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzStorageMover_GetViaIdentity")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Gets a Storage Mover resource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}", ApiVersion = "2024-07-01")] public partial class GetAzStorageMover_GetViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -121,12 +121,12 @@ public partial class GetAzStorageMover_GetViaIdentity : global::System.Managemen /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -391,12 +391,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -408,7 +408,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMover_List.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMover_List.cs index c16ed9ae4d86..4c8c1c6fcaf4 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMover_List.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMover_List.cs @@ -13,10 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] ListBySubscription=>GET:"/subscriptions/{subscriptionId}/providers/Microsoft.StorageMover/storageMovers" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzStorageMover_List")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Lists all Storage Movers in a subscription.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.StorageMover/storageMovers", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/providers/Microsoft.StorageMover/storageMovers", ApiVersion = "2024-07-01")] public partial class GetAzStorageMover_List : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -137,12 +137,12 @@ public partial class GetAzStorageMover_List : global::System.Management.Automati /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverList /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -390,12 +390,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverList /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMover_List1.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMover_List1.cs index 7cd7b2c768c0..1121f354555d 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMover_List1.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/GetAzStorageMover_List1.cs @@ -13,10 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] List=>GET:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.Get, @"AzStorageMover_List1")] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Lists all Storage Movers in a resource group.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers", ApiVersion = "2024-07-01")] public partial class GetAzStorageMover_List1 : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -151,12 +151,12 @@ public partial class GetAzStorageMover_List1 : global::System.Management.Automat /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverList /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -404,12 +404,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverList + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverList /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/NewAzStorageMoverEndpoint_CreateExpanded.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/NewAzStorageMoverEndpoint_CreateExpanded.cs index 23600d4a0202..1be608d56f1e 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/NewAzStorageMoverEndpoint_CreateExpanded.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/NewAzStorageMoverEndpoint_CreateExpanded.cs @@ -16,10 +16,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStorageMoverEndpoint_CreateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Creates or updates an Endpoint resource, which represents a data transfer source or destination.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/endpoints/{endpointName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/endpoints/{endpointName}", ApiVersion = "2024-07-01")] public partial class NewAzStorageMoverEndpoint_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -40,7 +40,7 @@ public partial class NewAzStorageMoverEndpoint_CreateExpanded : global::System.M /// /// The Endpoint resource, which contains information about file sources and targets. /// - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint _endpointBody = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.Endpoint(); + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint _endpointBody = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.Endpoint(); /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -111,8 +111,8 @@ public partial class NewAzStorageMoverEndpoint_CreateExpanded : global::System.M ReadOnly = false, Description = @"The resource specific properties for the Storage Mover resource.", SerializedName = @"properties", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseProperties) })] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseProperties Property { get => _endpointBody.Property ?? null /* object */; set => _endpointBody.Property = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseProperties) })] + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseProperties Property { get => _endpointBody.Property ?? null /* object */; set => _endpointBody.Property = value; } /// The URI for the proxy server to use [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] @@ -193,12 +193,12 @@ public partial class NewAzStorageMoverEndpoint_CreateExpanded : global::System.M /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -446,12 +446,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -463,7 +463,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/NewAzStorageMoverJobDefinition_Create.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/NewAzStorageMoverJobDefinition_Create.cs index 6c7862fcfed4..3632b9f4453d 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/NewAzStorageMoverJobDefinition_Create.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/NewAzStorageMoverJobDefinition_Create.cs @@ -15,10 +15,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStorageMoverJobDefinition_Create", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Creates or updates a Job Definition resource, which contains configuration for a single unit of managed data transfer.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}", ApiVersion = "2024-07-01")] public partial class NewAzStorageMoverJobDefinition_Create : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -70,7 +70,7 @@ public partial class NewAzStorageMoverJobDefinition_Create : global::System.Mana public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition _jobDefinition; + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition _jobDefinition; /// The Job Definition resource. [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The Job Definition resource.", ValueFromPipeline = true)] @@ -79,8 +79,8 @@ public partial class NewAzStorageMoverJobDefinition_Create : global::System.Mana ReadOnly = false, Description = @"The Job Definition resource.", SerializedName = @"jobDefinition", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition) })] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition JobDefinition { get => this._jobDefinition; set => this._jobDefinition = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition) })] + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition JobDefinition { get => this._jobDefinition; set => this._jobDefinition = value; } /// /// cancellation delegate. Stops the cmdlet when called. @@ -203,12 +203,12 @@ public partial class NewAzStorageMoverJobDefinition_Create : global::System.Mana /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -456,12 +456,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -473,7 +473,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/NewAzStorageMoverJobDefinition_CreateExpanded.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/NewAzStorageMoverJobDefinition_CreateExpanded.cs index b151eeda64a8..39199a3bb572 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/NewAzStorageMoverJobDefinition_CreateExpanded.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/NewAzStorageMoverJobDefinition_CreateExpanded.cs @@ -15,10 +15,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStorageMoverJobDefinition_CreateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Creates or updates a Job Definition resource, which contains configuration for a single unit of managed data transfer.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}", ApiVersion = "2024-07-01")] public partial class NewAzStorageMoverJobDefinition_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -37,7 +37,7 @@ public partial class NewAzStorageMoverJobDefinition_CreateExpanded : global::Sys private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// The Job Definition resource. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition _jobDefinitionBody = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobDefinition(); + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition _jobDefinitionBody = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobDefinition(); /// Name of the Agent to assign for new Job Runs of this Job Definition. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Name of the Agent to assign for new Job Runs of this Job Definition.")] @@ -271,12 +271,12 @@ public partial class NewAzStorageMoverJobDefinition_CreateExpanded : global::Sys /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -524,12 +524,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -541,7 +541,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/NewAzStorageMoverProject_Create.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/NewAzStorageMoverProject_Create.cs index b8ae1ba348b6..578af628d1b5 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/NewAzStorageMoverProject_Create.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/NewAzStorageMoverProject_Create.cs @@ -15,10 +15,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStorageMoverProject_Create", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Creates or updates a Project resource, which is a logical grouping of related jobs.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}", ApiVersion = "2024-07-01")] public partial class NewAzStorageMoverProject_Create : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -98,7 +98,7 @@ public partial class NewAzStorageMoverProject_Create : global::System.Management private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.HttpPipeline Pipeline { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject _project; + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject _project; /// The Project resource. [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The Project resource.", ValueFromPipeline = true)] @@ -107,8 +107,8 @@ public partial class NewAzStorageMoverProject_Create : global::System.Management ReadOnly = false, Description = @"The Project resource.", SerializedName = @"project", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject) })] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject Project { get => this._project; set => this._project = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject) })] + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject Project { get => this._project; set => this._project = value; } /// The URI for the proxy server to use [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] @@ -189,12 +189,12 @@ public partial class NewAzStorageMoverProject_Create : global::System.Management /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -442,12 +442,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -459,7 +459,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/NewAzStorageMoverProject_CreateExpanded.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/NewAzStorageMoverProject_CreateExpanded.cs index baf88f19951f..9b7270ce3b69 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/NewAzStorageMoverProject_CreateExpanded.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/NewAzStorageMoverProject_CreateExpanded.cs @@ -15,10 +15,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStorageMoverProject_CreateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Creates or updates a Project resource, which is a logical grouping of related jobs.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}", ApiVersion = "2024-07-01")] public partial class NewAzStorageMoverProject_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -37,7 +37,7 @@ public partial class NewAzStorageMoverProject_CreateExpanded : global::System.Ma private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// The Project resource. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject _projectBody = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.Project(); + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject _projectBody = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.Project(); /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -190,12 +190,12 @@ public partial class NewAzStorageMoverProject_CreateExpanded : global::System.Ma /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -443,12 +443,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -460,7 +460,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/NewAzStorageMover_Create.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/NewAzStorageMover_Create.cs index 8390e6264c91..9773c8bc8227 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/NewAzStorageMover_Create.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/NewAzStorageMover_Create.cs @@ -13,10 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStorageMover_Create", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Creates or updates a top-level Storage Mover resource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}", ApiVersion = "2024-07-01")] public partial class NewAzStorageMover_Create : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -126,7 +126,7 @@ public partial class NewAzStorageMover_Create : global::System.Management.Automa public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover _storageMover; + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover _storageMover; /// /// The Storage Mover resource, which is a container for a group of Agents, Projects, and Endpoints. @@ -137,8 +137,8 @@ public partial class NewAzStorageMover_Create : global::System.Management.Automa ReadOnly = false, Description = @"The Storage Mover resource, which is a container for a group of Agents, Projects, and Endpoints.", SerializedName = @"storageMover", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover) })] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover StorageMover { get => this._storageMover; set => this._storageMover = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover) })] + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover StorageMover { get => this._storageMover; set => this._storageMover = value; } /// Backing field for property. private string _subscriptionId; @@ -175,12 +175,12 @@ public partial class NewAzStorageMover_Create : global::System.Management.Automa /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -428,12 +428,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -445,7 +445,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/NewAzStorageMover_CreateExpanded.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/NewAzStorageMover_CreateExpanded.cs index b83b74d60f65..20fd2be36a28 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/NewAzStorageMover_CreateExpanded.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/NewAzStorageMover_CreateExpanded.cs @@ -13,10 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] CreateOrUpdate=>PUT:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsCommon.New, @"AzStorageMover_CreateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Creates or updates a top-level Storage Mover resource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}", ApiVersion = "2024-07-01")] public partial class NewAzStorageMover_CreateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -37,7 +37,7 @@ public partial class NewAzStorageMover_CreateExpanded : global::System.Managemen /// /// The Storage Mover resource, which is a container for a group of Agents, Projects, and Endpoints. /// - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover _storageMoverBody = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.StorageMover(); + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover _storageMoverBody = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.StorageMover(); /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -199,12 +199,12 @@ public partial class NewAzStorageMover_CreateExpanded : global::System.Managemen /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -452,12 +452,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -469,7 +469,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMoverAgent_Delete.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMoverAgent_Delete.cs index e66b2daa2fb4..80c2df685529 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMoverAgent_Delete.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMoverAgent_Delete.cs @@ -17,7 +17,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Deletes an Agent resource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}", ApiVersion = "2024-07-01")] public partial class RemoveAzStorageMoverAgent_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMoverAgent_DeleteViaIdentity.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMoverAgent_DeleteViaIdentity.cs index 4808dee8a288..a2737f34bdb0 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMoverAgent_DeleteViaIdentity.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMoverAgent_DeleteViaIdentity.cs @@ -17,7 +17,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Deletes an Agent resource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}", ApiVersion = "2024-07-01")] public partial class RemoveAzStorageMoverAgent_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMoverEndpoint_Delete.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMoverEndpoint_Delete.cs index 09683ee8626b..fdb0c1631a6e 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMoverEndpoint_Delete.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMoverEndpoint_Delete.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Deletes an Endpoint resource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/endpoints/{endpointName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/endpoints/{endpointName}", ApiVersion = "2024-07-01")] public partial class RemoveAzStorageMoverEndpoint_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMoverEndpoint_DeleteViaIdentity.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMoverEndpoint_DeleteViaIdentity.cs index 88d34ccca104..59e9485f3468 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMoverEndpoint_DeleteViaIdentity.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMoverEndpoint_DeleteViaIdentity.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Deletes an Endpoint resource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/endpoints/{endpointName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/endpoints/{endpointName}", ApiVersion = "2024-07-01")] public partial class RemoveAzStorageMoverEndpoint_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMoverJobDefinition_Delete.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMoverJobDefinition_Delete.cs index b0ce709a11ac..c7900e374409 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMoverJobDefinition_Delete.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMoverJobDefinition_Delete.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Deletes a Job Definition resource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}", ApiVersion = "2024-07-01")] public partial class RemoveAzStorageMoverJobDefinition_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMoverJobDefinition_DeleteViaIdentity.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMoverJobDefinition_DeleteViaIdentity.cs index c02713fe9de7..fbd52481b5c0 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMoverJobDefinition_DeleteViaIdentity.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMoverJobDefinition_DeleteViaIdentity.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Deletes a Job Definition resource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}", ApiVersion = "2024-07-01")] public partial class RemoveAzStorageMoverJobDefinition_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMoverProject_Delete.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMoverProject_Delete.cs index c1998db2e29a..3ea7ce3e4738 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMoverProject_Delete.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMoverProject_Delete.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Deletes a Project resource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}", ApiVersion = "2024-07-01")] public partial class RemoveAzStorageMoverProject_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMoverProject_DeleteViaIdentity.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMoverProject_DeleteViaIdentity.cs index 202e941069c8..ab8efc8e3e42 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMoverProject_DeleteViaIdentity.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMoverProject_DeleteViaIdentity.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Deletes a Project resource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}", ApiVersion = "2024-07-01")] public partial class RemoveAzStorageMoverProject_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMover_Delete.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMover_Delete.cs index fdd3aca7afee..423ee4ff10d7 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMover_Delete.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMover_Delete.cs @@ -17,7 +17,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Deletes a Storage Mover resource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}", ApiVersion = "2024-07-01")] public partial class RemoveAzStorageMover_Delete : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMover_DeleteViaIdentity.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMover_DeleteViaIdentity.cs index 666d6d4aea93..a3ffab8a4bd6 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMover_DeleteViaIdentity.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/RemoveAzStorageMover_DeleteViaIdentity.cs @@ -17,7 +17,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets [global::System.Management.Automation.OutputType(typeof(bool))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Deletes a Storage Mover resource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}", ApiVersion = "2024-07-01")] public partial class RemoveAzStorageMover_DeleteViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/StartAzStorageMoverJobDefinition_Start.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/StartAzStorageMoverJobDefinition_Start.cs index 2b930cd66c42..77c0b2a7bf9b 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/StartAzStorageMoverJobDefinition_Start.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/StartAzStorageMoverJobDefinition_Start.cs @@ -9,16 +9,16 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets using System; /// - /// Requests an Agent to start a new instance of this Job Definition, generating a new Job Run resource. + /// Creates a new Job Run resource for the specified Job Definition and passes it to the Agent for execution. /// /// /// [OpenAPI] StartJob=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/startJob" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Start, @"AzStorageMoverJobDefinition_Start", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(string))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Requests an Agent to start a new instance of this Job Definition, generating a new Job Run resource.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Creates a new Job Run resource for the specified Job Definition and passes it to the Agent for execution.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/startJob", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/startJob", ApiVersion = "2024-07-01")] public partial class StartAzStorageMoverJobDefinition_Start : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -189,12 +189,12 @@ public partial class StartAzStorageMoverJobDefinition_Start : global::System.Man /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunResourceId + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunResourceId /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -442,12 +442,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunResourceId + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunResourceId /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -459,7 +459,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunResourceId + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunResourceId WriteObject((await response).JobRunResourceId1); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/StartAzStorageMoverJobDefinition_StartViaIdentity.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/StartAzStorageMoverJobDefinition_StartViaIdentity.cs index 0e542f569268..61da6104bf5f 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/StartAzStorageMoverJobDefinition_StartViaIdentity.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/StartAzStorageMoverJobDefinition_StartViaIdentity.cs @@ -9,16 +9,16 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets using System; /// - /// Requests an Agent to start a new instance of this Job Definition, generating a new Job Run resource. + /// Creates a new Job Run resource for the specified Job Definition and passes it to the Agent for execution. /// /// /// [OpenAPI] StartJob=>POST:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/startJob" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsLifecycle.Start, @"AzStorageMoverJobDefinition_StartViaIdentity", SupportsShouldProcess = true)] [global::System.Management.Automation.OutputType(typeof(string))] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Requests an Agent to start a new instance of this Job Definition, generating a new Job Run resource.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Creates a new Job Run resource for the specified Job Definition and passes it to the Agent for execution.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/startJob", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/startJob", ApiVersion = "2024-07-01")] public partial class StartAzStorageMoverJobDefinition_StartViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -123,12 +123,12 @@ public partial class StartAzStorageMoverJobDefinition_StartViaIdentity : global: /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunResourceId + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunResourceId /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -404,12 +404,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunResourceId + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunResourceId /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -421,7 +421,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunResourceId + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunResourceId WriteObject((await response).JobRunResourceId1); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/StopAzStorageMoverJobDefinition_Stop.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/StopAzStorageMoverJobDefinition_Stop.cs index 45681bbfa65f..3c948c5f44c4 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/StopAzStorageMoverJobDefinition_Stop.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/StopAzStorageMoverJobDefinition_Stop.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets [global::System.Management.Automation.OutputType(typeof(string))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Requests the Agent of any active instance of this Job Definition to stop.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/stopJob", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/stopJob", ApiVersion = "2024-07-01")] public partial class StopAzStorageMoverJobDefinition_Stop : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -187,12 +187,12 @@ public partial class StopAzStorageMoverJobDefinition_Stop : global::System.Manag /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunResourceId + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunResourceId /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -440,12 +440,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunResourceId + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunResourceId /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -457,7 +457,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunResourceId + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunResourceId WriteObject((await response).JobRunResourceId1); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/StopAzStorageMoverJobDefinition_StopViaIdentity.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/StopAzStorageMoverJobDefinition_StopViaIdentity.cs index f981d7962d98..5d641171c2c8 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/StopAzStorageMoverJobDefinition_StopViaIdentity.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/StopAzStorageMoverJobDefinition_StopViaIdentity.cs @@ -16,7 +16,7 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets [global::System.Management.Automation.OutputType(typeof(string))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Requests the Agent of any active instance of this Job Definition to stop.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/stopJob", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}/stopJob", ApiVersion = "2024-07-01")] public partial class StopAzStorageMoverJobDefinition_StopViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -121,12 +121,12 @@ public partial class StopAzStorageMoverJobDefinition_StopViaIdentity : global::S /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunResourceId + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunResourceId /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -402,12 +402,12 @@ protected override void StopProcessing() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunResourceId + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunResourceId /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -419,7 +419,7 @@ protected override void StopProcessing() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRunResourceId + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRunResourceId WriteObject((await response).JobRunResourceId1); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverAgent_Update.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverAgent_Update.cs index a6dfc5a38a3a..362ca33b2d59 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverAgent_Update.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverAgent_Update.cs @@ -13,10 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzStorageMoverAgent_Update", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Creates or updates an Agent resource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}", ApiVersion = "2024-07-01")] public partial class UpdateAzStorageMoverAgent_Update : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -35,7 +35,7 @@ public partial class UpdateAzStorageMoverAgent_Update : global::System.Managemen private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParameters _agent; + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParameters _agent; /// The Agent resource. [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The Agent resource.", ValueFromPipeline = true)] @@ -44,8 +44,8 @@ public partial class UpdateAzStorageMoverAgent_Update : global::System.Managemen ReadOnly = false, Description = @"The Agent resource.", SerializedName = @"agent", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParameters) })] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParameters Agent { get => this._agent; set => this._agent = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParameters) })] + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParameters Agent { get => this._agent; set => this._agent = value; } /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -187,12 +187,12 @@ public partial class UpdateAzStorageMoverAgent_Update : global::System.Managemen /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -440,12 +440,12 @@ public UpdateAzStorageMoverAgent_Update() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -457,7 +457,7 @@ public UpdateAzStorageMoverAgent_Update() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverAgent_UpdateExpanded.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverAgent_UpdateExpanded.cs index 9d69e10f8ada..7720f5015ac1 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverAgent_UpdateExpanded.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverAgent_UpdateExpanded.cs @@ -13,10 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzStorageMoverAgent_UpdateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Creates or updates an Agent resource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}", ApiVersion = "2024-07-01")] public partial class UpdateAzStorageMoverAgent_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -30,7 +30,7 @@ public partial class UpdateAzStorageMoverAgent_UpdateExpanded : global::System.M private string __processRecordId; /// The Agent resource. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParameters _agentBody = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AgentUpdateParameters(); + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParameters _agentBody = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AgentUpdateParameters(); /// /// The for this operation. @@ -171,6 +171,18 @@ public partial class UpdateAzStorageMoverAgent_UpdateExpanded : global::System.M [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Path)] public string SubscriptionId { get => this._subscriptionId; set => this._subscriptionId = value; } + /// The set of weekly repeating recurrences of the WAN-link upload limit schedule. + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The set of weekly repeating recurrences of the WAN-link upload limit schedule.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The set of weekly repeating recurrences of the WAN-link upload limit schedule.", + SerializedName = @"weeklyRecurrences", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence) })] + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence[] UploadLimitScheduleWeeklyRecurrence { get => _agentBody.UploadLimitScheduleWeeklyRecurrence ?? null /* arrayOf */; set => _agentBody.UploadLimitScheduleWeeklyRecurrence = value; } + /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what /// happens on that response. Implement this method in a partial class to enable this behavior @@ -188,12 +200,12 @@ public partial class UpdateAzStorageMoverAgent_UpdateExpanded : global::System.M /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -441,12 +453,12 @@ public UpdateAzStorageMoverAgent_UpdateExpanded() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -458,7 +470,7 @@ public UpdateAzStorageMoverAgent_UpdateExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverAgent_UpdateViaIdentity.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverAgent_UpdateViaIdentity.cs index 8766e9f06148..2a3cc0d59825 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverAgent_UpdateViaIdentity.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverAgent_UpdateViaIdentity.cs @@ -13,10 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzStorageMoverAgent_UpdateViaIdentity", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Creates or updates an Agent resource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}", ApiVersion = "2024-07-01")] public partial class UpdateAzStorageMoverAgent_UpdateViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -35,7 +35,7 @@ public partial class UpdateAzStorageMoverAgent_UpdateViaIdentity : global::Syste private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParameters _agent; + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParameters _agent; /// The Agent resource. [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The Agent resource.", ValueFromPipeline = true)] @@ -44,8 +44,8 @@ public partial class UpdateAzStorageMoverAgent_UpdateViaIdentity : global::Syste ReadOnly = false, Description = @"The Agent resource.", SerializedName = @"agent", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParameters) })] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParameters Agent { get => this._agent; set => this._agent = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParameters) })] + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParameters Agent { get => this._agent; set => this._agent = value; } /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -134,12 +134,12 @@ public partial class UpdateAzStorageMoverAgent_UpdateViaIdentity : global::Syste /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -411,12 +411,12 @@ public UpdateAzStorageMoverAgent_UpdateViaIdentity() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -428,7 +428,7 @@ public UpdateAzStorageMoverAgent_UpdateViaIdentity() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverAgent_UpdateViaIdentityExpanded.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverAgent_UpdateViaIdentityExpanded.cs index 8c1854281e0b..a7486cc203cf 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverAgent_UpdateViaIdentityExpanded.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverAgent_UpdateViaIdentityExpanded.cs @@ -13,10 +13,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzStorageMoverAgent_UpdateViaIdentityExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Creates or updates an Agent resource.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/agents/{agentName}", ApiVersion = "2024-07-01")] public partial class UpdateAzStorageMoverAgent_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -30,7 +30,7 @@ public partial class UpdateAzStorageMoverAgent_UpdateViaIdentityExpanded : globa private string __processRecordId; /// The Agent resource. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParameters _agentBody = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.AgentUpdateParameters(); + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParameters _agentBody = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.AgentUpdateParameters(); /// /// The for this operation. @@ -118,6 +118,18 @@ public partial class UpdateAzStorageMoverAgent_UpdateViaIdentityExpanded : globa [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Runtime)] public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } + /// The set of weekly repeating recurrences of the WAN-link upload limit schedule. + [global::System.Management.Automation.AllowEmptyCollection] + [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "The set of weekly repeating recurrences of the WAN-link upload limit schedule.")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category(global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.ParameterCategory.Body)] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.Info( + Required = false, + ReadOnly = false, + Description = @"The set of weekly repeating recurrences of the WAN-link upload limit schedule.", + SerializedName = @"weeklyRecurrences", + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence) })] + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence[] UploadLimitScheduleWeeklyRecurrence { get => _agentBody.UploadLimitScheduleWeeklyRecurrence ?? null /* arrayOf */; set => _agentBody.UploadLimitScheduleWeeklyRecurrence = value; } + /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what /// happens on that response. Implement this method in a partial class to enable this behavior @@ -135,12 +147,12 @@ public partial class UpdateAzStorageMoverAgent_UpdateViaIdentityExpanded : globa /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -412,12 +424,12 @@ public UpdateAzStorageMoverAgent_UpdateViaIdentityExpanded() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -429,7 +441,7 @@ public UpdateAzStorageMoverAgent_UpdateViaIdentityExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverEndpoint_UpdateExpanded.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverEndpoint_UpdateExpanded.cs index 4dc57a5bda31..4fa65bbbfd30 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverEndpoint_UpdateExpanded.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverEndpoint_UpdateExpanded.cs @@ -16,10 +16,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzStorageMoverEndpoint_UpdateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Updates properties for an Endpoint resource. Properties not specified in the request body will be unchanged.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/endpoints/{endpointName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/endpoints/{endpointName}", ApiVersion = "2024-07-01")] public partial class UpdateAzStorageMoverEndpoint_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -38,7 +38,7 @@ public partial class UpdateAzStorageMoverEndpoint_UpdateExpanded : global::Syste private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// The Endpoint resource. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateParameters _endpointBody = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.EndpointBaseUpdateParameters(); + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateParameters _endpointBody = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.EndpointBaseUpdateParameters(); /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -111,8 +111,8 @@ public partial class UpdateAzStorageMoverEndpoint_UpdateExpanded : global::Syste ReadOnly = false, Description = @"The Endpoint resource, which contains information about file sources and targets.", SerializedName = @"properties", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateProperties) })] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateProperties Property { get => _endpointBody.Property ?? null /* object */; set => _endpointBody.Property = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateProperties) })] + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateProperties Property { get => _endpointBody.Property ?? null /* object */; set => _endpointBody.Property = value; } /// The URI for the proxy server to use [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] @@ -193,12 +193,12 @@ public partial class UpdateAzStorageMoverEndpoint_UpdateExpanded : global::Syste /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -446,12 +446,12 @@ public UpdateAzStorageMoverEndpoint_UpdateExpanded() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -463,7 +463,7 @@ public UpdateAzStorageMoverEndpoint_UpdateExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverEndpoint_UpdateViaIdentityExpanded.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverEndpoint_UpdateViaIdentityExpanded.cs index 7002a205d7b0..7ee5c9e4e3b6 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverEndpoint_UpdateViaIdentityExpanded.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverEndpoint_UpdateViaIdentityExpanded.cs @@ -16,10 +16,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.InternalExport] [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzStorageMoverEndpoint_UpdateViaIdentityExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Updates properties for an Endpoint resource. Properties not specified in the request body will be unchanged.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/endpoints/{endpointName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/endpoints/{endpointName}", ApiVersion = "2024-07-01")] public partial class UpdateAzStorageMoverEndpoint_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -38,7 +38,7 @@ public partial class UpdateAzStorageMoverEndpoint_UpdateViaIdentityExpanded : gl private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// The Endpoint resource. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateParameters _endpointBody = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.EndpointBaseUpdateParameters(); + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateParameters _endpointBody = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.EndpointBaseUpdateParameters(); /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -104,8 +104,8 @@ public partial class UpdateAzStorageMoverEndpoint_UpdateViaIdentityExpanded : gl ReadOnly = false, Description = @"The Endpoint resource, which contains information about file sources and targets.", SerializedName = @"properties", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateProperties) })] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateProperties Property { get => _endpointBody.Property ?? null /* object */; set => _endpointBody.Property = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateProperties) })] + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateProperties Property { get => _endpointBody.Property ?? null /* object */; set => _endpointBody.Property = value; } /// The URI for the proxy server to use [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] @@ -140,12 +140,12 @@ public partial class UpdateAzStorageMoverEndpoint_UpdateViaIdentityExpanded : gl /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -417,12 +417,12 @@ public UpdateAzStorageMoverEndpoint_UpdateViaIdentityExpanded() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -434,7 +434,7 @@ public UpdateAzStorageMoverEndpoint_UpdateViaIdentityExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverJobDefinition_Update.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverJobDefinition_Update.cs index fcf068e53ca7..fa747adda907 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverJobDefinition_Update.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverJobDefinition_Update.cs @@ -15,10 +15,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzStorageMoverJobDefinition_Update", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Updates properties for a Job Definition resource. Properties not specified in the request body will be unchanged.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}", ApiVersion = "2024-07-01")] public partial class UpdateAzStorageMoverJobDefinition_Update : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -70,7 +70,7 @@ public partial class UpdateAzStorageMoverJobDefinition_Update : global::System.M public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParameters _jobDefinition; + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParameters _jobDefinition; /// The Job Definition resource. [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The Job Definition resource.", ValueFromPipeline = true)] @@ -79,8 +79,8 @@ public partial class UpdateAzStorageMoverJobDefinition_Update : global::System.M ReadOnly = false, Description = @"The Job Definition resource.", SerializedName = @"jobDefinition", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParameters) })] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParameters JobDefinition { get => this._jobDefinition; set => this._jobDefinition = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParameters) })] + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParameters JobDefinition { get => this._jobDefinition; set => this._jobDefinition = value; } /// /// cancellation delegate. Stops the cmdlet when called. @@ -203,12 +203,12 @@ public partial class UpdateAzStorageMoverJobDefinition_Update : global::System.M /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -456,12 +456,12 @@ public UpdateAzStorageMoverJobDefinition_Update() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -473,7 +473,7 @@ public UpdateAzStorageMoverJobDefinition_Update() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverJobDefinition_UpdateExpanded.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverJobDefinition_UpdateExpanded.cs index d37b9bdfce86..fcb3d4d2c4df 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverJobDefinition_UpdateExpanded.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverJobDefinition_UpdateExpanded.cs @@ -15,10 +15,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzStorageMoverJobDefinition_UpdateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Updates properties for a Job Definition resource. Properties not specified in the request body will be unchanged.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}", ApiVersion = "2024-07-01")] public partial class UpdateAzStorageMoverJobDefinition_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -37,7 +37,7 @@ public partial class UpdateAzStorageMoverJobDefinition_UpdateExpanded : global:: private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// The Job Definition resource. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParameters _jobDefinitionBody = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobDefinitionUpdateParameters(); + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParameters _jobDefinitionBody = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobDefinitionUpdateParameters(); /// Name of the Agent to assign for new Job Runs of this Job Definition. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Name of the Agent to assign for new Job Runs of this Job Definition.")] @@ -227,12 +227,12 @@ public partial class UpdateAzStorageMoverJobDefinition_UpdateExpanded : global:: /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -480,12 +480,12 @@ public UpdateAzStorageMoverJobDefinition_UpdateExpanded() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -497,7 +497,7 @@ public UpdateAzStorageMoverJobDefinition_UpdateExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverJobDefinition_UpdateViaIdentity.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverJobDefinition_UpdateViaIdentity.cs index 430ec5b9eb49..63d560bd67a1 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverJobDefinition_UpdateViaIdentity.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverJobDefinition_UpdateViaIdentity.cs @@ -15,10 +15,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzStorageMoverJobDefinition_UpdateViaIdentity", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Updates properties for a Job Definition resource. Properties not specified in the request body will be unchanged.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}", ApiVersion = "2024-07-01")] public partial class UpdateAzStorageMoverJobDefinition_UpdateViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -78,7 +78,7 @@ public partial class UpdateAzStorageMoverJobDefinition_UpdateViaIdentity : globa public global::System.Management.Automation.InvocationInfo InvocationInformation { get => __invocationInfo = __invocationInfo ?? this.MyInvocation ; set { __invocationInfo = value; } } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParameters _jobDefinition; + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParameters _jobDefinition; /// The Job Definition resource. [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The Job Definition resource.", ValueFromPipeline = true)] @@ -87,8 +87,8 @@ public partial class UpdateAzStorageMoverJobDefinition_UpdateViaIdentity : globa ReadOnly = false, Description = @"The Job Definition resource.", SerializedName = @"jobDefinition", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParameters) })] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParameters JobDefinition { get => this._jobDefinition; set => this._jobDefinition = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParameters) })] + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParameters JobDefinition { get => this._jobDefinition; set => this._jobDefinition = value; } /// /// cancellation delegate. Stops the cmdlet when called. @@ -136,12 +136,12 @@ public partial class UpdateAzStorageMoverJobDefinition_UpdateViaIdentity : globa /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -417,12 +417,12 @@ public UpdateAzStorageMoverJobDefinition_UpdateViaIdentity() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -434,7 +434,7 @@ public UpdateAzStorageMoverJobDefinition_UpdateViaIdentity() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverJobDefinition_UpdateViaIdentityExpanded.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverJobDefinition_UpdateViaIdentityExpanded.cs index bb5e3cd948f0..9d9b353deaf3 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverJobDefinition_UpdateViaIdentityExpanded.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverJobDefinition_UpdateViaIdentityExpanded.cs @@ -15,10 +15,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzStorageMoverJobDefinition_UpdateViaIdentityExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Updates properties for a Job Definition resource. Properties not specified in the request body will be unchanged.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}/jobDefinitions/{jobDefinitionName}", ApiVersion = "2024-07-01")] public partial class UpdateAzStorageMoverJobDefinition_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -37,7 +37,7 @@ public partial class UpdateAzStorageMoverJobDefinition_UpdateViaIdentityExpanded private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// The Job Definition resource. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParameters _jobDefinitionBody = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.JobDefinitionUpdateParameters(); + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParameters _jobDefinitionBody = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.JobDefinitionUpdateParameters(); /// Name of the Agent to assign for new Job Runs of this Job Definition. [global::System.Management.Automation.Parameter(Mandatory = false, HelpMessage = "Name of the Agent to assign for new Job Runs of this Job Definition.")] @@ -160,12 +160,12 @@ public partial class UpdateAzStorageMoverJobDefinition_UpdateViaIdentityExpanded /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -441,12 +441,12 @@ public UpdateAzStorageMoverJobDefinition_UpdateViaIdentityExpanded() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -458,7 +458,7 @@ public UpdateAzStorageMoverJobDefinition_UpdateViaIdentityExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverProject_Update.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverProject_Update.cs index 0cf935191218..cd4bf3bec397 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverProject_Update.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverProject_Update.cs @@ -15,10 +15,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzStorageMoverProject_Update", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Updates properties for a Project resource. Properties not specified in the request body will be unchanged.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}", ApiVersion = "2024-07-01")] public partial class UpdateAzStorageMoverProject_Update : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -98,7 +98,7 @@ public partial class UpdateAzStorageMoverProject_Update : global::System.Managem private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.HttpPipeline Pipeline { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParameters _project; + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParameters _project; /// The Project resource. [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The Project resource.", ValueFromPipeline = true)] @@ -107,8 +107,8 @@ public partial class UpdateAzStorageMoverProject_Update : global::System.Managem ReadOnly = false, Description = @"The Project resource.", SerializedName = @"project", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParameters) })] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParameters Project { get => this._project; set => this._project = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParameters) })] + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParameters Project { get => this._project; set => this._project = value; } /// The URI for the proxy server to use [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] @@ -189,12 +189,12 @@ public partial class UpdateAzStorageMoverProject_Update : global::System.Managem /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -442,12 +442,12 @@ public UpdateAzStorageMoverProject_Update() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -459,7 +459,7 @@ public UpdateAzStorageMoverProject_Update() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverProject_UpdateExpanded.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverProject_UpdateExpanded.cs index 02e9a66071cb..0d0e1ece5676 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverProject_UpdateExpanded.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverProject_UpdateExpanded.cs @@ -15,10 +15,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzStorageMoverProject_UpdateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Updates properties for a Project resource. Properties not specified in the request body will be unchanged.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}", ApiVersion = "2024-07-01")] public partial class UpdateAzStorageMoverProject_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -37,7 +37,7 @@ public partial class UpdateAzStorageMoverProject_UpdateExpanded : global::System private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// The Project resource. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParameters _projectBody = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ProjectUpdateParameters(); + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParameters _projectBody = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ProjectUpdateParameters(); /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -190,12 +190,12 @@ public partial class UpdateAzStorageMoverProject_UpdateExpanded : global::System /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -443,12 +443,12 @@ public UpdateAzStorageMoverProject_UpdateExpanded() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -460,7 +460,7 @@ public UpdateAzStorageMoverProject_UpdateExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverProject_UpdateViaIdentity.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverProject_UpdateViaIdentity.cs index ff5e0d7fe8e8..9d541f994020 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverProject_UpdateViaIdentity.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverProject_UpdateViaIdentity.cs @@ -15,10 +15,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzStorageMoverProject_UpdateViaIdentity", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Updates properties for a Project resource. Properties not specified in the request body will be unchanged.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}", ApiVersion = "2024-07-01")] public partial class UpdateAzStorageMoverProject_UpdateViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -91,7 +91,7 @@ public partial class UpdateAzStorageMoverProject_UpdateViaIdentity : global::Sys private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.HttpPipeline Pipeline { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParameters _project; + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParameters _project; /// The Project resource. [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The Project resource.", ValueFromPipeline = true)] @@ -100,8 +100,8 @@ public partial class UpdateAzStorageMoverProject_UpdateViaIdentity : global::Sys ReadOnly = false, Description = @"The Project resource.", SerializedName = @"project", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParameters) })] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParameters Project { get => this._project; set => this._project = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParameters) })] + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParameters Project { get => this._project; set => this._project = value; } /// The URI for the proxy server to use [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "The URI for the proxy server to use")] @@ -136,12 +136,12 @@ public partial class UpdateAzStorageMoverProject_UpdateViaIdentity : global::Sys /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -413,12 +413,12 @@ public UpdateAzStorageMoverProject_UpdateViaIdentity() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -430,7 +430,7 @@ public UpdateAzStorageMoverProject_UpdateViaIdentity() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverProject_UpdateViaIdentityExpanded.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverProject_UpdateViaIdentityExpanded.cs index 6096b3cb43dd..db575b2ab3c5 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverProject_UpdateViaIdentityExpanded.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMoverProject_UpdateViaIdentityExpanded.cs @@ -15,10 +15,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzStorageMoverProject_UpdateViaIdentityExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Updates properties for a Project resource. Properties not specified in the request body will be unchanged.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}/projects/{projectName}", ApiVersion = "2024-07-01")] public partial class UpdateAzStorageMoverProject_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -37,7 +37,7 @@ public partial class UpdateAzStorageMoverProject_UpdateViaIdentityExpanded : glo private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// The Project resource. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParameters _projectBody = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.ProjectUpdateParameters(); + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParameters _projectBody = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.ProjectUpdateParameters(); /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -137,12 +137,12 @@ public partial class UpdateAzStorageMoverProject_UpdateViaIdentityExpanded : glo /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -414,12 +414,12 @@ public UpdateAzStorageMoverProject_UpdateViaIdentityExpanded() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -431,7 +431,7 @@ public UpdateAzStorageMoverProject_UpdateViaIdentityExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMover_Update.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMover_Update.cs index dd51fc82528e..43bd74b69899 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMover_Update.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMover_Update.cs @@ -15,10 +15,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzStorageMover_Update", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Updates properties for a Storage Mover resource. Properties not specified in the request body will be unchanged.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}", ApiVersion = "2024-07-01")] public partial class UpdateAzStorageMover_Update : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -128,7 +128,7 @@ public partial class UpdateAzStorageMover_Update : global::System.Management.Aut public string ResourceGroupName { get => this._resourceGroupName; set => this._resourceGroupName = value; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParameters _storageMover; + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParameters _storageMover; /// The Storage Mover resource. [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The Storage Mover resource.", ValueFromPipeline = true)] @@ -137,8 +137,8 @@ public partial class UpdateAzStorageMover_Update : global::System.Management.Aut ReadOnly = false, Description = @"The Storage Mover resource.", SerializedName = @"storageMover", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParameters) })] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParameters StorageMover { get => this._storageMover; set => this._storageMover = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParameters) })] + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParameters StorageMover { get => this._storageMover; set => this._storageMover = value; } /// Backing field for property. private string _subscriptionId; @@ -175,12 +175,12 @@ public partial class UpdateAzStorageMover_Update : global::System.Management.Aut /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -428,12 +428,12 @@ public UpdateAzStorageMover_Update() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -445,7 +445,7 @@ public UpdateAzStorageMover_Update() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMover_UpdateExpanded.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMover_UpdateExpanded.cs index b0a8f83daf02..e2a0881c35cf 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMover_UpdateExpanded.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMover_UpdateExpanded.cs @@ -15,10 +15,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzStorageMover_UpdateExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Updates properties for a Storage Mover resource. Properties not specified in the request body will be unchanged.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}", ApiVersion = "2024-07-01")] public partial class UpdateAzStorageMover_UpdateExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -37,7 +37,7 @@ public partial class UpdateAzStorageMover_UpdateExpanded : global::System.Manage private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// The Storage Mover resource. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParameters _storageMoverBody = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.StorageMoverUpdateParameters(); + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParameters _storageMoverBody = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.StorageMoverUpdateParameters(); /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -168,8 +168,8 @@ public partial class UpdateAzStorageMover_UpdateExpanded : global::System.Manage ReadOnly = false, Description = @"Resource tags.", SerializedName = @"tags", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersTags Tag { get => _storageMoverBody.Tag ?? null /* object */; set => _storageMoverBody.Tag = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersTags) })] + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersTags Tag { get => _storageMoverBody.Tag ?? null /* object */; set => _storageMoverBody.Tag = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -188,12 +188,12 @@ public partial class UpdateAzStorageMover_UpdateExpanded : global::System.Manage /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -441,12 +441,12 @@ public UpdateAzStorageMover_UpdateExpanded() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -458,7 +458,7 @@ public UpdateAzStorageMover_UpdateExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMover_UpdateViaIdentity.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMover_UpdateViaIdentity.cs index 404d330d7a54..9e9ac774cf4c 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMover_UpdateViaIdentity.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMover_UpdateViaIdentity.cs @@ -15,10 +15,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzStorageMover_UpdateViaIdentity", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Updates properties for a Storage Mover resource. Properties not specified in the request body will be unchanged.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}", ApiVersion = "2024-07-01")] public partial class UpdateAzStorageMover_UpdateViaIdentity : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -107,7 +107,7 @@ public partial class UpdateAzStorageMover_UpdateViaIdentity : global::System.Man public global::System.Management.Automation.SwitchParameter ProxyUseDefaultCredentials { get; set; } /// Backing field for property. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParameters _storageMover; + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParameters _storageMover; /// The Storage Mover resource. [global::System.Management.Automation.Parameter(Mandatory = true, HelpMessage = "The Storage Mover resource.", ValueFromPipeline = true)] @@ -116,8 +116,8 @@ public partial class UpdateAzStorageMover_UpdateViaIdentity : global::System.Man ReadOnly = false, Description = @"The Storage Mover resource.", SerializedName = @"storageMover", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParameters) })] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParameters StorageMover { get => this._storageMover; set => this._storageMover = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParameters) })] + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParameters StorageMover { get => this._storageMover; set => this._storageMover = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -136,12 +136,12 @@ public partial class UpdateAzStorageMover_UpdateViaIdentity : global::System.Man /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -409,12 +409,12 @@ public UpdateAzStorageMover_UpdateViaIdentity() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -426,7 +426,7 @@ public UpdateAzStorageMover_UpdateViaIdentity() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMover_UpdateViaIdentityExpanded.cs b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMover_UpdateViaIdentityExpanded.cs index 3a5fedb2b7ff..6f8a6438d6e3 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMover_UpdateViaIdentityExpanded.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/cmdlets/UpdateAzStorageMover_UpdateViaIdentityExpanded.cs @@ -15,10 +15,10 @@ namespace Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Cmdlets /// [OpenAPI] Update=>PATCH:"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}" /// [global::System.Management.Automation.Cmdlet(global::System.Management.Automation.VerbsData.Update, @"AzStorageMover_UpdateViaIdentityExpanded", SupportsShouldProcess = true)] - [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover))] + [global::System.Management.Automation.OutputType(typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover))] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Description(@"Updates properties for a Storage Mover resource. Properties not specified in the request body will be unchanged.")] [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Generated] - [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}", ApiVersion = "2023-10-01")] + [global::Microsoft.Azure.PowerShell.Cmdlets.StorageMover.HttpPath(Path = "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StorageMover/storageMovers/{storageMoverName}", ApiVersion = "2024-07-01")] public partial class UpdateAzStorageMover_UpdateViaIdentityExpanded : global::System.Management.Automation.PSCmdlet, Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Runtime.IEventListener { @@ -37,7 +37,7 @@ public partial class UpdateAzStorageMover_UpdateViaIdentityExpanded : global::Sy private global::System.Threading.CancellationTokenSource _cancellationTokenSource = new global::System.Threading.CancellationTokenSource(); /// The Storage Mover resource. - private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParameters _storageMoverBody = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.StorageMoverUpdateParameters(); + private Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParameters _storageMoverBody = new Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.StorageMoverUpdateParameters(); /// Wait for .NET debugger to attach [global::System.Management.Automation.Parameter(Mandatory = false, DontShow = true, HelpMessage = "Wait for .NET debugger to attach")] @@ -129,8 +129,8 @@ public partial class UpdateAzStorageMover_UpdateViaIdentityExpanded : global::Sy ReadOnly = false, Description = @"Resource tags.", SerializedName = @"tags", - PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersTags) })] - public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParametersTags Tag { get => _storageMoverBody.Tag ?? null /* object */; set => _storageMoverBody.Tag = value; } + PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersTags) })] + public Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParametersTags Tag { get => _storageMoverBody.Tag ?? null /* object */; set => _storageMoverBody.Tag = value; } /// /// overrideOnDefault will be called before the regular onDefault has been processed, allowing customization of what @@ -149,12 +149,12 @@ public partial class UpdateAzStorageMover_UpdateViaIdentityExpanded : global::Sy /// on that response. Implement this method in a partial class to enable this behavior /// /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover /// from the remote call /// /// Determines if the rest of the onOk method should be processed, or if the method should return /// immediately (set to true to skip further processing ) - partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); + partial void overrideOnOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response, ref global::System.Threading.Tasks.Task returnNow); /// /// (overrides the default BeginProcessing method in global::System.Management.Automation.PSCmdlet) @@ -422,12 +422,12 @@ public UpdateAzStorageMover_UpdateViaIdentityExpanded() /// a delegate that is called when the remote service returns 200 (OK). /// the raw response message as an global::System.Net.Http.HttpResponseMessage. - /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover + /// the body result as a Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover /// from the remote call /// /// A that will be complete when handling of the method is completed. /// - private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) + private async global::System.Threading.Tasks.Task onOk(global::System.Net.Http.HttpResponseMessage responseMessage, global::System.Threading.Tasks.Task response) { using( NoSynchronizationContext ) { @@ -439,7 +439,7 @@ public UpdateAzStorageMover_UpdateViaIdentityExpanded() return ; } // onOk - response for 200 / application/json - // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover + // (await response) // should be Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover WriteObject((await response)); } } diff --git a/src/StorageMover/StorageMover.Autorest/generated/runtime/BuildTime/Cmdlets/ExportPsd1.cs b/src/StorageMover/StorageMover.Autorest/generated/runtime/BuildTime/Cmdlets/ExportPsd1.cs index 7036362da053..7aa09a007c0a 100644 --- a/src/StorageMover/StorageMover.Autorest/generated/runtime/BuildTime/Cmdlets/ExportPsd1.cs +++ b/src/StorageMover/StorageMover.Autorest/generated/runtime/BuildTime/Cmdlets/ExportPsd1.cs @@ -51,7 +51,7 @@ protected override void ProcessRecord() throw new ArgumentException($"Custom folder '{CustomFolder}' does not exist"); } - string version = Convert.ToString(@"1.1.0"); + string version = Convert.ToString(@"1.2.0"); // Validate the module version should be semantic version // Following regex is official from https://semver.org/ Regex rx = new Regex(@"^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$", RegexOptions.Compiled); diff --git a/src/StorageMover/StorageMover.Autorest/help/Az.StorageMover.md b/src/StorageMover/StorageMover.Autorest/help/Az.StorageMover.md index 6ed7de8cdd2d..2a774b1c3a0d 100644 --- a/src/StorageMover/StorageMover.Autorest/help/Az.StorageMover.md +++ b/src/StorageMover/StorageMover.Autorest/help/Az.StorageMover.md @@ -50,6 +50,9 @@ Creates or updates a Project resource, which is a logical grouping of related jo ### [New-AzStorageMoverSmbEndpoint](New-AzStorageMoverSmbEndpoint.md) Creates an SMB endpoint resource, which represents a data transfer source or destination. +### [New-AzStorageMoverUploadLimitWeeklyRecurrenceObject](New-AzStorageMoverUploadLimitWeeklyRecurrenceObject.md) +Create an in-memory object for UploadLimitWeeklyRecurrence. + ### [Remove-AzStorageMover](Remove-AzStorageMover.md) Deletes a Storage Mover resource. @@ -63,7 +66,7 @@ Deletes a Job Definition resource. Deletes a Project resource. ### [Start-AzStorageMoverJobDefinition](Start-AzStorageMoverJobDefinition.md) -Requests an Agent to start a new instance of this Job Definition, generating a new Job Run resource. +Creates a new Job Run resource for the specified Job Definition and passes it to the Agent for execution. ### [Stop-AzStorageMoverJobDefinition](Stop-AzStorageMoverJobDefinition.md) Requests the Agent of any active instance of this Job Definition to stop. diff --git a/src/StorageMover/StorageMover.Autorest/help/Get-AzStorageMover.md b/src/StorageMover/StorageMover.Autorest/help/Get-AzStorageMover.md index 853ba4d09b28..cbfebeed1031 100644 --- a/src/StorageMover/StorageMover.Autorest/help/Get-AzStorageMover.md +++ b/src/StorageMover/StorageMover.Autorest/help/Get-AzStorageMover.md @@ -223,7 +223,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover ## NOTES diff --git a/src/StorageMover/StorageMover.Autorest/help/Get-AzStorageMoverAgent.md b/src/StorageMover/StorageMover.Autorest/help/Get-AzStorageMoverAgent.md index 7e7e22dc2908..f8e8869e8c72 100644 --- a/src/StorageMover/StorageMover.Autorest/help/Get-AzStorageMoverAgent.md +++ b/src/StorageMover/StorageMover.Autorest/help/Get-AzStorageMoverAgent.md @@ -202,7 +202,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent ## NOTES diff --git a/src/StorageMover/StorageMover.Autorest/help/Get-AzStorageMoverEndpoint.md b/src/StorageMover/StorageMover.Autorest/help/Get-AzStorageMoverEndpoint.md index b24a4b493f38..9c43b13d87c0 100644 --- a/src/StorageMover/StorageMover.Autorest/help/Get-AzStorageMoverEndpoint.md +++ b/src/StorageMover/StorageMover.Autorest/help/Get-AzStorageMoverEndpoint.md @@ -205,7 +205,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint ## NOTES diff --git a/src/StorageMover/StorageMover.Autorest/help/Get-AzStorageMoverJobDefinition.md b/src/StorageMover/StorageMover.Autorest/help/Get-AzStorageMoverJobDefinition.md index 2974721bdf73..cd59dac93106 100644 --- a/src/StorageMover/StorageMover.Autorest/help/Get-AzStorageMoverJobDefinition.md +++ b/src/StorageMover/StorageMover.Autorest/help/Get-AzStorageMoverJobDefinition.md @@ -220,7 +220,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition ## NOTES diff --git a/src/StorageMover/StorageMover.Autorest/help/Get-AzStorageMoverJobRun.md b/src/StorageMover/StorageMover.Autorest/help/Get-AzStorageMoverJobRun.md index 5d468c5689f9..55e88dd01a35 100644 --- a/src/StorageMover/StorageMover.Autorest/help/Get-AzStorageMoverJobRun.md +++ b/src/StorageMover/StorageMover.Autorest/help/Get-AzStorageMoverJobRun.md @@ -276,7 +276,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRun +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun ## NOTES diff --git a/src/StorageMover/StorageMover.Autorest/help/Get-AzStorageMoverProject.md b/src/StorageMover/StorageMover.Autorest/help/Get-AzStorageMoverProject.md index 56c032067bd7..dbd00085896d 100644 --- a/src/StorageMover/StorageMover.Autorest/help/Get-AzStorageMoverProject.md +++ b/src/StorageMover/StorageMover.Autorest/help/Get-AzStorageMoverProject.md @@ -193,7 +193,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject ## NOTES diff --git a/src/StorageMover/StorageMover.Autorest/help/New-AzStorageMover.md b/src/StorageMover/StorageMover.Autorest/help/New-AzStorageMover.md index b3159748e7d4..46d4b7a9f58f 100644 --- a/src/StorageMover/StorageMover.Autorest/help/New-AzStorageMover.md +++ b/src/StorageMover/StorageMover.Autorest/help/New-AzStorageMover.md @@ -139,7 +139,7 @@ The Storage Mover resource, which is a container for a group of Agents, Projects To construct, see NOTES section for STORAGEMOVER properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover +Type: Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover Parameter Sets: Create Aliases: @@ -216,11 +216,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover ## NOTES diff --git a/src/StorageMover/StorageMover.Autorest/help/New-AzStorageMoverAzSmbFileShareEndpoint.md b/src/StorageMover/StorageMover.Autorest/help/New-AzStorageMoverAzSmbFileShareEndpoint.md index 0ad56f825dfe..3bb8db0006a2 100644 --- a/src/StorageMover/StorageMover.Autorest/help/New-AzStorageMoverAzSmbFileShareEndpoint.md +++ b/src/StorageMover/StorageMover.Autorest/help/New-AzStorageMoverAzSmbFileShareEndpoint.md @@ -208,13 +208,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint ### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint ## NOTES diff --git a/src/StorageMover/StorageMover.Autorest/help/New-AzStorageMoverAzStorageContainerEndpoint.md b/src/StorageMover/StorageMover.Autorest/help/New-AzStorageMoverAzStorageContainerEndpoint.md index 597a28affc48..c1c5d3860e7d 100644 --- a/src/StorageMover/StorageMover.Autorest/help/New-AzStorageMoverAzStorageContainerEndpoint.md +++ b/src/StorageMover/StorageMover.Autorest/help/New-AzStorageMoverAzStorageContainerEndpoint.md @@ -208,13 +208,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint ### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint ## NOTES diff --git a/src/StorageMover/StorageMover.Autorest/help/New-AzStorageMoverJobDefinition.md b/src/StorageMover/StorageMover.Autorest/help/New-AzStorageMoverJobDefinition.md index c15a11931b4a..457dcb10da6f 100644 --- a/src/StorageMover/StorageMover.Autorest/help/New-AzStorageMoverJobDefinition.md +++ b/src/StorageMover/StorageMover.Autorest/help/New-AzStorageMoverJobDefinition.md @@ -134,7 +134,7 @@ The Job Definition resource. To construct, see NOTES section for JOBDEFINITION properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition +Type: Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition Parameter Sets: Create Aliases: @@ -317,11 +317,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition ## NOTES diff --git a/src/StorageMover/StorageMover.Autorest/help/New-AzStorageMoverNfsEndpoint.md b/src/StorageMover/StorageMover.Autorest/help/New-AzStorageMoverNfsEndpoint.md index 81836d3dec9a..5d7c04e2722a 100644 --- a/src/StorageMover/StorageMover.Autorest/help/New-AzStorageMoverNfsEndpoint.md +++ b/src/StorageMover/StorageMover.Autorest/help/New-AzStorageMoverNfsEndpoint.md @@ -222,13 +222,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint ### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint ## NOTES diff --git a/src/StorageMover/StorageMover.Autorest/help/New-AzStorageMoverProject.md b/src/StorageMover/StorageMover.Autorest/help/New-AzStorageMoverProject.md index 77bb729d3e3b..c49036c890cc 100644 --- a/src/StorageMover/StorageMover.Autorest/help/New-AzStorageMoverProject.md +++ b/src/StorageMover/StorageMover.Autorest/help/New-AzStorageMoverProject.md @@ -106,7 +106,7 @@ The Project resource. To construct, see NOTES section for PROJECT properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject +Type: Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject Parameter Sets: Create Aliases: @@ -199,11 +199,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject ## NOTES diff --git a/src/StorageMover/StorageMover.Autorest/help/New-AzStorageMoverSmbEndpoint.md b/src/StorageMover/StorageMover.Autorest/help/New-AzStorageMoverSmbEndpoint.md index 3d256ac5a302..cb2aefa87b7d 100644 --- a/src/StorageMover/StorageMover.Autorest/help/New-AzStorageMoverSmbEndpoint.md +++ b/src/StorageMover/StorageMover.Autorest/help/New-AzStorageMoverSmbEndpoint.md @@ -245,13 +245,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint ### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint ## NOTES diff --git a/src/StorageMover/StorageMover.Autorest/help/New-AzStorageMoverUploadLimitWeeklyRecurrenceObject.md b/src/StorageMover/StorageMover.Autorest/help/New-AzStorageMoverUploadLimitWeeklyRecurrenceObject.md new file mode 100644 index 000000000000..6e7b5a80711b --- /dev/null +++ b/src/StorageMover/StorageMover.Autorest/help/New-AzStorageMoverUploadLimitWeeklyRecurrenceObject.md @@ -0,0 +1,156 @@ +--- +external help file: +Module Name: Az.StorageMover +online version: https://learn.microsoft.com/powershell/module/Az.StorageMover/new-AzStorageMoverUploadLimitWeeklyRecurrenceObject +schema: 2.0.0 +--- + +# New-AzStorageMoverUploadLimitWeeklyRecurrenceObject + +## SYNOPSIS +Create an in-memory object for UploadLimitWeeklyRecurrence. + +## SYNTAX + +``` +New-AzStorageMoverUploadLimitWeeklyRecurrenceObject -Day -EndTimeHour + -LimitInMbps -StartTimeHour [-EndTimeMinute ] [-StartTimeMinute ] + [] +``` + +## DESCRIPTION +Create an in-memory object for UploadLimitWeeklyRecurrence. + +## EXAMPLES + +### Example 1: Create an upload limit weekly recurrence object +```powershell +New-AzStorageMoverUploadLimitWeeklyRecurrenceObject -Day 'Monday','Tuesday','Friday' -LimitInMbps 100 -EndTimeHour 5 -StartTimeHour 1 -StartTimeMinute 30 -EndTimeMinute 0 +``` + +```output +Day EndTimeHour EndTimeMinute LimitInMbps StartTimeHour StartTimeMinute +--- ----------- ------------- ----------- ------------- --------------- +{Monday, Tuesday, Friday} 5 0 100 1 30 +``` + +This command creates an upload limit weekly recurrence object. + +## PARAMETERS + +### -Day +The set of days of week for the schedule recurrence. +A day must not be specified more than once in a recurrence. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndTimeHour +The hour element of the time. +Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). +Hour value 24 cannot be combined with any other minute value but 0. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndTimeMinute +The minute element of the time. +Allowed values are 0 and 30. +If not specified, its value defaults to 0. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LimitInMbps +The WAN-link upload bandwidth (maximum data transfer rate) in megabits per second. +Value of 0 indicates no throughput is allowed and any running migration job is effectively paused for the duration of this recurrence. +Only data plane operations are governed by this limit. +Control plane operations ensure seamless functionality. +The agent may exceed this limit with control messages, if necessary. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartTimeHour +The hour element of the time. +Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). +Hour value 24 cannot be combined with any other minute value but 0. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartTimeMinute +The minute element of the time. +Allowed values are 0 and 30. +If not specified, its value defaults to 0. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +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.StorageMover.Models.Api20240701.UploadLimitWeeklyRecurrence + +## NOTES + +## RELATED LINKS + diff --git a/src/StorageMover/StorageMover.Autorest/help/Start-AzStorageMoverJobDefinition.md b/src/StorageMover/StorageMover.Autorest/help/Start-AzStorageMoverJobDefinition.md index e11228593968..171887b82b2f 100644 --- a/src/StorageMover/StorageMover.Autorest/help/Start-AzStorageMoverJobDefinition.md +++ b/src/StorageMover/StorageMover.Autorest/help/Start-AzStorageMoverJobDefinition.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Start-AzStorageMoverJobDefinition ## SYNOPSIS -Requests an Agent to start a new instance of this Job Definition, generating a new Job Run resource. +Creates a new Job Run resource for the specified Job Definition and passes it to the Agent for execution. ## SYNTAX @@ -26,7 +26,7 @@ Start-AzStorageMoverJobDefinition -InputObject [-Default ``` ## DESCRIPTION -Requests an Agent to start a new instance of this Job Definition, generating a new Job Run resource. +Creates a new Job Run resource for the specified Job Definition and passes it to the Agent for execution. ## EXAMPLES diff --git a/src/StorageMover/StorageMover.Autorest/help/Update-AzStorageMover.md b/src/StorageMover/StorageMover.Autorest/help/Update-AzStorageMover.md index 7a1dfeb5f9ce..416cb02a6044 100644 --- a/src/StorageMover/StorageMover.Autorest/help/Update-AzStorageMover.md +++ b/src/StorageMover/StorageMover.Autorest/help/Update-AzStorageMover.md @@ -153,7 +153,7 @@ The Storage Mover resource. To construct, see NOTES section for STORAGEMOVER properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParameters +Type: Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParameters Parameter Sets: Update, UpdateViaIdentity Aliases: @@ -230,13 +230,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParameters +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParameters ### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover ## NOTES diff --git a/src/StorageMover/StorageMover.Autorest/help/Update-AzStorageMoverAgent.md b/src/StorageMover/StorageMover.Autorest/help/Update-AzStorageMoverAgent.md index 67bccfb7ee1c..a1125873a2c8 100644 --- a/src/StorageMover/StorageMover.Autorest/help/Update-AzStorageMoverAgent.md +++ b/src/StorageMover/StorageMover.Autorest/help/Update-AzStorageMoverAgent.md @@ -15,8 +15,9 @@ Creates or updates an Agent resource. ### UpdateExpanded (Default) ``` Update-AzStorageMoverAgent -Name -ResourceGroupName -StorageMoverName - [-SubscriptionId ] [-Description ] [-DefaultProfile ] [-Confirm] [-WhatIf] - [] + [-SubscriptionId ] [-Description ] + [-UploadLimitScheduleWeeklyRecurrence ] [-DefaultProfile ] + [-Confirm] [-WhatIf] [] ``` ### Update @@ -35,7 +36,8 @@ Update-AzStorageMoverAgent -InputObject -Agent [-Description ] - [-DefaultProfile ] [-Confirm] [-WhatIf] [] + [-UploadLimitScheduleWeeklyRecurrence ] [-DefaultProfile ] + [-Confirm] [-WhatIf] [] ``` ## DESCRIPTION @@ -43,37 +45,51 @@ Creates or updates an Agent resource. ## EXAMPLES -### Example 1: Update an agent. +### Example 1: Update an agent ```powershell -Update-AzStorageMoverAgent -ResourceGroupName myResourceGroup -StorageMoverName myStorageMover -Name myAgent -Description "Update description" +$recurrence = New-AzStorageMoverUploadLimitWeeklyRecurrenceObject -Day 'Monday','Tuesday','Friday' -LimitInMbps 100 -EndTimeHour 5 -StartTimeHour 1 -StartTimeMinute 30 -EndTimeMinute 0 +Update-AzStorageMoverAgent -ResourceGroupName myresourcegroup -StorageMoverName mystoragemover -Name myagent -Description "Update description" -UploadLimitScheduleWeeklyRecurrence $recurrence ``` ```output -AgentStatus : Registering -ArcResourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myAgent -ArcVMUuid : aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa -Description : Update description -ErrorDetailCode : -ErrorDetailMessage : -Id : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/microsoft.storagemover/storagemovers/myStorageMover/agents/myAgent -LastStatusUpdate : -LocalIPAddress : -MemoryInMb : -Name : myAgent -NumberOfCores : -ProvisioningState : Succeeded -SystemDataCreatedAt : 8/2/2022 7:15:19 AM -SystemDataCreatedBy : myAccount@xxx.com -SystemDataCreatedByType : User -SystemDataLastModifiedAt : 8/2/2022 7:15:19 AM -SystemDataLastModifiedBy : myAccount@xxx.com -SystemDataLastModifiedByType : User -Type : microsoft.storagemover/storagemovers/agents -UptimeInSeconds : -Version : -``` - -This command updates the description of a Storage mover agent. +AgentStatus : Online +ArcResourceId : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.HybridCompute/machines/myagent +ArcVMUuid : 00000000-0000-0000-0000-000000000000 +Description : Update description +ErrorDetailCode : +ErrorDetailMessage : +Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.StorageMover/storageMovers/mystoragemover/agents/myagent +LastStatusUpdate : 6/12/2024 5:57:45 AM +LocalIPAddress : 000.000.000.00 +MemoryInMb : 1470 +Name : myagent +NumberOfCores : 8 +ProvisioningState : Succeeded +SystemDataCreatedAt : 6/12/2024 5:47:26 AM +SystemDataCreatedBy : example@microsoft.com +SystemDataCreatedByType : User +SystemDataLastModifiedAt : 6/12/2024 5:57:54 AM +SystemDataLastModifiedBy : example@microsoft.com +SystemDataLastModifiedByType : User +TimeZone : UTC +Type : microsoft.storagemover/storagemovers/agents +UploadLimitScheduleWeeklyRecurrence : {{ + "startTime": { + "hour": 1, + "minute": 30 + }, + "endTime": { + "hour": 5, + "minute": 0 + }, + "days": [ "Monday", "Tuesday", "Friday" ], + "limitInMbps": 100 + }} +UptimeInSeconds : 3417 +Version : +``` + +This command updates the description and the upload limit weekly recurrence of an agent. ## PARAMETERS @@ -82,7 +98,7 @@ The Agent resource. To construct, see NOTES section for AGENT properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParameters +Type: Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParameters Parameter Sets: Update, UpdateViaIdentity Aliases: @@ -201,6 +217,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -UploadLimitScheduleWeeklyRecurrence +The set of weekly repeating recurrences of the WAN-link upload limit schedule. +To construct, see NOTES section for UPLOADLIMITSCHEDULEWEEKLYRECURRENCE properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Confirm Prompts you for confirmation before running the cmdlet. @@ -237,13 +269,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParameters +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParameters ### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent ## NOTES diff --git a/src/StorageMover/StorageMover.Autorest/help/Update-AzStorageMoverAzSmbFileShareEndpoint.md b/src/StorageMover/StorageMover.Autorest/help/Update-AzStorageMoverAzSmbFileShareEndpoint.md index 5d3088a5b2e8..51b6435d0d04 100644 --- a/src/StorageMover/StorageMover.Autorest/help/Update-AzStorageMoverAzSmbFileShareEndpoint.md +++ b/src/StorageMover/StorageMover.Autorest/help/Update-AzStorageMoverAzSmbFileShareEndpoint.md @@ -233,7 +233,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint ## NOTES diff --git a/src/StorageMover/StorageMover.Autorest/help/Update-AzStorageMoverAzStorageContainerEndpoint.md b/src/StorageMover/StorageMover.Autorest/help/Update-AzStorageMoverAzStorageContainerEndpoint.md index 8b7dae9399f6..a5602d51d35b 100644 --- a/src/StorageMover/StorageMover.Autorest/help/Update-AzStorageMoverAzStorageContainerEndpoint.md +++ b/src/StorageMover/StorageMover.Autorest/help/Update-AzStorageMoverAzStorageContainerEndpoint.md @@ -207,7 +207,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint ## NOTES diff --git a/src/StorageMover/StorageMover.Autorest/help/Update-AzStorageMoverJobDefinition.md b/src/StorageMover/StorageMover.Autorest/help/Update-AzStorageMoverJobDefinition.md index fc41332c5ae8..3df8cdada959 100644 --- a/src/StorageMover/StorageMover.Autorest/help/Update-AzStorageMoverJobDefinition.md +++ b/src/StorageMover/StorageMover.Autorest/help/Update-AzStorageMoverJobDefinition.md @@ -164,7 +164,7 @@ The Job Definition resource. To construct, see NOTES section for JOBDEFINITION properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParameters +Type: Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParameters Parameter Sets: Update, UpdateViaIdentity Aliases: @@ -287,13 +287,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParameters +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParameters ### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition ## NOTES diff --git a/src/StorageMover/StorageMover.Autorest/help/Update-AzStorageMoverNfsEndpoint.md b/src/StorageMover/StorageMover.Autorest/help/Update-AzStorageMoverNfsEndpoint.md index 6e4d985c71fe..35d85cd52a94 100644 --- a/src/StorageMover/StorageMover.Autorest/help/Update-AzStorageMoverNfsEndpoint.md +++ b/src/StorageMover/StorageMover.Autorest/help/Update-AzStorageMoverNfsEndpoint.md @@ -207,7 +207,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint ## NOTES diff --git a/src/StorageMover/StorageMover.Autorest/help/Update-AzStorageMoverProject.md b/src/StorageMover/StorageMover.Autorest/help/Update-AzStorageMoverProject.md index e71f63b0655e..60084a17b8ae 100644 --- a/src/StorageMover/StorageMover.Autorest/help/Update-AzStorageMoverProject.md +++ b/src/StorageMover/StorageMover.Autorest/help/Update-AzStorageMoverProject.md @@ -135,7 +135,7 @@ The Project resource. To construct, see NOTES section for PROJECT properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParameters +Type: Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParameters Parameter Sets: Update, UpdateViaIdentity Aliases: @@ -228,13 +228,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParameters +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParameters ### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject ## NOTES diff --git a/src/StorageMover/StorageMover.Autorest/help/Update-AzStorageMoverSmbEndpoint.md b/src/StorageMover/StorageMover.Autorest/help/Update-AzStorageMoverSmbEndpoint.md index 4655025fb0b7..b628fba42598 100644 --- a/src/StorageMover/StorageMover.Autorest/help/Update-AzStorageMoverSmbEndpoint.md +++ b/src/StorageMover/StorageMover.Autorest/help/Update-AzStorageMoverSmbEndpoint.md @@ -276,7 +276,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint ## NOTES diff --git a/src/StorageMover/StorageMover.Autorest/internal/New-AzStorageMoverEndpoint.ps1 b/src/StorageMover/StorageMover.Autorest/internal/New-AzStorageMoverEndpoint.ps1 index fb0aab2c1f39..b7da6734d406 100644 --- a/src/StorageMover/StorageMover.Autorest/internal/New-AzStorageMoverEndpoint.ps1 +++ b/src/StorageMover/StorageMover.Autorest/internal/New-AzStorageMoverEndpoint.ps1 @@ -25,7 +25,7 @@ Creates or updates an Endpoint resource, which represents a data transfer source {{ Add code here }} .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Notes COMPLEX PARAMETER PROPERTIES @@ -38,7 +38,7 @@ PROPERTY : The resource specific properties for the Sto https://learn.microsoft.com/powershell/module/az.storagemover/new-azstoragemoverendpoint #> function New-AzStorageMoverEndpoint { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -70,7 +70,7 @@ param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseProperties] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseProperties] # The resource specific properties for the Storage Mover resource. # To construct, see NOTES section for PROPERTY properties and create a hash table. ${Property}, diff --git a/src/StorageMover/StorageMover.Autorest/internal/ProxyCmdletDefinitions.ps1 b/src/StorageMover/StorageMover.Autorest/internal/ProxyCmdletDefinitions.ps1 index be26d9e90259..a6b259c60323 100644 --- a/src/StorageMover/StorageMover.Autorest/internal/ProxyCmdletDefinitions.ps1 +++ b/src/StorageMover/StorageMover.Autorest/internal/ProxyCmdletDefinitions.ps1 @@ -135,7 +135,7 @@ Creates or updates an Endpoint resource, which represents a data transfer source {{ Add code here }} .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Notes COMPLEX PARAMETER PROPERTIES @@ -148,7 +148,7 @@ PROPERTY : The resource specific properties for the Sto https://learn.microsoft.com/powershell/module/az.storagemover/new-azstoragemoverendpoint #> function New-AzStorageMoverEndpoint { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] @@ -180,7 +180,7 @@ param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseProperties] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseProperties] # The resource specific properties for the Storage Mover resource. # To construct, see NOTES section for PROPERTY properties and create a hash table. ${Property}, @@ -670,7 +670,7 @@ Properties not specified in the request body will be unchanged. .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Notes COMPLEX PARAMETER PROPERTIES @@ -694,7 +694,7 @@ PROPERTY : The Endpoint resource, which contains https://learn.microsoft.com/powershell/module/az.storagemover/update-azstoragemoverendpoint #> function Update-AzStorageMoverEndpoint { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] @@ -733,7 +733,7 @@ param( [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateProperties] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateProperties] # The Endpoint resource, which contains information about file sources and targets. # To construct, see NOTES section for PROPERTY properties and create a hash table. ${Property}, diff --git a/src/StorageMover/StorageMover.Autorest/internal/Update-AzStorageMoverEndpoint.ps1 b/src/StorageMover/StorageMover.Autorest/internal/Update-AzStorageMoverEndpoint.ps1 index 96b44d1ea969..cc22b3c30db5 100644 --- a/src/StorageMover/StorageMover.Autorest/internal/Update-AzStorageMoverEndpoint.ps1 +++ b/src/StorageMover/StorageMover.Autorest/internal/Update-AzStorageMoverEndpoint.ps1 @@ -29,7 +29,7 @@ Properties not specified in the request body will be unchanged. .Inputs Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity .Outputs -Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint .Notes COMPLEX PARAMETER PROPERTIES @@ -53,7 +53,7 @@ PROPERTY : The Endpoint resource, which contains https://learn.microsoft.com/powershell/module/az.storagemover/update-azstoragemoverendpoint #> function Update-AzStorageMoverEndpoint { -[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint])] +[OutputType([Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] @@ -92,7 +92,7 @@ param( [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Category('Body')] - [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpointBaseUpdateProperties] + [Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpointBaseUpdateProperties] # The Endpoint resource, which contains information about file sources and targets. # To construct, see NOTES section for PROPERTY properties and create a hash table. ${Property}, diff --git a/src/StorageMover/StorageMover.Autorest/test/Get-AzStorageMover.Recording.json b/src/StorageMover/StorageMover.Autorest/test/Get-AzStorageMover.Recording.json index 44c51a7add5a..dcc4ca6d36c4 100644 --- a/src/StorageMover/StorageMover.Autorest/test/Get-AzStorageMover.Recording.json +++ b/src/StorageMover/StorageMover.Autorest/test/Get-AzStorageMover.Recording.json @@ -1,17 +1,17 @@ { - "Get-AzStorageMover+[NoContext]+List+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/storageMovers?api-version=2023-10-01+1": { + "Get-AzStorageMover+[NoContext]+List+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/storageMovers?api-version=2024-07-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/storageMovers?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/storageMovers?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "7" ], - "x-ms-client-request-id": [ "400a84c1-4cee-40b5-a085-f892edbbf97a" ], + "x-ms-client-request-id": [ "8e79eae2-e5fd-4f07-a34f-e66f4dd797e4" ], "CommandName": [ "Get-AzStorageMover" ], "FullCommandName": [ "Get-AzStorageMover_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -22,37 +22,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-original-request-ids": [ "dbc0ebb7-bd19-4449-b9b3-fd421e9fa6fc", "3cf2f5bc-e825-4d8e-af11-9f20ec105ffd", "bde18c61-782d-45b1-a326-e17b902602a6", "e48d13ef-c9d3-4723-a7fd-c64c16bf9704", "bb0d5253-94f5-4a4d-b5a6-de1856a01a44", "e9765564-a696-4eab-8067-1dd93094b3ab" ], + "x-ms-original-request-ids": [ "49065555-2081-4470-aea9-9dddd4d13ef2", "9c7ddf93-0940-4174-adf2-5fc3c2cd53ae" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], - "x-ms-request-id": [ "53187059-dfa2-4922-9144-753757ad7987" ], - "x-ms-correlation-request-id": [ "53187059-dfa2-4922-9144-753757ad7987" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042902Z:53187059-dfa2-4922-9144-753757ad7987" ], + "x-ms-request-id": [ "9a7c0dd8-7edd-4b47-9e49-94d3c534b6eb" ], + "x-ms-correlation-request-id": [ "9a7c0dd8-7edd-4b47-9e49-94d3c534b6eb" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045320Z:9a7c0dd8-7edd-4b47-9e49-94d3c534b6eb" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:02 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: BC67FDEBA961480C9CEB6C4EDBC787F5 Ref B: MAA201060516019 Ref C: 2024-06-12T04:53:18Z" ], + "Date": [ "Wed, 12 Jun 2024 04:53:20 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "4004" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ], - "Content-Length": [ "16113" ] + "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/weitry/providers/microsoft.storagemover/storagemovers/weitest\",\"name\":\"weitest\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{\"tag2\":\"value2\",\"tag1\":\"value1\"},\"systemData\":{\"createdBy\":\"weiwei@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2022-07-15T09:25:59.6874394Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2022-07-15T09:42:28.57775Z\"},\"properties\":{\"description\":\"StorageMover description1\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/yifanz1/providers/Microsoft.StorageMover/storageMovers/testsm1\",\"name\":\"testsm1\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-02-13T03:02:51.5234202Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-03-01T03:13:51.9404795Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"description\":\"update\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststomover/providers/Microsoft.StorageMover/storageMovers/tsm11\",\"name\":\"tsm11\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-02-13T05:17:35.9408954Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-02-13T05:17:35.9408954Z\"},\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststomover/providers/Microsoft.StorageMover/storageMovers/tsm12\",\"name\":\"tsm12\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-02-13T05:17:54.018922Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-02-13T05:17:54.018922Z\"},\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststomover/providers/Microsoft.StorageMover/storageMovers/testsm1\",\"name\":\"testsm1\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-03-01T08:19:03.3105576Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-03-01T08:19:03.3105576Z\"},\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststomover/providers/Microsoft.StorageMover/storageMovers/testsm-2151\",\"name\":\"testsm-2151\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{\"tag3\":\"val3\"},\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-03-02T00:58:01.3731929Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-03-02T00:58:17.9674027Z\"},\"properties\":{\"provisioningState\":\"Failed\",\"description\":\"This is an updated storage mover\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststomover/providers/Microsoft.StorageMover/storageMovers/testsm-6277\",\"name\":\"testsm-6277\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{\"tag3\":\"val3\"},\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-03-02T04:16:50.6533232Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-03-02T04:17:22.0916922Z\"},\"properties\":{\"provisioningState\":\"Failed\",\"description\":\"This is an updated storage mover\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststomover/providers/Microsoft.StorageMover/storageMovers/testsm-9230\",\"name\":\"testsm-9230\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{\"tag3\":\"val3\"},\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-03-02T04:18:24.7102272Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-03-02T04:18:51.7880384Z\"},\"properties\":{\"provisioningState\":\"Failed\",\"description\":\"This is an updated storage mover\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststomover/providers/Microsoft.StorageMover/storageMovers/testsm-8912\",\"name\":\"testsm-8912\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{\"tag3\":\"val3\"},\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-03-02T04:21:52.668034Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-03-02T04:22:20.7306177Z\"},\"properties\":{\"provisioningState\":\"Failed\",\"description\":\"This is an updated storage mover\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststomover/providers/Microsoft.StorageMover/storageMovers/testsm-9106\",\"name\":\"testsm-9106\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{\"tag3\":\"val3\"},\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-03-02T04:25:17.1630512Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-03-02T04:25:33.1169852Z\"},\"properties\":{\"provisioningState\":\"Failed\",\"description\":\"This is an updated storage mover\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststomover/providers/Microsoft.StorageMover/storageMovers/testsm-2126\",\"name\":\"testsm-2126\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{},\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-03-02T05:08:11.6441609Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-03-02T05:08:11.6441609Z\"},\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststomover/providers/Microsoft.StorageMover/storageMovers/testsm-5024\",\"name\":\"testsm-5024\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{},\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-03-02T05:09:24.5052364Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-03-02T05:09:32.3021265Z\"},\"properties\":{\"provisioningState\":\"Failed\",\"description\":\"This is an updated storage mover\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststomover/providers/Microsoft.StorageMover/storageMovers/testsm-1689\",\"name\":\"testsm-1689\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{\"tag3\":\"val3\"},\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-03-02T05:09:58.2510585Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-03-02T05:10:14.1277098Z\"},\"properties\":{\"provisioningState\":\"Failed\",\"description\":\"This is an updated storage mover\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/yifanz1/providers/Microsoft.StorageMover/storageMovers/testsm111\",\"name\":\"testsm111\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-20T08:40:08.494388Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-20T08:40:08.494388Z\"},\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1\",\"name\":\"testmoverpreview1\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-20T08:55:45.2922024Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-20T08:55:45.2922024Z\"},\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1ua3b5imx\",\"name\":\"testStoMover1ua3b5imx\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T02:24:17.5717036Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T02:24:17.5717036Z\"},\"properties\":{\"description\":\"initial test SM description\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover2ua3b5imx\",\"name\":\"testStoMover2ua3b5imx\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T02:25:10.1355738Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T02:25:10.1355738Z\"},\"properties\":{\"description\":\"test Storage mover description\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStorageMoverk3pmhtl9\",\"name\":\"testStorageMoverk3pmhtl9\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T02:26:40.450455Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:08:31.7726536Z\"},\"properties\":{\"description\":\"update storage mover description\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover131q7xr6m\",\"name\":\"testStoMover131q7xr6m\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T03:08:35.8449113Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T03:08:35.8449113Z\"},\"properties\":{\"description\":\"initial test SM description\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover231q7xr6m\",\"name\":\"testStoMover231q7xr6m\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T03:11:44.8485215Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T03:11:44.8485215Z\"},\"properties\":{\"description\":\"test Storage mover description\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1dy0z54nl\",\"name\":\"testStoMover1dy0z54nl\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{\"tag2\":\"value2\",\"tag1\":\"value1\"},\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:02:11.7243529Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:02:11.7243529Z\"},\"properties\":{\"description\":\"initial test SM description\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover2dy0z54nl\",\"name\":\"testStoMover2dy0z54nl\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:03:01.7246815Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:03:01.7246815Z\"},\"properties\":{\"description\":\"test Storage mover description\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover18p9yh1t3\",\"name\":\"testStoMover18p9yh1t3\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:06:02.5185405Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:06:02.5185405Z\"},\"properties\":{\"description\":\"initial test SM description\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover28p9yh1t3\",\"name\":\"testStoMover28p9yh1t3\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:06:53.6537273Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:06:53.6537273Z\"},\"properties\":{\"description\":\"test Storage mover description\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy\",\"name\":\"testStoMover1hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:28:26.1244125Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:28:26.1244125Z\"},\"properties\":{\"description\":\"initial test SM description\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/yifanz1/providers/Microsoft.StorageMover/storageMovers/testpreviewsm1\",\"name\":\"testpreviewsm1\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-06-02T03:09:13.6262983Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-06-02T03:09:13.6262983Z\"},\"properties\":{\"provisioningState\":\"Succeeded\"}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststomover/providers/Microsoft.StorageMover/storageMovers/testsm1\",\"name\":\"testsm1\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-31T02:29:56.884028Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-31T02:29:56.884028Z\"},\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/yifanz1/providers/Microsoft.StorageMover/storageMovers/testsm111\",\"name\":\"testsm111\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-08-05T03:59:29.4368046Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-08-05T04:01:05.9230245Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"description\":\"update storage mover\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1\",\"name\":\"testmoverpreview1\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:31:31.3554969Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:31:31.3554969Z\"},\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g\",\"name\":\"testStoMover1pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:52:27.350089Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:52:27.350089Z\"},\"properties\":{\"description\":\"initial test SM description\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/yifanz1/providers/Microsoft.StorageMover/storageMovers/testpreviewsm1\",\"name\":\"testpreviewsm1\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-06-02T03:09:13.6262983Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-06-02T03:09:13.6262983Z\"},\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/yifanz1/providers/Microsoft.StorageMover/storageMovers/teststoragemover1\",\"name\":\"teststoragemover1\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-09-21T03:06:04.7120225Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-09-21T03:06:04.7120225Z\"},\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/yifanz1/providers/Microsoft.StorageMover/storageMovers/testsmcentral1\",\"name\":\"testsmcentral1\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"centraluseuap\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-05-16T06:59:02.4013204Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-05-16T06:59:02.4013204Z\"},\"properties\":{\"provisioningState\":\"Succeeded\"}}]}", "isContentBase64": false } }, - "Get-AzStorageMover+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy?api-version=2023-10-01+1": { + "Get-AzStorageMover+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g?api-version=2024-07-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "8" ], - "x-ms-client-request-id": [ "8a143a80-a06f-4cfc-a8dc-d3c3bbe8069c" ], + "x-ms-client-request-id": [ "5d840716-1fd3-4b71-bcc7-63323b924703" ], "CommandName": [ "Get-AzStorageMover" ], "FullCommandName": [ "Get-AzStorageMover_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -63,38 +66,41 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"05006413-0000-3400-0000-64ba096a0000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "ETag": [ "\"0000815f-0000-3400-0000-6669298c0000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "f8dd8862-693c-4b93-a6a3-f0d5282db8bf" ], - "x-ms-correlation-request-id": [ "23e32b05-f0de-4b79-8248-647e1edf5830" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042902Z:23e32b05-f0de-4b79-8248-647e1edf5830" ], + "x-ms-request-id": [ "04ad7b58-a20a-4cc9-8094-a8d59fa7c8d1" ], + "x-ms-correlation-request-id": [ "588177f1-aaa0-4c51-b87d-bb46b01aed81" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045321Z:588177f1-aaa0-4c51-b87d-bb46b01aed81" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:02 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: ADECEE8327634F50975E6D08A081B41A Ref B: MAA201060516019 Ref C: 2024-06-12T04:53:20Z" ], + "Date": [ "Wed, 12 Jun 2024 04:53:21 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "673" ], + "Content-Length": [ "633" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy\",\"name\":\"testStoMover1hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:28:26.1244125Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:28:26.1244125Z\"},\"properties\":{\"description\":\"initial test SM description\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g\",\"name\":\"testStoMover1pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:52:27.350089Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:52:27.350089Z\"},\"properties\":{\"description\":\"initial test SM description\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "Get-AzStorageMover+[NoContext]+List1+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers?api-version=2023-10-01+1": { + "Get-AzStorageMover+[NoContext]+List1+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers?api-version=2024-07-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "9" ], - "x-ms-client-request-id": [ "ce480b53-e588-4902-983a-20f19f78ed7a" ], + "x-ms-client-request-id": [ "c6a6bd9a-ce4b-49c5-be21-c161cfc1891b" ], "CommandName": [ "Get-AzStorageMover" ], "FullCommandName": [ "Get-AzStorageMover_List1" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -105,21 +111,24 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-original-request-ids": [ "89c4cb89-fded-427d-807e-c1a7c4843d8d", "7de6fe4e-6771-4693-860a-7b03723384df", "9a23a9ce-4683-4efe-9b96-87713dc57103", "481a11d5-af67-428e-928f-86c6c50f77e3", "5890a0ce-8add-4c2b-b752-cbb507cee9d6", "c41b4521-a49a-4081-ad3d-23169ab529ed" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], - "x-ms-request-id": [ "00689775-6260-41b9-94e9-84fd91619236" ], - "x-ms-correlation-request-id": [ "00689775-6260-41b9-94e9-84fd91619236" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042903Z:00689775-6260-41b9-94e9-84fd91619236" ], + "x-ms-original-request-ids": [ "db9e4d45-12e6-452e-a3bb-5d96cd8645bb", "fa741546-d630-4b01-b2a1-4dea72a391cd" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-request-id": [ "c350175a-4636-4d7d-aa34-93a4f66ad4a8" ], + "x-ms-correlation-request-id": [ "c350175a-4636-4d7d-aa34-93a4f66ad4a8" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045322Z:c350175a-4636-4d7d-aa34-93a4f66ad4a8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:03 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 1914831C56B54FF1B62B47494807C691 Ref B: MAA201060516019 Ref C: 2024-06-12T04:53:21Z" ], + "Date": [ "Wed, 12 Jun 2024 04:53:22 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "1188" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ], - "Content-Length": [ "7149" ] + "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1\",\"name\":\"testmoverpreview1\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-20T08:55:45.2922024Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-20T08:55:45.2922024Z\"},\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1ua3b5imx\",\"name\":\"testStoMover1ua3b5imx\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T02:24:17.5717036Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T02:24:17.5717036Z\"},\"properties\":{\"description\":\"initial test SM description\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover2ua3b5imx\",\"name\":\"testStoMover2ua3b5imx\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T02:25:10.1355738Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T02:25:10.1355738Z\"},\"properties\":{\"description\":\"test Storage mover description\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStorageMoverk3pmhtl9\",\"name\":\"testStorageMoverk3pmhtl9\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T02:26:40.450455Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:08:31.7726536Z\"},\"properties\":{\"description\":\"update storage mover description\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover131q7xr6m\",\"name\":\"testStoMover131q7xr6m\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T03:08:35.8449113Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T03:08:35.8449113Z\"},\"properties\":{\"description\":\"initial test SM description\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover231q7xr6m\",\"name\":\"testStoMover231q7xr6m\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T03:11:44.8485215Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T03:11:44.8485215Z\"},\"properties\":{\"description\":\"test Storage mover description\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1dy0z54nl\",\"name\":\"testStoMover1dy0z54nl\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{\"tag2\":\"value2\",\"tag1\":\"value1\"},\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:02:11.7243529Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:02:11.7243529Z\"},\"properties\":{\"description\":\"initial test SM description\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover2dy0z54nl\",\"name\":\"testStoMover2dy0z54nl\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:03:01.7246815Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:03:01.7246815Z\"},\"properties\":{\"description\":\"test Storage mover description\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover18p9yh1t3\",\"name\":\"testStoMover18p9yh1t3\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:06:02.5185405Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:06:02.5185405Z\"},\"properties\":{\"description\":\"initial test SM description\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover28p9yh1t3\",\"name\":\"testStoMover28p9yh1t3\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:06:53.6537273Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:06:53.6537273Z\"},\"properties\":{\"description\":\"test Storage mover description\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy\",\"name\":\"testStoMover1hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:28:26.1244125Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:28:26.1244125Z\"},\"properties\":{\"description\":\"initial test SM description\",\"provisioningState\":\"Succeeded\"}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1\",\"name\":\"testmoverpreview1\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:31:31.3554969Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:31:31.3554969Z\"},\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g\",\"name\":\"testStoMover1pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:52:27.350089Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:52:27.350089Z\"},\"properties\":{\"description\":\"initial test SM description\",\"provisioningState\":\"Succeeded\"}}]}", "isContentBase64": false } } diff --git a/src/StorageMover/StorageMover.Autorest/test/Get-AzStorageMoverAgent.Recording.json b/src/StorageMover/StorageMover.Autorest/test/Get-AzStorageMoverAgent.Recording.json index 9430ce359b45..e1012680bcb6 100644 --- a/src/StorageMover/StorageMover.Autorest/test/Get-AzStorageMoverAgent.Recording.json +++ b/src/StorageMover/StorageMover.Autorest/test/Get-AzStorageMoverAgent.Recording.json @@ -1,17 +1,17 @@ { - "Get-AzStorageMoverAgent+[NoContext]+List+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents?api-version=2023-10-01+1": { + "Get-AzStorageMoverAgent+[NoContext]+List+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents?api-version=2024-07-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "10" ], - "x-ms-client-request-id": [ "2f51c836-4ccd-4830-ac69-1f1d2cc5f6f9" ], + "x-ms-client-request-id": [ "d53f27b4-169c-40c4-981f-04232e4057a3" ], "CommandName": [ "Get-AzStorageMoverAgent" ], "FullCommandName": [ "Get-AzStorageMoverAgent_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -22,38 +22,41 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11996" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "3a8e8ced-8c92-4439-bbfe-737600db477c" ], - "x-ms-request-id": [ "7e973aeb-b290-47bd-9bb2-7d227bd2354a" ], - "x-ms-correlation-request-id": [ "c920a8ec-2d08-4334-84a7-fba8cd7b4007" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042904Z:c920a8ec-2d08-4334-84a7-fba8cd7b4007" ], + "mise-correlation-id": [ "b2413d04-2ca0-4213-92d7-70a32dcc6d76" ], + "x-ms-request-id": [ "2dea9a0c-1095-44da-91e5-68cb9fab5f80" ], + "x-ms-correlation-request-id": [ "80b9e7c1-9027-4ebc-8966-13d48405a9e1" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045324Z:80b9e7c1-9027-4ebc-8966-13d48405a9e1" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:04 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 1B5ADBEF043245848429349BF45E37D1 Ref B: MAA201060516019 Ref C: 2024-06-12T04:53:23Z" ], + "Date": [ "Wed, 12 Jun 2024 04:53:24 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "965" ], + "Content-Length": [ "1042" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent1\",\"name\":\"testagent1\",\"type\":\"microsoft.storagemover/storagemovers/agents\",\"systemData\":{\"createdBy\":\"yifanzhang@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-07-21T04:27:22.5834022Z\",\"lastModifiedBy\":\"aed824f0-6446-4ef9-9e17-98b0157c09dc\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:28:43.6811524Z\"},\"properties\":{\"agentVersion\":\"1.1.256_amd64\",\"arcResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.HybridCompute/machines/testagent1\",\"arcVmUuid\":\"c026168f-4f75-c847-aa19-2dfc4185d74e\",\"localIPAddress\":\"10.172.2.82\",\"memoryInMB\":3370,\"numberOfCores\":1,\"uptimeInSeconds\":358,\"lastStatusUpdate\":\"2023-07-21T04:28:39.250573Z\",\"agentStatus\":\"Online\",\"provisioningState\":\"Succeeded\"}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent12\",\"name\":\"testagent12\",\"type\":\"microsoft.storagemover/storagemovers/agents\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:49:38.379944Z\",\"lastModifiedBy\":\"aed824f0-6446-4ef9-9e17-98b0157c09dc\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2024-06-12T04:53:08.7365894Z\"},\"properties\":{\"agentVersion\":\"3.1.3195-PullRequest-debug_amd64:3.1.3195-PullRequest-debug_amd64\",\"arcResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.HybridCompute/machines/testagent12\",\"arcVmUuid\":\"fe2895d1-f1e6-2445-b79a-3a3ca1f57ee2\",\"timeZone\":\"UTC\",\"localIPAddress\":\"192.168.161.105\",\"memoryInMB\":2156,\"numberOfCores\":8,\"uptimeInSeconds\":1520,\"lastStatusUpdate\":\"2024-06-12T04:53:05.0902393Z\",\"agentStatus\":\"Online\",\"provisioningState\":\"Succeeded\"}}]}", "isContentBase64": false } }, - "Get-AzStorageMoverAgent+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent1?api-version=2023-10-01+1": { + "Get-AzStorageMoverAgent+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent12?api-version=2024-07-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent1?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent12?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "11" ], - "x-ms-client-request-id": [ "5288f8cb-2242-4ad3-ac47-dedeeb6ba44f" ], + "x-ms-client-request-id": [ "e2e0af2e-565e-4eed-8265-1e62b9cd2b57" ], "CommandName": [ "Get-AzStorageMoverAgent" ], "FullCommandName": [ "Get-AzStorageMoverAgent_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -64,23 +67,26 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"1d00dc04-0000-3400-0000-64ba097b0000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11995" ], + "ETag": [ "\"01001c81-0000-3400-0000-666929b40000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "e840f5f2-571c-4ab4-b305-c64a1f20870e" ], - "x-ms-request-id": [ "0ad5b187-7448-4b07-bf32-5dc99da9ed94" ], - "x-ms-correlation-request-id": [ "be1b9ba5-f1f8-4d3a-8b06-b2aa89b3f060" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042905Z:be1b9ba5-f1f8-4d3a-8b06-b2aa89b3f060" ], + "mise-correlation-id": [ "d7f3441e-b6c6-495e-b4bf-20736e0bd51f" ], + "x-ms-request-id": [ "9a9702e1-d82b-4bce-b592-218ad4ce6600" ], + "x-ms-correlation-request-id": [ "946e1d30-cd82-4c32-b45e-aa652508a336" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045325Z:946e1d30-cd82-4c32-b45e-aa652508a336" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:04 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 587D8B238C4240668AA62903AC371A7C Ref B: MAA201060516019 Ref C: 2024-06-12T04:53:24Z" ], + "Date": [ "Wed, 12 Jun 2024 04:53:25 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "953" ], + "Content-Length": [ "1030" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent1\",\"name\":\"testagent1\",\"type\":\"microsoft.storagemover/storagemovers/agents\",\"systemData\":{\"createdBy\":\"yifanzhang@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-07-21T04:27:22.5834022Z\",\"lastModifiedBy\":\"aed824f0-6446-4ef9-9e17-98b0157c09dc\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:28:43.6811524Z\"},\"properties\":{\"agentVersion\":\"1.1.256_amd64\",\"arcResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.HybridCompute/machines/testagent1\",\"arcVmUuid\":\"c026168f-4f75-c847-aa19-2dfc4185d74e\",\"localIPAddress\":\"10.172.2.82\",\"memoryInMB\":3370,\"numberOfCores\":1,\"uptimeInSeconds\":358,\"lastStatusUpdate\":\"2023-07-21T04:28:39.250573Z\",\"agentStatus\":\"Online\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent12\",\"name\":\"testagent12\",\"type\":\"microsoft.storagemover/storagemovers/agents\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:49:38.379944Z\",\"lastModifiedBy\":\"aed824f0-6446-4ef9-9e17-98b0157c09dc\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2024-06-12T04:53:08.7365894Z\"},\"properties\":{\"agentVersion\":\"3.1.3195-PullRequest-debug_amd64:3.1.3195-PullRequest-debug_amd64\",\"arcResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.HybridCompute/machines/testagent12\",\"arcVmUuid\":\"fe2895d1-f1e6-2445-b79a-3a3ca1f57ee2\",\"timeZone\":\"UTC\",\"localIPAddress\":\"192.168.161.105\",\"memoryInMB\":2156,\"numberOfCores\":8,\"uptimeInSeconds\":1520,\"lastStatusUpdate\":\"2024-06-12T04:53:05.0902393Z\",\"agentStatus\":\"Online\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } } diff --git a/src/StorageMover/StorageMover.Autorest/test/Get-AzStorageMoverEndpoint.Recording.json b/src/StorageMover/StorageMover.Autorest/test/Get-AzStorageMoverEndpoint.Recording.json index efe41efbc50f..d4e8bb799073 100644 --- a/src/StorageMover/StorageMover.Autorest/test/Get-AzStorageMoverEndpoint.Recording.json +++ b/src/StorageMover/StorageMover.Autorest/test/Get-AzStorageMoverEndpoint.Recording.json @@ -1,17 +1,17 @@ { - "Get-AzStorageMoverEndpoint+[NoContext]+List+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints?api-version=2023-10-01+1": { + "Get-AzStorageMoverEndpoint+[NoContext]+List+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints?api-version=2024-07-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "12" ], - "x-ms-client-request-id": [ "0dfe365b-8728-4152-b119-9cbf5874a7b8" ], + "x-ms-client-request-id": [ "8e9c81ed-8242-4dca-b847-4bb759270145" ], "CommandName": [ "Get-AzStorageMoverEndpoint" ], "FullCommandName": [ "Get-AzStorageMoverEndpoint_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -22,37 +22,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11994" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "2f44f24f-780a-439f-b6ab-2e653c8ba2c4" ], - "x-ms-correlation-request-id": [ "3319864d-ec81-4de4-bf64-0e33b18014c5" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042906Z:3319864d-ec81-4de4-bf64-0e33b18014c5" ], + "x-ms-request-id": [ "7e758270-672c-4478-b0fb-ddaa6c5c45b1" ], + "x-ms-correlation-request-id": [ "3ce9f9e4-07d0-4781-9a22-b758b814398a" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045327Z:3ce9f9e4-07d0-4781-9a22-b758b814398a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:05 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: B409C63823844140840EE9C01456773C Ref B: MAA201060516019 Ref C: 2024-06-12T04:53:26Z" ], + "Date": [ "Wed, 12 Jun 2024 04:53:27 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "7723" ], + "Content-Length": [ "1477" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointua3b5imx\",\"name\":\"containerEndpointua3b5imx\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T02:24:47.8776138Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T02:24:47.8776138Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storaccua3b5imx\",\"blobContainerName\":\"containerua3b5imx\",\"endpointType\":\"AzureStorageBlobContainer\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointua3b5imx\",\"name\":\"nfsEndpointua3b5imx\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T02:24:49.2526299Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T02:24:49.2526299Z\"},\"properties\":{\"host\":\"10.0.0.1\",\"nfsVersion\":\"NFSauto\",\"export\":\"/\",\"endpointType\":\"NfsMount\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpoint31q7xr6m\",\"name\":\"containerEndpoint31q7xr6m\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T03:09:06.7521896Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T03:09:06.7521896Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storacc31q7xr6m\",\"blobContainerName\":\"container31q7xr6m\",\"endpointType\":\"AzureStorageBlobContainer\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpoint31q7xr6m\",\"name\":\"nfsEndpoint31q7xr6m\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T03:09:07.908458Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T03:09:07.908458Z\"},\"properties\":{\"host\":\"10.0.0.1\",\"nfsVersion\":\"NFSauto\",\"export\":\"/\",\"endpointType\":\"NfsMount\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointdy0z54nl\",\"name\":\"containerEndpointdy0z54nl\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:02:41.5998671Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:02:41.5998671Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storaccdy0z54nl\",\"blobContainerName\":\"containerdy0z54nl\",\"endpointType\":\"AzureStorageBlobContainer\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointdy0z54nl\",\"name\":\"nfsEndpointdy0z54nl\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:02:42.6154831Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:02:42.6154831Z\"},\"properties\":{\"host\":\"10.0.0.1\",\"nfsVersion\":\"NFSauto\",\"export\":\"/\",\"endpointType\":\"NfsMount\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpoint8p9yh1t3\",\"name\":\"containerEndpoint8p9yh1t3\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:06:35.06982Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:06:35.06982Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storacc8p9yh1t3\",\"blobContainerName\":\"container8p9yh1t3\",\"endpointType\":\"AzureStorageBlobContainer\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpoint8p9yh1t3\",\"name\":\"nfsEndpoint8p9yh1t3\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:06:36.0072585Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:06:36.0072585Z\"},\"properties\":{\"host\":\"10.0.0.1\",\"nfsVersion\":\"NFSauto\",\"export\":\"/\",\"endpointType\":\"NfsMount\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointhc715gxy\",\"name\":\"containerEndpointhc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:28:55.890165Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:28:55.890165Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storacchc715gxy\",\"blobContainerName\":\"containerhc715gxy\",\"endpointType\":\"AzureStorageBlobContainer\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointhc715gxy\",\"name\":\"nfsEndpointhc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:28:56.9288302Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:28:56.9288302Z\"},\"properties\":{\"host\":\"10.0.0.1\",\"nfsVersion\":\"NFSauto\",\"export\":\"/\",\"endpointType\":\"NfsMount\",\"provisioningState\":\"Succeeded\"}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointpul1qe2g\",\"name\":\"containerEndpointpul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:53:08.021642Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:53:08.021642Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storaccpul1qe2g\",\"blobContainerName\":\"containerpul1qe2g\",\"endpointType\":\"AzureStorageBlobContainer\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointpul1qe2g\",\"name\":\"nfsEndpointpul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:53:10.4814887Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:53:10.4814887Z\"},\"properties\":{\"host\":\"10.0.0.1\",\"nfsVersion\":\"NFSauto\",\"export\":\"/\",\"endpointType\":\"NfsMount\",\"provisioningState\":\"Succeeded\"}}]}", "isContentBase64": false } }, - "Get-AzStorageMoverEndpoint+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointhc715gxy?api-version=2023-10-01+1": { + "Get-AzStorageMoverEndpoint+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointpul1qe2g?api-version=2024-07-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointhc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointpul1qe2g?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "13" ], - "x-ms-client-request-id": [ "99466488-54bb-4555-9eae-a171d418f323" ], + "x-ms-client-request-id": [ "4a01cb5b-9b2f-4e7e-b7ab-683f2cd5caf8" ], "CommandName": [ "Get-AzStorageMoverEndpoint" ], "FullCommandName": [ "Get-AzStorageMoverEndpoint_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -63,38 +66,41 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"2d011648-0000-3400-0000-64ba09880000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11993" ], + "ETag": [ "\"0000bdd3-0000-3400-0000-666929b50000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "eb4eb549-9c3f-408f-8fac-2485b63db04f" ], - "x-ms-correlation-request-id": [ "791d581e-d660-4518-9c93-4cca8dedc217" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042907Z:791d581e-d660-4518-9c93-4cca8dedc217" ], + "x-ms-request-id": [ "ff78abb4-0a7e-4baf-813c-b2376185ea80" ], + "x-ms-correlation-request-id": [ "3ed23b50-685e-4e5b-8091-3290b0e2df4c" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045328Z:3ed23b50-685e-4e5b-8091-3290b0e2df4c" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:06 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 6C6115C801774658A30D14104F3DAB77 Ref B: MAA201060516019 Ref C: 2024-06-12T04:53:27Z" ], + "Date": [ "Wed, 12 Jun 2024 04:53:28 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "863" ], + "Content-Length": [ "825" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointhc715gxy\",\"name\":\"containerEndpointhc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:28:55.890165Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:28:55.890165Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storacchc715gxy\",\"blobContainerName\":\"containerhc715gxy\",\"endpointType\":\"AzureStorageBlobContainer\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointpul1qe2g\",\"name\":\"containerEndpointpul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:53:08.021642Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:53:08.021642Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storaccpul1qe2g\",\"blobContainerName\":\"containerpul1qe2g\",\"endpointType\":\"AzureStorageBlobContainer\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "Get-AzStorageMoverEndpoint+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointhc715gxy?api-version=2023-10-01+2": { + "Get-AzStorageMoverEndpoint+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointpul1qe2g?api-version=2024-07-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointhc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointpul1qe2g?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "14" ], - "x-ms-client-request-id": [ "3abf75f3-74ef-4039-8e8f-3142d499aabf" ], + "x-ms-client-request-id": [ "ce53fa3c-c508-47da-acc3-d087698ffbeb" ], "CommandName": [ "Get-AzStorageMoverEndpoint" ], "FullCommandName": [ "Get-AzStorageMoverEndpoint_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -105,22 +111,25 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"2d011848-0000-3400-0000-64ba09890000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11992" ], + "ETag": [ "\"0000bed3-0000-3400-0000-666929b70000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "00216443-4b55-4c5f-946b-d92e0c1b9a22" ], - "x-ms-correlation-request-id": [ "a3d6a397-4bfe-4709-99a4-b5617b64a056" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042907Z:a3d6a397-4bfe-4709-99a4-b5617b64a056" ], + "x-ms-request-id": [ "328c0911-6e97-4309-88c7-b6605d453c48" ], + "x-ms-correlation-request-id": [ "319c8f6e-9c5f-4e8c-958e-6aca2ccc5aed" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045329Z:319c8f6e-9c5f-4e8c-958e-6aca2ccc5aed" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:07 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: F5C85462A6044BF0BBD12E298E8E472B Ref B: MAA201060516019 Ref C: 2024-06-12T04:53:29Z" ], + "Date": [ "Wed, 12 Jun 2024 04:53:29 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "677" ], + "Content-Length": [ "639" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointhc715gxy\",\"name\":\"nfsEndpointhc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:28:56.9288302Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:28:56.9288302Z\"},\"properties\":{\"host\":\"10.0.0.1\",\"nfsVersion\":\"NFSauto\",\"export\":\"/\",\"endpointType\":\"NfsMount\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointpul1qe2g\",\"name\":\"nfsEndpointpul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:53:10.4814887Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:53:10.4814887Z\"},\"properties\":{\"host\":\"10.0.0.1\",\"nfsVersion\":\"NFSauto\",\"export\":\"/\",\"endpointType\":\"NfsMount\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } } diff --git a/src/StorageMover/StorageMover.Autorest/test/Get-AzStorageMoverJobDefinition.Recording.json b/src/StorageMover/StorageMover.Autorest/test/Get-AzStorageMoverJobDefinition.Recording.json index c5315c37fe14..0b1347bea587 100644 --- a/src/StorageMover/StorageMover.Autorest/test/Get-AzStorageMoverJobDefinition.Recording.json +++ b/src/StorageMover/StorageMover.Autorest/test/Get-AzStorageMoverJobDefinition.Recording.json @@ -1,17 +1,17 @@ { - "Get-AzStorageMoverJobDefinition+[NoContext]+List+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions?api-version=2023-10-01+1": { + "Get-AzStorageMoverJobDefinition+[NoContext]+List+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions?api-version=2024-07-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "15" ], - "x-ms-client-request-id": [ "0ca8f1ad-9880-4414-825b-7f83948333c9" ], + "x-ms-client-request-id": [ "d6a70977-cae5-4721-bdc2-2fa38ad0e5df" ], "CommandName": [ "Get-AzStorageMoverJobDefinition" ], "FullCommandName": [ "Get-AzStorageMoverJobDefinition_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -22,37 +22,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11991" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "2a383de6-5b37-41b0-8bfd-b9d220936d20" ], - "x-ms-correlation-request-id": [ "81726266-1484-4eea-b8cc-df7b6ddd9b17" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042908Z:81726266-1484-4eea-b8cc-df7b6ddd9b17" ], + "x-ms-request-id": [ "04a8dff8-2571-428c-8314-aa8866f6b66c" ], + "x-ms-correlation-request-id": [ "4c332fed-a4e5-4baf-9f00-8c898dba8255" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045330Z:4c332fed-a4e5-4baf-9f00-8c898dba8255" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:07 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 2D525DD2CC8D448BBED6EB8701A4B5CD Ref B: MAA201060516019 Ref C: 2024-06-12T04:53:30Z" ], + "Date": [ "Wed, 12 Jun 2024 04:53:30 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1365" ], + "Content-Length": [ "1329" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testJobhc715gxy\",\"name\":\"testJobhc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/projects/jobdefinitions\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:28:59.9756967Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:28:59.9756967Z\"},\"properties\":{\"copyMode\":\"Additive\",\"sourceName\":\"nfsEndpointhc715gxy\",\"sourceResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointhc715gxy\",\"targetName\":\"containerEndpointhc715gxy\",\"targetResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointhc715gxy\",\"agentName\":\"testagent1\",\"agentResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent1\",\"provisioningState\":\"Succeeded\"}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testJobpul1qe2g\",\"name\":\"testJobpul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/projects/jobdefinitions\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:53:16.6065441Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:53:16.6065441Z\"},\"properties\":{\"copyMode\":\"Additive\",\"sourceName\":\"nfsEndpointpul1qe2g\",\"sourceResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointpul1qe2g\",\"targetName\":\"containerEndpointpul1qe2g\",\"targetResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointpul1qe2g\",\"agentName\":\"testagent12\",\"agentResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent12\",\"provisioningState\":\"Succeeded\"}}]}", "isContentBase64": false } }, - "Get-AzStorageMoverJobDefinition+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testJobhc715gxy?api-version=2023-10-01+1": { + "Get-AzStorageMoverJobDefinition+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testJobpul1qe2g?api-version=2024-07-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testJobhc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testJobpul1qe2g?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "16" ], - "x-ms-client-request-id": [ "318fa52d-8b21-4e00-b01f-8ce827d7eefd" ], + "x-ms-client-request-id": [ "51ec88ff-3d6c-4b2e-9ee3-e8bfc327f68c" ], "CommandName": [ "Get-AzStorageMoverJobDefinition" ], "FullCommandName": [ "Get-AzStorageMoverJobDefinition_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -63,22 +66,25 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"0100622c-0000-3400-0000-64ba098c0000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11990" ], + "ETag": [ "\"00003a66-0000-3400-0000-666929bd0000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "c774bb66-04c7-41aa-a8f5-3ded791010c2" ], - "x-ms-correlation-request-id": [ "80ec3de1-5e46-444a-946a-688fff5435e3" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042909Z:80ec3de1-5e46-444a-946a-688fff5435e3" ], + "x-ms-request-id": [ "ca317736-5294-4d7e-8283-8636780b5bdc" ], + "x-ms-correlation-request-id": [ "25a8065f-e0d6-410c-b356-ecac15384ed5" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045332Z:25a8065f-e0d6-410c-b356-ecac15384ed5" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:09 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 9A19D989F2A94C508177635C6B971AF0 Ref B: MAA201060516019 Ref C: 2024-06-12T04:53:30Z" ], + "Date": [ "Wed, 12 Jun 2024 04:53:32 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1353" ], + "Content-Length": [ "1317" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testJobhc715gxy\",\"name\":\"testJobhc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/projects/jobdefinitions\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:28:59.9756967Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:28:59.9756967Z\"},\"properties\":{\"copyMode\":\"Additive\",\"sourceName\":\"nfsEndpointhc715gxy\",\"sourceResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointhc715gxy\",\"targetName\":\"containerEndpointhc715gxy\",\"targetResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointhc715gxy\",\"agentName\":\"testagent1\",\"agentResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent1\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testJobpul1qe2g\",\"name\":\"testJobpul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/projects/jobdefinitions\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:53:16.6065441Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:53:16.6065441Z\"},\"properties\":{\"copyMode\":\"Additive\",\"sourceName\":\"nfsEndpointpul1qe2g\",\"sourceResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointpul1qe2g\",\"targetName\":\"containerEndpointpul1qe2g\",\"targetResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointpul1qe2g\",\"agentName\":\"testagent12\",\"agentResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent12\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } } diff --git a/src/StorageMover/StorageMover.Autorest/test/Get-AzStorageMoverJobRun.Recording.json b/src/StorageMover/StorageMover.Autorest/test/Get-AzStorageMoverJobRun.Recording.json index a2d2c479fe26..ea6c149735f3 100644 --- a/src/StorageMover/StorageMover.Autorest/test/Get-AzStorageMoverJobRun.Recording.json +++ b/src/StorageMover/StorageMover.Autorest/test/Get-AzStorageMoverJobRun.Recording.json @@ -1,17 +1,17 @@ { - "Get-AzStorageMoverJobRun+[NoContext]+Get/List JobRun, Start/Stop JobDefinition+$POST+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testJobhc715gxy/startJob?api-version=2023-10-01+1": { + "Get-AzStorageMoverJobRun+[NoContext]+Get/List JobRun, Start/Stop JobDefinition+$POST+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testJobpul1qe2g/startJob?api-version=2024-07-01+1": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testJobhc715gxy/startJob?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testJobpul1qe2g/startJob?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "17" ], - "x-ms-client-request-id": [ "787dab9a-c8bf-4a79-9ac9-b8af7c276487" ], + "x-ms-client-request-id": [ "252c8fd9-196a-4904-9eab-eddc87c4bd23" ], "CommandName": [ "Start-AzStorageMoverJobDefinition" ], "FullCommandName": [ "Start-AzStorageMoverJobDefinition_Start" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -22,38 +22,41 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "767ca076-60ed-4a5f-acf2-e26d9fd39454" ], - "x-ms-request-id": [ "e938ed41-0e04-4dcd-adcf-6c6a86d0de21" ], - "x-ms-correlation-request-id": [ "b3565859-4f88-44e3-bf5d-b1eb30b8c38e" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042911Z:b3565859-4f88-44e3-bf5d-b1eb30b8c38e" ], + "mise-correlation-id": [ "6fea0630-c5fd-4e77-af2f-d1b8dc2fdad5" ], + "x-ms-request-id": [ "5d64e196-b8d0-4107-969d-e58066a164ec" ], + "x-ms-correlation-request-id": [ "f175c6be-102c-4c1c-be02-49c508d84add" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045336Z:f175c6be-102c-4c1c-be02-49c508d84add" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:11 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: F9E84D41F2C240FFAE93485E48F058BD Ref B: MAA201060516019 Ref C: 2024-06-12T04:53:33Z" ], + "Date": [ "Wed, 12 Jun 2024 04:53:36 GMT" ] }, "ContentHeaders": { "Content-Length": [ "276" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"jobRunResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testJobhc715gxy/jobRuns/0ce4bf6c-4d67-4351-a663-b576830de65c\"}", + "Content": "{\"jobRunResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testJobpul1qe2g/jobRuns/820a8cde-d4e9-488f-a9d6-b6728b6aa0c2\"}", "isContentBase64": false } }, - "Get-AzStorageMoverJobRun+[NoContext]+Get/List JobRun, Start/Stop JobDefinition+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testJobhc715gxy/jobRuns?api-version=2023-10-01+2": { + "Get-AzStorageMoverJobRun+[NoContext]+Get/List JobRun, Start/Stop JobDefinition+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testJobpul1qe2g/jobRuns?api-version=2024-07-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testJobhc715gxy/jobRuns?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testJobpul1qe2g/jobRuns?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "18" ], - "x-ms-client-request-id": [ "0e687fd3-5e70-43a3-bfbd-ad4246024937" ], + "x-ms-client-request-id": [ "692f163b-b0b6-4391-a9d8-08144b75b807" ], "CommandName": [ "Get-AzStorageMoverJobRun" ], "FullCommandName": [ "Get-AzStorageMoverJobRun_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -64,37 +67,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11989" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "41633edf-f876-499f-9e67-b012aa6336fe" ], - "x-ms-correlation-request-id": [ "828d2711-aaab-4cd6-9c9c-d4f85f813913" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042912Z:828d2711-aaab-4cd6-9c9c-d4f85f813913" ], + "x-ms-request-id": [ "d42ccdd8-f5e5-4240-a593-568356d2808f" ], + "x-ms-correlation-request-id": [ "3c61927d-b268-4721-b096-9af78694dce2" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045337Z:3c61927d-b268-4721-b096-9af78694dce2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:12 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 400E78A23FFD490EA8AF98E8940AE5EA Ref B: MAA201060516019 Ref C: 2024-06-12T04:53:36Z" ], + "Date": [ "Wed, 12 Jun 2024 04:53:37 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "3150" ], + "Content-Length": [ "3154" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testJobhc715gxy/jobRuns/0ce4bf6c-4d67-4351-a663-b576830de65c\",\"name\":\"0ce4bf6c-4d67-4351-a663-b576830de65c\",\"type\":\"microsoft.storagemover/storagemovers/projects/jobdefinitions/jobruns\",\"systemData\":{\"createdBy\":\"aed824f0-6446-4ef9-9e17-98b0157c09dc\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:29:11.5452602Z\",\"lastModifiedBy\":\"aed824f0-6446-4ef9-9e17-98b0157c09dc\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:29:11.5452602Z\"},\"properties\":{\"status\":\"Queued\",\"agentName\":\"testagent1\",\"agentResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent1\",\"lastStatusUpdate\":\"2023-07-21T04:29:11.4731344Z\",\"sourceName\":\"nfsEndpointhc715gxy\",\"sourceResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointhc715gxy\",\"sourceProperties\":{\"host\":\"10.0.0.1\",\"nfsVersion\":\"NFSauto\",\"export\":\"/\",\"endpointType\":\"NfsMount\",\"provisioningState\":\"Succeeded\"},\"targetName\":\"containerEndpointhc715gxy\",\"targetResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointhc715gxy\",\"targetProperties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storacchc715gxy\",\"blobContainerName\":\"containerhc715gxy\",\"endpointType\":\"AzureStorageBlobContainer\",\"provisioningState\":\"Succeeded\"},\"jobDefinitionProperties\":{\"copyMode\":\"Additive\",\"sourceName\":\"nfsEndpointhc715gxy\",\"sourceResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointhc715gxy\",\"targetName\":\"containerEndpointhc715gxy\",\"targetResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointhc715gxy\",\"latestJobRunName\":\"0ce4bf6c-4d67-4351-a663-b576830de65c\",\"latestJobRunResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testJobhc715gxy/jobRuns/0ce4bf6c-4d67-4351-a663-b576830de65c\",\"latestJobRunStatus\":\"Queued\",\"agentName\":\"testagent1\",\"agentResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent1\",\"internalMetadata\":{\"jobDefinitionId\":\"27b8fd2d-4364-4c6d-a488-8eb3b268f134\"},\"provisioningState\":\"Succeeded\"},\"provisioningState\":\"Succeeded\"}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testJobpul1qe2g/jobRuns/820a8cde-d4e9-488f-a9d6-b6728b6aa0c2\",\"name\":\"820a8cde-d4e9-488f-a9d6-b6728b6aa0c2\",\"type\":\"microsoft.storagemover/storagemovers/projects/jobdefinitions/jobruns\",\"systemData\":{\"createdBy\":\"aed824f0-6446-4ef9-9e17-98b0157c09dc\",\"createdByType\":\"Application\",\"createdAt\":\"2024-06-12T04:53:35.4366918Z\",\"lastModifiedBy\":\"aed824f0-6446-4ef9-9e17-98b0157c09dc\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2024-06-12T04:53:35.4366918Z\"},\"properties\":{\"status\":\"Queued\",\"agentName\":\"testagent12\",\"agentResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent12\",\"lastStatusUpdate\":\"2024-06-12T04:53:35.0452742Z\",\"sourceName\":\"nfsEndpointpul1qe2g\",\"sourceResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointpul1qe2g\",\"sourceProperties\":{\"host\":\"10.0.0.1\",\"nfsVersion\":\"NFSauto\",\"export\":\"/\",\"endpointType\":\"NfsMount\",\"provisioningState\":\"Succeeded\"},\"targetName\":\"containerEndpointpul1qe2g\",\"targetResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointpul1qe2g\",\"targetProperties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storaccpul1qe2g\",\"blobContainerName\":\"containerpul1qe2g\",\"endpointType\":\"AzureStorageBlobContainer\",\"provisioningState\":\"Succeeded\"},\"jobDefinitionProperties\":{\"copyMode\":\"Additive\",\"sourceName\":\"nfsEndpointpul1qe2g\",\"sourceResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointpul1qe2g\",\"targetName\":\"containerEndpointpul1qe2g\",\"targetResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointpul1qe2g\",\"latestJobRunName\":\"820a8cde-d4e9-488f-a9d6-b6728b6aa0c2\",\"latestJobRunResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testJobpul1qe2g/jobRuns/820a8cde-d4e9-488f-a9d6-b6728b6aa0c2\",\"latestJobRunStatus\":\"Queued\",\"agentName\":\"testagent12\",\"agentResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent12\",\"internalMetadata\":{\"jobDefinitionId\":\"ba6670ab-e39c-41d7-bfa3-767df8608a7a\"},\"provisioningState\":\"Succeeded\"},\"provisioningState\":\"Succeeded\"}}]}", "isContentBase64": false } }, - "Get-AzStorageMoverJobRun+[NoContext]+Get/List JobRun, Start/Stop JobDefinition+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testJobhc715gxy/jobRuns/0ce4bf6c-4d67-4351-a663-b576830de65c?api-version=2023-10-01+3": { + "Get-AzStorageMoverJobRun+[NoContext]+Get/List JobRun, Start/Stop JobDefinition+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testJobpul1qe2g/jobRuns/820a8cde-d4e9-488f-a9d6-b6728b6aa0c2?api-version=2024-07-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testJobhc715gxy/jobRuns/0ce4bf6c-4d67-4351-a663-b576830de65c?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testJobpul1qe2g/jobRuns/820a8cde-d4e9-488f-a9d6-b6728b6aa0c2?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "19" ], - "x-ms-client-request-id": [ "c5c0ab5b-c613-43c7-96fd-c82bb1d72979" ], + "x-ms-client-request-id": [ "b0cffd88-4e79-4057-8b9b-07b04a187a64" ], "CommandName": [ "Get-AzStorageMoverJobRun" ], "FullCommandName": [ "Get-AzStorageMoverJobRun_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -105,38 +111,41 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"bc02111f-0000-3400-0000-64ba09970000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11988" ], + "ETag": [ "\"00005523-0000-3400-0000-666929d00000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "5c71b29c-e3cb-4f66-ab97-95623407e055" ], - "x-ms-correlation-request-id": [ "b6cf9488-8dc7-4f91-ae9a-22908f26ae89" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042913Z:b6cf9488-8dc7-4f91-ae9a-22908f26ae89" ], + "x-ms-request-id": [ "3378afcc-8557-4caf-a7b2-7512baf7a722" ], + "x-ms-correlation-request-id": [ "3d57c840-4327-4c23-bc3b-25d22c60b875" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045339Z:3d57c840-4327-4c23-bc3b-25d22c60b875" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:12 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 01D54CD501144365B442B107E6EDD1EF Ref B: MAA201060516019 Ref C: 2024-06-12T04:53:37Z" ], + "Date": [ "Wed, 12 Jun 2024 04:53:39 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "3138" ], + "Content-Length": [ "3142" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testJobhc715gxy/jobRuns/0ce4bf6c-4d67-4351-a663-b576830de65c\",\"name\":\"0ce4bf6c-4d67-4351-a663-b576830de65c\",\"type\":\"microsoft.storagemover/storagemovers/projects/jobdefinitions/jobruns\",\"systemData\":{\"createdBy\":\"aed824f0-6446-4ef9-9e17-98b0157c09dc\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:29:11.5452602Z\",\"lastModifiedBy\":\"aed824f0-6446-4ef9-9e17-98b0157c09dc\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:29:11.5452602Z\"},\"properties\":{\"status\":\"Queued\",\"agentName\":\"testagent1\",\"agentResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent1\",\"lastStatusUpdate\":\"2023-07-21T04:29:11.4731344Z\",\"sourceName\":\"nfsEndpointhc715gxy\",\"sourceResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointhc715gxy\",\"sourceProperties\":{\"host\":\"10.0.0.1\",\"nfsVersion\":\"NFSauto\",\"export\":\"/\",\"endpointType\":\"NfsMount\",\"provisioningState\":\"Succeeded\"},\"targetName\":\"containerEndpointhc715gxy\",\"targetResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointhc715gxy\",\"targetProperties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storacchc715gxy\",\"blobContainerName\":\"containerhc715gxy\",\"endpointType\":\"AzureStorageBlobContainer\",\"provisioningState\":\"Succeeded\"},\"jobDefinitionProperties\":{\"copyMode\":\"Additive\",\"sourceName\":\"nfsEndpointhc715gxy\",\"sourceResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointhc715gxy\",\"targetName\":\"containerEndpointhc715gxy\",\"targetResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointhc715gxy\",\"latestJobRunName\":\"0ce4bf6c-4d67-4351-a663-b576830de65c\",\"latestJobRunResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testJobhc715gxy/jobRuns/0ce4bf6c-4d67-4351-a663-b576830de65c\",\"latestJobRunStatus\":\"Queued\",\"agentName\":\"testagent1\",\"agentResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent1\",\"internalMetadata\":{\"jobDefinitionId\":\"27b8fd2d-4364-4c6d-a488-8eb3b268f134\"},\"provisioningState\":\"Succeeded\"},\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testJobpul1qe2g/jobRuns/820a8cde-d4e9-488f-a9d6-b6728b6aa0c2\",\"name\":\"820a8cde-d4e9-488f-a9d6-b6728b6aa0c2\",\"type\":\"microsoft.storagemover/storagemovers/projects/jobdefinitions/jobruns\",\"systemData\":{\"createdBy\":\"aed824f0-6446-4ef9-9e17-98b0157c09dc\",\"createdByType\":\"Application\",\"createdAt\":\"2024-06-12T04:53:35.4366918Z\",\"lastModifiedBy\":\"aed824f0-6446-4ef9-9e17-98b0157c09dc\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2024-06-12T04:53:35.4366918Z\"},\"properties\":{\"status\":\"Queued\",\"agentName\":\"testagent12\",\"agentResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent12\",\"lastStatusUpdate\":\"2024-06-12T04:53:35.0452742Z\",\"sourceName\":\"nfsEndpointpul1qe2g\",\"sourceResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointpul1qe2g\",\"sourceProperties\":{\"host\":\"10.0.0.1\",\"nfsVersion\":\"NFSauto\",\"export\":\"/\",\"endpointType\":\"NfsMount\",\"provisioningState\":\"Succeeded\"},\"targetName\":\"containerEndpointpul1qe2g\",\"targetResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointpul1qe2g\",\"targetProperties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storaccpul1qe2g\",\"blobContainerName\":\"containerpul1qe2g\",\"endpointType\":\"AzureStorageBlobContainer\",\"provisioningState\":\"Succeeded\"},\"jobDefinitionProperties\":{\"copyMode\":\"Additive\",\"sourceName\":\"nfsEndpointpul1qe2g\",\"sourceResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointpul1qe2g\",\"targetName\":\"containerEndpointpul1qe2g\",\"targetResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointpul1qe2g\",\"latestJobRunName\":\"820a8cde-d4e9-488f-a9d6-b6728b6aa0c2\",\"latestJobRunResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testJobpul1qe2g/jobRuns/820a8cde-d4e9-488f-a9d6-b6728b6aa0c2\",\"latestJobRunStatus\":\"Queued\",\"agentName\":\"testagent12\",\"agentResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent12\",\"internalMetadata\":{\"jobDefinitionId\":\"ba6670ab-e39c-41d7-bfa3-767df8608a7a\"},\"provisioningState\":\"Succeeded\"},\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "Get-AzStorageMoverJobRun+[NoContext]+Get/List JobRun, Start/Stop JobDefinition+$POST+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testJobhc715gxy/stopJob?api-version=2023-10-01+4": { + "Get-AzStorageMoverJobRun+[NoContext]+Get/List JobRun, Start/Stop JobDefinition+$POST+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testJobpul1qe2g/stopJob?api-version=2024-07-01+4": { "Request": { "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testJobhc715gxy/stopJob?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testJobpul1qe2g/stopJob?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "20" ], - "x-ms-client-request-id": [ "dddbe8b1-119c-4c0f-81f5-9a18ff144987" ], + "x-ms-client-request-id": [ "5fa3b80f-5df2-449b-9ced-123eb76400a9" ], "CommandName": [ "Stop-AzStorageMoverJobDefinition" ], "FullCommandName": [ "Stop-AzStorageMoverJobDefinition_Stop" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -147,22 +156,25 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "78f654b0-0c31-4c3d-96be-e8df6c29ecbb" ], - "x-ms-request-id": [ "88f3fa26-f84a-422c-b7d1-54c7747f4b7b" ], - "x-ms-correlation-request-id": [ "72e7c002-7dd1-4a4c-9980-53e537183f8b" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042914Z:72e7c002-7dd1-4a4c-9980-53e537183f8b" ], + "mise-correlation-id": [ "10c170af-8221-421d-bc6e-debc7325385b" ], + "x-ms-request-id": [ "23c7bd21-67e8-4638-998b-d2f2aa46a8b3" ], + "x-ms-correlation-request-id": [ "ea9a2d9e-e69f-4410-907a-05da941ecac7" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045343Z:ea9a2d9e-e69f-4410-907a-05da941ecac7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:13 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 7CEE8E4E822343D4B10523C1AA092E0F Ref B: MAA201060516019 Ref C: 2024-06-12T04:53:40Z" ], + "Date": [ "Wed, 12 Jun 2024 04:53:43 GMT" ] }, "ContentHeaders": { "Content-Length": [ "276" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"jobRunResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testJobhc715gxy/jobRuns/0ce4bf6c-4d67-4351-a663-b576830de65c\"}", + "Content": "{\"jobRunResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testJobpul1qe2g/jobRuns/820a8cde-d4e9-488f-a9d6-b6728b6aa0c2\"}", "isContentBase64": false } } diff --git a/src/StorageMover/StorageMover.Autorest/test/Get-AzStorageMoverProject.Recording.json b/src/StorageMover/StorageMover.Autorest/test/Get-AzStorageMoverProject.Recording.json index fd141894af93..e05926c7a180 100644 --- a/src/StorageMover/StorageMover.Autorest/test/Get-AzStorageMoverProject.Recording.json +++ b/src/StorageMover/StorageMover.Autorest/test/Get-AzStorageMoverProject.Recording.json @@ -1,17 +1,17 @@ { - "Get-AzStorageMoverProject+[NoContext]+List+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/projects?api-version=2023-10-01+1": { + "Get-AzStorageMoverProject+[NoContext]+List+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/projects?api-version=2024-07-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/projects?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/projects?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "21" ], - "x-ms-client-request-id": [ "544d936d-71c3-4aaa-9942-266cf666b884" ], + "x-ms-client-request-id": [ "bb573bc2-c9b5-4df4-8e6b-c3262081e83d" ], "CommandName": [ "Get-AzStorageMoverProject" ], "FullCommandName": [ "Get-AzStorageMoverProject_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -22,37 +22,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11987" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "bd6057e9-d81e-439f-b59a-33f5cdd9862a" ], - "x-ms-correlation-request-id": [ "7934946a-9469-4446-bef7-62a8adc65568" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042915Z:7934946a-9469-4446-bef7-62a8adc65568" ], + "x-ms-request-id": [ "a61b3774-e1d1-4f18-a74c-0f701f912ffe" ], + "x-ms-correlation-request-id": [ "b545ee94-3472-4c6d-a6e1-fbf3a2b446b2" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045346Z:b545ee94-3472-4c6d-a6e1-fbf3a2b446b2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:14 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: E9D7F8A028594F73894A0DD44460FBC8 Ref B: MAA201060516019 Ref C: 2024-06-12T04:53:44Z" ], + "Date": [ "Wed, 12 Jun 2024 04:53:46 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "611" ], + "Content-Length": [ "573" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/projects/testProjecthc715gxy\",\"name\":\"testProjecthc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/projects\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:28:58.1006856Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:28:58.1006856Z\"},\"properties\":{\"provisioningState\":\"Succeeded\"}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/projects/testProjectpul1qe2g\",\"name\":\"testProjectpul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/projects\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:53:12.2543326Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:53:12.2543326Z\"},\"properties\":{\"provisioningState\":\"Succeeded\"}}]}", "isContentBase64": false } }, - "Get-AzStorageMoverProject+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/projects/testProjecthc715gxy?api-version=2023-10-01+1": { + "Get-AzStorageMoverProject+[NoContext]+Get+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/projects/testProjectpul1qe2g?api-version=2024-07-01+1": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/projects/testProjecthc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/projects/testProjectpul1qe2g?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "22" ], - "x-ms-client-request-id": [ "f136bfe8-9f75-49a8-9027-166b45e799f8" ], + "x-ms-client-request-id": [ "bd1c5bf3-4332-49ef-b69d-eb75d2089941" ], "CommandName": [ "Get-AzStorageMoverProject" ], "FullCommandName": [ "Get-AzStorageMoverProject_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -63,22 +66,25 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"2d01e702-0000-3400-0000-64ba098a0000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11986" ], + "ETag": [ "\"0000ee36-0000-3400-0000-666929b90000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "87e8c09d-065e-4e1c-8d28-5f8b30b11f74" ], - "x-ms-correlation-request-id": [ "644576fb-02a4-46e0-a84f-724ae283c157" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042916Z:644576fb-02a4-46e0-a84f-724ae283c157" ], + "x-ms-request-id": [ "da159d27-e4fe-4db8-9a0c-036b8a707cdb" ], + "x-ms-correlation-request-id": [ "1a75b1dd-64ca-4676-a6d3-31587c86c363" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045347Z:1a75b1dd-64ca-4676-a6d3-31587c86c363" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:16 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 2FB9E5C106BC46A9ABBDE730C99563FE Ref B: MAA201060516019 Ref C: 2024-06-12T04:53:46Z" ], + "Date": [ "Wed, 12 Jun 2024 04:53:47 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "599" ], + "Content-Length": [ "561" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/projects/testProjecthc715gxy\",\"name\":\"testProjecthc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/projects\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:28:58.1006856Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:28:58.1006856Z\"},\"properties\":{\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/projects/testProjectpul1qe2g\",\"name\":\"testProjectpul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/projects\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:53:12.2543326Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:53:12.2543326Z\"},\"properties\":{\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } } diff --git a/src/StorageMover/StorageMover.Autorest/test/New-AzStorageMover.Recording.json b/src/StorageMover/StorageMover.Autorest/test/New-AzStorageMover.Recording.json index 2e8b8bf7d829..3758e8335490 100644 --- a/src/StorageMover/StorageMover.Autorest/test/New-AzStorageMover.Recording.json +++ b/src/StorageMover/StorageMover.Autorest/test/New-AzStorageMover.Recording.json @@ -1,8 +1,8 @@ { - "New-AzStorageMover+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover2hc715gxy?api-version=2023-10-01+1": { + "New-AzStorageMover+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover2pul1qe2g?api-version=2024-07-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover2hc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover2pul1qe2g?api-version=2024-07-01", "Content": "{\r\n \"location\": \"eastus2euap\",\r\n \"properties\": {\r\n \"description\": \"test Storage mover description\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -17,39 +17,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"05009313-0000-3400-0000-64ba099d0000\"" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1193" ], + "ETag": [ "\"00008b5f-0000-3400-0000-666929df0000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "589ceb37-58e5-4baa-bd41-61465f7ffeca" ], - "x-ms-request-id": [ "a0279961-458f-4488-bb61-02aa82da194f" ], - "x-ms-correlation-request-id": [ "80fa95ef-825a-4124-984f-2c14b38fcc22" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042917Z:80fa95ef-825a-4124-984f-2c14b38fcc22" ], + "mise-correlation-id": [ "73cfb631-7179-4b01-b516-222681cf42b1" ], + "x-ms-request-id": [ "bd537e2c-18b1-4a35-809f-63a8c5941de3" ], + "x-ms-correlation-request-id": [ "ec668dc0-cf51-4df9-9566-d2fca95cf9c6" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045352Z:ec668dc0-cf51-4df9-9566-d2fca95cf9c6" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:17 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: B9B32C8AFD3442CCA51A40B1C44B51E3 Ref B: MAA201060516019 Ref C: 2024-06-12T04:53:47Z" ], + "Date": [ "Wed, 12 Jun 2024 04:53:52 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "635" ], + "Content-Length": [ "597" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover2hc715gxy\",\"name\":\"testStoMover2hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:29:17.1789008Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:29:17.1789008Z\"},\"properties\":{\"description\":\"test Storage mover description\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover2pul1qe2g\",\"name\":\"testStoMover2pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:53:51.2989775Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:53:51.2989775Z\"},\"properties\":{\"description\":\"test Storage mover description\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "New-AzStorageMover+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover2hc715gxy?api-version=2023-10-01+2": { + "New-AzStorageMover+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover2pul1qe2g?api-version=2024-07-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover2hc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover2pul1qe2g?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "24" ], - "x-ms-client-request-id": [ "65df269e-08b0-4b9c-b1db-f6eb96d89c09" ], + "x-ms-client-request-id": [ "dfbe613a-c523-438f-a9c0-b64eafbb3f79" ], "CommandName": [ "Get-AzStorageMover" ], "FullCommandName": [ "Get-AzStorageMover_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -60,22 +63,25 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"05009313-0000-3400-0000-64ba099d0000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11985" ], + "ETag": [ "\"00008b5f-0000-3400-0000-666929df0000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "5e31606c-79b1-4335-ba20-a6b9885ad771" ], - "x-ms-correlation-request-id": [ "df90428d-0b0a-4ef0-badd-bfa19926074d" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042918Z:df90428d-0b0a-4ef0-badd-bfa19926074d" ], + "x-ms-request-id": [ "fdce2391-4cd7-4923-86d5-dd05adfa7cbd" ], + "x-ms-correlation-request-id": [ "b8e24cb9-0881-4cd9-ae19-f58a800064f3" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045353Z:b8e24cb9-0881-4cd9-ae19-f58a800064f3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:18 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 780A555C439F438483DA63C28175CAB9 Ref B: MAA201060516019 Ref C: 2024-06-12T04:53:52Z" ], + "Date": [ "Wed, 12 Jun 2024 04:53:53 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "635" ], + "Content-Length": [ "597" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover2hc715gxy\",\"name\":\"testStoMover2hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:29:17.1789008Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:29:17.1789008Z\"},\"properties\":{\"description\":\"test Storage mover description\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover2pul1qe2g\",\"name\":\"testStoMover2pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:53:51.2989775Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:53:51.2989775Z\"},\"properties\":{\"description\":\"test Storage mover description\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } } diff --git a/src/StorageMover/StorageMover.Autorest/test/New-AzStorageMoverAzSmbFileShareEndpoint.Recording.json b/src/StorageMover/StorageMover.Autorest/test/New-AzStorageMoverAzSmbFileShareEndpoint.Recording.json index 57a927ffb364..ca58467c0af1 100644 --- a/src/StorageMover/StorageMover.Autorest/test/New-AzStorageMoverAzSmbFileShareEndpoint.Recording.json +++ b/src/StorageMover/StorageMover.Autorest/test/New-AzStorageMoverAzSmbFileShareEndpoint.Recording.json @@ -1,9 +1,9 @@ { - "New/Update-AzStorageMoverAzSmbFileShareEndpoint+[NoContext]+Create and update+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/fseendpoint1hc715gxy?api-version=2023-10-01+1": { + "New/Update-AzStorageMoverAzSmbFileShareEndpoint+[NoContext]+Create and update+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/fseendpoint1pul1qe2g?api-version=2024-07-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/fseendpoint1hc715gxy?api-version=2023-10-01", - "Content": "{\r\n \"properties\": {\r\n \"endpointType\": \"AzureStorageSmbFileShare\",\r\n \"description\": \"New smb file share endpoint\",\r\n \"storageAccountResourceId\": \"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storacchc715gxy\",\r\n \"fileShareName\": \"testfs\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/fseendpoint1pul1qe2g?api-version=2024-07-01", + "Content": "{\r\n \"properties\": {\r\n \"endpointType\": \"AzureStorageSmbFileShare\",\r\n \"description\": \"New smb file share endpoint\",\r\n \"storageAccountResourceId\": \"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storaccpul1qe2g\",\r\n \"fileShareName\": \"testfs\"\r\n }\r\n}", "isContentBase64": false, "Headers": { }, @@ -17,31 +17,34 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"2d011c48-0000-3400-0000-64ba09a10000\"" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1191" ], + "ETag": [ "\"0000bfd3-0000-3400-0000-666929e40000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "e2ca2827-3c7e-4a2e-808e-13d705e41049" ], - "x-ms-request-id": [ "e186296f-e455-44e8-9af2-5c510c5aaf96" ], - "x-ms-correlation-request-id": [ "fed03c95-e2aa-49e8-b6ee-816a857127d7" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042921Z:fed03c95-e2aa-49e8-b6ee-816a857127d7" ], + "mise-correlation-id": [ "cba5fc71-41b2-406d-8714-db1dc3af91ab" ], + "x-ms-request-id": [ "13c70a6f-198b-42b1-bdc2-46e5e3afe69b" ], + "x-ms-correlation-request-id": [ "742510ca-a269-419d-8269-1db476612c34" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045356Z:742510ca-a269-419d-8269-1db476612c34" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:21 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: A1A72DC319B74C749E472020A22F4C4C Ref B: MAA201060516019 Ref C: 2024-06-12T04:53:54Z" ], + "Date": [ "Wed, 12 Jun 2024 04:53:56 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "887" ], + "Content-Length": [ "849" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/fseendpoint1hc715gxy\",\"name\":\"fseendpoint1hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:29:21.5382807Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:29:21.5382807Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storacchc715gxy\",\"fileShareName\":\"testfs\",\"endpointType\":\"AzureStorageSmbFileShare\",\"description\":\"New smb file share endpoint\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/fseendpoint1pul1qe2g\",\"name\":\"fseendpoint1pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:53:55.4546414Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:53:55.4546414Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storaccpul1qe2g\",\"fileShareName\":\"testfs\",\"endpointType\":\"AzureStorageSmbFileShare\",\"description\":\"New smb file share endpoint\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "New/Update-AzStorageMoverAzSmbFileShareEndpoint+[NoContext]+Create and update+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/fseendpoint2hc715gxy?api-version=2023-10-01+2": { + "New/Update-AzStorageMoverAzSmbFileShareEndpoint+[NoContext]+Create and update+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/fseendpoint2pul1qe2g?api-version=2024-07-01+2": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover2hc715gxy/endpoints/fseendpoint2hc715gxy?api-version=2023-10-01", - "Content": "{\r\n \"properties\": {\r\n \"endpointType\": \"AzureStorageSmbFileShare\",\r\n \"description\": \"New smb file share endpoint\",\r\n \"storageAccountResourceId\": \"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storacchc715gxy\",\r\n \"fileShareName\": \"testfs\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/fseendpoint2pul1qe2g?api-version=2024-07-01", + "Content": "{\r\n \"properties\": {\r\n \"endpointType\": \"AzureStorageSmbFileShare\",\r\n \"description\": \"New smb file share endpoint\",\r\n \"storageAccountResourceId\": \"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storaccpul1qe2g\",\r\n \"fileShareName\": \"testfs\"\r\n }\r\n}", "isContentBase64": false, "Headers": { }, @@ -55,39 +58,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"2d011c48-0000-3400-0000-64ba09a10000\"" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1191" ], + "ETag": [ "\"0000c0d3-0000-3400-0000-666929e60000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "e2ca2827-3c7e-4a2e-808e-13d705e41049" ], - "x-ms-request-id": [ "e186296f-e455-44e8-9af2-5c510c5aaf96" ], - "x-ms-correlation-request-id": [ "fed03c95-e2aa-49e8-b6ee-816a857127d7" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042921Z:fed03c95-e2aa-49e8-b6ee-816a857127d7" ], + "mise-correlation-id": [ "e5feba37-18d1-4ad2-906e-2b72b8cbd3e6" ], + "x-ms-request-id": [ "f19a4f40-ddda-4a40-a100-d701f525b443" ], + "x-ms-correlation-request-id": [ "c195a0b0-0d53-49e2-a2d7-050b85521723" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045358Z:c195a0b0-0d53-49e2-a2d7-050b85521723" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:21 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 2A5819C1AA0E4FC49333E4ED835CFD68 Ref B: MAA201060516019 Ref C: 2024-06-12T04:53:56Z" ], + "Date": [ "Wed, 12 Jun 2024 04:53:58 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "887" ], + "Content-Length": [ "849" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/fseendpoint2hc715gxy\",\"name\":\"fseendpoint2hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:29:21.5382807Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:29:21.5382807Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storacchc715gxy\",\"fileShareName\":\"testfs\",\"endpointType\":\"AzureStorageSmbFileShare\",\"description\":\"New smb file share endpoint\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/fseendpoint2pul1qe2g\",\"name\":\"fseendpoint2pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:53:57.4491946Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:53:57.4491946Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storaccpul1qe2g\",\"fileShareName\":\"testfs\",\"endpointType\":\"AzureStorageSmbFileShare\",\"description\":\"New smb file share endpoint\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "New/Update-AzStorageMoverAzSmbFileShareEndpoint+[NoContext]+Create and update+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/fseendpoint1hc715gxy?api-version=2023-10-01+3": { + "New/Update-AzStorageMoverAzSmbFileShareEndpoint+[NoContext]+Create and update+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/fseendpoint1pul1qe2g?api-version=2024-07-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/fseendpoint1hc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/fseendpoint1pul1qe2g?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "28" ], - "x-ms-client-request-id": [ "eab0c0d7-cff6-4579-a7e2-86846f4799bd" ], + "x-ms-unique-id": [ "27" ], + "x-ms-client-request-id": [ "be9e23cb-8419-4d14-940e-9620da439c5a" ], "CommandName": [ "Get-AzStorageMoverEndpoint" ], "FullCommandName": [ "Get-AzStorageMoverEndpoint_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -98,38 +104,41 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"2d011c48-0000-3400-0000-64ba09a10000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "ETag": [ "\"0000bfd3-0000-3400-0000-666929e40000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "72a4ab1c-2a83-43d2-907c-d548019c4070" ], - "x-ms-correlation-request-id": [ "ebb30065-2430-421c-a32d-b594686cd04e" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042922Z:ebb30065-2430-421c-a32d-b594686cd04e" ], + "x-ms-request-id": [ "c8dc8f11-6260-4a71-bd3c-aec1de551297" ], + "x-ms-correlation-request-id": [ "635edf4c-8944-4941-b9b2-13749eb6f47d" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045400Z:635edf4c-8944-4941-b9b2-13749eb6f47d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:22 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: A594A21C3FC94152B48068F1BADEAA30 Ref B: MAA201060516019 Ref C: 2024-06-12T04:53:58Z" ], + "Date": [ "Wed, 12 Jun 2024 04:54:00 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "887" ], + "Content-Length": [ "849" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/fseendpoint1hc715gxy\",\"name\":\"fseendpoint1hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:29:21.5382807Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:29:21.5382807Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storacchc715gxy\",\"fileShareName\":\"testfs\",\"endpointType\":\"AzureStorageSmbFileShare\",\"description\":\"New smb file share endpoint\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/fseendpoint1pul1qe2g\",\"name\":\"fseendpoint1pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:53:55.4546414Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:53:55.4546414Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storaccpul1qe2g\",\"fileShareName\":\"testfs\",\"endpointType\":\"AzureStorageSmbFileShare\",\"description\":\"New smb file share endpoint\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "New/Update-AzStorageMoverAzSmbFileShareEndpoint+[NoContext]+Create and update+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/fseendpoint2hc715gxy?api-version=2023-10-01+4": { + "New/Update-AzStorageMoverAzSmbFileShareEndpoint+[NoContext]+Create and update+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/fseendpoint2pul1qe2g?api-version=2024-07-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/fseendpoint2hc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/fseendpoint2pul1qe2g?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { "x-ms-unique-id": [ "28" ], - "x-ms-client-request-id": [ "eab0c0d7-cff6-4579-a7e2-86846f4799bd" ], + "x-ms-client-request-id": [ "2dcc8cc3-ea29-4d3c-95e7-6b20166800db" ], "CommandName": [ "Get-AzStorageMoverEndpoint" ], "FullCommandName": [ "Get-AzStorageMoverEndpoint_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -140,29 +149,32 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"2d011c48-0000-3400-0000-64ba09a10000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11983" ], + "ETag": [ "\"0000c0d3-0000-3400-0000-666929e60000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "72a4ab1c-2a83-43d2-907c-d548019c4070" ], - "x-ms-correlation-request-id": [ "ebb30065-2430-421c-a32d-b594686cd04e" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042922Z:ebb30065-2430-421c-a32d-b594686cd04e" ], + "x-ms-request-id": [ "88db07fc-156e-42a9-8f78-4311fb8be4d1" ], + "x-ms-correlation-request-id": [ "cae3f9dd-9e82-42ee-bd44-201e217ad088" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045402Z:cae3f9dd-9e82-42ee-bd44-201e217ad088" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:22 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: EFB0FB6C89B7496DB6A903CDD7D94A7B Ref B: MAA201060516019 Ref C: 2024-06-12T04:54:00Z" ], + "Date": [ "Wed, 12 Jun 2024 04:54:02 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "887" ], + "Content-Length": [ "849" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/fseendpoint2hc715gxy\",\"name\":\"fseendpoint2hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:29:21.5382807Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:29:21.5382807Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storacchc715gxy\",\"fileShareName\":\"testfs\",\"endpointType\":\"AzureStorageSmbFileShare\",\"description\":\"New smb file share endpoint\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/fseendpoint2pul1qe2g\",\"name\":\"fseendpoint2pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:53:57.4491946Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:53:57.4491946Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storaccpul1qe2g\",\"fileShareName\":\"testfs\",\"endpointType\":\"AzureStorageSmbFileShare\",\"description\":\"New smb file share endpoint\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "New/Update-AzStorageMoverAzSmbFileShareEndpoint+[NoContext]+Create and update+$PATCH+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/fseendpoint1hc715gxy?api-version=2023-10-01+5": { + "New/Update-AzStorageMoverAzSmbFileShareEndpoint+[NoContext]+Create and update+$PATCH+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/fseendpoint1pul1qe2g?api-version=2024-07-01+5": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/fseendpoint1hc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/fseendpoint1pul1qe2g?api-version=2024-07-01", "Content": "{\r\n \"properties\": {\r\n \"endpointType\": \"AzureStorageSmbFileShare\",\r\n \"description\": \"updated file share endpoint\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -177,30 +189,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"2d011e48-0000-3400-0000-64ba09a30000\"" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1190" ], + "ETag": [ "\"0000c1d3-0000-3400-0000-666929ee0000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "e95db91d-a025-43c8-ad7e-c8c1fef0ae2a" ], - "x-ms-request-id": [ "968c861f-53fc-4d13-84a6-7ebcf88e590f" ], - "x-ms-correlation-request-id": [ "b0e3a516-516a-478c-b8f9-4b373e973817" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042923Z:b0e3a516-516a-478c-b8f9-4b373e973817" ], + "mise-correlation-id": [ "680b944d-e4db-48bd-81ae-07e884c52c4c" ], + "x-ms-request-id": [ "2064faf0-968e-4048-829e-8c92c93ee616" ], + "x-ms-correlation-request-id": [ "d30b442a-3578-47b0-a277-13f3cf77538e" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045406Z:d30b442a-3578-47b0-a277-13f3cf77538e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:22 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 50093666787C4E63AD3E1AAB99D9FBA3 Ref B: MAA201060516019 Ref C: 2024-06-12T04:54:02Z" ], + "Date": [ "Wed, 12 Jun 2024 04:54:06 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "887" ], + "Content-Length": [ "849" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/fseendpoint1hc715gxy\",\"name\":\"fseendpoint1hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:29:21.5382807Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:29:23.3351405Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storacchc715gxy\",\"fileShareName\":\"testfs\",\"endpointType\":\"AzureStorageSmbFileShare\",\"description\":\"updated file share endpoint\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/fseendpoint1pul1qe2g\",\"name\":\"fseendpoint1pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:53:55.4546414Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:54:05.3818669Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storaccpul1qe2g\",\"fileShareName\":\"testfs\",\"endpointType\":\"AzureStorageSmbFileShare\",\"description\":\"updated file share endpoint\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "New/Update-AzStorageMoverAzSmbFileShareEndpoint+[NoContext]+Create and update+$PATCH+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/fseendpoint2hc715gxy?api-version=2023-10-01+6": { + "New/Update-AzStorageMoverAzSmbFileShareEndpoint+[NoContext]+Create and update+$PATCH+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/fseendpoint2pul1qe2g?api-version=2024-07-01+6": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/fseendpoint2hc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/fseendpoint2pul1qe2g?api-version=2024-07-01", "Content": "{\r\n \"properties\": {\r\n \"endpointType\": \"AzureStorageSmbFileShare\",\r\n \"description\": \"updated file share endpoint\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -215,39 +230,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"2d011e48-0000-3400-0000-64ba09a30000\"" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1190" ], + "ETag": [ "\"0000c3d3-0000-3400-0000-666929f00000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "e95db91d-a025-43c8-ad7e-c8c1fef0ae2a" ], - "x-ms-request-id": [ "968c861f-53fc-4d13-84a6-7ebcf88e590f" ], - "x-ms-correlation-request-id": [ "b0e3a516-516a-478c-b8f9-4b373e973817" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042923Z:b0e3a516-516a-478c-b8f9-4b373e973817" ], + "mise-correlation-id": [ "3a5ad696-1ba2-4ee6-8b10-e7a07ae5b442" ], + "x-ms-request-id": [ "699be297-799e-43e8-a71d-968e9d21d31e" ], + "x-ms-correlation-request-id": [ "32581b25-6b02-4e50-ae81-fc32f29c09f4" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045409Z:32581b25-6b02-4e50-ae81-fc32f29c09f4" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:22 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: B78A66968E9F488FB65AE46F53008BD2 Ref B: MAA201060516019 Ref C: 2024-06-12T04:54:07Z" ], + "Date": [ "Wed, 12 Jun 2024 04:54:08 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "887" ], + "Content-Length": [ "849" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/fseendpoint2hc715gxy\",\"name\":\"fseendpoint2hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:29:21.5382807Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:29:23.3351405Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storacchc715gxy\",\"fileShareName\":\"testfs\",\"endpointType\":\"AzureStorageSmbFileShare\",\"description\":\"updated file share endpoint\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/fseendpoint2pul1qe2g\",\"name\":\"fseendpoint2pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:53:57.4491946Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:54:07.7582701Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storaccpul1qe2g\",\"fileShareName\":\"testfs\",\"endpointType\":\"AzureStorageSmbFileShare\",\"description\":\"updated file share endpoint\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "New/Update-AzStorageMoverAzSmbFileShareEndpoint+[NoContext]+Create and update+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/fseendpoint1hc715gxy?api-version=2023-10-01+7": { + "New/Update-AzStorageMoverAzSmbFileShareEndpoint+[NoContext]+Create and update+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/fseendpoint1pul1qe2g?api-version=2024-07-01+7": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/fseendpoint1hc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/fseendpoint1pul1qe2g?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "30" ], - "x-ms-client-request-id": [ "85576754-82ea-4f57-8474-d454a6b94cb6" ], + "x-ms-unique-id": [ "31" ], + "x-ms-client-request-id": [ "218734f9-bbc1-4af2-99bc-411b4712461a" ], "CommandName": [ "Get-AzStorageMoverEndpoint" ], "FullCommandName": [ "Get-AzStorageMoverEndpoint_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -258,38 +276,41 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"2d011e48-0000-3400-0000-64ba09a30000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "ETag": [ "\"0000c1d3-0000-3400-0000-666929ee0000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "8ce80585-3365-4d04-a990-11f76a56b502" ], - "x-ms-correlation-request-id": [ "d6eb34a0-daad-44d3-88cc-469f0299c03c" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042924Z:d6eb34a0-daad-44d3-88cc-469f0299c03c" ], + "x-ms-request-id": [ "17beb4d1-8d5f-4c53-b609-d0309f5c20c5" ], + "x-ms-correlation-request-id": [ "e6a2f87e-5a7e-448d-8c3f-66717b3224ef" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045410Z:e6a2f87e-5a7e-448d-8c3f-66717b3224ef" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:24 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 0B517457CCEA47799394783177971DA8 Ref B: MAA201060516019 Ref C: 2024-06-12T04:54:09Z" ], + "Date": [ "Wed, 12 Jun 2024 04:54:10 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "887" ], + "Content-Length": [ "849" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/fseendpoint1hc715gxy\",\"name\":\"fseendpoint1hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:29:21.5382807Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:29:23.3351405Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storacchc715gxy\",\"fileShareName\":\"testfs\",\"endpointType\":\"AzureStorageSmbFileShare\",\"description\":\"updated file share endpoint\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/fseendpoint1pul1qe2g\",\"name\":\"fseendpoint1pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:53:55.4546414Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:54:05.3818669Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storaccpul1qe2g\",\"fileShareName\":\"testfs\",\"endpointType\":\"AzureStorageSmbFileShare\",\"description\":\"updated file share endpoint\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "New/Update-AzStorageMoverAzSmbFileShareEndpoint+[NoContext]+Create and update+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/fseendpoint2hc715gxy?api-version=2023-10-01+8": { + "New/Update-AzStorageMoverAzSmbFileShareEndpoint+[NoContext]+Create and update+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/fseendpoint2pul1qe2g?api-version=2024-07-01+8": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/fseendpoint2hc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/fseendpoint2pul1qe2g?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "30" ], - "x-ms-client-request-id": [ "85576754-82ea-4f57-8474-d454a6b94cb6" ], + "x-ms-unique-id": [ "32" ], + "x-ms-client-request-id": [ "c92682e1-c4e1-42c0-bae6-5546d9a0e350" ], "CommandName": [ "Get-AzStorageMoverEndpoint" ], "FullCommandName": [ "Get-AzStorageMoverEndpoint_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -300,22 +321,25 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"2d011e48-0000-3400-0000-64ba09a30000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11982" ], + "ETag": [ "\"0000c3d3-0000-3400-0000-666929f00000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "8ce80585-3365-4d04-a990-11f76a56b502" ], - "x-ms-correlation-request-id": [ "d6eb34a0-daad-44d3-88cc-469f0299c03c" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042924Z:d6eb34a0-daad-44d3-88cc-469f0299c03c" ], + "x-ms-request-id": [ "389e3603-c9b4-4919-91f4-fbbc6b477076" ], + "x-ms-correlation-request-id": [ "63a916fb-24b1-4a0d-9b51-0574f908fc10" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11997" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045411Z:63a916fb-24b1-4a0d-9b51-0574f908fc10" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:24 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 204D003CBC5A488383734F4243BA6B80 Ref B: MAA201060516019 Ref C: 2024-06-12T04:54:10Z" ], + "Date": [ "Wed, 12 Jun 2024 04:54:11 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "887" ], + "Content-Length": [ "849" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/fseendpoint2hc715gxy\",\"name\":\"fseendpoint2hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:29:21.5382807Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:29:23.3351405Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storacchc715gxy\",\"fileShareName\":\"testfs\",\"endpointType\":\"AzureStorageSmbFileShare\",\"description\":\"updated file share endpoint\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/fseendpoint2pul1qe2g\",\"name\":\"fseendpoint2pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:53:57.4491946Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:54:07.7582701Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storaccpul1qe2g\",\"fileShareName\":\"testfs\",\"endpointType\":\"AzureStorageSmbFileShare\",\"description\":\"updated file share endpoint\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } } diff --git a/src/StorageMover/StorageMover.Autorest/test/New-AzStorageMoverAzStorageContainerEndpoint.Recording.json b/src/StorageMover/StorageMover.Autorest/test/New-AzStorageMoverAzStorageContainerEndpoint.Recording.json index 669ae245e2ed..7039dc259976 100644 --- a/src/StorageMover/StorageMover.Autorest/test/New-AzStorageMoverAzStorageContainerEndpoint.Recording.json +++ b/src/StorageMover/StorageMover.Autorest/test/New-AzStorageMoverAzStorageContainerEndpoint.Recording.json @@ -1,9 +1,9 @@ { - "New-AzStorageMoverAzStorageContainerEndpoint+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/containerEndpoint1hc715gxy?api-version=2023-10-01+1": { + "New-AzStorageMoverAzStorageContainerEndpoint+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/containerEndpoint1pul1qe2g?api-version=2024-07-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/containerEndpoint1hc715gxy?api-version=2023-10-01", - "Content": "{\r\n \"properties\": {\r\n \"endpointType\": \"AzureStorageBlobContainer\",\r\n \"storageAccountResourceId\": \"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storacchc715gxy\",\r\n \"blobContainerName\": \"containerhc715gxy\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/containerEndpoint1pul1qe2g?api-version=2024-07-01", + "Content": "{\r\n \"properties\": {\r\n \"endpointType\": \"AzureStorageBlobContainer\",\r\n \"storageAccountResourceId\": \"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storaccpul1qe2g\",\r\n \"blobContainerName\": \"containerpul1qe2g\"\r\n }\r\n}", "isContentBase64": false, "Headers": { }, @@ -17,39 +17,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"2d011b48-0000-3400-0000-64ba099f0000\"" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1192" ], + "ETag": [ "\"0000c4d3-0000-3400-0000-666929f50000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "cd38ba65-cd8a-4982-9e33-01923791ad73" ], - "x-ms-request-id": [ "0220c9d7-d732-4e45-9b16-ace9b1fec267" ], - "x-ms-correlation-request-id": [ "56510a5f-dfc5-4786-9aac-4ddf55e3183b" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042919Z:56510a5f-dfc5-4786-9aac-4ddf55e3183b" ], + "mise-correlation-id": [ "ee71d36d-cf7a-4745-aed4-1e6e04e7ecc0" ], + "x-ms-request-id": [ "cdd0d128-3e4c-4cd3-903c-663f61cebfc8" ], + "x-ms-correlation-request-id": [ "56524fe4-0348-4441-b54e-44e84cbbbfdd" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045414Z:56524fe4-0348-4441-b54e-44e84cbbbfdd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:19 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: FF0B862F92824053AF8101D7CF193443 Ref B: MAA201060516019 Ref C: 2024-06-12T04:54:11Z" ], + "Date": [ "Wed, 12 Jun 2024 04:54:14 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "871" ], + "Content-Length": [ "833" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/containerEndpoint1hc715gxy\",\"name\":\"containerEndpoint1hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:29:19.2413935Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:29:19.2413935Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storacchc715gxy\",\"blobContainerName\":\"containerhc715gxy\",\"endpointType\":\"AzureStorageBlobContainer\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/containerEndpoint1pul1qe2g\",\"name\":\"containerEndpoint1pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:54:12.5269196Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:54:12.5269196Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storaccpul1qe2g\",\"blobContainerName\":\"containerpul1qe2g\",\"endpointType\":\"AzureStorageBlobContainer\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "New-AzStorageMoverAzStorageContainerEndpoint+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/containerEndpoint1hc715gxy?api-version=2023-10-01+2": { + "New-AzStorageMoverAzStorageContainerEndpoint+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/containerEndpoint1pul1qe2g?api-version=2024-07-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/containerEndpoint1hc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/containerEndpoint1pul1qe2g?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "26" ], - "x-ms-client-request-id": [ "01f509ad-3739-47e7-ad15-fc53c4f0b6d5" ], + "x-ms-unique-id": [ "34" ], + "x-ms-client-request-id": [ "0ec91893-e95d-4b9f-ae8a-60229f0f24c2" ], "CommandName": [ "Get-AzStorageMoverEndpoint" ], "FullCommandName": [ "Get-AzStorageMoverEndpoint_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -60,22 +63,25 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"2d011b48-0000-3400-0000-64ba099f0000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11984" ], + "ETag": [ "\"0000c4d3-0000-3400-0000-666929f50000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "e9dd17e6-734b-4b04-bccc-cea3fa9976c7" ], - "x-ms-correlation-request-id": [ "07513c12-83bf-4ac5-8c72-61e2e4b159ec" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042920Z:07513c12-83bf-4ac5-8c72-61e2e4b159ec" ], + "x-ms-request-id": [ "cd4468e2-10f4-4fcf-a38e-c0b27820c164" ], + "x-ms-correlation-request-id": [ "b1644e77-201f-4b9c-9103-754a673a0cdc" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045414Z:b1644e77-201f-4b9c-9103-754a673a0cdc" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:20 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 11EA824F638647F8A77E1FDD66C0FED9 Ref B: MAA201060516019 Ref C: 2024-06-12T04:54:14Z" ], + "Date": [ "Wed, 12 Jun 2024 04:54:14 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "871" ], + "Content-Length": [ "833" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/containerEndpoint1hc715gxy\",\"name\":\"containerEndpoint1hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:29:19.2413935Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:29:19.2413935Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storacchc715gxy\",\"blobContainerName\":\"containerhc715gxy\",\"endpointType\":\"AzureStorageBlobContainer\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/containerEndpoint1pul1qe2g\",\"name\":\"containerEndpoint1pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:54:12.5269196Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:54:12.5269196Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storaccpul1qe2g\",\"blobContainerName\":\"containerpul1qe2g\",\"endpointType\":\"AzureStorageBlobContainer\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } } diff --git a/src/StorageMover/StorageMover.Autorest/test/New-AzStorageMoverJobDefinition.Recording.json b/src/StorageMover/StorageMover.Autorest/test/New-AzStorageMoverJobDefinition.Recording.json index aed884a227ca..b96431045ea0 100644 --- a/src/StorageMover/StorageMover.Autorest/test/New-AzStorageMoverJobDefinition.Recording.json +++ b/src/StorageMover/StorageMover.Autorest/test/New-AzStorageMoverJobDefinition.Recording.json @@ -1,15 +1,15 @@ { - "New-AzStorageMoverJobDefinition+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testJob1hc715gxy?api-version=2023-10-01+1": { + "New-AzStorageMoverJobDefinition+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testJob1pul1qe2g?api-version=2024-07-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testJob1hc715gxy?api-version=2023-10-01", - "Content": "{\r\n \"properties\": {\r\n \"copyMode\": \"Additive\",\r\n \"sourceName\": \"nfsEndpointhc715gxy\",\r\n \"targetName\": \"containerEndpointhc715gxy\",\r\n \"agentName\": \"testagent1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testJob1pul1qe2g?api-version=2024-07-01", + "Content": "{\r\n \"properties\": {\r\n \"copyMode\": \"Additive\",\r\n \"sourceName\": \"nfsEndpointpul1qe2g\",\r\n \"targetName\": \"containerEndpointpul1qe2g\",\r\n \"agentName\": \"testagent12\"\r\n }\r\n}", "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "178" ] + "Content-Length": [ "179" ] } }, "Response": { @@ -17,39 +17,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"0100652c-0000-3400-0000-64ba09a50000\"" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1189" ], + "ETag": [ "\"00003e66-0000-3400-0000-666929f90000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "9846e47b-346f-45e7-bb19-7ba54368d2ff" ], - "x-ms-request-id": [ "5c994744-d17d-46a1-9465-4fa93138468c" ], - "x-ms-correlation-request-id": [ "7e572499-2e12-4bbe-abfd-ecacff3667d9" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042925Z:7e572499-2e12-4bbe-abfd-ecacff3667d9" ], + "mise-correlation-id": [ "a280c443-47e2-43c4-b116-69c7e2742cd3" ], + "x-ms-request-id": [ "0f5a56c6-dc22-49c1-a974-35c690c574cf" ], + "x-ms-correlation-request-id": [ "6c0159ad-7afa-4517-9164-79de9e5b3956" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045418Z:6c0159ad-7afa-4517-9164-79de9e5b3956" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:25 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 9808004FAB244593B041D84AFA6B2CBF Ref B: MAA201060516019 Ref C: 2024-06-12T04:54:15Z" ], + "Date": [ "Wed, 12 Jun 2024 04:54:18 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1355" ], + "Content-Length": [ "1319" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testJob1hc715gxy\",\"name\":\"testJob1hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/projects/jobdefinitions\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:29:25.5078323Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:29:25.5078323Z\"},\"properties\":{\"copyMode\":\"Additive\",\"sourceName\":\"nfsEndpointhc715gxy\",\"sourceResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointhc715gxy\",\"targetName\":\"containerEndpointhc715gxy\",\"targetResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointhc715gxy\",\"agentName\":\"testagent1\",\"agentResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent1\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testJob1pul1qe2g\",\"name\":\"testJob1pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/projects/jobdefinitions\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:54:16.4550023Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:54:16.4550023Z\"},\"properties\":{\"copyMode\":\"Additive\",\"sourceName\":\"nfsEndpointpul1qe2g\",\"sourceResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointpul1qe2g\",\"targetName\":\"containerEndpointpul1qe2g\",\"targetResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointpul1qe2g\",\"agentName\":\"testagent12\",\"agentResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent12\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "New-AzStorageMoverJobDefinition+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testJob1hc715gxy?api-version=2023-10-01+2": { + "New-AzStorageMoverJobDefinition+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testJob1pul1qe2g?api-version=2024-07-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testJob1hc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testJob1pul1qe2g?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "32" ], - "x-ms-client-request-id": [ "a4248f1b-8b99-41f1-81d4-9932c5fdc9ab" ], + "x-ms-unique-id": [ "36" ], + "x-ms-client-request-id": [ "b48c490b-1d11-477d-bd96-78bb43fa0573" ], "CommandName": [ "Get-AzStorageMoverJobDefinition" ], "FullCommandName": [ "Get-AzStorageMoverJobDefinition_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -60,22 +63,25 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"0100652c-0000-3400-0000-64ba09a50000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11981" ], + "ETag": [ "\"00003e66-0000-3400-0000-666929f90000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "594a5133-862e-43ee-a50a-9ec414188683" ], - "x-ms-correlation-request-id": [ "5d778015-5787-448b-887e-ce39d63339ed" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042926Z:5d778015-5787-448b-887e-ce39d63339ed" ], + "x-ms-request-id": [ "51c2b750-4528-4fe7-9aa2-f6f34bd915cf" ], + "x-ms-correlation-request-id": [ "fd41887d-3854-4be2-a9c1-dc351579bf63" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045419Z:fd41887d-3854-4be2-a9c1-dc351579bf63" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:26 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: C5FA5DEB67F84EDCBB1210187A8C2B31 Ref B: MAA201060516019 Ref C: 2024-06-12T04:54:18Z" ], + "Date": [ "Wed, 12 Jun 2024 04:54:19 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1355" ], + "Content-Length": [ "1319" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testJob1hc715gxy\",\"name\":\"testJob1hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/projects/jobdefinitions\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:29:25.5078323Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:29:25.5078323Z\"},\"properties\":{\"copyMode\":\"Additive\",\"sourceName\":\"nfsEndpointhc715gxy\",\"sourceResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointhc715gxy\",\"targetName\":\"containerEndpointhc715gxy\",\"targetResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointhc715gxy\",\"agentName\":\"testagent1\",\"agentResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent1\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testJob1pul1qe2g\",\"name\":\"testJob1pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/projects/jobdefinitions\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:54:16.4550023Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:54:16.4550023Z\"},\"properties\":{\"copyMode\":\"Additive\",\"sourceName\":\"nfsEndpointpul1qe2g\",\"sourceResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointpul1qe2g\",\"targetName\":\"containerEndpointpul1qe2g\",\"targetResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointpul1qe2g\",\"agentName\":\"testagent12\",\"agentResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent12\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } } diff --git a/src/StorageMover/StorageMover.Autorest/test/New-AzStorageMoverNfsEndpoint.Recording.json b/src/StorageMover/StorageMover.Autorest/test/New-AzStorageMoverNfsEndpoint.Recording.json index da6879d9188f..815ca6a41f35 100644 --- a/src/StorageMover/StorageMover.Autorest/test/New-AzStorageMoverNfsEndpoint.Recording.json +++ b/src/StorageMover/StorageMover.Autorest/test/New-AzStorageMoverNfsEndpoint.Recording.json @@ -1,8 +1,8 @@ { - "New-AzStorageMoverNfsEndpoint+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/testNfsEndpointhc715gxy?api-version=2023-10-01+1": { + "New-AzStorageMoverNfsEndpoint+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/testNfsEndpointpul1qe2g?api-version=2024-07-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/testNfsEndpointhc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/testNfsEndpointpul1qe2g?api-version=2024-07-01", "Content": "{\r\n \"properties\": {\r\n \"endpointType\": \"NfsMount\",\r\n \"description\": \"Nfs endpoint description\",\r\n \"host\": \"10.0.0.1\",\r\n \"nfsVersion\": \"NFSv3\",\r\n \"export\": \"/\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -17,39 +17,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"2d011f48-0000-3400-0000-64ba09a70000\"" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1188" ], + "ETag": [ "\"0000c6d3-0000-3400-0000-666929fd0000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "98eedf8f-0238-40ca-a8eb-8a56535800f8" ], - "x-ms-request-id": [ "78c1b1fb-7e50-4e20-a45c-d0884c7f2c4b" ], - "x-ms-correlation-request-id": [ "bef658ae-f58b-437d-8238-0fffd621189d" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042927Z:bef658ae-f58b-437d-8238-0fffd621189d" ], + "mise-correlation-id": [ "5253bbad-27af-44ee-8d82-a6c1f56555b2" ], + "x-ms-request-id": [ "5bbe8874-2447-466c-ac1a-3ccd68b55cbc" ], + "x-ms-correlation-request-id": [ "8ade426d-7bac-4b88-b4dc-2c78ed2cfc8a" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045421Z:8ade426d-7bac-4b88-b4dc-2c78ed2cfc8a" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:27 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: F9DCE27F75D9412F8AF8E29BEA9D22C6 Ref B: MAA201060516019 Ref C: 2024-06-12T04:54:19Z" ], + "Date": [ "Wed, 12 Jun 2024 04:54:21 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "728" ], + "Content-Length": [ "690" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/testNfsEndpointhc715gxy\",\"name\":\"testNfsEndpointhc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:29:27.7109424Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:29:27.7109424Z\"},\"properties\":{\"host\":\"10.0.0.1\",\"nfsVersion\":\"NFSv3\",\"export\":\"/\",\"endpointType\":\"NfsMount\",\"description\":\"Nfs endpoint description\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/testNfsEndpointpul1qe2g\",\"name\":\"testNfsEndpointpul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:54:20.4693602Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:54:20.4693602Z\"},\"properties\":{\"host\":\"10.0.0.1\",\"nfsVersion\":\"NFSv3\",\"export\":\"/\",\"endpointType\":\"NfsMount\",\"description\":\"Nfs endpoint description\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "New-AzStorageMoverNfsEndpoint+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/testNfsEndpointhc715gxy?api-version=2023-10-01+2": { + "New-AzStorageMoverNfsEndpoint+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/testNfsEndpointpul1qe2g?api-version=2024-07-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/testNfsEndpointhc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/testNfsEndpointpul1qe2g?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "34" ], - "x-ms-client-request-id": [ "39437a5f-6755-476c-93ee-5ea2ad57bc95" ], + "x-ms-unique-id": [ "38" ], + "x-ms-client-request-id": [ "0fbd821d-4f2e-4538-8f62-d72a6be46c30" ], "CommandName": [ "Get-AzStorageMoverEndpoint" ], "FullCommandName": [ "Get-AzStorageMoverEndpoint_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -60,22 +63,25 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"2d011f48-0000-3400-0000-64ba09a70000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11980" ], + "ETag": [ "\"0000c6d3-0000-3400-0000-666929fd0000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "dca3b533-6a00-402f-acb6-6edc6f80dedd" ], - "x-ms-correlation-request-id": [ "d24fe97d-c63b-48c7-a544-84a5b1f47e8e" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042928Z:d24fe97d-c63b-48c7-a544-84a5b1f47e8e" ], + "x-ms-request-id": [ "5583ac46-19f3-4576-93be-56d10945a7fb" ], + "x-ms-correlation-request-id": [ "460db09f-1e31-400d-957f-ca9ddc3590c9" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045422Z:460db09f-1e31-400d-957f-ca9ddc3590c9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:27 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: CA51D672BF7C4C83A6D29E315CF5A1A7 Ref B: MAA201060516019 Ref C: 2024-06-12T04:54:21Z" ], + "Date": [ "Wed, 12 Jun 2024 04:54:22 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "728" ], + "Content-Length": [ "690" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/testNfsEndpointhc715gxy\",\"name\":\"testNfsEndpointhc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:29:27.7109424Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:29:27.7109424Z\"},\"properties\":{\"host\":\"10.0.0.1\",\"nfsVersion\":\"NFSv3\",\"export\":\"/\",\"endpointType\":\"NfsMount\",\"description\":\"Nfs endpoint description\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/testNfsEndpointpul1qe2g\",\"name\":\"testNfsEndpointpul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:54:20.4693602Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:54:20.4693602Z\"},\"properties\":{\"host\":\"10.0.0.1\",\"nfsVersion\":\"NFSv3\",\"export\":\"/\",\"endpointType\":\"NfsMount\",\"description\":\"Nfs endpoint description\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } } diff --git a/src/StorageMover/StorageMover.Autorest/test/New-AzStorageMoverProject.Recording.json b/src/StorageMover/StorageMover.Autorest/test/New-AzStorageMoverProject.Recording.json index 7166fe89f717..e93ab2791db1 100644 --- a/src/StorageMover/StorageMover.Autorest/test/New-AzStorageMoverProject.Recording.json +++ b/src/StorageMover/StorageMover.Autorest/test/New-AzStorageMoverProject.Recording.json @@ -1,8 +1,8 @@ { - "New-AzStorageMoverProject+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/projects/testProjecthc715gxy?api-version=2023-10-01+1": { + "New-AzStorageMoverProject+[NoContext]+CreateExpanded+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/projects/testProjectpul1qe2g?api-version=2024-07-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/projects/testProjecthc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/projects/testProjectpul1qe2g?api-version=2024-07-01", "Content": "{\r\n \"properties\": {\r\n \"description\": \"test project description\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -17,39 +17,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"2d01ea02-0000-3400-0000-64ba09a90000\"" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1187" ], + "ETag": [ "\"0000f136-0000-3400-0000-66692a000000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "35830e65-e633-4911-a33f-dc7af35e734b" ], - "x-ms-request-id": [ "39a7ceb2-78ac-4c01-b03d-176adf28c0e5" ], - "x-ms-correlation-request-id": [ "a8fd9d27-9e5d-41b4-8cb3-7a48a48c1c02" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042929Z:a8fd9d27-9e5d-41b4-8cb3-7a48a48c1c02" ], + "mise-correlation-id": [ "d5b12637-c892-4476-9468-e5758d37d070" ], + "x-ms-request-id": [ "220a0e95-5b92-4dae-a4aa-f57756d63e4c" ], + "x-ms-correlation-request-id": [ "fe48e2cc-675e-484a-8102-f952d0951157" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045425Z:fe48e2cc-675e-484a-8102-f952d0951157" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:28 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 6668A3BFA5D64EBDB58D474C43948F1E Ref B: MAA201060516019 Ref C: 2024-06-12T04:54:23Z" ], + "Date": [ "Wed, 12 Jun 2024 04:54:25 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "640" ], + "Content-Length": [ "602" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/projects/testProjecthc715gxy\",\"name\":\"testProjecthc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/projects\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:28:58.1006856Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:29:29.4609543Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"description\":\"test project description\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/projects/testProjectpul1qe2g\",\"name\":\"testProjectpul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/projects\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:53:12.2543326Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:54:23.8146635Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"description\":\"test project description\"}}", "isContentBase64": false } }, - "New-AzStorageMoverProject+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/projects/testProjecthc715gxy?api-version=2023-10-01+2": { + "New-AzStorageMoverProject+[NoContext]+CreateExpanded+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/projects/testProjectpul1qe2g?api-version=2024-07-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/projects/testProjecthc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/projects/testProjectpul1qe2g?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "36" ], - "x-ms-client-request-id": [ "0c849d23-9577-4eb6-a54c-beb4328da3e5" ], + "x-ms-unique-id": [ "40" ], + "x-ms-client-request-id": [ "1e03b73f-eafc-41b3-b7da-ce98df8d2469" ], "CommandName": [ "Get-AzStorageMoverProject" ], "FullCommandName": [ "Get-AzStorageMoverProject_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -60,22 +63,25 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"2d01ea02-0000-3400-0000-64ba09a90000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11979" ], + "ETag": [ "\"0000f136-0000-3400-0000-66692a000000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "3913393b-3f76-4232-87a3-a45d2a5078e7" ], - "x-ms-correlation-request-id": [ "873d7805-2981-47e2-ac44-f4bc744ac6ad" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042930Z:873d7805-2981-47e2-ac44-f4bc744ac6ad" ], + "x-ms-request-id": [ "f5f30683-b190-4a8f-ad3e-747fe01aea21" ], + "x-ms-correlation-request-id": [ "303bf766-747f-4816-98e7-67803a132620" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045426Z:303bf766-747f-4816-98e7-67803a132620" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:29 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 3818467AFD9C413EA8D3BEDDBAA36A09 Ref B: MAA201060516019 Ref C: 2024-06-12T04:54:25Z" ], + "Date": [ "Wed, 12 Jun 2024 04:54:26 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "640" ], + "Content-Length": [ "602" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/projects/testProjecthc715gxy\",\"name\":\"testProjecthc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/projects\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:28:58.1006856Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:29:29.4609543Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"description\":\"test project description\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/projects/testProjectpul1qe2g\",\"name\":\"testProjectpul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/projects\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:53:12.2543326Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:54:23.8146635Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"description\":\"test project description\"}}", "isContentBase64": false } } diff --git a/src/StorageMover/StorageMover.Autorest/test/New-AzStorageMoverSmbEndpoint.Recording.json b/src/StorageMover/StorageMover.Autorest/test/New-AzStorageMoverSmbEndpoint.Recording.json index d6216b76071e..b9c953f929cf 100644 --- a/src/StorageMover/StorageMover.Autorest/test/New-AzStorageMoverSmbEndpoint.Recording.json +++ b/src/StorageMover/StorageMover.Autorest/test/New-AzStorageMoverSmbEndpoint.Recording.json @@ -1,9 +1,9 @@ { - "New/Update-AzStorageMoverSmbEndpoint+[NoContext]+Create and update+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/testsmbendpoint1hc715gxy?api-version=2023-10-01+1": { + "New/Update-AzStorageMoverSmbEndpoint+[NoContext]+Create and update+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/testsmbendpoint1pul1qe2g?api-version=2024-07-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/testsmbendpoint1hc715gxy?api-version=2023-10-01", - "Content": "{\r\n \"properties\": {\r\n \"endpointType\": \"SmbMount\",\r\n \"description\": \"new smb endpoint\",\r\n \"credentials\": {\r\n \"type\": \"AzureKeyVaultSmb\",\r\n \"usernameUri\": \"https://examples-azureKeyVault.vault.azure.net/secrets/examples-username\",\r\n \"passwordUri\": \"https://examples-azureKeyVault.vault.azure.net/secrets/examples-password\"\r\n },\r\n \"host\": \"10.0.0.1\",\r\n \"shareName\": \"shareNamehc715gxy\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/testsmbendpoint1pul1qe2g?api-version=2024-07-01", + "Content": "{\r\n \"properties\": {\r\n \"endpointType\": \"SmbMount\",\r\n \"description\": \"new smb endpoint\",\r\n \"credentials\": {\r\n \"type\": \"AzureKeyVaultSmb\",\r\n \"usernameUri\": \"https://examples-azureKeyVault.vault.azure.net/secrets/examples-username\",\r\n \"passwordUri\": \"https://examples-azureKeyVault.vault.azure.net/secrets/examples-password\"\r\n },\r\n \"host\": \"10.0.0.1\",\r\n \"shareName\": \"shareNamepul1qe2g\"\r\n }\r\n}", "isContentBase64": false, "Headers": { }, @@ -17,39 +17,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"2d012048-0000-3400-0000-64ba09ab0000\"" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1186" ], + "ETag": [ "\"0000c7d3-0000-3400-0000-66692a040000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "d3e6e6e3-8ecf-41c2-99e2-956ecf0b9c12" ], - "x-ms-request-id": [ "610219d0-e7dc-429d-8bb5-5b66b1f28b9b" ], - "x-ms-correlation-request-id": [ "865b7953-7561-49bf-b2f6-1c9d436b3de1" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042931Z:865b7953-7561-49bf-b2f6-1c9d436b3de1" ], + "mise-correlation-id": [ "83ee7d19-5ae6-4d8c-9581-75f299df6d65" ], + "x-ms-request-id": [ "302506b0-5740-43f9-849b-def4ef371a3f" ], + "x-ms-correlation-request-id": [ "87da9676-18ad-4cb7-a1c7-4678d3abe508" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045428Z:87da9676-18ad-4cb7-a1c7-4678d3abe508" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:30 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: D3D40C2533154CF3AD2A40DC499A9566 Ref B: MAA201060516019 Ref C: 2024-06-12T04:54:26Z" ], + "Date": [ "Wed, 12 Jun 2024 04:54:28 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "940" ], + "Content-Length": [ "902" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/testsmbendpoint1hc715gxy\",\"name\":\"testsmbendpoint1hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:29:31.1797491Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:29:31.1797491Z\"},\"properties\":{\"host\":\"10.0.0.1\",\"shareName\":\"shareNamehc715gxy\",\"credentials\":{\"usernameUri\":\"https://examples-azureKeyVault.vault.azure.net/secrets/examples-username\",\"passwordUri\":\"https://examples-azureKeyVault.vault.azure.net/secrets/examples-password\",\"type\":\"AzureKeyVaultSmb\"},\"endpointType\":\"SmbMount\",\"description\":\"new smb endpoint\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/testsmbendpoint1pul1qe2g\",\"name\":\"testsmbendpoint1pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:54:27.3542784Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:54:27.3542784Z\"},\"properties\":{\"host\":\"10.0.0.1\",\"shareName\":\"shareNamepul1qe2g\",\"credentials\":{\"usernameUri\":\"https://examples-azureKeyVault.vault.azure.net/secrets/examples-username\",\"passwordUri\":\"https://examples-azureKeyVault.vault.azure.net/secrets/examples-password\",\"type\":\"AzureKeyVaultSmb\"},\"endpointType\":\"SmbMount\",\"description\":\"new smb endpoint\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "New/Update-AzStorageMoverSmbEndpoint+[NoContext]+Create and update+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/testsmbendpoint1hc715gxy?api-version=2023-10-01+2": { + "New/Update-AzStorageMoverSmbEndpoint+[NoContext]+Create and update+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/testsmbendpoint1pul1qe2g?api-version=2024-07-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/testsmbendpoint1hc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/testsmbendpoint1pul1qe2g?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "38" ], - "x-ms-client-request-id": [ "95c7ea35-0f0f-4d8f-8843-f81ad8f33777" ], + "x-ms-unique-id": [ "42" ], + "x-ms-client-request-id": [ "b70f5c80-3baf-4cd0-a6c7-79b65a462c91" ], "CommandName": [ "Get-AzStorageMoverEndpoint" ], "FullCommandName": [ "Get-AzStorageMoverEndpoint_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -60,29 +63,32 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"2d012048-0000-3400-0000-64ba09ab0000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11978" ], + "ETag": [ "\"0000c7d3-0000-3400-0000-66692a040000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "50357129-d489-4638-b16d-808c439f7514" ], - "x-ms-correlation-request-id": [ "11dc97dd-060e-449d-9115-70055dfa5b4f" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042932Z:11dc97dd-060e-449d-9115-70055dfa5b4f" ], + "x-ms-request-id": [ "b9dc0f50-4bfa-4c26-9855-fc988256f71f" ], + "x-ms-correlation-request-id": [ "86323328-7d13-4678-aabd-036a470dde1d" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045429Z:86323328-7d13-4678-aabd-036a470dde1d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:32 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 4DA75E1C81104DB8BB7EBA6AA0D498AE Ref B: MAA201060516019 Ref C: 2024-06-12T04:54:28Z" ], + "Date": [ "Wed, 12 Jun 2024 04:54:29 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "940" ], + "Content-Length": [ "902" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/testsmbendpoint1hc715gxy\",\"name\":\"testsmbendpoint1hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:29:31.1797491Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:29:31.1797491Z\"},\"properties\":{\"host\":\"10.0.0.1\",\"shareName\":\"shareNamehc715gxy\",\"credentials\":{\"usernameUri\":\"https://examples-azureKeyVault.vault.azure.net/secrets/examples-username\",\"passwordUri\":\"https://examples-azureKeyVault.vault.azure.net/secrets/examples-password\",\"type\":\"AzureKeyVaultSmb\"},\"endpointType\":\"SmbMount\",\"description\":\"new smb endpoint\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/testsmbendpoint1pul1qe2g\",\"name\":\"testsmbendpoint1pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:54:27.3542784Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:54:27.3542784Z\"},\"properties\":{\"host\":\"10.0.0.1\",\"shareName\":\"shareNamepul1qe2g\",\"credentials\":{\"usernameUri\":\"https://examples-azureKeyVault.vault.azure.net/secrets/examples-username\",\"passwordUri\":\"https://examples-azureKeyVault.vault.azure.net/secrets/examples-password\",\"type\":\"AzureKeyVaultSmb\"},\"endpointType\":\"SmbMount\",\"description\":\"new smb endpoint\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "New/Update-AzStorageMoverSmbEndpoint+[NoContext]+Create and update+$PATCH+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/testsmbendpoint1hc715gxy?api-version=2023-10-01+3": { + "New/Update-AzStorageMoverSmbEndpoint+[NoContext]+Create and update+$PATCH+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/testsmbendpoint1pul1qe2g?api-version=2024-07-01+3": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/testsmbendpoint1hc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/testsmbendpoint1pul1qe2g?api-version=2024-07-01", "Content": "{\r\n \"properties\": {\r\n \"endpointType\": \"SmbMount\",\r\n \"description\": \"update smb endpoint\",\r\n \"credentials\": {\r\n \"type\": \"AzureKeyVaultSmb\",\r\n \"usernameUri\": \"https://examples-azureKeyVault.vault.azure.net/secrets/examples-username1\",\r\n \"passwordUri\": \"https://examples-azureKeyVault.vault.azure.net/secrets/examples-password1\"\r\n }\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -97,39 +103,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"2d012148-0000-3400-0000-64ba09ad0000\"" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1185" ], + "ETag": [ "\"0000c8d3-0000-3400-0000-66692a070000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "0e3f3cd2-ccd7-4252-8012-b74b9b452cc3" ], - "x-ms-request-id": [ "51a42ae1-6720-407f-a13f-917e06f9a8c7" ], - "x-ms-correlation-request-id": [ "8bee3280-2f6f-4480-a221-5fdd9d668737" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042933Z:8bee3280-2f6f-4480-a221-5fdd9d668737" ], + "mise-correlation-id": [ "86074c29-aa4b-470f-82d1-2562ee0d0804" ], + "x-ms-request-id": [ "084a14eb-fb4a-476b-ba4b-90ad49a56a64" ], + "x-ms-correlation-request-id": [ "161ac54c-6d0d-408d-a71d-f5872f1f36d0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045431Z:161ac54c-6d0d-408d-a71d-f5872f1f36d0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:32 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 01C700B208C24A689E55E5D73B28E2A4 Ref B: MAA201060516019 Ref C: 2024-06-12T04:54:30Z" ], + "Date": [ "Wed, 12 Jun 2024 04:54:31 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "945" ], + "Content-Length": [ "906" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/testsmbendpoint1hc715gxy\",\"name\":\"testsmbendpoint1hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:29:31.1797491Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:29:32.9140685Z\"},\"properties\":{\"host\":\"10.0.0.1\",\"shareName\":\"shareNamehc715gxy\",\"credentials\":{\"usernameUri\":\"https://examples-azureKeyVault.vault.azure.net/secrets/examples-username1\",\"passwordUri\":\"https://examples-azureKeyVault.vault.azure.net/secrets/examples-password1\",\"type\":\"AzureKeyVaultSmb\"},\"endpointType\":\"SmbMount\",\"description\":\"update smb endpoint\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/testsmbendpoint1pul1qe2g\",\"name\":\"testsmbendpoint1pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:54:27.3542784Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:54:30.648054Z\"},\"properties\":{\"host\":\"10.0.0.1\",\"shareName\":\"shareNamepul1qe2g\",\"credentials\":{\"usernameUri\":\"https://examples-azureKeyVault.vault.azure.net/secrets/examples-username1\",\"passwordUri\":\"https://examples-azureKeyVault.vault.azure.net/secrets/examples-password1\",\"type\":\"AzureKeyVaultSmb\"},\"endpointType\":\"SmbMount\",\"description\":\"update smb endpoint\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "New/Update-AzStorageMoverSmbEndpoint+[NoContext]+Create and update+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/testsmbendpoint1hc715gxy?api-version=2023-10-01+4": { + "New/Update-AzStorageMoverSmbEndpoint+[NoContext]+Create and update+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/testsmbendpoint1pul1qe2g?api-version=2024-07-01+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/testsmbendpoint1hc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/testsmbendpoint1pul1qe2g?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "40" ], - "x-ms-client-request-id": [ "20e47148-d99b-4f0f-abfd-644d394088a0" ], + "x-ms-unique-id": [ "44" ], + "x-ms-client-request-id": [ "a8d8b719-630e-45b7-97b7-1a83c1859146" ], "CommandName": [ "Get-AzStorageMoverEndpoint" ], "FullCommandName": [ "Get-AzStorageMoverEndpoint_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -140,29 +149,32 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"2d012148-0000-3400-0000-64ba09ad0000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11977" ], + "ETag": [ "\"0000c8d3-0000-3400-0000-66692a070000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "c3950bc9-82cf-4253-a5a8-ace8a780e419" ], - "x-ms-correlation-request-id": [ "94c28a2a-31d3-4bc4-9905-0da9a8d80df1" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042933Z:94c28a2a-31d3-4bc4-9905-0da9a8d80df1" ], + "x-ms-request-id": [ "a483b167-61cf-498c-bfae-3117e0d7618d" ], + "x-ms-correlation-request-id": [ "60575b89-1970-43af-b343-0ec65055f8a9" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045432Z:60575b89-1970-43af-b343-0ec65055f8a9" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:33 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 997F1EE9BD904328BAD5A80E0A047044 Ref B: MAA201060516019 Ref C: 2024-06-12T04:54:31Z" ], + "Date": [ "Wed, 12 Jun 2024 04:54:32 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "945" ], + "Content-Length": [ "906" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/testsmbendpoint1hc715gxy\",\"name\":\"testsmbendpoint1hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:29:31.1797491Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:29:32.9140685Z\"},\"properties\":{\"host\":\"10.0.0.1\",\"shareName\":\"shareNamehc715gxy\",\"credentials\":{\"usernameUri\":\"https://examples-azureKeyVault.vault.azure.net/secrets/examples-username1\",\"passwordUri\":\"https://examples-azureKeyVault.vault.azure.net/secrets/examples-password1\",\"type\":\"AzureKeyVaultSmb\"},\"endpointType\":\"SmbMount\",\"description\":\"update smb endpoint\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/testsmbendpoint1pul1qe2g\",\"name\":\"testsmbendpoint1pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:54:27.3542784Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:54:30.648054Z\"},\"properties\":{\"host\":\"10.0.0.1\",\"shareName\":\"shareNamepul1qe2g\",\"credentials\":{\"usernameUri\":\"https://examples-azureKeyVault.vault.azure.net/secrets/examples-username1\",\"passwordUri\":\"https://examples-azureKeyVault.vault.azure.net/secrets/examples-password1\",\"type\":\"AzureKeyVaultSmb\"},\"endpointType\":\"SmbMount\",\"description\":\"update smb endpoint\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "New/Update-AzStorageMoverSmbEndpoint+[NoContext]+Create and update+$PATCH+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/testsmbendpoint1hc715gxy?api-version=2023-10-01+5": { + "New/Update-AzStorageMoverSmbEndpoint+[NoContext]+Create and update+$PATCH+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/testsmbendpoint1pul1qe2g?api-version=2024-07-01+5": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/testsmbendpoint1hc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/testsmbendpoint1pul1qe2g?api-version=2024-07-01", "Content": "{\r\n \"properties\": {\r\n \"endpointType\": \"SmbMount\",\r\n \"credentials\": {\r\n \"type\": \"AzureKeyVaultSmb\",\r\n \"usernameUri\": \"\",\r\n \"passwordUri\": \"\"\r\n }\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -177,23 +189,26 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"2d012448-0000-3400-0000-64ba09ae0000\"" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1184" ], + "ETag": [ "\"0000c9d3-0000-3400-0000-66692a0a0000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "12bcb706-634e-4b11-9a64-7563030e7ff3" ], - "x-ms-request-id": [ "0b2c5878-d220-470c-9df7-60d56ff2be7f" ], - "x-ms-correlation-request-id": [ "faa0d55a-30a5-4460-83fa-c801afaf8205" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042934Z:faa0d55a-30a5-4460-83fa-c801afaf8205" ], + "mise-correlation-id": [ "d02f0a41-0383-4536-9fde-e4045609c393" ], + "x-ms-request-id": [ "5c1f9259-390a-417c-97d1-42406e54b60d" ], + "x-ms-correlation-request-id": [ "517468b9-9de3-4a62-9f57-6c7c90cab773" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045434Z:517468b9-9de3-4a62-9f57-6c7c90cab773" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:33 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 97FA92C26AB24F36A648B9D7E19F98C2 Ref B: MAA201060516019 Ref C: 2024-06-12T04:54:32Z" ], + "Date": [ "Wed, 12 Jun 2024 04:54:34 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "799" ], + "Content-Length": [ "761" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/testsmbendpoint1hc715gxy\",\"name\":\"testsmbendpoint1hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:29:31.1797491Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:29:34.7594547Z\"},\"properties\":{\"host\":\"10.0.0.1\",\"shareName\":\"shareNamehc715gxy\",\"credentials\":{\"usernameUri\":\"\",\"passwordUri\":\"\",\"type\":\"AzureKeyVaultSmb\"},\"endpointType\":\"SmbMount\",\"description\":\"update smb endpoint\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/testsmbendpoint1pul1qe2g\",\"name\":\"testsmbendpoint1pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:54:27.3542784Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:54:33.6266407Z\"},\"properties\":{\"host\":\"10.0.0.1\",\"shareName\":\"shareNamepul1qe2g\",\"credentials\":{\"usernameUri\":\"\",\"passwordUri\":\"\",\"type\":\"AzureKeyVaultSmb\"},\"endpointType\":\"SmbMount\",\"description\":\"update smb endpoint\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } } diff --git a/src/StorageMover/StorageMover.Autorest/test/New-AzStorageMoverUploadLimitWeeklyRecurrenceObject.Tests.ps1 b/src/StorageMover/StorageMover.Autorest/test/New-AzStorageMoverUploadLimitWeeklyRecurrenceObject.Tests.ps1 new file mode 100644 index 000000000000..b801985c9541 --- /dev/null +++ b/src/StorageMover/StorageMover.Autorest/test/New-AzStorageMoverUploadLimitWeeklyRecurrenceObject.Tests.ps1 @@ -0,0 +1,21 @@ +if(($null -eq $TestName) -or ($TestName -contains 'New-AzStorageMoverUploadLimitWeeklyRecurrenceObject')) +{ + $loadEnvPath = Join-Path $PSScriptRoot 'loadEnv.ps1' + if (-Not (Test-Path -Path $loadEnvPath)) { + $loadEnvPath = Join-Path $PSScriptRoot '..\loadEnv.ps1' + } + . ($loadEnvPath) + $TestRecordingFile = Join-Path $PSScriptRoot 'New-AzStorageMoverUploadLimitWeeklyRecurrenceObject.Recording.json' + $currentPath = $PSScriptRoot + while(-not $mockingPath) { + $mockingPath = Get-ChildItem -Path $currentPath -Recurse -Include 'HttpPipelineMocking.ps1' -File + $currentPath = Split-Path -Path $currentPath -Parent + } + . ($mockingPath | Select-Object -First 1).FullName +} + +Describe 'New-AzStorageMoverUploadLimitWeeklyRecurrenceObject' { + It '__AllParameterSets' -skip { + { throw [System.NotImplementedException] } | Should -Not -Throw + } +} diff --git a/src/StorageMover/StorageMover.Autorest/test/Remove-AzStorageMover.Recording.json b/src/StorageMover/StorageMover.Autorest/test/Remove-AzStorageMover.Recording.json index f16d66a93d90..bf3483611334 100644 --- a/src/StorageMover/StorageMover.Autorest/test/Remove-AzStorageMover.Recording.json +++ b/src/StorageMover/StorageMover.Autorest/test/Remove-AzStorageMover.Recording.json @@ -1,8 +1,8 @@ { - "Remove-AzStorageMover+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover3hc715gxy?api-version=2023-10-01+1": { + "Remove-AzStorageMover+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover3pul1qe2g?api-version=2024-07-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover3hc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover3pul1qe2g?api-version=2024-07-01", "Content": "{\r\n \"location\": \"eastus2euap\",\r\n \"properties\": {\r\n \"description\": \"\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -17,39 +17,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"05009b13-0000-3400-0000-64ba09b00000\"" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1183" ], + "ETag": [ "\"00008d5f-0000-3400-0000-66692a0f0000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "0ad6c4c2-64bc-427f-9446-258ed400358e" ], - "x-ms-request-id": [ "6f18ca3b-eedd-43d3-826d-acc16e175ac8" ], - "x-ms-correlation-request-id": [ "20f63e13-085b-49cf-84da-161fb1b5d7de" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042936Z:20f63e13-085b-49cf-84da-161fb1b5d7de" ], + "mise-correlation-id": [ "39596724-c167-47de-b76d-d458228c9e53" ], + "x-ms-request-id": [ "f03cde3c-d829-4d2d-92c5-7c402a08eadb" ], + "x-ms-correlation-request-id": [ "08613c7e-e57b-4bc6-b38a-48b8f1a403e0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045439Z:08613c7e-e57b-4bc6-b38a-48b8f1a403e0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:36 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 27722207367345D09F6516072860DACE Ref B: MAA201060516019 Ref C: 2024-06-12T04:54:35Z" ], + "Date": [ "Wed, 12 Jun 2024 04:54:39 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "605" ], + "Content-Length": [ "567" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover3hc715gxy\",\"name\":\"testStoMover3hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:29:36.1334774Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:29:36.1334774Z\"},\"properties\":{\"description\":\"\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover3pul1qe2g\",\"name\":\"testStoMover3pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:54:38.6686295Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:54:38.6686295Z\"},\"properties\":{\"description\":\"\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "Remove-AzStorageMover+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover3hc715gxy?api-version=2023-10-01+2": { + "Remove-AzStorageMover+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover3pul1qe2g?api-version=2024-07-01+2": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover3hc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover3pul1qe2g?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "43" ], - "x-ms-client-request-id": [ "5efe1e46-ed29-418a-83fc-e58316f2561e" ], + "x-ms-unique-id": [ "47" ], + "x-ms-client-request-id": [ "a6e8f9e4-39d0-48ae-9517-e206d5dd2293" ], "CommandName": [ "Az.StorageMover.internal\\Remove-AzStorageMover" ], "FullCommandName": [ "Remove-AzStorageMover_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -60,17 +63,20 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"05009e13-0000-3400-0000-64ba09b10000\"" ], - "Location": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/28a87381-fb78-4fb1-9b73-5a03efe80d3b*96E2584FBFBFC710B06187EC433B53F835B69A579EDB3B5B8C964DFDB611DAF1?api-version=2023-10-01" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "ETag": [ "\"00008e5f-0000-3400-0000-66692a130000\"" ], + "Location": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/5f21a85c-dc11-4190-b783-83e37756536f*6EB0CA2F17FE90707F69CC850C3A7939F863E0F16D936E1956C36A4C49DDC915?api-version=2024-07-01\u0026t=638537648833298655\u0026c=MIIHpTCCBo2gAwIBAgITOgMPIyvO-SSNo3JCxQAEAw8jKzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwNTE3MDc0MzI1WhcNMjUwNTEyMDc0MzI1WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMm-rUyPQv0z_LgvMVxRmSGe7k2sSDcjhZtJtacrGF0aA0mXhldjASVDsIKbducmYozS8YVn2yXvxW_2yo82m2q934keEf1UEKaSADUrozDPX5msTyt18UcXAPp7vPi8MXbYjFOyyuc1uzgXltAbdS5P2ki32RUjUplv8OZZSK5OvCrsyCwkmsg2yKxfHaRObmPqpu65x8lFk2jKBDK30LBTk2StP96kJI1VnIe3fxGXE6_1XKZTCJH9o_4vYvmA3wTHxlu8KWljLk10ttEqy736mEq9ex8TqnJVHebwRZ33UQTFZClqhQrIcLUrar5PXwlFMtvhgI1-Du5tVtKr1KECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CWTJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSU5GUkElMjBDQSUyMDAxKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MB0GA1UdDgQWBBTVszhW7MMKoXa9-QpBHa5cQlUN9TAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAD-urQp96AuB916E-Te8RmgK90YXOfxpQ9UFVrx1h5G83WkRUIlKdESHrUjduIESxCRdkRY2ntf__S09h5_4l7f3rT0jpHXw-_8dUrAbn43jMiQmB2LXzLoyIWaLagT18F_wbUAmRMU1m1WEJE66ngt8mx407-SRKz6rKaPUCD2z-wIeSOcaXXY7KbRVUtbPS4GhSTo3fCRHPGpXS9ftpm-v7z3JFkXFsN7jcHBQDn2YqE7eFoPVqmoQtJZXXzAsWMeqSilE2wmsqn8Ty0ykZnqcfjuRNXoTC9CpuEhZYirAwmdBN87Cb7ZrhR2s8flm-uIqdEhk4mWeNMEyWsm5RLA\u0026s=d2evAvVOKNky9d_3dQJQY-b4IwspgH8nYVo8U3kCKFW65zOgaOJGwNycrXsqfJqwmN3_EzxmhbBITaHmqYSLpCvzy6bmGIAfgTh_eIp-yYfusjZ5S5LfvgTUPifDm51O6SrgffLrStInnLZtQjGt0aqUpXw9BanXA4NAlfY6xNHSNjJbpKmxeH7Jrq4nJl4L4tBjTmGdox8seeQmcEbipFFi9ZeFTmxD1f6yGqvmhLfVNMS3ggIQmwo0TZrGfXNJJr6dplkbt1z4m0sXyex3aCDDfQG3LLc64eGER2QES2MrzScP-cHOvUO77dwMriVXGoAKZO-e0_mius5rhPKVyg\u0026h=3qLVgVb2GYNHRqKEt9F5dnKT9uH8jgr9pktLr8Rut2Y" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/28a87381-fb78-4fb1-9b73-5a03efe80d3b*96E2584FBFBFC710B06187EC433B53F835B69A579EDB3B5B8C964DFDB611DAF1?api-version=2023-10-01" ], - "x-ms-request-id": [ "28a87381-fb78-4fb1-9b73-5a03efe80d3b" ], - "x-ms-correlation-request-id": [ "e99e42c0-f73f-41cf-aca5-3f3f40605206" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T042937Z:e99e42c0-f73f-41cf-aca5-3f3f40605206" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/5f21a85c-dc11-4190-b783-83e37756536f*6EB0CA2F17FE90707F69CC850C3A7939F863E0F16D936E1956C36A4C49DDC915?api-version=2024-07-01\u0026t=638537648833298655\u0026c=MIIHpTCCBo2gAwIBAgITOgMPIyvO-SSNo3JCxQAEAw8jKzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwNTE3MDc0MzI1WhcNMjUwNTEyMDc0MzI1WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMm-rUyPQv0z_LgvMVxRmSGe7k2sSDcjhZtJtacrGF0aA0mXhldjASVDsIKbducmYozS8YVn2yXvxW_2yo82m2q934keEf1UEKaSADUrozDPX5msTyt18UcXAPp7vPi8MXbYjFOyyuc1uzgXltAbdS5P2ki32RUjUplv8OZZSK5OvCrsyCwkmsg2yKxfHaRObmPqpu65x8lFk2jKBDK30LBTk2StP96kJI1VnIe3fxGXE6_1XKZTCJH9o_4vYvmA3wTHxlu8KWljLk10ttEqy736mEq9ex8TqnJVHebwRZ33UQTFZClqhQrIcLUrar5PXwlFMtvhgI1-Du5tVtKr1KECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CWTJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSU5GUkElMjBDQSUyMDAxKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MB0GA1UdDgQWBBTVszhW7MMKoXa9-QpBHa5cQlUN9TAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAD-urQp96AuB916E-Te8RmgK90YXOfxpQ9UFVrx1h5G83WkRUIlKdESHrUjduIESxCRdkRY2ntf__S09h5_4l7f3rT0jpHXw-_8dUrAbn43jMiQmB2LXzLoyIWaLagT18F_wbUAmRMU1m1WEJE66ngt8mx407-SRKz6rKaPUCD2z-wIeSOcaXXY7KbRVUtbPS4GhSTo3fCRHPGpXS9ftpm-v7z3JFkXFsN7jcHBQDn2YqE7eFoPVqmoQtJZXXzAsWMeqSilE2wmsqn8Ty0ykZnqcfjuRNXoTC9CpuEhZYirAwmdBN87Cb7ZrhR2s8flm-uIqdEhk4mWeNMEyWsm5RLA\u0026s=d2evAvVOKNky9d_3dQJQY-b4IwspgH8nYVo8U3kCKFW65zOgaOJGwNycrXsqfJqwmN3_EzxmhbBITaHmqYSLpCvzy6bmGIAfgTh_eIp-yYfusjZ5S5LfvgTUPifDm51O6SrgffLrStInnLZtQjGt0aqUpXw9BanXA4NAlfY6xNHSNjJbpKmxeH7Jrq4nJl4L4tBjTmGdox8seeQmcEbipFFi9ZeFTmxD1f6yGqvmhLfVNMS3ggIQmwo0TZrGfXNJJr6dplkbt1z4m0sXyex3aCDDfQG3LLc64eGER2QES2MrzScP-cHOvUO77dwMriVXGoAKZO-e0_mius5rhPKVyg\u0026h=3qLVgVb2GYNHRqKEt9F5dnKT9uH8jgr9pktLr8Rut2Y" ], + "x-ms-request-id": [ "5f21a85c-dc11-4190-b783-83e37756536f" ], + "x-ms-correlation-request-id": [ "db737e21-9fc9-4341-8d0c-3f6e17ebc110" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045443Z:db737e21-9fc9-4341-8d0c-3f6e17ebc110" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:29:36 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: F668ACB93BFF4F0AA33C88DA933DFC58 Ref B: MAA201060516019 Ref C: 2024-06-12T04:54:39Z" ], + "Date": [ "Wed, 12 Jun 2024 04:54:43 GMT" ] }, "ContentHeaders": { "Content-Length": [ "4" ], @@ -81,20 +87,20 @@ "isContentBase64": false } }, - "Remove-AzStorageMover+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/28a87381-fb78-4fb1-9b73-5a03efe80d3b*96E2584FBFBFC710B06187EC433B53F835B69A579EDB3B5B8C964DFDB611DAF1?api-version=2023-10-01+3": { + "Remove-AzStorageMover+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/5f21a85c-dc11-4190-b783-83e37756536f*6EB0CA2F17FE90707F69CC850C3A7939F863E0F16D936E1956C36A4C49DDC915?api-version=2024-07-01\u0026t=638537648833298655\u0026c=MIIHpTCCBo2gAwIBAgITOgMPIyvO-SSNo3JCxQAEAw8jKzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwNTE3MDc0MzI1WhcNMjUwNTEyMDc0MzI1WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMm-rUyPQv0z_LgvMVxRmSGe7k2sSDcjhZtJtacrGF0aA0mXhldjASVDsIKbducmYozS8YVn2yXvxW_2yo82m2q934keEf1UEKaSADUrozDPX5msTyt18UcXAPp7vPi8MXbYjFOyyuc1uzgXltAbdS5P2ki32RUjUplv8OZZSK5OvCrsyCwkmsg2yKxfHaRObmPqpu65x8lFk2jKBDK30LBTk2StP96kJI1VnIe3fxGXE6_1XKZTCJH9o_4vYvmA3wTHxlu8KWljLk10ttEqy736mEq9ex8TqnJVHebwRZ33UQTFZClqhQrIcLUrar5PXwlFMtvhgI1-Du5tVtKr1KECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CWTJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSU5GUkElMjBDQSUyMDAxKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MB0GA1UdDgQWBBTVszhW7MMKoXa9-QpBHa5cQlUN9TAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAD-urQp96AuB916E-Te8RmgK90YXOfxpQ9UFVrx1h5G83WkRUIlKdESHrUjduIESxCRdkRY2ntf__S09h5_4l7f3rT0jpHXw-_8dUrAbn43jMiQmB2LXzLoyIWaLagT18F_wbUAmRMU1m1WEJE66ngt8mx407-SRKz6rKaPUCD2z-wIeSOcaXXY7KbRVUtbPS4GhSTo3fCRHPGpXS9ftpm-v7z3JFkXFsN7jcHBQDn2YqE7eFoPVqmoQtJZXXzAsWMeqSilE2wmsqn8Ty0ykZnqcfjuRNXoTC9CpuEhZYirAwmdBN87Cb7ZrhR2s8flm-uIqdEhk4mWeNMEyWsm5RLA\u0026s=d2evAvVOKNky9d_3dQJQY-b4IwspgH8nYVo8U3kCKFW65zOgaOJGwNycrXsqfJqwmN3_EzxmhbBITaHmqYSLpCvzy6bmGIAfgTh_eIp-yYfusjZ5S5LfvgTUPifDm51O6SrgffLrStInnLZtQjGt0aqUpXw9BanXA4NAlfY6xNHSNjJbpKmxeH7Jrq4nJl4L4tBjTmGdox8seeQmcEbipFFi9ZeFTmxD1f6yGqvmhLfVNMS3ggIQmwo0TZrGfXNJJr6dplkbt1z4m0sXyex3aCDDfQG3LLc64eGER2QES2MrzScP-cHOvUO77dwMriVXGoAKZO-e0_mius5rhPKVyg\u0026h=3qLVgVb2GYNHRqKEt9F5dnKT9uH8jgr9pktLr8Rut2Y+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/28a87381-fb78-4fb1-9b73-5a03efe80d3b*96E2584FBFBFC710B06187EC433B53F835B69A579EDB3B5B8C964DFDB611DAF1?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/5f21a85c-dc11-4190-b783-83e37756536f*6EB0CA2F17FE90707F69CC850C3A7939F863E0F16D936E1956C36A4C49DDC915?api-version=2024-07-01\u0026t=638537648833298655\u0026c=MIIHpTCCBo2gAwIBAgITOgMPIyvO-SSNo3JCxQAEAw8jKzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwNTE3MDc0MzI1WhcNMjUwNTEyMDc0MzI1WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMm-rUyPQv0z_LgvMVxRmSGe7k2sSDcjhZtJtacrGF0aA0mXhldjASVDsIKbducmYozS8YVn2yXvxW_2yo82m2q934keEf1UEKaSADUrozDPX5msTyt18UcXAPp7vPi8MXbYjFOyyuc1uzgXltAbdS5P2ki32RUjUplv8OZZSK5OvCrsyCwkmsg2yKxfHaRObmPqpu65x8lFk2jKBDK30LBTk2StP96kJI1VnIe3fxGXE6_1XKZTCJH9o_4vYvmA3wTHxlu8KWljLk10ttEqy736mEq9ex8TqnJVHebwRZ33UQTFZClqhQrIcLUrar5PXwlFMtvhgI1-Du5tVtKr1KECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CWTJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSU5GUkElMjBDQSUyMDAxKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MB0GA1UdDgQWBBTVszhW7MMKoXa9-QpBHa5cQlUN9TAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAD-urQp96AuB916E-Te8RmgK90YXOfxpQ9UFVrx1h5G83WkRUIlKdESHrUjduIESxCRdkRY2ntf__S09h5_4l7f3rT0jpHXw-_8dUrAbn43jMiQmB2LXzLoyIWaLagT18F_wbUAmRMU1m1WEJE66ngt8mx407-SRKz6rKaPUCD2z-wIeSOcaXXY7KbRVUtbPS4GhSTo3fCRHPGpXS9ftpm-v7z3JFkXFsN7jcHBQDn2YqE7eFoPVqmoQtJZXXzAsWMeqSilE2wmsqn8Ty0ykZnqcfjuRNXoTC9CpuEhZYirAwmdBN87Cb7ZrhR2s8flm-uIqdEhk4mWeNMEyWsm5RLA\u0026s=d2evAvVOKNky9d_3dQJQY-b4IwspgH8nYVo8U3kCKFW65zOgaOJGwNycrXsqfJqwmN3_EzxmhbBITaHmqYSLpCvzy6bmGIAfgTh_eIp-yYfusjZ5S5LfvgTUPifDm51O6SrgffLrStInnLZtQjGt0aqUpXw9BanXA4NAlfY6xNHSNjJbpKmxeH7Jrq4nJl4L4tBjTmGdox8seeQmcEbipFFi9ZeFTmxD1f6yGqvmhLfVNMS3ggIQmwo0TZrGfXNJJr6dplkbt1z4m0sXyex3aCDDfQG3LLc64eGER2QES2MrzScP-cHOvUO77dwMriVXGoAKZO-e0_mius5rhPKVyg\u0026h=3qLVgVb2GYNHRqKEt9F5dnKT9uH8jgr9pktLr8Rut2Y", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "44" ], - "x-ms-client-request-id": [ "5efe1e46-ed29-418a-83fc-e58316f2561e" ], + "x-ms-unique-id": [ "48" ], + "x-ms-client-request-id": [ "a6e8f9e4-39d0-48ae-9517-e206d5dd2293" ], "CommandName": [ "Az.StorageMover.internal\\Remove-AzStorageMover" ], "FullCommandName": [ "Remove-AzStorageMover_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ] + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ] }, "ContentHeaders": { } @@ -104,38 +110,41 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"0c00f25d-0000-3400-0000-64ba09c50000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11976" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T043007Z:a225c9dd-890b-4430-aaf3-688b89ade954" ], - "x-ms-request-id": [ "57a47ccd-f279-4107-a4ad-50c234bbca3d" ], - "x-ms-correlation-request-id": [ "a225c9dd-890b-4430-aaf3-688b89ade954" ], + "ETag": [ "\"02007489-0000-3400-0000-66692a280000\"" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-request-id": [ "d6f081cf-75b1-4118-a66d-049e66906772" ], + "x-ms-correlation-request-id": [ "f1be6d6f-3e68-4bd0-a66d-214fa8267ac3" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045514Z:f1be6d6f-3e68-4bd0-a66d-214fa8267ac3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:30:07 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 1E5340410E7A4788A2FCAA665799E2E8 Ref B: MAA201060516019 Ref C: 2024-06-12T04:55:13Z" ], + "Date": [ "Wed, 12 Jun 2024 04:55:14 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "595" ], + "Content-Length": [ "596" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/28a87381-fb78-4fb1-9b73-5a03efe80d3b*96E2584FBFBFC710B06187EC433B53F835B69A579EDB3B5B8C964DFDB611DAF1\",\"name\":\"28a87381-fb78-4fb1-9b73-5a03efe80d3b*96E2584FBFBFC710B06187EC433B53F835B69A579EDB3B5B8C964DFDB611DAF1\",\"resourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover3hc715gxy\",\"status\":\"Succeeded\",\"startTime\":\"2023-07-21T04:29:37.192872Z\",\"properties\":null}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/5f21a85c-dc11-4190-b783-83e37756536f*6EB0CA2F17FE90707F69CC850C3A7939F863E0F16D936E1956C36A4C49DDC915\",\"name\":\"5f21a85c-dc11-4190-b783-83e37756536f*6EB0CA2F17FE90707F69CC850C3A7939F863E0F16D936E1956C36A4C49DDC915\",\"resourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover3pul1qe2g\",\"status\":\"Succeeded\",\"startTime\":\"2024-06-12T04:54:43.0897411Z\",\"properties\":null}", "isContentBase64": false } }, - "Remove-AzStorageMover+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/28a87381-fb78-4fb1-9b73-5a03efe80d3b*96E2584FBFBFC710B06187EC433B53F835B69A579EDB3B5B8C964DFDB611DAF1?api-version=2023-10-01+4": { + "Remove-AzStorageMover+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/5f21a85c-dc11-4190-b783-83e37756536f*6EB0CA2F17FE90707F69CC850C3A7939F863E0F16D936E1956C36A4C49DDC915?api-version=2024-07-01\u0026t=638537648833298655\u0026c=MIIHpTCCBo2gAwIBAgITOgMPIyvO-SSNo3JCxQAEAw8jKzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwNTE3MDc0MzI1WhcNMjUwNTEyMDc0MzI1WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMm-rUyPQv0z_LgvMVxRmSGe7k2sSDcjhZtJtacrGF0aA0mXhldjASVDsIKbducmYozS8YVn2yXvxW_2yo82m2q934keEf1UEKaSADUrozDPX5msTyt18UcXAPp7vPi8MXbYjFOyyuc1uzgXltAbdS5P2ki32RUjUplv8OZZSK5OvCrsyCwkmsg2yKxfHaRObmPqpu65x8lFk2jKBDK30LBTk2StP96kJI1VnIe3fxGXE6_1XKZTCJH9o_4vYvmA3wTHxlu8KWljLk10ttEqy736mEq9ex8TqnJVHebwRZ33UQTFZClqhQrIcLUrar5PXwlFMtvhgI1-Du5tVtKr1KECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CWTJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSU5GUkElMjBDQSUyMDAxKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MB0GA1UdDgQWBBTVszhW7MMKoXa9-QpBHa5cQlUN9TAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAD-urQp96AuB916E-Te8RmgK90YXOfxpQ9UFVrx1h5G83WkRUIlKdESHrUjduIESxCRdkRY2ntf__S09h5_4l7f3rT0jpHXw-_8dUrAbn43jMiQmB2LXzLoyIWaLagT18F_wbUAmRMU1m1WEJE66ngt8mx407-SRKz6rKaPUCD2z-wIeSOcaXXY7KbRVUtbPS4GhSTo3fCRHPGpXS9ftpm-v7z3JFkXFsN7jcHBQDn2YqE7eFoPVqmoQtJZXXzAsWMeqSilE2wmsqn8Ty0ykZnqcfjuRNXoTC9CpuEhZYirAwmdBN87Cb7ZrhR2s8flm-uIqdEhk4mWeNMEyWsm5RLA\u0026s=d2evAvVOKNky9d_3dQJQY-b4IwspgH8nYVo8U3kCKFW65zOgaOJGwNycrXsqfJqwmN3_EzxmhbBITaHmqYSLpCvzy6bmGIAfgTh_eIp-yYfusjZ5S5LfvgTUPifDm51O6SrgffLrStInnLZtQjGt0aqUpXw9BanXA4NAlfY6xNHSNjJbpKmxeH7Jrq4nJl4L4tBjTmGdox8seeQmcEbipFFi9ZeFTmxD1f6yGqvmhLfVNMS3ggIQmwo0TZrGfXNJJr6dplkbt1z4m0sXyex3aCDDfQG3LLc64eGER2QES2MrzScP-cHOvUO77dwMriVXGoAKZO-e0_mius5rhPKVyg\u0026h=3qLVgVb2GYNHRqKEt9F5dnKT9uH8jgr9pktLr8Rut2Y+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/28a87381-fb78-4fb1-9b73-5a03efe80d3b*96E2584FBFBFC710B06187EC433B53F835B69A579EDB3B5B8C964DFDB611DAF1?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/5f21a85c-dc11-4190-b783-83e37756536f*6EB0CA2F17FE90707F69CC850C3A7939F863E0F16D936E1956C36A4C49DDC915?api-version=2024-07-01\u0026t=638537648833298655\u0026c=MIIHpTCCBo2gAwIBAgITOgMPIyvO-SSNo3JCxQAEAw8jKzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwNTE3MDc0MzI1WhcNMjUwNTEyMDc0MzI1WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMm-rUyPQv0z_LgvMVxRmSGe7k2sSDcjhZtJtacrGF0aA0mXhldjASVDsIKbducmYozS8YVn2yXvxW_2yo82m2q934keEf1UEKaSADUrozDPX5msTyt18UcXAPp7vPi8MXbYjFOyyuc1uzgXltAbdS5P2ki32RUjUplv8OZZSK5OvCrsyCwkmsg2yKxfHaRObmPqpu65x8lFk2jKBDK30LBTk2StP96kJI1VnIe3fxGXE6_1XKZTCJH9o_4vYvmA3wTHxlu8KWljLk10ttEqy736mEq9ex8TqnJVHebwRZ33UQTFZClqhQrIcLUrar5PXwlFMtvhgI1-Du5tVtKr1KECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CWTJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSU5GUkElMjBDQSUyMDAxKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MB0GA1UdDgQWBBTVszhW7MMKoXa9-QpBHa5cQlUN9TAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAD-urQp96AuB916E-Te8RmgK90YXOfxpQ9UFVrx1h5G83WkRUIlKdESHrUjduIESxCRdkRY2ntf__S09h5_4l7f3rT0jpHXw-_8dUrAbn43jMiQmB2LXzLoyIWaLagT18F_wbUAmRMU1m1WEJE66ngt8mx407-SRKz6rKaPUCD2z-wIeSOcaXXY7KbRVUtbPS4GhSTo3fCRHPGpXS9ftpm-v7z3JFkXFsN7jcHBQDn2YqE7eFoPVqmoQtJZXXzAsWMeqSilE2wmsqn8Ty0ykZnqcfjuRNXoTC9CpuEhZYirAwmdBN87Cb7ZrhR2s8flm-uIqdEhk4mWeNMEyWsm5RLA\u0026s=d2evAvVOKNky9d_3dQJQY-b4IwspgH8nYVo8U3kCKFW65zOgaOJGwNycrXsqfJqwmN3_EzxmhbBITaHmqYSLpCvzy6bmGIAfgTh_eIp-yYfusjZ5S5LfvgTUPifDm51O6SrgffLrStInnLZtQjGt0aqUpXw9BanXA4NAlfY6xNHSNjJbpKmxeH7Jrq4nJl4L4tBjTmGdox8seeQmcEbipFFi9ZeFTmxD1f6yGqvmhLfVNMS3ggIQmwo0TZrGfXNJJr6dplkbt1z4m0sXyex3aCDDfQG3LLc64eGER2QES2MrzScP-cHOvUO77dwMriVXGoAKZO-e0_mius5rhPKVyg\u0026h=3qLVgVb2GYNHRqKEt9F5dnKT9uH8jgr9pktLr8Rut2Y", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "45" ], - "x-ms-client-request-id": [ "5efe1e46-ed29-418a-83fc-e58316f2561e" ], + "x-ms-unique-id": [ "49" ], + "x-ms-client-request-id": [ "a6e8f9e4-39d0-48ae-9517-e206d5dd2293" ], "CommandName": [ "Az.StorageMover.internal\\Remove-AzStorageMover" ], "FullCommandName": [ "Remove-AzStorageMover_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ] + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ] }, "ContentHeaders": { } @@ -145,37 +154,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"0c00f25d-0000-3400-0000-64ba09c50000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11975" ], - "x-ms-request-id": [ "cdbf84ed-a7c2-4bdf-9580-eb44d8299e73" ], - "x-ms-correlation-request-id": [ "0c474013-91dc-4233-a446-cb791f1173a6" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T043008Z:0c474013-91dc-4233-a446-cb791f1173a6" ], + "ETag": [ "\"02007489-0000-3400-0000-66692a280000\"" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-request-id": [ "38afcf5a-a4d2-4309-a36a-5dffc0ec990d" ], + "x-ms-correlation-request-id": [ "26aadaa1-3d66-49d6-9b4c-79410bef0daa" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045515Z:26aadaa1-3d66-49d6-9b4c-79410bef0daa" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:30:08 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 5294064DD4D64DFBA24EB2A4E0DE78A2 Ref B: MAA201060516019 Ref C: 2024-06-12T04:55:14Z" ], + "Date": [ "Wed, 12 Jun 2024 04:55:15 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "595" ], + "Content-Length": [ "596" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/28a87381-fb78-4fb1-9b73-5a03efe80d3b*96E2584FBFBFC710B06187EC433B53F835B69A579EDB3B5B8C964DFDB611DAF1\",\"name\":\"28a87381-fb78-4fb1-9b73-5a03efe80d3b*96E2584FBFBFC710B06187EC433B53F835B69A579EDB3B5B8C964DFDB611DAF1\",\"resourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover3hc715gxy\",\"status\":\"Succeeded\",\"startTime\":\"2023-07-21T04:29:37.192872Z\",\"properties\":null}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/5f21a85c-dc11-4190-b783-83e37756536f*6EB0CA2F17FE90707F69CC850C3A7939F863E0F16D936E1956C36A4C49DDC915\",\"name\":\"5f21a85c-dc11-4190-b783-83e37756536f*6EB0CA2F17FE90707F69CC850C3A7939F863E0F16D936E1956C36A4C49DDC915\",\"resourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover3pul1qe2g\",\"status\":\"Succeeded\",\"startTime\":\"2024-06-12T04:54:43.0897411Z\",\"properties\":null}", "isContentBase64": false } }, - "Remove-AzStorageMover+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/storageMovers?api-version=2023-10-01+5": { + "Remove-AzStorageMover+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/storageMovers?api-version=2024-07-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/storageMovers?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/storageMovers?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "46" ], - "x-ms-client-request-id": [ "0e505cc8-b1d8-457a-8700-ffd016218640" ], + "x-ms-unique-id": [ "50" ], + "x-ms-client-request-id": [ "3a3eebfb-5b16-49f1-b255-17d74c83dbb8" ], "CommandName": [ "Get-AzStorageMover" ], "FullCommandName": [ "Get-AzStorageMover_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -186,21 +198,24 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-original-request-ids": [ "47e9caca-60af-4706-b35a-7a11f9371623", "ee185b5f-6554-4461-9a00-f5422afbef2c", "fbee4cde-2248-4208-beb5-fb66e5ff1b3a", "e9af32e4-7a1b-4318-9ac1-05e26babb0af", "6a38de08-8c80-4e07-a4ee-df6eab9e9aaa", "121507d3-fcf7-40e4-bb56-74b832447e18" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11974" ], - "x-ms-request-id": [ "6fcee69e-03b1-45af-9949-d483f941c75f" ], - "x-ms-correlation-request-id": [ "6fcee69e-03b1-45af-9949-d483f941c75f" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T043009Z:6fcee69e-03b1-45af-9949-d483f941c75f" ], + "x-ms-original-request-ids": [ "21e984d8-11c6-42d0-b9ec-88f40af6e79e", "3aaaf657-ee7e-466a-acef-3606b5889f80" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-request-id": [ "1b75fdb2-7603-42ba-825c-25fcca3a4cdd" ], + "x-ms-correlation-request-id": [ "1b75fdb2-7603-42ba-825c-25fcca3a4cdd" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045516Z:1b75fdb2-7603-42ba-825c-25fcca3a4cdd" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:30:09 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 4DAB1EFD783949728AEFF8D21B4A1C2E Ref B: MAA201060516019 Ref C: 2024-06-12T04:55:15Z" ], + "Date": [ "Wed, 12 Jun 2024 04:55:16 GMT" ] }, "ContentHeaders": { + "Content-Length": [ "4602" ], "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ], - "Content-Length": [ "16749" ] + "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/weitry/providers/microsoft.storagemover/storagemovers/weitest\",\"name\":\"weitest\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{\"tag2\":\"value2\",\"tag1\":\"value1\"},\"systemData\":{\"createdBy\":\"weiwei@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2022-07-15T09:25:59.6874394Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2022-07-15T09:42:28.57775Z\"},\"properties\":{\"description\":\"StorageMover description1\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/yifanz1/providers/Microsoft.StorageMover/storageMovers/testsm1\",\"name\":\"testsm1\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-02-13T03:02:51.5234202Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-03-01T03:13:51.9404795Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"description\":\"update\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststomover/providers/Microsoft.StorageMover/storageMovers/tsm11\",\"name\":\"tsm11\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-02-13T05:17:35.9408954Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-02-13T05:17:35.9408954Z\"},\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststomover/providers/Microsoft.StorageMover/storageMovers/tsm12\",\"name\":\"tsm12\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-02-13T05:17:54.018922Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-02-13T05:17:54.018922Z\"},\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststomover/providers/Microsoft.StorageMover/storageMovers/testsm1\",\"name\":\"testsm1\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-03-01T08:19:03.3105576Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-03-01T08:19:03.3105576Z\"},\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststomover/providers/Microsoft.StorageMover/storageMovers/testsm-2151\",\"name\":\"testsm-2151\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{\"tag3\":\"val3\"},\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-03-02T00:58:01.3731929Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-03-02T00:58:17.9674027Z\"},\"properties\":{\"provisioningState\":\"Failed\",\"description\":\"This is an updated storage mover\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststomover/providers/Microsoft.StorageMover/storageMovers/testsm-6277\",\"name\":\"testsm-6277\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{\"tag3\":\"val3\"},\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-03-02T04:16:50.6533232Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-03-02T04:17:22.0916922Z\"},\"properties\":{\"provisioningState\":\"Failed\",\"description\":\"This is an updated storage mover\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststomover/providers/Microsoft.StorageMover/storageMovers/testsm-9230\",\"name\":\"testsm-9230\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{\"tag3\":\"val3\"},\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-03-02T04:18:24.7102272Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-03-02T04:18:51.7880384Z\"},\"properties\":{\"provisioningState\":\"Failed\",\"description\":\"This is an updated storage mover\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststomover/providers/Microsoft.StorageMover/storageMovers/testsm-8912\",\"name\":\"testsm-8912\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{\"tag3\":\"val3\"},\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-03-02T04:21:52.668034Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-03-02T04:22:20.7306177Z\"},\"properties\":{\"provisioningState\":\"Failed\",\"description\":\"This is an updated storage mover\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststomover/providers/Microsoft.StorageMover/storageMovers/testsm-9106\",\"name\":\"testsm-9106\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{\"tag3\":\"val3\"},\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-03-02T04:25:17.1630512Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-03-02T04:25:33.1169852Z\"},\"properties\":{\"provisioningState\":\"Failed\",\"description\":\"This is an updated storage mover\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststomover/providers/Microsoft.StorageMover/storageMovers/testsm-2126\",\"name\":\"testsm-2126\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{},\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-03-02T05:08:11.6441609Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-03-02T05:08:11.6441609Z\"},\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststomover/providers/Microsoft.StorageMover/storageMovers/testsm-5024\",\"name\":\"testsm-5024\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{},\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-03-02T05:09:24.5052364Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-03-02T05:09:32.3021265Z\"},\"properties\":{\"provisioningState\":\"Failed\",\"description\":\"This is an updated storage mover\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststomover/providers/Microsoft.StorageMover/storageMovers/testsm-1689\",\"name\":\"testsm-1689\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{\"tag3\":\"val3\"},\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-03-02T05:09:58.2510585Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-03-02T05:10:14.1277098Z\"},\"properties\":{\"provisioningState\":\"Failed\",\"description\":\"This is an updated storage mover\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/yifanz1/providers/Microsoft.StorageMover/storageMovers/testsm111\",\"name\":\"testsm111\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-20T08:40:08.494388Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-20T08:40:08.494388Z\"},\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1\",\"name\":\"testmoverpreview1\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-20T08:55:45.2922024Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-20T08:55:45.2922024Z\"},\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1ua3b5imx\",\"name\":\"testStoMover1ua3b5imx\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T02:24:17.5717036Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T02:24:17.5717036Z\"},\"properties\":{\"description\":\"initial test SM description\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover2ua3b5imx\",\"name\":\"testStoMover2ua3b5imx\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T02:25:10.1355738Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T02:25:10.1355738Z\"},\"properties\":{\"description\":\"test Storage mover description\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStorageMoverk3pmhtl9\",\"name\":\"testStorageMoverk3pmhtl9\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T02:26:40.450455Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:08:31.7726536Z\"},\"properties\":{\"description\":\"update storage mover description\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover131q7xr6m\",\"name\":\"testStoMover131q7xr6m\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T03:08:35.8449113Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T03:08:35.8449113Z\"},\"properties\":{\"description\":\"initial test SM description\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover231q7xr6m\",\"name\":\"testStoMover231q7xr6m\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T03:11:44.8485215Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T03:11:44.8485215Z\"},\"properties\":{\"description\":\"test Storage mover description\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1dy0z54nl\",\"name\":\"testStoMover1dy0z54nl\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{\"tag2\":\"value2\",\"tag1\":\"value1\"},\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:02:11.7243529Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:02:11.7243529Z\"},\"properties\":{\"description\":\"initial test SM description\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover2dy0z54nl\",\"name\":\"testStoMover2dy0z54nl\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:03:01.7246815Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:03:01.7246815Z\"},\"properties\":{\"description\":\"test Storage mover description\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover18p9yh1t3\",\"name\":\"testStoMover18p9yh1t3\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:06:02.5185405Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:06:02.5185405Z\"},\"properties\":{\"description\":\"initial test SM description\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover28p9yh1t3\",\"name\":\"testStoMover28p9yh1t3\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:06:53.6537273Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:06:53.6537273Z\"},\"properties\":{\"description\":\"test Storage mover description\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy\",\"name\":\"testStoMover1hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:28:26.1244125Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:28:26.1244125Z\"},\"properties\":{\"description\":\"initial test SM description\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover2hc715gxy\",\"name\":\"testStoMover2hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:29:17.1789008Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:29:17.1789008Z\"},\"properties\":{\"description\":\"test Storage mover description\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/yifanz1/providers/Microsoft.StorageMover/storageMovers/testpreviewsm1\",\"name\":\"testpreviewsm1\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-06-02T03:09:13.6262983Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-06-02T03:09:13.6262983Z\"},\"properties\":{\"provisioningState\":\"Succeeded\"}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststomover/providers/Microsoft.StorageMover/storageMovers/testsm1\",\"name\":\"testsm1\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-31T02:29:56.884028Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-31T02:29:56.884028Z\"},\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/yifanz1/providers/Microsoft.StorageMover/storageMovers/testsm111\",\"name\":\"testsm111\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-08-05T03:59:29.4368046Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-08-05T04:01:05.9230245Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"description\":\"update storage mover\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1\",\"name\":\"testmoverpreview1\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:31:31.3554969Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:31:31.3554969Z\"},\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g\",\"name\":\"testStoMover1pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:52:27.350089Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:52:27.350089Z\"},\"properties\":{\"description\":\"initial test SM description\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover2pul1qe2g\",\"name\":\"testStoMover2pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:53:51.2989775Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:53:51.2989775Z\"},\"properties\":{\"description\":\"test Storage mover description\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/yifanz1/providers/Microsoft.StorageMover/storageMovers/testpreviewsm1\",\"name\":\"testpreviewsm1\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-06-02T03:09:13.6262983Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-06-02T03:09:13.6262983Z\"},\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/yifanz1/providers/Microsoft.StorageMover/storageMovers/teststoragemover1\",\"name\":\"teststoragemover1\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-09-21T03:06:04.7120225Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-09-21T03:06:04.7120225Z\"},\"properties\":{\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/yifanz1/providers/Microsoft.StorageMover/storageMovers/testsmcentral1\",\"name\":\"testsmcentral1\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"centraluseuap\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-05-16T06:59:02.4013204Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-05-16T06:59:02.4013204Z\"},\"properties\":{\"provisioningState\":\"Succeeded\"}}]}", "isContentBase64": false } } diff --git a/src/StorageMover/StorageMover.Autorest/test/Remove-AzStorageMoverEndpoint.Recording.json b/src/StorageMover/StorageMover.Autorest/test/Remove-AzStorageMoverEndpoint.Recording.json index 8b143a50cee9..e61d91b5c891 100644 --- a/src/StorageMover/StorageMover.Autorest/test/Remove-AzStorageMoverEndpoint.Recording.json +++ b/src/StorageMover/StorageMover.Autorest/test/Remove-AzStorageMoverEndpoint.Recording.json @@ -1,9 +1,9 @@ { - "Remove-AzStorageMoverEndpoint+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/containerEndpoint2hc715gxy?api-version=2023-10-01+1": { + "Remove-AzStorageMoverEndpoint+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/containerEndpoint2pul1qe2g?api-version=2024-07-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/containerEndpoint2hc715gxy?api-version=2023-10-01", - "Content": "{\r\n \"properties\": {\r\n \"endpointType\": \"AzureStorageBlobContainer\",\r\n \"storageAccountResourceId\": \"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storacchc715gxy\",\r\n \"blobContainerName\": \"containerhc715gxy\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/containerEndpoint2pul1qe2g?api-version=2024-07-01", + "Content": "{\r\n \"properties\": {\r\n \"endpointType\": \"AzureStorageBlobContainer\",\r\n \"storageAccountResourceId\": \"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storaccpul1qe2g\",\r\n \"blobContainerName\": \"containerpul1qe2g\"\r\n }\r\n}", "isContentBase64": false, "Headers": { }, @@ -17,39 +17,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"2d012d48-0000-3400-0000-64ba09d20000\"" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1182" ], + "ETag": [ "\"0000cad3-0000-3400-0000-66692a360000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "5386957f-91af-4ac7-ae30-2e04b2db04e4" ], - "x-ms-request-id": [ "6951ba00-cc9f-4c8d-9275-2fcba5bce362" ], - "x-ms-correlation-request-id": [ "2a8402a5-f402-47e7-92df-528acdd253d0" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T043010Z:2a8402a5-f402-47e7-92df-528acdd253d0" ], + "mise-correlation-id": [ "def02123-0357-40bd-bd2b-c09bd93f5f4e" ], + "x-ms-request-id": [ "e017f0bd-f09a-4a86-ad2e-19d376e3506f" ], + "x-ms-correlation-request-id": [ "bc61192f-a746-42c9-9a56-daef9bd6d962" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045518Z:bc61192f-a746-42c9-9a56-daef9bd6d962" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:30:10 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: FBD3690414274812BAA4E5C055D5E672 Ref B: MAA201060516019 Ref C: 2024-06-12T04:55:17Z" ], + "Date": [ "Wed, 12 Jun 2024 04:55:18 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "871" ], + "Content-Length": [ "833" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/containerEndpoint2hc715gxy\",\"name\":\"containerEndpoint2hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:30:10.5484513Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:30:10.5484513Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storacchc715gxy\",\"blobContainerName\":\"containerhc715gxy\",\"endpointType\":\"AzureStorageBlobContainer\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/containerEndpoint2pul1qe2g\",\"name\":\"containerEndpoint2pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:55:17.6952839Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:55:17.6952839Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storaccpul1qe2g\",\"blobContainerName\":\"containerpul1qe2g\",\"endpointType\":\"AzureStorageBlobContainer\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "Remove-AzStorageMoverEndpoint+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpoint2hc715gxy?api-version=2023-10-01+2": { + "Remove-AzStorageMoverEndpoint+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpoint2pul1qe2g?api-version=2024-07-01+2": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpoint2hc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpoint2pul1qe2g?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "48" ], - "x-ms-client-request-id": [ "a68f05a8-8d52-4f15-91bd-3887633c8048" ], + "x-ms-unique-id": [ "52" ], + "x-ms-client-request-id": [ "32db1741-50e4-48bd-aaff-97b0742493a4" ], "CommandName": [ "Remove-AzStorageMoverEndpoint" ], "FullCommandName": [ "Remove-AzStorageMoverEndpoint_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -62,12 +65,15 @@ "Pragma": [ "no-cache" ], "x-ms-providerhub-traffic": [ "True" ], "x-ms-request-id": [ "00000000-0000-0000-0000-000000000000" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14998" ], - "x-ms-correlation-request-id": [ "9e14afe8-907d-4202-b27f-ab531847b68f" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T043011Z:9e14afe8-907d-4202-b27f-ab531847b68f" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "7be2d413-ee2b-4cc5-9173-c4c419daf683" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045520Z:7be2d413-ee2b-4cc5-9173-c4c419daf683" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:30:10 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 1EA5FB01653C4C4CB88423EB66DC2FB3 Ref B: MAA201060516019 Ref C: 2024-06-12T04:55:18Z" ], + "Date": [ "Wed, 12 Jun 2024 04:55:20 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ] @@ -76,19 +82,19 @@ "isContentBase64": false } }, - "Remove-AzStorageMoverEndpoint+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints?api-version=2023-10-01+3": { + "Remove-AzStorageMoverEndpoint+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints?api-version=2024-07-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "49" ], - "x-ms-client-request-id": [ "e7b302e0-cfaf-4011-8e90-a35d569da65f" ], + "x-ms-unique-id": [ "53" ], + "x-ms-client-request-id": [ "e1837ba5-414e-47f1-84fd-2fe4a5c24cbf" ], "CommandName": [ "Get-AzStorageMoverEndpoint" ], "FullCommandName": [ "Get-AzStorageMoverEndpoint_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -99,21 +105,24 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11973" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "6444a317-f13f-4e74-80eb-d80e309812ef" ], - "x-ms-correlation-request-id": [ "d535a02a-baf4-486a-a359-aa635a048938" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T043012Z:d535a02a-baf4-486a-a359-aa635a048938" ], + "x-ms-request-id": [ "2d8e9152-e9fc-418a-ac75-3298b2f677f8" ], + "x-ms-correlation-request-id": [ "84f4da74-d6be-4cf7-805a-85239edd74c2" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045522Z:84f4da74-d6be-4cf7-805a-85239edd74c2" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:30:11 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 53999BB6DA9D480897DE4C471B36179C Ref B: MAA201060516019 Ref C: 2024-06-12T04:55:21Z" ], + "Date": [ "Wed, 12 Jun 2024 04:55:22 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "7723" ], + "Content-Length": [ "1477" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointua3b5imx\",\"name\":\"containerEndpointua3b5imx\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T02:24:47.8776138Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T02:24:47.8776138Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storaccua3b5imx\",\"blobContainerName\":\"containerua3b5imx\",\"endpointType\":\"AzureStorageBlobContainer\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointua3b5imx\",\"name\":\"nfsEndpointua3b5imx\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T02:24:49.2526299Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T02:24:49.2526299Z\"},\"properties\":{\"host\":\"10.0.0.1\",\"nfsVersion\":\"NFSauto\",\"export\":\"/\",\"endpointType\":\"NfsMount\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpoint31q7xr6m\",\"name\":\"containerEndpoint31q7xr6m\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T03:09:06.7521896Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T03:09:06.7521896Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storacc31q7xr6m\",\"blobContainerName\":\"container31q7xr6m\",\"endpointType\":\"AzureStorageBlobContainer\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpoint31q7xr6m\",\"name\":\"nfsEndpoint31q7xr6m\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T03:09:07.908458Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T03:09:07.908458Z\"},\"properties\":{\"host\":\"10.0.0.1\",\"nfsVersion\":\"NFSauto\",\"export\":\"/\",\"endpointType\":\"NfsMount\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointdy0z54nl\",\"name\":\"containerEndpointdy0z54nl\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:02:41.5998671Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:02:41.5998671Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storaccdy0z54nl\",\"blobContainerName\":\"containerdy0z54nl\",\"endpointType\":\"AzureStorageBlobContainer\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointdy0z54nl\",\"name\":\"nfsEndpointdy0z54nl\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:02:42.6154831Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:02:42.6154831Z\"},\"properties\":{\"host\":\"10.0.0.1\",\"nfsVersion\":\"NFSauto\",\"export\":\"/\",\"endpointType\":\"NfsMount\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpoint8p9yh1t3\",\"name\":\"containerEndpoint8p9yh1t3\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:06:35.06982Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:06:35.06982Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storacc8p9yh1t3\",\"blobContainerName\":\"container8p9yh1t3\",\"endpointType\":\"AzureStorageBlobContainer\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpoint8p9yh1t3\",\"name\":\"nfsEndpoint8p9yh1t3\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:06:36.0072585Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:06:36.0072585Z\"},\"properties\":{\"host\":\"10.0.0.1\",\"nfsVersion\":\"NFSauto\",\"export\":\"/\",\"endpointType\":\"NfsMount\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointhc715gxy\",\"name\":\"containerEndpointhc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:28:55.890165Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:28:55.890165Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storacchc715gxy\",\"blobContainerName\":\"containerhc715gxy\",\"endpointType\":\"AzureStorageBlobContainer\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointhc715gxy\",\"name\":\"nfsEndpointhc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:28:56.9288302Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:28:56.9288302Z\"},\"properties\":{\"host\":\"10.0.0.1\",\"nfsVersion\":\"NFSauto\",\"export\":\"/\",\"endpointType\":\"NfsMount\",\"provisioningState\":\"Succeeded\"}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointpul1qe2g\",\"name\":\"containerEndpointpul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:53:08.021642Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:53:08.021642Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storaccpul1qe2g\",\"blobContainerName\":\"containerpul1qe2g\",\"endpointType\":\"AzureStorageBlobContainer\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointpul1qe2g\",\"name\":\"nfsEndpointpul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:53:10.4814887Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:53:10.4814887Z\"},\"properties\":{\"host\":\"10.0.0.1\",\"nfsVersion\":\"NFSauto\",\"export\":\"/\",\"endpointType\":\"NfsMount\",\"provisioningState\":\"Succeeded\"}}]}", "isContentBase64": false } } diff --git a/src/StorageMover/StorageMover.Autorest/test/Remove-AzStorageMoverJobDefinition.Recording.json b/src/StorageMover/StorageMover.Autorest/test/Remove-AzStorageMoverJobDefinition.Recording.json index 258a53ba5729..f3824546592c 100644 --- a/src/StorageMover/StorageMover.Autorest/test/Remove-AzStorageMoverJobDefinition.Recording.json +++ b/src/StorageMover/StorageMover.Autorest/test/Remove-AzStorageMoverJobDefinition.Recording.json @@ -1,15 +1,15 @@ { - "Remove-AzStorageMoverJobDefinition+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testJob3hc715gxy?api-version=2023-10-01+1": { + "Remove-AzStorageMoverJobDefinition+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testJob3pul1qe2g?api-version=2024-07-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testJob3hc715gxy?api-version=2023-10-01", - "Content": "{\r\n \"properties\": {\r\n \"copyMode\": \"Additive\",\r\n \"sourceName\": \"nfsEndpointhc715gxy\",\r\n \"targetName\": \"containerEndpointhc715gxy\",\r\n \"agentName\": \"testagent1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testJob3pul1qe2g?api-version=2024-07-01", + "Content": "{\r\n \"properties\": {\r\n \"copyMode\": \"Additive\",\r\n \"sourceName\": \"nfsEndpointpul1qe2g\",\r\n \"targetName\": \"containerEndpointpul1qe2g\",\r\n \"agentName\": \"testagent12\"\r\n }\r\n}", "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "178" ] + "Content-Length": [ "179" ] } }, "Response": { @@ -17,39 +17,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"01006f2c-0000-3400-0000-64ba09d50000\"" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1181" ], + "ETag": [ "\"00004266-0000-3400-0000-66692a3d0000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "6c3989b2-86e1-40b4-aad2-fd3d58265a49" ], - "x-ms-request-id": [ "7816b970-5a0a-483a-9b5e-f1f4558c8cb5" ], - "x-ms-correlation-request-id": [ "994409ab-14bb-460d-9ce4-df52db5375eb" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T043013Z:994409ab-14bb-460d-9ce4-df52db5375eb" ], + "mise-correlation-id": [ "f75fcf2d-db1f-47c5-8688-47997368cd34" ], + "x-ms-request-id": [ "e205cb77-3fa5-4a3f-b91f-07758f461a08" ], + "x-ms-correlation-request-id": [ "69394c30-c410-4778-ab5c-14e655caf164" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045525Z:69394c30-c410-4778-ab5c-14e655caf164" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:30:12 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 508500CF03324A68A1889311425D34A0 Ref B: MAA201060516019 Ref C: 2024-06-12T04:55:22Z" ], + "Date": [ "Wed, 12 Jun 2024 04:55:25 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1353" ], + "Content-Length": [ "1319" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testJob3hc715gxy\",\"name\":\"testJob3hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/projects/jobdefinitions\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:30:13.334904Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:30:13.334904Z\"},\"properties\":{\"copyMode\":\"Additive\",\"sourceName\":\"nfsEndpointhc715gxy\",\"sourceResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointhc715gxy\",\"targetName\":\"containerEndpointhc715gxy\",\"targetResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointhc715gxy\",\"agentName\":\"testagent1\",\"agentResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent1\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testJob3pul1qe2g\",\"name\":\"testJob3pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/projects/jobdefinitions\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:55:23.7576003Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:55:23.7576003Z\"},\"properties\":{\"copyMode\":\"Additive\",\"sourceName\":\"nfsEndpointpul1qe2g\",\"sourceResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointpul1qe2g\",\"targetName\":\"containerEndpointpul1qe2g\",\"targetResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointpul1qe2g\",\"agentName\":\"testagent12\",\"agentResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent12\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "Remove-AzStorageMoverJobDefinition+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testJob3hc715gxy?api-version=2023-10-01+2": { + "Remove-AzStorageMoverJobDefinition+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testJob3pul1qe2g?api-version=2024-07-01+2": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testJob3hc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testJob3pul1qe2g?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "51" ], - "x-ms-client-request-id": [ "47707464-3c27-45d5-aed3-e7ca1f18b41f" ], + "x-ms-unique-id": [ "55" ], + "x-ms-client-request-id": [ "5a60e9b0-7cdc-4eb2-9565-ca08ac2c7461" ], "CommandName": [ "Remove-AzStorageMoverJobDefinition" ], "FullCommandName": [ "Remove-AzStorageMoverJobDefinition_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -61,14 +64,17 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "804c8a89-6308-43ba-b8ab-e9d4da2456e0" ], + "mise-correlation-id": [ "579f67a4-d7f6-417e-aaab-9e042aada24c" ], "x-ms-request-id": [ "00000000-0000-0000-0000-000000000000" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14997" ], - "x-ms-correlation-request-id": [ "46b0df26-1b3a-4a57-b65b-e382d742968f" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T043014Z:46b0df26-1b3a-4a57-b65b-e382d742968f" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-correlation-request-id": [ "5a3fce00-736f-4e13-af1d-2d9acf5514d0" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045527Z:5a3fce00-736f-4e13-af1d-2d9acf5514d0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:30:13 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 9678E8109CA74DF5BBA05556911D9B59 Ref B: MAA201060516019 Ref C: 2024-06-12T04:55:25Z" ], + "Date": [ "Wed, 12 Jun 2024 04:55:27 GMT" ] }, "ContentHeaders": { "Expires": [ "-1" ], @@ -78,19 +84,19 @@ "isContentBase64": false } }, - "Remove-AzStorageMoverJobDefinition+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions?api-version=2023-10-01+3": { + "Remove-AzStorageMoverJobDefinition+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions?api-version=2024-07-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "52" ], - "x-ms-client-request-id": [ "06a7f833-7d42-4516-94b0-b23519ea94f5" ], + "x-ms-unique-id": [ "56" ], + "x-ms-client-request-id": [ "61d80b5c-e268-4fa8-b246-aa9daeb88281" ], "CommandName": [ "Get-AzStorageMoverJobDefinition" ], "FullCommandName": [ "Get-AzStorageMoverJobDefinition_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -101,21 +107,24 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11972" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "3bf32249-ef0d-447b-8964-a980d6b4f7dd" ], - "x-ms-correlation-request-id": [ "41939f1b-e19e-42d8-b14f-d8621a2b71f9" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T043015Z:41939f1b-e19e-42d8-b14f-d8621a2b71f9" ], + "x-ms-request-id": [ "e6224039-f3ef-4aaa-ba23-332dff69230b" ], + "x-ms-correlation-request-id": [ "8b1a630b-7ab8-481b-81f0-e395d687ca65" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045529Z:8b1a630b-7ab8-481b-81f0-e395d687ca65" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:30:15 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 1272E86754BB4DB49D5E394228565996 Ref B: MAA201060516019 Ref C: 2024-06-12T04:55:27Z" ], + "Date": [ "Wed, 12 Jun 2024 04:55:28 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "3099" ], + "Content-Length": [ "3039" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"value\":[{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testJobhc715gxy\",\"name\":\"testJobhc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/projects/jobdefinitions\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:28:59.9756967Z\",\"lastModifiedBy\":\"aed824f0-6446-4ef9-9e17-98b0157c09dc\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:29:14.2639988Z\"},\"properties\":{\"copyMode\":\"Additive\",\"sourceName\":\"nfsEndpointhc715gxy\",\"sourceResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointhc715gxy\",\"targetName\":\"containerEndpointhc715gxy\",\"targetResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointhc715gxy\",\"latestJobRunName\":\"0ce4bf6c-4d67-4351-a663-b576830de65c\",\"latestJobRunResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testJobhc715gxy/jobRuns/0ce4bf6c-4d67-4351-a663-b576830de65c\",\"latestJobRunStatus\":\"CancelRequested\",\"agentName\":\"testagent1\",\"agentResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent1\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testJob1hc715gxy\",\"name\":\"testJob1hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/projects/jobdefinitions\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:29:25.5078323Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:29:25.5078323Z\"},\"properties\":{\"copyMode\":\"Additive\",\"sourceName\":\"nfsEndpointhc715gxy\",\"sourceResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointhc715gxy\",\"targetName\":\"containerEndpointhc715gxy\",\"targetResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointhc715gxy\",\"agentName\":\"testagent1\",\"agentResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent1\",\"provisioningState\":\"Succeeded\"}}]}", + "Content": "{\"value\":[{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testJobpul1qe2g\",\"name\":\"testJobpul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/projects/jobdefinitions\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:53:16.6065441Z\",\"lastModifiedBy\":\"aed824f0-6446-4ef9-9e17-98b0157c09dc\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2024-06-12T04:55:08.6192288Z\"},\"properties\":{\"copyMode\":\"Additive\",\"sourceName\":\"nfsEndpointpul1qe2g\",\"sourceResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointpul1qe2g\",\"targetName\":\"containerEndpointpul1qe2g\",\"targetResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointpul1qe2g\",\"latestJobRunName\":\"820a8cde-d4e9-488f-a9d6-b6728b6aa0c2\",\"latestJobRunResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testJobpul1qe2g/jobRuns/820a8cde-d4e9-488f-a9d6-b6728b6aa0c2\",\"latestJobRunStatus\":\"Canceled\",\"agentName\":\"testagent12\",\"agentResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent12\",\"provisioningState\":\"Succeeded\"}},{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testJob1pul1qe2g\",\"name\":\"testJob1pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/projects/jobdefinitions\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:54:16.4550023Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:54:16.4550023Z\"},\"properties\":{\"copyMode\":\"Additive\",\"sourceName\":\"nfsEndpointpul1qe2g\",\"sourceResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointpul1qe2g\",\"targetName\":\"containerEndpointpul1qe2g\",\"targetResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointpul1qe2g\",\"agentName\":\"testagent12\",\"agentResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent12\",\"provisioningState\":\"Succeeded\"}}]}", "isContentBase64": false } } diff --git a/src/StorageMover/StorageMover.Autorest/test/Remove-AzStorageMoverProject.Recording.json b/src/StorageMover/StorageMover.Autorest/test/Remove-AzStorageMoverProject.Recording.json index 497f12af1557..8b10e2db11d1 100644 --- a/src/StorageMover/StorageMover.Autorest/test/Remove-AzStorageMoverProject.Recording.json +++ b/src/StorageMover/StorageMover.Autorest/test/Remove-AzStorageMoverProject.Recording.json @@ -1,8 +1,8 @@ { - "Remove-AzStorageMoverProject+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/projects/testProjecthc715gxy?api-version=2023-10-01+1": { + "Remove-AzStorageMoverProject+[NoContext]+Delete+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/projects/testProjectpul1qe2g?api-version=2024-07-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/projects/testProjecthc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/projects/testProjectpul1qe2g?api-version=2024-07-01", "Content": "{\r\n \"properties\": {\r\n \"description\": \"\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -17,39 +17,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"2d01f402-0000-3400-0000-64ba09d80000\"" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1180" ], + "ETag": [ "\"0000f536-0000-3400-0000-66692a430000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "129ba9d7-a232-4bdd-ba29-816686f78489" ], - "x-ms-request-id": [ "38b09987-8025-454d-a1f6-ddd2b6f1d2c3" ], - "x-ms-correlation-request-id": [ "b5a3100d-58d2-4ca8-81d4-3afb15bdd290" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T043016Z:b5a3100d-58d2-4ca8-81d4-3afb15bdd290" ], + "mise-correlation-id": [ "a8b85133-e31b-4701-90eb-d872db379a7f" ], + "x-ms-request-id": [ "d790af15-8784-4bed-b936-63b3386df80a" ], + "x-ms-correlation-request-id": [ "8cfe79f0-9003-48e1-a417-c75f219d3352" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045531Z:8cfe79f0-9003-48e1-a417-c75f219d3352" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:30:16 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 019A94E1FE5E44EA8DD2A4BD1F3D4AE8 Ref B: MAA201060516019 Ref C: 2024-06-12T04:55:29Z" ], + "Date": [ "Wed, 12 Jun 2024 04:55:31 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "616" ], + "Content-Length": [ "577" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/projects/testProjecthc715gxy\",\"name\":\"testProjecthc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/projects\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:28:58.1006856Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:30:16.2411642Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"description\":\"\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/projects/testProjectpul1qe2g\",\"name\":\"testProjectpul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/projects\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:53:12.2543326Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:55:30.596518Z\"},\"properties\":{\"provisioningState\":\"Succeeded\",\"description\":\"\"}}", "isContentBase64": false } }, - "Remove-AzStorageMoverProject+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/projects/testProjecthc715gxy?api-version=2023-10-01+2": { + "Remove-AzStorageMoverProject+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/projects/testProjectpul1qe2g?api-version=2024-07-01+2": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/projects/testProjecthc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/projects/testProjectpul1qe2g?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "54" ], - "x-ms-client-request-id": [ "8f2b5894-2753-4fbe-981c-e1fc500b01ef" ], + "x-ms-unique-id": [ "58" ], + "x-ms-client-request-id": [ "b9ff6170-cfac-41ac-a925-94bd55579c8a" ], "CommandName": [ "Remove-AzStorageMoverProject" ], "FullCommandName": [ "Remove-AzStorageMoverProject_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -60,17 +63,20 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"2d01f502-0000-3400-0000-64ba09d90000\"" ], - "Location": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/7f710a88-1b8b-4565-9ed0-2abec3660ab1*44252F11F23E271202449AA9D9F1999458353079DCAEF2730CEF2538CB8E8BEE?api-version=2023-10-01" ], - "x-ms-ratelimit-remaining-subscription-deletes": [ "14996" ], + "ETag": [ "\"0000f636-0000-3400-0000-66692a460000\"" ], + "Location": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/91ff8653-47b4-4c9f-97c5-3f6789a4f1ee*FFC13723329134330218B02A7E201D6A409E5DF0C7FD1F4F56FAA645AE2A74F2?api-version=2024-07-01\u0026t=638537649345090081\u0026c=MIIHpTCCBo2gAwIBAgITOgMPIyvO-SSNo3JCxQAEAw8jKzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwNTE3MDc0MzI1WhcNMjUwNTEyMDc0MzI1WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMm-rUyPQv0z_LgvMVxRmSGe7k2sSDcjhZtJtacrGF0aA0mXhldjASVDsIKbducmYozS8YVn2yXvxW_2yo82m2q934keEf1UEKaSADUrozDPX5msTyt18UcXAPp7vPi8MXbYjFOyyuc1uzgXltAbdS5P2ki32RUjUplv8OZZSK5OvCrsyCwkmsg2yKxfHaRObmPqpu65x8lFk2jKBDK30LBTk2StP96kJI1VnIe3fxGXE6_1XKZTCJH9o_4vYvmA3wTHxlu8KWljLk10ttEqy736mEq9ex8TqnJVHebwRZ33UQTFZClqhQrIcLUrar5PXwlFMtvhgI1-Du5tVtKr1KECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CWTJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSU5GUkElMjBDQSUyMDAxKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MB0GA1UdDgQWBBTVszhW7MMKoXa9-QpBHa5cQlUN9TAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAD-urQp96AuB916E-Te8RmgK90YXOfxpQ9UFVrx1h5G83WkRUIlKdESHrUjduIESxCRdkRY2ntf__S09h5_4l7f3rT0jpHXw-_8dUrAbn43jMiQmB2LXzLoyIWaLagT18F_wbUAmRMU1m1WEJE66ngt8mx407-SRKz6rKaPUCD2z-wIeSOcaXXY7KbRVUtbPS4GhSTo3fCRHPGpXS9ftpm-v7z3JFkXFsN7jcHBQDn2YqE7eFoPVqmoQtJZXXzAsWMeqSilE2wmsqn8Ty0ykZnqcfjuRNXoTC9CpuEhZYirAwmdBN87Cb7ZrhR2s8flm-uIqdEhk4mWeNMEyWsm5RLA\u0026s=KWpdw_Pn_9j6jduJVD6SM3jAsHqyqTMcGcYrvmo-DwOQ0M7j9e4OUXdKxHJ59JF_0P3Nqo-8yiOCu0SF6rMT4fiJwjolo9f5rhsFuCk2Gvk-t4CMDOyWC8K4_gQsc7NcP8qEzShJqlhmAZnecE4czkP80OLfAICjL_rukQh0AURAwabBfOIhHdbTWmxXOEq14ZsJN8SzPq1nyV2RbQPbMxPBvuZt5PRy6NtUk-HsHSQXlScSWikc9q9WzBsJgN6lXMCnyO-WJbQmbhDaUv_qZ0WCEgSRcvyFAJgA90P4ScrKlfcT_JZG7yQogCB4XW7rzTDapWcu7i6OR0htuF98dw\u0026h=ed2ZfjPB4eV20aVu2mFFMQoPwqJO-jWmDrBFOoCcWEc" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/7f710a88-1b8b-4565-9ed0-2abec3660ab1*44252F11F23E271202449AA9D9F1999458353079DCAEF2730CEF2538CB8E8BEE?api-version=2023-10-01" ], - "x-ms-request-id": [ "7f710a88-1b8b-4565-9ed0-2abec3660ab1" ], - "x-ms-correlation-request-id": [ "c1a76a2c-7cc5-4f88-b26f-32f5b84e223c" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T043017Z:c1a76a2c-7cc5-4f88-b26f-32f5b84e223c" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/91ff8653-47b4-4c9f-97c5-3f6789a4f1ee*FFC13723329134330218B02A7E201D6A409E5DF0C7FD1F4F56FAA645AE2A74F2?api-version=2024-07-01\u0026t=638537649345090081\u0026c=MIIHpTCCBo2gAwIBAgITOgMPIyvO-SSNo3JCxQAEAw8jKzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwNTE3MDc0MzI1WhcNMjUwNTEyMDc0MzI1WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMm-rUyPQv0z_LgvMVxRmSGe7k2sSDcjhZtJtacrGF0aA0mXhldjASVDsIKbducmYozS8YVn2yXvxW_2yo82m2q934keEf1UEKaSADUrozDPX5msTyt18UcXAPp7vPi8MXbYjFOyyuc1uzgXltAbdS5P2ki32RUjUplv8OZZSK5OvCrsyCwkmsg2yKxfHaRObmPqpu65x8lFk2jKBDK30LBTk2StP96kJI1VnIe3fxGXE6_1XKZTCJH9o_4vYvmA3wTHxlu8KWljLk10ttEqy736mEq9ex8TqnJVHebwRZ33UQTFZClqhQrIcLUrar5PXwlFMtvhgI1-Du5tVtKr1KECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CWTJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSU5GUkElMjBDQSUyMDAxKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MB0GA1UdDgQWBBTVszhW7MMKoXa9-QpBHa5cQlUN9TAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAD-urQp96AuB916E-Te8RmgK90YXOfxpQ9UFVrx1h5G83WkRUIlKdESHrUjduIESxCRdkRY2ntf__S09h5_4l7f3rT0jpHXw-_8dUrAbn43jMiQmB2LXzLoyIWaLagT18F_wbUAmRMU1m1WEJE66ngt8mx407-SRKz6rKaPUCD2z-wIeSOcaXXY7KbRVUtbPS4GhSTo3fCRHPGpXS9ftpm-v7z3JFkXFsN7jcHBQDn2YqE7eFoPVqmoQtJZXXzAsWMeqSilE2wmsqn8Ty0ykZnqcfjuRNXoTC9CpuEhZYirAwmdBN87Cb7ZrhR2s8flm-uIqdEhk4mWeNMEyWsm5RLA\u0026s=KWpdw_Pn_9j6jduJVD6SM3jAsHqyqTMcGcYrvmo-DwOQ0M7j9e4OUXdKxHJ59JF_0P3Nqo-8yiOCu0SF6rMT4fiJwjolo9f5rhsFuCk2Gvk-t4CMDOyWC8K4_gQsc7NcP8qEzShJqlhmAZnecE4czkP80OLfAICjL_rukQh0AURAwabBfOIhHdbTWmxXOEq14ZsJN8SzPq1nyV2RbQPbMxPBvuZt5PRy6NtUk-HsHSQXlScSWikc9q9WzBsJgN6lXMCnyO-WJbQmbhDaUv_qZ0WCEgSRcvyFAJgA90P4ScrKlfcT_JZG7yQogCB4XW7rzTDapWcu7i6OR0htuF98dw\u0026h=ed2ZfjPB4eV20aVu2mFFMQoPwqJO-jWmDrBFOoCcWEc" ], + "x-ms-request-id": [ "91ff8653-47b4-4c9f-97c5-3f6789a4f1ee" ], + "x-ms-correlation-request-id": [ "ce45b945-12d4-4b9f-a0d0-d24b1eb4f3e0" ], + "x-ms-ratelimit-remaining-subscription-deletes": [ "14999" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045534Z:ce45b945-12d4-4b9f-a0d0-d24b1eb4f3e0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:30:17 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 8C3E448C835040158581976CBA2F9432 Ref B: MAA201060516019 Ref C: 2024-06-12T04:55:32Z" ], + "Date": [ "Wed, 12 Jun 2024 04:55:34 GMT" ] }, "ContentHeaders": { "Content-Length": [ "4" ], @@ -81,20 +87,20 @@ "isContentBase64": false } }, - "Remove-AzStorageMoverProject+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/7f710a88-1b8b-4565-9ed0-2abec3660ab1*44252F11F23E271202449AA9D9F1999458353079DCAEF2730CEF2538CB8E8BEE?api-version=2023-10-01+3": { + "Remove-AzStorageMoverProject+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/91ff8653-47b4-4c9f-97c5-3f6789a4f1ee*FFC13723329134330218B02A7E201D6A409E5DF0C7FD1F4F56FAA645AE2A74F2?api-version=2024-07-01\u0026t=638537649345090081\u0026c=MIIHpTCCBo2gAwIBAgITOgMPIyvO-SSNo3JCxQAEAw8jKzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwNTE3MDc0MzI1WhcNMjUwNTEyMDc0MzI1WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMm-rUyPQv0z_LgvMVxRmSGe7k2sSDcjhZtJtacrGF0aA0mXhldjASVDsIKbducmYozS8YVn2yXvxW_2yo82m2q934keEf1UEKaSADUrozDPX5msTyt18UcXAPp7vPi8MXbYjFOyyuc1uzgXltAbdS5P2ki32RUjUplv8OZZSK5OvCrsyCwkmsg2yKxfHaRObmPqpu65x8lFk2jKBDK30LBTk2StP96kJI1VnIe3fxGXE6_1XKZTCJH9o_4vYvmA3wTHxlu8KWljLk10ttEqy736mEq9ex8TqnJVHebwRZ33UQTFZClqhQrIcLUrar5PXwlFMtvhgI1-Du5tVtKr1KECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CWTJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSU5GUkElMjBDQSUyMDAxKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MB0GA1UdDgQWBBTVszhW7MMKoXa9-QpBHa5cQlUN9TAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAD-urQp96AuB916E-Te8RmgK90YXOfxpQ9UFVrx1h5G83WkRUIlKdESHrUjduIESxCRdkRY2ntf__S09h5_4l7f3rT0jpHXw-_8dUrAbn43jMiQmB2LXzLoyIWaLagT18F_wbUAmRMU1m1WEJE66ngt8mx407-SRKz6rKaPUCD2z-wIeSOcaXXY7KbRVUtbPS4GhSTo3fCRHPGpXS9ftpm-v7z3JFkXFsN7jcHBQDn2YqE7eFoPVqmoQtJZXXzAsWMeqSilE2wmsqn8Ty0ykZnqcfjuRNXoTC9CpuEhZYirAwmdBN87Cb7ZrhR2s8flm-uIqdEhk4mWeNMEyWsm5RLA\u0026s=KWpdw_Pn_9j6jduJVD6SM3jAsHqyqTMcGcYrvmo-DwOQ0M7j9e4OUXdKxHJ59JF_0P3Nqo-8yiOCu0SF6rMT4fiJwjolo9f5rhsFuCk2Gvk-t4CMDOyWC8K4_gQsc7NcP8qEzShJqlhmAZnecE4czkP80OLfAICjL_rukQh0AURAwabBfOIhHdbTWmxXOEq14ZsJN8SzPq1nyV2RbQPbMxPBvuZt5PRy6NtUk-HsHSQXlScSWikc9q9WzBsJgN6lXMCnyO-WJbQmbhDaUv_qZ0WCEgSRcvyFAJgA90P4ScrKlfcT_JZG7yQogCB4XW7rzTDapWcu7i6OR0htuF98dw\u0026h=ed2ZfjPB4eV20aVu2mFFMQoPwqJO-jWmDrBFOoCcWEc+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/7f710a88-1b8b-4565-9ed0-2abec3660ab1*44252F11F23E271202449AA9D9F1999458353079DCAEF2730CEF2538CB8E8BEE?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/91ff8653-47b4-4c9f-97c5-3f6789a4f1ee*FFC13723329134330218B02A7E201D6A409E5DF0C7FD1F4F56FAA645AE2A74F2?api-version=2024-07-01\u0026t=638537649345090081\u0026c=MIIHpTCCBo2gAwIBAgITOgMPIyvO-SSNo3JCxQAEAw8jKzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwNTE3MDc0MzI1WhcNMjUwNTEyMDc0MzI1WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMm-rUyPQv0z_LgvMVxRmSGe7k2sSDcjhZtJtacrGF0aA0mXhldjASVDsIKbducmYozS8YVn2yXvxW_2yo82m2q934keEf1UEKaSADUrozDPX5msTyt18UcXAPp7vPi8MXbYjFOyyuc1uzgXltAbdS5P2ki32RUjUplv8OZZSK5OvCrsyCwkmsg2yKxfHaRObmPqpu65x8lFk2jKBDK30LBTk2StP96kJI1VnIe3fxGXE6_1XKZTCJH9o_4vYvmA3wTHxlu8KWljLk10ttEqy736mEq9ex8TqnJVHebwRZ33UQTFZClqhQrIcLUrar5PXwlFMtvhgI1-Du5tVtKr1KECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CWTJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSU5GUkElMjBDQSUyMDAxKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MB0GA1UdDgQWBBTVszhW7MMKoXa9-QpBHa5cQlUN9TAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAD-urQp96AuB916E-Te8RmgK90YXOfxpQ9UFVrx1h5G83WkRUIlKdESHrUjduIESxCRdkRY2ntf__S09h5_4l7f3rT0jpHXw-_8dUrAbn43jMiQmB2LXzLoyIWaLagT18F_wbUAmRMU1m1WEJE66ngt8mx407-SRKz6rKaPUCD2z-wIeSOcaXXY7KbRVUtbPS4GhSTo3fCRHPGpXS9ftpm-v7z3JFkXFsN7jcHBQDn2YqE7eFoPVqmoQtJZXXzAsWMeqSilE2wmsqn8Ty0ykZnqcfjuRNXoTC9CpuEhZYirAwmdBN87Cb7ZrhR2s8flm-uIqdEhk4mWeNMEyWsm5RLA\u0026s=KWpdw_Pn_9j6jduJVD6SM3jAsHqyqTMcGcYrvmo-DwOQ0M7j9e4OUXdKxHJ59JF_0P3Nqo-8yiOCu0SF6rMT4fiJwjolo9f5rhsFuCk2Gvk-t4CMDOyWC8K4_gQsc7NcP8qEzShJqlhmAZnecE4czkP80OLfAICjL_rukQh0AURAwabBfOIhHdbTWmxXOEq14ZsJN8SzPq1nyV2RbQPbMxPBvuZt5PRy6NtUk-HsHSQXlScSWikc9q9WzBsJgN6lXMCnyO-WJbQmbhDaUv_qZ0WCEgSRcvyFAJgA90P4ScrKlfcT_JZG7yQogCB4XW7rzTDapWcu7i6OR0htuF98dw\u0026h=ed2ZfjPB4eV20aVu2mFFMQoPwqJO-jWmDrBFOoCcWEc", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "55" ], - "x-ms-client-request-id": [ "8f2b5894-2753-4fbe-981c-e1fc500b01ef" ], + "x-ms-unique-id": [ "59" ], + "x-ms-client-request-id": [ "b9ff6170-cfac-41ac-a925-94bd55579c8a" ], "CommandName": [ "Remove-AzStorageMoverProject" ], "FullCommandName": [ "Remove-AzStorageMoverProject_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ] + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ] }, "ContentHeaders": { } @@ -104,38 +110,41 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"0c004a5e-0000-3400-0000-64ba09ee0000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11971" ], - "x-ms-request-id": [ "d8d4abe5-7b46-4e6c-be10-9507530cc149" ], - "x-ms-correlation-request-id": [ "0efd5faa-c3ad-45b9-a4f6-23c24ba686d7" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T043048Z:0efd5faa-c3ad-45b9-a4f6-23c24ba686d7" ], + "ETag": [ "\"02007989-0000-3400-0000-66692a5b0000\"" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-request-id": [ "96625965-8c36-4ae6-9a7c-cb520c15e4c8" ], + "x-ms-correlation-request-id": [ "62537c16-a61c-4c88-9b78-dd7b27d2635e" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045605Z:62537c16-a61c-4c88-9b78-dd7b27d2635e" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:30:48 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 4D84CD6BCB774480972D6C95CEF653B4 Ref B: MAA201060516019 Ref C: 2024-06-12T04:56:04Z" ], + "Date": [ "Wed, 12 Jun 2024 04:56:05 GMT" ] }, "ContentHeaders": { "Content-Length": [ "625" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/7f710a88-1b8b-4565-9ed0-2abec3660ab1*44252F11F23E271202449AA9D9F1999458353079DCAEF2730CEF2538CB8E8BEE\",\"name\":\"7f710a88-1b8b-4565-9ed0-2abec3660ab1*44252F11F23E271202449AA9D9F1999458353079DCAEF2730CEF2538CB8E8BEE\",\"resourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/projects/testProjecthc715gxy\",\"status\":\"Succeeded\",\"startTime\":\"2023-07-21T04:30:17.1757714Z\",\"properties\":null}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/91ff8653-47b4-4c9f-97c5-3f6789a4f1ee*FFC13723329134330218B02A7E201D6A409E5DF0C7FD1F4F56FAA645AE2A74F2\",\"name\":\"91ff8653-47b4-4c9f-97c5-3f6789a4f1ee*FFC13723329134330218B02A7E201D6A409E5DF0C7FD1F4F56FAA645AE2A74F2\",\"resourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/projects/testProjectpul1qe2g\",\"status\":\"Succeeded\",\"startTime\":\"2024-06-12T04:55:34.0503554Z\",\"properties\":null}", "isContentBase64": false } }, - "Remove-AzStorageMoverProject+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/7f710a88-1b8b-4565-9ed0-2abec3660ab1*44252F11F23E271202449AA9D9F1999458353079DCAEF2730CEF2538CB8E8BEE?api-version=2023-10-01+4": { + "Remove-AzStorageMoverProject+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/91ff8653-47b4-4c9f-97c5-3f6789a4f1ee*FFC13723329134330218B02A7E201D6A409E5DF0C7FD1F4F56FAA645AE2A74F2?api-version=2024-07-01\u0026t=638537649345090081\u0026c=MIIHpTCCBo2gAwIBAgITOgMPIyvO-SSNo3JCxQAEAw8jKzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwNTE3MDc0MzI1WhcNMjUwNTEyMDc0MzI1WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMm-rUyPQv0z_LgvMVxRmSGe7k2sSDcjhZtJtacrGF0aA0mXhldjASVDsIKbducmYozS8YVn2yXvxW_2yo82m2q934keEf1UEKaSADUrozDPX5msTyt18UcXAPp7vPi8MXbYjFOyyuc1uzgXltAbdS5P2ki32RUjUplv8OZZSK5OvCrsyCwkmsg2yKxfHaRObmPqpu65x8lFk2jKBDK30LBTk2StP96kJI1VnIe3fxGXE6_1XKZTCJH9o_4vYvmA3wTHxlu8KWljLk10ttEqy736mEq9ex8TqnJVHebwRZ33UQTFZClqhQrIcLUrar5PXwlFMtvhgI1-Du5tVtKr1KECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CWTJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSU5GUkElMjBDQSUyMDAxKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MB0GA1UdDgQWBBTVszhW7MMKoXa9-QpBHa5cQlUN9TAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAD-urQp96AuB916E-Te8RmgK90YXOfxpQ9UFVrx1h5G83WkRUIlKdESHrUjduIESxCRdkRY2ntf__S09h5_4l7f3rT0jpHXw-_8dUrAbn43jMiQmB2LXzLoyIWaLagT18F_wbUAmRMU1m1WEJE66ngt8mx407-SRKz6rKaPUCD2z-wIeSOcaXXY7KbRVUtbPS4GhSTo3fCRHPGpXS9ftpm-v7z3JFkXFsN7jcHBQDn2YqE7eFoPVqmoQtJZXXzAsWMeqSilE2wmsqn8Ty0ykZnqcfjuRNXoTC9CpuEhZYirAwmdBN87Cb7ZrhR2s8flm-uIqdEhk4mWeNMEyWsm5RLA\u0026s=KWpdw_Pn_9j6jduJVD6SM3jAsHqyqTMcGcYrvmo-DwOQ0M7j9e4OUXdKxHJ59JF_0P3Nqo-8yiOCu0SF6rMT4fiJwjolo9f5rhsFuCk2Gvk-t4CMDOyWC8K4_gQsc7NcP8qEzShJqlhmAZnecE4czkP80OLfAICjL_rukQh0AURAwabBfOIhHdbTWmxXOEq14ZsJN8SzPq1nyV2RbQPbMxPBvuZt5PRy6NtUk-HsHSQXlScSWikc9q9WzBsJgN6lXMCnyO-WJbQmbhDaUv_qZ0WCEgSRcvyFAJgA90P4ScrKlfcT_JZG7yQogCB4XW7rzTDapWcu7i6OR0htuF98dw\u0026h=ed2ZfjPB4eV20aVu2mFFMQoPwqJO-jWmDrBFOoCcWEc+4": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/7f710a88-1b8b-4565-9ed0-2abec3660ab1*44252F11F23E271202449AA9D9F1999458353079DCAEF2730CEF2538CB8E8BEE?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/91ff8653-47b4-4c9f-97c5-3f6789a4f1ee*FFC13723329134330218B02A7E201D6A409E5DF0C7FD1F4F56FAA645AE2A74F2?api-version=2024-07-01\u0026t=638537649345090081\u0026c=MIIHpTCCBo2gAwIBAgITOgMPIyvO-SSNo3JCxQAEAw8jKzANBgkqhkiG9w0BAQsFADBEMRMwEQYKCZImiZPyLGQBGRYDR0JMMRMwEQYKCZImiZPyLGQBGRYDQU1FMRgwFgYDVQQDEw9BTUUgSU5GUkEgQ0EgMDEwHhcNMjQwNTE3MDc0MzI1WhcNMjUwNTEyMDc0MzI1WjBAMT4wPAYDVQQDEzVhc3luY29wZXJhdGlvbnNpZ25pbmdjZXJ0aWZpY2F0ZS5tYW5hZ2VtZW50LmF6dXJlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMm-rUyPQv0z_LgvMVxRmSGe7k2sSDcjhZtJtacrGF0aA0mXhldjASVDsIKbducmYozS8YVn2yXvxW_2yo82m2q934keEf1UEKaSADUrozDPX5msTyt18UcXAPp7vPi8MXbYjFOyyuc1uzgXltAbdS5P2ki32RUjUplv8OZZSK5OvCrsyCwkmsg2yKxfHaRObmPqpu65x8lFk2jKBDK30LBTk2StP96kJI1VnIe3fxGXE6_1XKZTCJH9o_4vYvmA3wTHxlu8KWljLk10ttEqy736mEq9ex8TqnJVHebwRZ33UQTFZClqhQrIcLUrar5PXwlFMtvhgI1-Du5tVtKr1KECAwEAAaOCBJIwggSOMCcGCSsGAQQBgjcVCgQaMBgwCgYIKwYBBQUHAwEwCgYIKwYBBQUHAwIwPQYJKwYBBAGCNxUHBDAwLgYmKwYBBAGCNxUIhpDjDYTVtHiE8Ys-hZvdFs6dEoFggvX2K4Py0SACAWQCAQowggHaBggrBgEFBQcBAQSCAcwwggHIMGYGCCsGAQUFBzAChlpodHRwOi8vY3JsLm1pY3Jvc29mdC5jb20vcGtpaW5mcmEvQ2VydHMvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmwxLmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MFYGCCsGAQUFBzAChkpodHRwOi8vY3JsMi5hbWUuZ2JsL2FpYS9CWTJQS0lJTlRDQTAxLkFNRS5HQkxfQU1FJTIwSU5GUkElMjBDQSUyMDAxKDQpLmNydDBWBggrBgEFBQcwAoZKaHR0cDovL2NybDMuYW1lLmdibC9haWEvQlkyUEtJSU5UQ0EwMS5BTUUuR0JMX0FNRSUyMElORlJBJTIwQ0ElMjAwMSg0KS5jcnQwVgYIKwYBBQUHMAKGSmh0dHA6Ly9jcmw0LmFtZS5nYmwvYWlhL0JZMlBLSUlOVENBMDEuQU1FLkdCTF9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3J0MB0GA1UdDgQWBBTVszhW7MMKoXa9-QpBHa5cQlUN9TAOBgNVHQ8BAf8EBAMCBaAwggE1BgNVHR8EggEsMIIBKDCCASSgggEgoIIBHIZCaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraWluZnJhL0NSTC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMS5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMi5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsMy5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JshjRodHRwOi8vY3JsNC5hbWUuZ2JsL2NybC9BTUUlMjBJTkZSQSUyMENBJTIwMDEoNCkuY3JsMIGdBgNVHSAEgZUwgZIwDAYKKwYBBAGCN3sBATBmBgorBgEEAYI3ewICMFgwVgYIKwYBBQUHAgIwSh5IADMAMwBlADAAMQA5ADIAMQAtADQAZAA2ADQALQA0AGYAOABjAC0AYQAwADUANQAtADUAYgBkAGEAZgBmAGQANQBlADMAMwBkMAwGCisGAQQBgjd7AwEwDAYKKwYBBAGCN3sEATAfBgNVHSMEGDAWgBTl2Ztn_PjsurvwwKidileIud8-YzAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIwDQYJKoZIhvcNAQELBQADggEBAD-urQp96AuB916E-Te8RmgK90YXOfxpQ9UFVrx1h5G83WkRUIlKdESHrUjduIESxCRdkRY2ntf__S09h5_4l7f3rT0jpHXw-_8dUrAbn43jMiQmB2LXzLoyIWaLagT18F_wbUAmRMU1m1WEJE66ngt8mx407-SRKz6rKaPUCD2z-wIeSOcaXXY7KbRVUtbPS4GhSTo3fCRHPGpXS9ftpm-v7z3JFkXFsN7jcHBQDn2YqE7eFoPVqmoQtJZXXzAsWMeqSilE2wmsqn8Ty0ykZnqcfjuRNXoTC9CpuEhZYirAwmdBN87Cb7ZrhR2s8flm-uIqdEhk4mWeNMEyWsm5RLA\u0026s=KWpdw_Pn_9j6jduJVD6SM3jAsHqyqTMcGcYrvmo-DwOQ0M7j9e4OUXdKxHJ59JF_0P3Nqo-8yiOCu0SF6rMT4fiJwjolo9f5rhsFuCk2Gvk-t4CMDOyWC8K4_gQsc7NcP8qEzShJqlhmAZnecE4czkP80OLfAICjL_rukQh0AURAwabBfOIhHdbTWmxXOEq14ZsJN8SzPq1nyV2RbQPbMxPBvuZt5PRy6NtUk-HsHSQXlScSWikc9q9WzBsJgN6lXMCnyO-WJbQmbhDaUv_qZ0WCEgSRcvyFAJgA90P4ScrKlfcT_JZG7yQogCB4XW7rzTDapWcu7i6OR0htuF98dw\u0026h=ed2ZfjPB4eV20aVu2mFFMQoPwqJO-jWmDrBFOoCcWEc", "Content": null, "isContentBase64": false, "Headers": { "Authorization": [ "[Filtered]" ], - "x-ms-unique-id": [ "56" ], - "x-ms-client-request-id": [ "8f2b5894-2753-4fbe-981c-e1fc500b01ef" ], + "x-ms-unique-id": [ "60" ], + "x-ms-client-request-id": [ "b9ff6170-cfac-41ac-a925-94bd55579c8a" ], "CommandName": [ "Remove-AzStorageMoverProject" ], "FullCommandName": [ "Remove-AzStorageMoverProject_Delete" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ] + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ] }, "ContentHeaders": { } @@ -145,37 +154,40 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"0c004a5e-0000-3400-0000-64ba09ee0000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11970" ], - "x-ms-request-id": [ "77137790-0b32-4e5b-9bb4-45d9009475cf" ], - "x-ms-correlation-request-id": [ "5c42b0d6-89ab-4e38-a592-af6162b0e587" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T043048Z:5c42b0d6-89ab-4e38-a592-af6162b0e587" ], + "ETag": [ "\"02007989-0000-3400-0000-66692a5b0000\"" ], + "x-ms-throttling-version": [ "v1" ], + "x-ms-request-id": [ "ebae22ab-47da-4902-88c4-004d3eae3a46" ], + "x-ms-correlation-request-id": [ "c0b158ac-05b2-448e-9542-5eb290c8e7d7" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045606Z:c0b158ac-05b2-448e-9542-5eb290c8e7d7" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:30:48 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: DBB42F5C4917478CAF08FB0E31EB1046 Ref B: MAA201060516019 Ref C: 2024-06-12T04:56:05Z" ], + "Date": [ "Wed, 12 Jun 2024 04:56:06 GMT" ] }, "ContentHeaders": { "Content-Length": [ "625" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/7f710a88-1b8b-4565-9ed0-2abec3660ab1*44252F11F23E271202449AA9D9F1999458353079DCAEF2730CEF2538CB8E8BEE\",\"name\":\"7f710a88-1b8b-4565-9ed0-2abec3660ab1*44252F11F23E271202449AA9D9F1999458353079DCAEF2730CEF2538CB8E8BEE\",\"resourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/projects/testProjecthc715gxy\",\"status\":\"Succeeded\",\"startTime\":\"2023-07-21T04:30:17.1757714Z\",\"properties\":null}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/91ff8653-47b4-4c9f-97c5-3f6789a4f1ee*FFC13723329134330218B02A7E201D6A409E5DF0C7FD1F4F56FAA645AE2A74F2\",\"name\":\"91ff8653-47b4-4c9f-97c5-3f6789a4f1ee*FFC13723329134330218B02A7E201D6A409E5DF0C7FD1F4F56FAA645AE2A74F2\",\"resourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/projects/testProjectpul1qe2g\",\"status\":\"Succeeded\",\"startTime\":\"2024-06-12T04:55:34.0503554Z\",\"properties\":null}", "isContentBase64": false } }, - "Remove-AzStorageMoverProject+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/projects?api-version=2023-10-01+5": { + "Remove-AzStorageMoverProject+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/projects?api-version=2024-07-01+5": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/projects?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/projects?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "57" ], - "x-ms-client-request-id": [ "2b4b8aef-003a-425b-83b7-517e3deb732c" ], + "x-ms-unique-id": [ "61" ], + "x-ms-client-request-id": [ "1e9ba6bb-1dc1-4395-a05f-542b8b34050f" ], "CommandName": [ "Get-AzStorageMoverProject" ], "FullCommandName": [ "Get-AzStorageMoverProject_List" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -186,14 +198,17 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11969" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "4bbafca7-b15f-4341-b69f-ce4056d5db7f" ], - "x-ms-correlation-request-id": [ "e9582395-619d-44cc-a4d5-d50620be294e" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T043049Z:e9582395-619d-44cc-a4d5-d50620be294e" ], + "x-ms-request-id": [ "50dd5af0-62b1-42f1-8d7b-006258d37f22" ], + "x-ms-correlation-request-id": [ "4bf3006d-7e0c-47ff-8a70-ba20200d1ae8" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045607Z:4bf3006d-7e0c-47ff-8a70-ba20200d1ae8" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:30:49 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: BBD9A308658646EB931D76F0363D294E Ref B: MAA201060516019 Ref C: 2024-06-12T04:56:06Z" ], + "Date": [ "Wed, 12 Jun 2024 04:56:07 GMT" ] }, "ContentHeaders": { "Content-Length": [ "12" ], diff --git a/src/StorageMover/StorageMover.Autorest/test/Start-AzStorageMoverJobDefinition.Recording.json b/src/StorageMover/StorageMover.Autorest/test/Start-AzStorageMoverJobDefinition.Recording.json deleted file mode 100644 index b758cf8bc059..000000000000 --- a/src/StorageMover/StorageMover.Autorest/test/Start-AzStorageMoverJobDefinition.Recording.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "Start-AzStorageMoverJobDefinition+[NoContext]+Start+$POST+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testStorageMover/providers/Microsoft.StorageMover/storageMovers/testStorageMover2/projects/testProject4068b735/jobDefinitions/testJob4068b735/startJob?api-version=2023-03-01+1": { - "Request": { - "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testStorageMover/providers/Microsoft.StorageMover/storageMovers/testStorageMover2/projects/testProject4068b735/jobDefinitions/testJob4068b735/startJob?api-version=2023-03-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "44" ], - "x-ms-client-request-id": [ "86c37c6a-f7ea-4b8e-a1ad-6099249990cd" ], - "CommandName": [ "Start-AzStorageMoverJobDefinition" ], - "FullCommandName": [ "Start-AzStorageMoverJobDefinition_Start" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v8.0.0", "PSVersion/v7.2.5", "Az.StorageMover/0.1.0" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], - "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "c7ba9de3-8419-4d4e-93c1-5d5303f960da" ], - "x-ms-request-id": [ "5c8f97e0-dc56-42c7-8743-96f5a875ddc1" ], - "x-ms-correlation-request-id": [ "365605ca-95ec-4750-8cb2-ec6781dec12f" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220802T053650Z:365605ca-95ec-4750-8cb2-ec6781dec12f" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 02 Aug 2022 05:36:50 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "276" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"jobRunResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testStorageMover/providers/Microsoft.StorageMover/storageMovers/testStorageMover2/projects/testProject4068b735/jobDefinitions/testJob4068b735/jobRuns/fa1774eb-b1bb-460c-9785-e70725e9d577\"}", - "isContentBase64": false - } - } -} \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/test/Stop-AzStorageMoverJobDefinition.Recording.json b/src/StorageMover/StorageMover.Autorest/test/Stop-AzStorageMoverJobDefinition.Recording.json deleted file mode 100644 index a621de7616e2..000000000000 --- a/src/StorageMover/StorageMover.Autorest/test/Stop-AzStorageMoverJobDefinition.Recording.json +++ /dev/null @@ -1,86 +0,0 @@ -{ - "Stop-AzStorageMoverJobDefinition+[NoContext]+Stop+$POST+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testStorageMover/providers/Microsoft.StorageMover/storageMovers/testStorageMover2/projects/testProject4068b735/jobDefinitions/testJob4068b735/startJob?api-version=2023-03-01+1": { - "Request": { - "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testStorageMover/providers/Microsoft.StorageMover/storageMovers/testStorageMover2/projects/testProject4068b735/jobDefinitions/testJob4068b735/startJob?api-version=2023-03-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "45" ], - "x-ms-client-request-id": [ "2424fd46-e430-48ef-9177-f6f177bea017" ], - "CommandName": [ "Start-AzStorageMoverJobDefinition" ], - "FullCommandName": [ "Start-AzStorageMoverJobDefinition_Start" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v8.0.0", "PSVersion/v7.2.5", "Az.StorageMover/0.1.0" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1197" ], - "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "1ab99992-4688-42b1-b5de-9cb42b6df6f9" ], - "x-ms-request-id": [ "40a86f90-8348-4fa1-a224-1d82fb959764" ], - "x-ms-correlation-request-id": [ "bb0063cd-f57a-47e3-a5da-4f9be2d74117" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220802T053652Z:bb0063cd-f57a-47e3-a5da-4f9be2d74117" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 02 Aug 2022 05:36:52 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "276" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"jobRunResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testStorageMover/providers/Microsoft.StorageMover/storageMovers/testStorageMover2/projects/testProject4068b735/jobDefinitions/testJob4068b735/jobRuns/9988b838-2572-4ab2-8cf7-0a33f4344495\"}", - "isContentBase64": false - } - }, - "Stop-AzStorageMoverJobDefinition+[NoContext]+Stop+$POST+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testStorageMover/providers/Microsoft.StorageMover/storageMovers/testStorageMover2/projects/testProject4068b735/jobDefinitions/testJob4068b735/stopJob?api-version=2023-03-01+2": { - "Request": { - "Method": "POST", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testStorageMover/providers/Microsoft.StorageMover/storageMovers/testStorageMover2/projects/testProject4068b735/jobDefinitions/testJob4068b735/stopJob?api-version=2023-03-01", - "Content": null, - "isContentBase64": false, - "Headers": { - "x-ms-unique-id": [ "46" ], - "x-ms-client-request-id": [ "249f3ad3-3334-4e6b-a68c-096c86aff1f7" ], - "CommandName": [ "Stop-AzStorageMoverJobDefinition" ], - "FullCommandName": [ "Stop-AzStorageMoverJobDefinition_Stop" ], - "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v8.0.0", "PSVersion/v7.2.5", "Az.StorageMover/0.1.0" ], - "Authorization": [ "[Filtered]" ] - }, - "ContentHeaders": { - } - }, - "Response": { - "StatusCode": 200, - "Headers": { - "Cache-Control": [ "no-cache" ], - "Pragma": [ "no-cache" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1196" ], - "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "1c1201ff-23b7-420e-b3ba-fbed9c972593" ], - "x-ms-request-id": [ "64812f86-9f25-477e-b534-3fbf7d0bce23" ], - "x-ms-correlation-request-id": [ "a8572d02-21f5-4ab4-b459-1c75aaa0c9ac" ], - "x-ms-routing-request-id": [ "SOUTHEASTASIA:20220802T053653Z:a8572d02-21f5-4ab4-b459-1c75aaa0c9ac" ], - "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], - "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Tue, 02 Aug 2022 05:36:53 GMT" ] - }, - "ContentHeaders": { - "Content-Length": [ "276" ], - "Content-Type": [ "application/json; charset=utf-8" ], - "Expires": [ "-1" ] - }, - "Content": "{\"jobRunResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/testStorageMover/providers/Microsoft.StorageMover/storageMovers/testStorageMover2/projects/testProject4068b735/jobDefinitions/testJob4068b735/jobRuns/9988b838-2572-4ab2-8cf7-0a33f4344495\"}", - "isContentBase64": false - } - } -} \ No newline at end of file diff --git a/src/StorageMover/StorageMover.Autorest/test/Unregister-AzStorageMoverAgent.Recording.json b/src/StorageMover/StorageMover.Autorest/test/Unregister-AzStorageMoverAgent.Recording.json index 2132953091c7..6665d9b01a18 100644 --- a/src/StorageMover/StorageMover.Autorest/test/Unregister-AzStorageMoverAgent.Recording.json +++ b/src/StorageMover/StorageMover.Autorest/test/Unregister-AzStorageMoverAgent.Recording.json @@ -1,8 +1,8 @@ { - "Unregister-AzStorageMoverAgent+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent1?api-version=2023-10-01+3": { + "Unregister-AzStorageMoverAgent+[NoContext]+Delete+$DELETE+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent12?api-version=2024-07-01+3": { "Request": { "Method": "DELETE", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent1?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent12?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { @@ -23,11 +23,11 @@ "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], "ETag": [ "\"1d009706-0000-3400-0000-64ba0a0b0000\"" ], - "Location": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/9263da72-c878-4586-8b69-ec27ed588d1b*CD8DD8889960C83D88C9B30058A155C5BC87E6AE5EA5560421B07D0FEA94D4EA?api-version=2023-10-01" ], + "Location": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/9263da72-c878-4586-8b69-ec27ed588d1b*CD8DD8889960C83D88C9B30058A155C5BC87E6AE5EA5560421B07D0FEA94D4EA?api-version=2024-07-01" ], "x-ms-ratelimit-remaining-subscription-deletes": [ "14995" ], "x-ms-providerhub-traffic": [ "True" ], "mise-correlation-id": [ "6d1e62a2-fcf1-4390-b510-24d42852ffe7" ], - "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/9263da72-c878-4586-8b69-ec27ed588d1b*CD8DD8889960C83D88C9B30058A155C5BC87E6AE5EA5560421B07D0FEA94D4EA?api-version=2023-10-01" ], + "Azure-AsyncOperation": [ "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/providers/Microsoft.StorageMover/locations/EASTUS2EUAP/operationStatuses/9263da72-c878-4586-8b69-ec27ed588d1b*CD8DD8889960C83D88C9B30058A155C5BC87E6AE5EA5560421B07D0FEA94D4EA?api-version=2024-07-01" ], "x-ms-request-id": [ "9263da72-c878-4586-8b69-ec27ed588d1b" ], "x-ms-correlation-request-id": [ "01f2bd3c-2ca5-4187-8f87-fd568aeaf6ee" ], "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T043107Z:01f2bd3c-2ca5-4187-8f87-fd568aeaf6ee" ], @@ -44,10 +44,10 @@ "isContentBase64": false } }, - "Unregister-AzStorageMoverAgent+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent1?api-version=2023-10-01+2": { + "Unregister-AzStorageMoverAgent+[NoContext]+Delete+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent12?api-version=2024-07-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent1?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent12?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { @@ -83,7 +83,7 @@ "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent1\",\"name\":\"testagent1\",\"type\":\"microsoft.storagemover/storagemovers/agents\",\"systemData\":{\"createdBy\":\"yifanzhang@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-07-21T04:27:22.5834022Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:30:54.0851898Z\"},\"properties\":{\"agentVersion\":\"1.1.256_amd64\",\"arcResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.HybridCompute/machines/testagent1\",\"arcVmUuid\":\"c026168f-4f75-c847-aa19-2dfc4185d74e\",\"localIPAddress\":\"10.172.2.82\",\"memoryInMB\":2748,\"numberOfCores\":1,\"uptimeInSeconds\":479,\"lastStatusUpdate\":\"2023-07-21T04:30:39.3651408Z\",\"agentStatus\":\"Unregistering\",\"description\":\"update agent description\",\"provisioningState\":\"Deleting\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent12\",\"name\":\"testagent12\",\"type\":\"microsoft.storagemover/storagemovers/agents\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:49:38.379944Z\",\"lastModifiedBy\":\"aed824f0-6446-4ef9-9e17-98b0157c09dc\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2024-06-12T04:56:38.5678544Z\"},\"properties\":{\"agentVersion\":\"3.1.3195-PullRequest-debug_amd64:3.1.3195-PullRequest-debug_amd64\",\"arcResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.HybridCompute/machines/testagent12\",\"arcVmUuid\":\"fe2895d1-f1e6-2445-b79a-3a3ca1f57ee2\",\"uploadLimitSchedule\":{\"weeklyRecurrences\":[{\"limitInMbps\":100,\"days\":[\"Monday\",\"Tuesday\",\"Friday\"],\"startTime\":{\"hour\":1,\"minute\":30},\"endTime\":{\"hour\":5,\"minute\":0}}]},\"timeZone\":\"UTC\",\"localIPAddress\":\"192.168.161.105\",\"memoryInMB\":1634,\"numberOfCores\":8,\"uptimeInSeconds\":1732,\"lastStatusUpdate\":\"2024-06-12T04:56:37.3121827Z\",\"agentStatus\":\"Unregistering\",\"description\":\"update agent description\",\"provisioningState\":\"Deleting\"}}", "isContentBase64": false } } diff --git a/src/StorageMover/StorageMover.Autorest/test/Update-AzStorageMover.Recording.json b/src/StorageMover/StorageMover.Autorest/test/Update-AzStorageMover.Recording.json index caa2cf263855..014e91e91167 100644 --- a/src/StorageMover/StorageMover.Autorest/test/Update-AzStorageMover.Recording.json +++ b/src/StorageMover/StorageMover.Autorest/test/Update-AzStorageMover.Recording.json @@ -1,8 +1,8 @@ { - "Update-AzStorageMover+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStorageMoverk3pmhtl9?api-version=2023-10-01+1": { + "Update-AzStorageMover+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStorageMoverk3pmhtl9?api-version=2024-07-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStorageMoverk3pmhtl9?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStorageMoverk3pmhtl9?api-version=2024-07-01", "Content": "{\r\n \"location\": \"eastus2euap\",\r\n \"properties\": {\r\n \"description\": \"test Storage mover description\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -17,30 +17,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"0500bc13-0000-3400-0000-64ba09fb0000\"" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1179" ], + "ETag": [ "\"0000915f-0000-3400-0000-66692a6c0000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "6fae8342-1263-4068-8b9a-0ef0ddb568ca" ], - "x-ms-request-id": [ "a76011d0-8485-4407-879c-a88bfea1cf40" ], - "x-ms-correlation-request-id": [ "6d4d3db1-cfb7-4b4a-ab57-aaf202766e3d" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T043051Z:6d4d3db1-cfb7-4b4a-ab57-aaf202766e3d" ], + "mise-correlation-id": [ "75d5505f-6510-4ca1-9722-edaffa4d3462" ], + "x-ms-request-id": [ "eea94ebd-6182-469a-a122-8d52d16ef671" ], + "x-ms-correlation-request-id": [ "3b8a9089-e54f-4a14-ae83-5227d99cfde0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045613Z:3b8a9089-e54f-4a14-ae83-5227d99cfde0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:30:50 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 8A55EBFE99BD42D69B8B9D2689F5596C Ref B: MAA201060516019 Ref C: 2024-06-12T04:56:08Z" ], + "Date": [ "Wed, 12 Jun 2024 04:56:13 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "640" ], + "Content-Length": [ "603" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStorageMoverk3pmhtl9\",\"name\":\"testStorageMoverk3pmhtl9\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T02:26:40.450455Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:30:51.1944689Z\"},\"properties\":{\"description\":\"test Storage mover description\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStorageMoverk3pmhtl9\",\"name\":\"testStorageMoverk3pmhtl9\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:56:11.7731862Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:56:11.7731862Z\"},\"properties\":{\"description\":\"test Storage mover description\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "Update-AzStorageMover+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStorageMoverk3pmhtl9?api-version=2023-10-01+2": { + "Update-AzStorageMover+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStorageMoverk3pmhtl9?api-version=2024-07-01+2": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStorageMoverk3pmhtl9?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStorageMoverk3pmhtl9?api-version=2024-07-01", "Content": "{\r\n \"properties\": {\r\n \"description\": \"update storage mover description\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -55,39 +58,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"0500bd13-0000-3400-0000-64ba09fc0000\"" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1178" ], + "ETag": [ "\"0000925f-0000-3400-0000-66692a6e0000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "ffae5899-bd3a-438f-89aa-cce70d003f34" ], - "x-ms-request-id": [ "b93614c3-869c-4f7b-a24e-177c09a3066b" ], - "x-ms-correlation-request-id": [ "6ebb49cf-49ff-4070-b49d-e4e21b07300e" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T043052Z:6ebb49cf-49ff-4070-b49d-e4e21b07300e" ], + "mise-correlation-id": [ "5f5b8d4d-aeed-4274-b260-9739e98457d1" ], + "x-ms-request-id": [ "f644c79e-9c04-4792-9d68-775f2fa99c48" ], + "x-ms-correlation-request-id": [ "b594ec5b-d33a-48ec-8e08-e9488da1636d" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045615Z:b594ec5b-d33a-48ec-8e08-e9488da1636d" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:30:51 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: BB014933E7364508A814418AF914858C Ref B: MAA201060516019 Ref C: 2024-06-12T04:56:13Z" ], + "Date": [ "Wed, 12 Jun 2024 04:56:15 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "642" ], + "Content-Length": [ "605" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStorageMoverk3pmhtl9\",\"name\":\"testStorageMoverk3pmhtl9\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T02:26:40.450455Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:30:52.0225687Z\"},\"properties\":{\"description\":\"update storage mover description\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStorageMoverk3pmhtl9\",\"name\":\"testStorageMoverk3pmhtl9\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:56:11.7731862Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:56:14.0024928Z\"},\"properties\":{\"description\":\"update storage mover description\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "Update-AzStorageMover+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStorageMoverk3pmhtl9?api-version=2023-10-01+3": { + "Update-AzStorageMover+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStorageMoverk3pmhtl9?api-version=2024-07-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStorageMoverk3pmhtl9?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStorageMoverk3pmhtl9?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "60" ], - "x-ms-client-request-id": [ "b8ee155c-34f5-411b-9b1e-22b9fd369c2e" ], + "x-ms-unique-id": [ "64" ], + "x-ms-client-request-id": [ "2e2b7f92-f83e-405a-92ff-c656e2fa2f51" ], "CommandName": [ "Get-AzStorageMover" ], "FullCommandName": [ "Get-AzStorageMover_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -98,22 +104,25 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"0500bd13-0000-3400-0000-64ba09fc0000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11968" ], + "ETag": [ "\"0000925f-0000-3400-0000-66692a6e0000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "48810a3a-32f0-4083-acb3-e71dd55c8c7f" ], - "x-ms-correlation-request-id": [ "c6197e06-84be-4d07-b6f1-f24ff4b29cfe" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T043053Z:c6197e06-84be-4d07-b6f1-f24ff4b29cfe" ], + "x-ms-request-id": [ "bbe69a7c-f98a-423f-a398-81851d6ac6de" ], + "x-ms-correlation-request-id": [ "a5d8d3e2-8704-4572-a80a-f84d305f1e60" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045617Z:a5d8d3e2-8704-4572-a80a-f84d305f1e60" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:30:53 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: F24369F8331347C086F265BAA58A91FA Ref B: MAA201060516019 Ref C: 2024-06-12T04:56:15Z" ], + "Date": [ "Wed, 12 Jun 2024 04:56:17 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "642" ], + "Content-Length": [ "605" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStorageMoverk3pmhtl9\",\"name\":\"testStorageMoverk3pmhtl9\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T02:26:40.450455Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:30:52.0225687Z\"},\"properties\":{\"description\":\"update storage mover description\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStorageMoverk3pmhtl9\",\"name\":\"testStorageMoverk3pmhtl9\",\"type\":\"microsoft.storagemover/storagemovers\",\"location\":\"eastus2euap\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:56:11.7731862Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:56:14.0024928Z\"},\"properties\":{\"description\":\"update storage mover description\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } } diff --git a/src/StorageMover/StorageMover.Autorest/test/Update-AzStorageMoverAgent.Recording.json b/src/StorageMover/StorageMover.Autorest/test/Update-AzStorageMoverAgent.Recording.json index 6ca98cea68d7..ec9e60611728 100644 --- a/src/StorageMover/StorageMover.Autorest/test/Update-AzStorageMoverAgent.Recording.json +++ b/src/StorageMover/StorageMover.Autorest/test/Update-AzStorageMoverAgent.Recording.json @@ -1,15 +1,15 @@ { - "Update-AzStorageMoverAgent+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent1?api-version=2023-10-01+1": { + "Update-AzStorageMoverAgent+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent12?api-version=2024-07-01+1": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent1?api-version=2023-10-01", - "Content": "{\r\n \"properties\": {\r\n \"description\": \"update agent description\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent12?api-version=2024-07-01", + "Content": "{\r\n \"properties\": {\r\n \"uploadLimitSchedule\": {\r\n \"weeklyRecurrences\": [\r\n {\r\n \"startTime\": {\r\n \"hour\": 1,\r\n \"minute\": 30\r\n },\r\n \"endTime\": {\r\n \"hour\": 5,\r\n \"minute\": 0\r\n },\r\n \"days\": [ \"Monday\", \"Tuesday\", \"Friday\" ],\r\n \"limitInMbps\": 100\r\n }\r\n ]\r\n },\r\n \"description\": \"update agent description\"\r\n }\r\n}", "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "75" ] + "Content-Length": [ "435" ] } }, "Response": { @@ -17,39 +17,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"1d007206-0000-3400-0000-64ba09fe0000\"" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1177" ], + "ETag": [ "\"01004081-0000-3400-0000-66692a730000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "6089b363-7541-4455-b906-0b37248eaaa4" ], - "x-ms-request-id": [ "16f48e23-ac9f-43cb-a389-5bac55339b33" ], - "x-ms-correlation-request-id": [ "0300959b-0125-4811-9b18-c78025613940" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T043054Z:0300959b-0125-4811-9b18-c78025613940" ], + "mise-correlation-id": [ "8dc0409e-20fa-40cc-8491-571152d8a1f1" ], + "x-ms-request-id": [ "49e1b12f-e25e-4900-88bc-6cecbdfbfed9" ], + "x-ms-correlation-request-id": [ "daa8ab3f-99f9-4b29-a629-927a4ccf6770" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045620Z:daa8ab3f-99f9-4b29-a629-927a4ccf6770" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:30:54 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 4135559B2390412595F89F454ADFDF97 Ref B: MAA201060516019 Ref C: 2024-06-12T04:56:17Z" ], + "Date": [ "Wed, 12 Jun 2024 04:56:20 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "995" ], + "Content-Length": [ "1222" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent1\",\"name\":\"testagent1\",\"type\":\"microsoft.storagemover/storagemovers/agents\",\"systemData\":{\"createdBy\":\"yifanzhang@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-07-21T04:27:22.5834022Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:30:54.0851898Z\"},\"properties\":{\"arcResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.HybridCompute/machines/testagent1\",\"arcVmUuid\":\"c026168f-4f75-c847-aa19-2dfc4185d74e\",\"agentStatus\":\"Online\",\"provisioningState\":\"Succeeded\",\"agentVersion\":\"1.1.256_amd64\",\"localIPAddress\":\"10.172.2.82\",\"memoryInMB\":2748,\"numberOfCores\":1,\"uptimeInSeconds\":479,\"lastStatusUpdate\":\"2023-07-21T04:30:39.3651408Z\",\"description\":\"update agent description\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent12\",\"name\":\"testagent12\",\"type\":\"microsoft.storagemover/storagemovers/agents\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:49:38.379944Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:56:18.3437587Z\"},\"properties\":{\"arcResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.HybridCompute/machines/testagent12\",\"arcVmUuid\":\"fe2895d1-f1e6-2445-b79a-3a3ca1f57ee2\",\"agentStatus\":\"Online\",\"provisioningState\":\"Succeeded\",\"agentVersion\":\"3.1.3195-PullRequest-debug_amd64:3.1.3195-PullRequest-debug_amd64\",\"timeZone\":\"UTC\",\"localIPAddress\":\"192.168.161.105\",\"memoryInMB\":1634,\"numberOfCores\":8,\"uptimeInSeconds\":1700,\"lastStatusUpdate\":\"2024-06-12T04:56:05.2774933Z\",\"uploadLimitSchedule\":{\"weeklyRecurrences\":[{\"limitInMbps\":100,\"days\":[\"Monday\",\"Tuesday\",\"Friday\"],\"startTime\":{\"hour\":1,\"minute\":30},\"endTime\":{\"hour\":5,\"minute\":0}}]},\"description\":\"update agent description\"}}", "isContentBase64": false } }, - "Update-AzStorageMoverAgent+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent1?api-version=2023-10-01+2": { + "Update-AzStorageMoverAgent+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent12?api-version=2024-07-01+2": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent1?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent12?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "62" ], - "x-ms-client-request-id": [ "91dae14e-429e-45e2-b4f9-cadad79e00e9" ], + "x-ms-unique-id": [ "66" ], + "x-ms-client-request-id": [ "17d0bf8b-8405-4964-8897-8538a70482c3" ], "CommandName": [ "Get-AzStorageMoverAgent" ], "FullCommandName": [ "Get-AzStorageMoverAgent_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -60,23 +63,26 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"1d007206-0000-3400-0000-64ba09fe0000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11967" ], + "ETag": [ "\"01004081-0000-3400-0000-66692a730000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "854d6d98-748b-44b4-8fcf-39ccbadd157d" ], - "x-ms-request-id": [ "a576a2b2-1e6a-4ef3-8630-0b59d13ba6cb" ], - "x-ms-correlation-request-id": [ "c3256448-7708-4b4a-944e-86c03d57d2b2" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T043055Z:c3256448-7708-4b4a-944e-86c03d57d2b2" ], + "mise-correlation-id": [ "2f5c22c4-2e6a-41df-87b8-5e462b078be7" ], + "x-ms-request-id": [ "e9d9cb2a-49b6-4922-a7fd-8561c5cca9a2" ], + "x-ms-correlation-request-id": [ "44dce7ac-9ca3-487f-b9e4-98287794fe08" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045622Z:44dce7ac-9ca3-487f-b9e4-98287794fe08" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:30:54 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 7A6745C5C7DA4AE48D81BDF713B3712A Ref B: MAA201060516019 Ref C: 2024-06-12T04:56:20Z" ], + "Date": [ "Wed, 12 Jun 2024 04:56:22 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "995" ], + "Content-Length": [ "1222" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent1\",\"name\":\"testagent1\",\"type\":\"microsoft.storagemover/storagemovers/agents\",\"systemData\":{\"createdBy\":\"yifanzhang@microsoft.com\",\"createdByType\":\"User\",\"createdAt\":\"2023-07-21T04:27:22.5834022Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:30:54.0851898Z\"},\"properties\":{\"agentVersion\":\"1.1.256_amd64\",\"arcResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.HybridCompute/machines/testagent1\",\"arcVmUuid\":\"c026168f-4f75-c847-aa19-2dfc4185d74e\",\"localIPAddress\":\"10.172.2.82\",\"memoryInMB\":2748,\"numberOfCores\":1,\"uptimeInSeconds\":479,\"lastStatusUpdate\":\"2023-07-21T04:30:39.3651408Z\",\"agentStatus\":\"Online\",\"description\":\"update agent description\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent12\",\"name\":\"testagent12\",\"type\":\"microsoft.storagemover/storagemovers/agents\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:49:38.379944Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:56:18.3437587Z\"},\"properties\":{\"agentVersion\":\"3.1.3195-PullRequest-debug_amd64:3.1.3195-PullRequest-debug_amd64\",\"arcResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.HybridCompute/machines/testagent12\",\"arcVmUuid\":\"fe2895d1-f1e6-2445-b79a-3a3ca1f57ee2\",\"uploadLimitSchedule\":{\"weeklyRecurrences\":[{\"limitInMbps\":100,\"days\":[\"Monday\",\"Tuesday\",\"Friday\"],\"startTime\":{\"hour\":1,\"minute\":30},\"endTime\":{\"hour\":5,\"minute\":0}}]},\"timeZone\":\"UTC\",\"localIPAddress\":\"192.168.161.105\",\"memoryInMB\":1634,\"numberOfCores\":8,\"uptimeInSeconds\":1700,\"lastStatusUpdate\":\"2024-06-12T04:56:05.2774933Z\",\"agentStatus\":\"Online\",\"description\":\"update agent description\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } } diff --git a/src/StorageMover/StorageMover.Autorest/test/Update-AzStorageMoverAgent.Tests.ps1 b/src/StorageMover/StorageMover.Autorest/test/Update-AzStorageMoverAgent.Tests.ps1 index dbac8b57cc5e..6114d12b819c 100644 --- a/src/StorageMover/StorageMover.Autorest/test/Update-AzStorageMoverAgent.Tests.ps1 +++ b/src/StorageMover/StorageMover.Autorest/test/Update-AzStorageMoverAgent.Tests.ps1 @@ -17,12 +17,29 @@ if(($null -eq $TestName) -or ($TestName -contains 'Update-AzStorageMoverAgent')) Describe 'Update-AzStorageMoverAgent' { It 'UpdateExpanded' { $updateDescription = "update agent description" - $agent = Update-AzStorageMoverAgent -ResourceGroupName $env.ResourceGroupName -StorageMoverName $env.StorageMoverNameWithAgent -Name $env.AgentName -Description $updateDescription + $limit = New-AzStorageMoverUploadLimitWeeklyRecurrenceObject -Day 'Monday','Tuesday','Friday' -LimitInMbps 100 -EndTimeHour 5 -StartTimeHour 1 -StartTimeMinute 30 -EndTimeMinute 0 + $agent = Update-AzStorageMoverAgent -ResourceGroupName $env.ResourceGroupName -StorageMoverName $env.StorageMoverNameWithAgent -Name $env.AgentName -Description $updateDescription -UploadLimitScheduleWeeklyRecurrence $limit $agent.Name | Should -Be $env.AgentName $agent.Description | Should -Be $updateDescription + $agent.UploadLimitScheduleWeeklyRecurrence.Day[0] | Should -Be "Monday" + $agent.UploadLimitScheduleWeeklyRecurrence.Day[1] | Should -Be "Tuesday" + $agent.UploadLimitScheduleWeeklyRecurrence.Day[2] | Should -Be "Friday" + $agent.UploadLimitScheduleWeeklyRecurrence.EndTimeHour | Should -Be 5 + $agent.UploadLimitScheduleWeeklyRecurrence.EndTimeMinute | Should -Be 0 + $agent.UploadLimitScheduleWeeklyRecurrence.LimitInMbps | Should -Be 100 + $agent.UploadLimitScheduleWeeklyRecurrence.StartTimeHour | Should -Be 1 + $agent.UploadLimitScheduleWeeklyRecurrence.StartTimeMinute | Should -Be 30 $agent = Get-AzStorageMoverAgent -ResourceGroupName $env.ResourceGroupName -StorageMoverName $env.StorageMoverNameWithAgent -Name $env.AgentName $agent.Name | Should -Be $env.AgentName $agent.Description | Should -Be $updateDescription + $agent.UploadLimitScheduleWeeklyRecurrence.Day[0] | Should -Be "Monday" + $agent.UploadLimitScheduleWeeklyRecurrence.Day[1] | Should -Be "Tuesday" + $agent.UploadLimitScheduleWeeklyRecurrence.Day[2] | Should -Be "Friday" + $agent.UploadLimitScheduleWeeklyRecurrence.EndTimeHour | Should -Be 5 + $agent.UploadLimitScheduleWeeklyRecurrence.EndTimeMinute | Should -Be 0 + $agent.UploadLimitScheduleWeeklyRecurrence.LimitInMbps | Should -Be 100 + $agent.UploadLimitScheduleWeeklyRecurrence.StartTimeHour | Should -Be 1 + $agent.UploadLimitScheduleWeeklyRecurrence.StartTimeMinute | Should -Be 30 } } diff --git a/src/StorageMover/StorageMover.Autorest/test/Update-AzStorageMoverAzStorageContainerEndpoint.Recording.json b/src/StorageMover/StorageMover.Autorest/test/Update-AzStorageMoverAzStorageContainerEndpoint.Recording.json index 8ca4bfcebcd3..d01b7fc24265 100644 --- a/src/StorageMover/StorageMover.Autorest/test/Update-AzStorageMoverAzStorageContainerEndpoint.Recording.json +++ b/src/StorageMover/StorageMover.Autorest/test/Update-AzStorageMoverAzStorageContainerEndpoint.Recording.json @@ -1,9 +1,9 @@ { - "Update-AzStorageMoverAzStorageContainerEndpoint+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/containerEndpoint2hc715gxy?api-version=2023-10-01+1": { + "Update-AzStorageMoverAzStorageContainerEndpoint+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/containerEndpoint2pul1qe2g?api-version=2024-07-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/containerEndpoint2hc715gxy?api-version=2023-10-01", - "Content": "{\r\n \"properties\": {\r\n \"endpointType\": \"AzureStorageBlobContainer\",\r\n \"description\": \"\",\r\n \"storageAccountResourceId\": \"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storacchc715gxy\",\r\n \"blobContainerName\": \"containerhc715gxy\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/containerEndpoint2pul1qe2g?api-version=2024-07-01", + "Content": "{\r\n \"properties\": {\r\n \"endpointType\": \"AzureStorageBlobContainer\",\r\n \"description\": \"\",\r\n \"storageAccountResourceId\": \"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storaccpul1qe2g\",\r\n \"blobContainerName\": \"containerpul1qe2g\"\r\n }\r\n}", "isContentBase64": false, "Headers": { }, @@ -17,30 +17,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"2d013b48-0000-3400-0000-64ba0a000000\"" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1176" ], + "ETag": [ "\"0000d3d3-0000-3400-0000-66692a790000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "c7fce90b-17f8-4f8a-afd6-e76511b151bc" ], - "x-ms-request-id": [ "9b951115-e2bc-4e5c-8c1c-d49610b5213e" ], - "x-ms-correlation-request-id": [ "3ad25f5e-7f7b-45fb-92b6-e60643fecbf3" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T043056Z:3ad25f5e-7f7b-45fb-92b6-e60643fecbf3" ], + "mise-correlation-id": [ "3e13c28d-2dc7-4de6-9b05-731399467805" ], + "x-ms-request-id": [ "74a2676f-f1d7-4b89-b942-d404dc8a3bf5" ], + "x-ms-correlation-request-id": [ "792a0317-78c2-4b34-a53f-e7da9ea5aa49" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045625Z:792a0317-78c2-4b34-a53f-e7da9ea5aa49" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:30:56 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 4D4D122FCE44422F9E9353AF9DE10E22 Ref B: MAA201060516019 Ref C: 2024-06-12T04:56:22Z" ], + "Date": [ "Wed, 12 Jun 2024 04:56:25 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "888" ], + "Content-Length": [ "850" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/containerEndpoint2hc715gxy\",\"name\":\"containerEndpoint2hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:30:10.5484513Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:30:56.3507101Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storacchc715gxy\",\"blobContainerName\":\"containerhc715gxy\",\"endpointType\":\"AzureStorageBlobContainer\",\"description\":\"\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/containerEndpoint2pul1qe2g\",\"name\":\"containerEndpoint2pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:55:17.6952839Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:56:24.0923726Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storaccpul1qe2g\",\"blobContainerName\":\"containerpul1qe2g\",\"endpointType\":\"AzureStorageBlobContainer\",\"description\":\"\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "Update-AzStorageMoverAzStorageContainerEndpoint+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/containerEndpoint2hc715gxy?api-version=2023-10-01+2": { + "Update-AzStorageMoverAzStorageContainerEndpoint+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/containerEndpoint2pul1qe2g?api-version=2024-07-01+2": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/containerEndpoint2hc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/containerEndpoint2pul1qe2g?api-version=2024-07-01", "Content": "{\r\n \"properties\": {\r\n \"endpointType\": \"AzureStorageBlobContainer\",\r\n \"description\": \"update description\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -55,39 +58,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"2d013c48-0000-3400-0000-64ba0a010000\"" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1175" ], + "ETag": [ "\"0000d4d3-0000-3400-0000-66692a7a0000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "18499f97-c9fe-4a52-a898-491129e3b91e" ], - "x-ms-request-id": [ "1bec4aaf-1f8a-490a-9f31-6748e033e25c" ], - "x-ms-correlation-request-id": [ "6ae4fdcc-b917-4ffb-bb4d-752f197ba520" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T043057Z:6ae4fdcc-b917-4ffb-bb4d-752f197ba520" ], + "mise-correlation-id": [ "20846215-eae3-47e8-b491-e97c834d5492" ], + "x-ms-request-id": [ "0566afea-ddc7-4f67-95b7-dcfb1446b25a" ], + "x-ms-correlation-request-id": [ "95624c11-7a0e-4a00-a60e-7c4a7a7fb804" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1198" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045626Z:95624c11-7a0e-4a00-a60e-7c4a7a7fb804" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:30:57 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 18FC18444DC54B4E84676544D0ABB5D6 Ref B: MAA201060516019 Ref C: 2024-06-12T04:56:25Z" ], + "Date": [ "Wed, 12 Jun 2024 04:56:26 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "906" ], + "Content-Length": [ "867" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/containerEndpoint2hc715gxy\",\"name\":\"containerEndpoint2hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:30:10.5484513Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:30:57.4757206Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storacchc715gxy\",\"blobContainerName\":\"containerhc715gxy\",\"endpointType\":\"AzureStorageBlobContainer\",\"description\":\"update description\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/containerEndpoint2pul1qe2g\",\"name\":\"containerEndpoint2pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:55:17.6952839Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:56:25.857875Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storaccpul1qe2g\",\"blobContainerName\":\"containerpul1qe2g\",\"endpointType\":\"AzureStorageBlobContainer\",\"description\":\"update description\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "Update-AzStorageMoverAzStorageContainerEndpoint+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/containerEndpoint2hc715gxy?api-version=2023-10-01+3": { + "Update-AzStorageMoverAzStorageContainerEndpoint+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/containerEndpoint2pul1qe2g?api-version=2024-07-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/containerEndpoint2hc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/containerEndpoint2pul1qe2g?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "65" ], - "x-ms-client-request-id": [ "545fcfad-1594-4bb6-8d54-a091f39ff3cf" ], + "x-ms-unique-id": [ "69" ], + "x-ms-client-request-id": [ "f2fa68fc-13b8-4b06-a33c-1f05523504b0" ], "CommandName": [ "Get-AzStorageMoverEndpoint" ], "FullCommandName": [ "Get-AzStorageMoverEndpoint_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -98,22 +104,25 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"2d013c48-0000-3400-0000-64ba0a010000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11966" ], + "ETag": [ "\"0000d4d3-0000-3400-0000-66692a7a0000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "6671e6a6-94a0-4baa-9a1e-93115df5e307" ], - "x-ms-correlation-request-id": [ "9c8ccf5c-56bf-488e-ab6d-35bb0f348e1f" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T043058Z:9c8ccf5c-56bf-488e-ab6d-35bb0f348e1f" ], + "x-ms-request-id": [ "16114d21-3c7f-43a0-a724-3e1e5fb51188" ], + "x-ms-correlation-request-id": [ "2ce9f10c-e73c-4c72-8b0d-44fd3649cf6f" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045628Z:2ce9f10c-e73c-4c72-8b0d-44fd3649cf6f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:30:57 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 7550F68C517647598FA48BC44CFDF36F Ref B: MAA201060516019 Ref C: 2024-06-12T04:56:27Z" ], + "Date": [ "Wed, 12 Jun 2024 04:56:28 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "906" ], + "Content-Length": [ "867" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/containerEndpoint2hc715gxy\",\"name\":\"containerEndpoint2hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:30:10.5484513Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:30:57.4757206Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storacchc715gxy\",\"blobContainerName\":\"containerhc715gxy\",\"endpointType\":\"AzureStorageBlobContainer\",\"description\":\"update description\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/containerEndpoint2pul1qe2g\",\"name\":\"containerEndpoint2pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:55:17.6952839Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:56:25.857875Z\"},\"properties\":{\"storageAccountResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storaccpul1qe2g\",\"blobContainerName\":\"containerpul1qe2g\",\"endpointType\":\"AzureStorageBlobContainer\",\"description\":\"update description\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } } diff --git a/src/StorageMover/StorageMover.Autorest/test/Update-AzStorageMoverJobDefinition.Recording.json b/src/StorageMover/StorageMover.Autorest/test/Update-AzStorageMoverJobDefinition.Recording.json index 47db8944a8ed..b350986ecc6c 100644 --- a/src/StorageMover/StorageMover.Autorest/test/Update-AzStorageMoverJobDefinition.Recording.json +++ b/src/StorageMover/StorageMover.Autorest/test/Update-AzStorageMoverJobDefinition.Recording.json @@ -1,15 +1,15 @@ { - "Update-AzStorageMoverJobDefinition+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testUpdateJob5hc715gxy?api-version=2023-10-01+1": { + "Update-AzStorageMoverJobDefinition+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testUpdateJob5pul1qe2g?api-version=2024-07-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testUpdateJob5hc715gxy?api-version=2023-10-01", - "Content": "{\r\n \"properties\": {\r\n \"copyMode\": \"Additive\",\r\n \"sourceName\": \"nfsEndpointhc715gxy\",\r\n \"targetName\": \"containerEndpointhc715gxy\",\r\n \"agentName\": \"testagent1\"\r\n }\r\n}", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testUpdateJob5pul1qe2g?api-version=2024-07-01", + "Content": "{\r\n \"properties\": {\r\n \"copyMode\": \"Additive\",\r\n \"sourceName\": \"nfsEndpointpul1qe2g\",\r\n \"targetName\": \"containerEndpointpul1qe2g\",\r\n \"agentName\": \"testagent12\"\r\n }\r\n}", "isContentBase64": false, "Headers": { }, "ContentHeaders": { "Content-Type": [ "application/json" ], - "Content-Length": [ "178" ] + "Content-Length": [ "179" ] } }, "Response": { @@ -17,30 +17,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"0100792c-0000-3400-0000-64ba0a030000\"" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1174" ], + "ETag": [ "\"00004666-0000-3400-0000-66692a7e0000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "4ade74ce-8ed0-42e6-b1a4-1b95dbdec126" ], - "x-ms-request-id": [ "b0aca939-1f58-478f-b6f0-1a521b67bb40" ], - "x-ms-correlation-request-id": [ "4eda798e-25e5-4dd3-93ff-d37b69fc56b8" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T043059Z:4eda798e-25e5-4dd3-93ff-d37b69fc56b8" ], + "mise-correlation-id": [ "4df1d286-1310-4d92-9e69-4465953f2871" ], + "x-ms-request-id": [ "49993e63-2d07-439a-8645-f154183d3bfb" ], + "x-ms-correlation-request-id": [ "aa4c4da6-0a33-448a-8ea9-c0370ea81f77" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045631Z:aa4c4da6-0a33-448a-8ea9-c0370ea81f77" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:30:59 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: BA1029E78281475AA27059DA4D0B464F Ref B: MAA201060516019 Ref C: 2024-06-12T04:56:28Z" ], + "Date": [ "Wed, 12 Jun 2024 04:56:31 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1367" ], + "Content-Length": [ "1331" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testUpdateJob5hc715gxy\",\"name\":\"testUpdateJob5hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/projects/jobdefinitions\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:30:59.4288604Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:30:59.4288604Z\"},\"properties\":{\"copyMode\":\"Additive\",\"sourceName\":\"nfsEndpointhc715gxy\",\"sourceResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointhc715gxy\",\"targetName\":\"containerEndpointhc715gxy\",\"targetResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointhc715gxy\",\"agentName\":\"testagent1\",\"agentResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent1\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testUpdateJob5pul1qe2g\",\"name\":\"testUpdateJob5pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/projects/jobdefinitions\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:56:29.8139812Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:56:29.8139812Z\"},\"properties\":{\"copyMode\":\"Additive\",\"sourceName\":\"nfsEndpointpul1qe2g\",\"sourceResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointpul1qe2g\",\"targetName\":\"containerEndpointpul1qe2g\",\"targetResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointpul1qe2g\",\"agentName\":\"testagent12\",\"agentResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent12\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "Update-AzStorageMoverJobDefinition+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testUpdateJob5hc715gxy?api-version=2023-10-01+2": { + "Update-AzStorageMoverJobDefinition+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testUpdateJob5pul1qe2g?api-version=2024-07-01+2": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testUpdateJob5hc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testUpdateJob5pul1qe2g?api-version=2024-07-01", "Content": "{\r\n \"properties\": {\r\n \"description\": \"update description\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -55,23 +58,26 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"01007a2c-0000-3400-0000-64ba0a040000\"" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1173" ], + "ETag": [ "\"00004766-0000-3400-0000-66692a810000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "a23ec2cf-4503-4e25-b825-c2f42352749a" ], - "x-ms-request-id": [ "ea76acea-0719-4026-82f6-26bc58eca1e3" ], - "x-ms-correlation-request-id": [ "5cfb79c7-4eed-44cc-81a9-a9d5bb1b4f12" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T043100Z:5cfb79c7-4eed-44cc-81a9-a9d5bb1b4f12" ], + "mise-correlation-id": [ "0f197945-0720-4d5b-b739-6757a9fe4dd4" ], + "x-ms-request-id": [ "1c55ab18-2869-429d-b3be-0f1fdea81a06" ], + "x-ms-correlation-request-id": [ "c35fe7ef-f099-4db8-bb46-8c2fdffd458f" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045633Z:c35fe7ef-f099-4db8-bb46-8c2fdffd458f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:31:00 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: A1A0B7E335D84EFBAC233105154ACD91 Ref B: MAA201060516019 Ref C: 2024-06-12T04:56:31Z" ], + "Date": [ "Wed, 12 Jun 2024 04:56:33 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "1401" ], + "Content-Length": [ "1366" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjecthc715gxy/jobDefinitions/testUpdateJob5hc715gxy\",\"name\":\"testUpdateJob5hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/projects/jobdefinitions\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:30:59.4288604Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:31:00.460084Z\"},\"properties\":{\"copyMode\":\"Additive\",\"sourceName\":\"nfsEndpointhc715gxy\",\"sourceResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointhc715gxy\",\"targetName\":\"containerEndpointhc715gxy\",\"targetResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointhc715gxy\",\"agentName\":\"testagent1\",\"agentResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent1\",\"provisioningState\":\"Succeeded\",\"description\":\"update description\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/projects/testProjectpul1qe2g/jobDefinitions/testUpdateJob5pul1qe2g\",\"name\":\"testUpdateJob5pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/projects/jobdefinitions\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:56:29.8139812Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:56:31.9549087Z\"},\"properties\":{\"copyMode\":\"Additive\",\"sourceName\":\"nfsEndpointpul1qe2g\",\"sourceResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/nfsEndpointpul1qe2g\",\"targetName\":\"containerEndpointpul1qe2g\",\"targetResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/endpoints/containerEndpointpul1qe2g\",\"agentName\":\"testagent12\",\"agentResourceId\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testmoverpreview1/agents/testagent12\",\"provisioningState\":\"Succeeded\",\"description\":\"update description\"}}", "isContentBase64": false } } diff --git a/src/StorageMover/StorageMover.Autorest/test/Update-AzStorageMoverNfsEndpoint.Recording.json b/src/StorageMover/StorageMover.Autorest/test/Update-AzStorageMoverNfsEndpoint.Recording.json index 22f822ab3f47..1fae49ec3719 100644 --- a/src/StorageMover/StorageMover.Autorest/test/Update-AzStorageMoverNfsEndpoint.Recording.json +++ b/src/StorageMover/StorageMover.Autorest/test/Update-AzStorageMoverNfsEndpoint.Recording.json @@ -1,8 +1,8 @@ { - "Update-AzStorageMoverNfsEndpoint+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/testNfsEndpoint2hc715gxy?api-version=2023-10-01+1": { + "Update-AzStorageMoverNfsEndpoint+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/testNfsEndpoint2pul1qe2g?api-version=2024-07-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/testNfsEndpoint2hc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/testNfsEndpoint2pul1qe2g?api-version=2024-07-01", "Content": "{\r\n \"properties\": {\r\n \"endpointType\": \"NfsMount\",\r\n \"description\": \"Nfs endpoint description\",\r\n \"host\": \"10.0.0.1\",\r\n \"nfsVersion\": \"NFSv3\",\r\n \"export\": \"/\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -17,30 +17,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"2d013f48-0000-3400-0000-64ba0a050000\"" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1172" ], + "ETag": [ "\"0000d7d3-0000-3400-0000-66692a830000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "6f4bcfa6-0d06-4481-95bb-37ccf2209480" ], - "x-ms-request-id": [ "914714f6-011f-4a54-bb50-7f318f03f59f" ], - "x-ms-correlation-request-id": [ "12df1431-eb32-42f3-8c5e-65441bd62f8b" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T043101Z:12df1431-eb32-42f3-8c5e-65441bd62f8b" ], + "mise-correlation-id": [ "988e0f88-8c6b-4e02-b967-c69a24bb518c" ], + "x-ms-request-id": [ "1981081c-37bc-46a3-ba76-193a8a2daf5e" ], + "x-ms-correlation-request-id": [ "01b22c00-25a1-454b-acc1-5eabf1032d70" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045635Z:01b22c00-25a1-454b-acc1-5eabf1032d70" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:31:01 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: D8518B910CA744038A1562BE0AF3B3F5 Ref B: MAA201060516019 Ref C: 2024-06-12T04:56:33Z" ], + "Date": [ "Wed, 12 Jun 2024 04:56:35 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "730" ], + "Content-Length": [ "692" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/testNfsEndpoint2hc715gxy\",\"name\":\"testNfsEndpoint2hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:31:01.6632142Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:31:01.6632142Z\"},\"properties\":{\"host\":\"10.0.0.1\",\"nfsVersion\":\"NFSv3\",\"export\":\"/\",\"endpointType\":\"NfsMount\",\"description\":\"Nfs endpoint description\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/testNfsEndpoint2pul1qe2g\",\"name\":\"testNfsEndpoint2pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:56:34.4135767Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:56:34.4135767Z\"},\"properties\":{\"host\":\"10.0.0.1\",\"nfsVersion\":\"NFSv3\",\"export\":\"/\",\"endpointType\":\"NfsMount\",\"description\":\"Nfs endpoint description\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "Update-AzStorageMoverNfsEndpoint+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/testNfsEndpoint2hc715gxy?api-version=2023-10-01+2": { + "Update-AzStorageMoverNfsEndpoint+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/testNfsEndpoint2pul1qe2g?api-version=2024-07-01+2": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/testNfsEndpoint2hc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/testNfsEndpoint2pul1qe2g?api-version=2024-07-01", "Content": "{\r\n \"properties\": {\r\n \"endpointType\": \"NfsMount\",\r\n \"description\": \"update Nfs endpoint Description\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -55,39 +58,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"2d014048-0000-3400-0000-64ba0a060000\"" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1171" ], + "ETag": [ "\"0000d8d3-0000-3400-0000-66692a850000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "96c73f93-692c-4ef3-8a47-5e29f7cc6095" ], - "x-ms-request-id": [ "fb228d44-f6f8-4562-bd49-9cdc07c29bb2" ], - "x-ms-correlation-request-id": [ "fbd307d6-5245-443b-bc5f-ae1979fe8431" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T043102Z:fbd307d6-5245-443b-bc5f-ae1979fe8431" ], + "mise-correlation-id": [ "44fbe2d5-1af1-4a8e-93b2-79dcf1f61207" ], + "x-ms-request-id": [ "62f5a979-2f07-4356-86f6-e45cb19efe10" ], + "x-ms-correlation-request-id": [ "823b5356-52cc-4d7f-b2c2-2cbdc45fd96f" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045638Z:823b5356-52cc-4d7f-b2c2-2cbdc45fd96f" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:31:02 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: EB3449B3DE5B409BA4202F0BBBE00272 Ref B: MAA201060516019 Ref C: 2024-06-12T04:56:35Z" ], + "Date": [ "Wed, 12 Jun 2024 04:56:37 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "737" ], + "Content-Length": [ "699" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/testNfsEndpoint2hc715gxy\",\"name\":\"testNfsEndpoint2hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:31:01.6632142Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:31:02.6788476Z\"},\"properties\":{\"host\":\"10.0.0.1\",\"nfsVersion\":\"NFSv3\",\"export\":\"/\",\"endpointType\":\"NfsMount\",\"description\":\"update Nfs endpoint Description\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/testNfsEndpoint2pul1qe2g\",\"name\":\"testNfsEndpoint2pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:56:34.4135767Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:56:36.5754528Z\"},\"properties\":{\"host\":\"10.0.0.1\",\"nfsVersion\":\"NFSv3\",\"export\":\"/\",\"endpointType\":\"NfsMount\",\"description\":\"update Nfs endpoint Description\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "Update-AzStorageMoverNfsEndpoint+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/testNfsEndpoint2hc715gxy?api-version=2023-10-01+3": { + "Update-AzStorageMoverNfsEndpoint+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/testNfsEndpoint2pul1qe2g?api-version=2024-07-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/testNfsEndpoint2hc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/testNfsEndpoint2pul1qe2g?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "70" ], - "x-ms-client-request-id": [ "de8e0f7b-17bb-4ba9-9de6-f3e8071f5c77" ], + "x-ms-unique-id": [ "74" ], + "x-ms-client-request-id": [ "06bdce98-4c94-4248-b161-3dde78f6237a" ], "CommandName": [ "Get-AzStorageMoverEndpoint" ], "FullCommandName": [ "Get-AzStorageMoverEndpoint_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -98,22 +104,25 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"2d014048-0000-3400-0000-64ba0a060000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11965" ], + "ETag": [ "\"0000d8d3-0000-3400-0000-66692a850000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "31f2f729-c959-4b97-bc83-f02c91009bf9" ], - "x-ms-correlation-request-id": [ "54a8f8d4-49c2-40d4-b87c-3956cd8f5225" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T043103Z:54a8f8d4-49c2-40d4-b87c-3956cd8f5225" ], + "x-ms-request-id": [ "84d5c250-2d9e-4645-8b93-8a75a4ce5566" ], + "x-ms-correlation-request-id": [ "e59b2f4c-49e1-43f9-b0bf-1b0f3b8247e3" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11999" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045639Z:e59b2f4c-49e1-43f9-b0bf-1b0f3b8247e3" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:31:02 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: AE466734795640059E22116E28F7C74A Ref B: MAA201060516019 Ref C: 2024-06-12T04:56:38Z" ], + "Date": [ "Wed, 12 Jun 2024 04:56:39 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "737" ], + "Content-Length": [ "699" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/endpoints/testNfsEndpoint2hc715gxy\",\"name\":\"testNfsEndpoint2hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:31:01.6632142Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:31:02.6788476Z\"},\"properties\":{\"host\":\"10.0.0.1\",\"nfsVersion\":\"NFSv3\",\"export\":\"/\",\"endpointType\":\"NfsMount\",\"description\":\"update Nfs endpoint Description\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/endpoints/testNfsEndpoint2pul1qe2g\",\"name\":\"testNfsEndpoint2pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/endpoints\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:56:34.4135767Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:56:36.5754528Z\"},\"properties\":{\"host\":\"10.0.0.1\",\"nfsVersion\":\"NFSv3\",\"export\":\"/\",\"endpointType\":\"NfsMount\",\"description\":\"update Nfs endpoint Description\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } } diff --git a/src/StorageMover/StorageMover.Autorest/test/Update-AzStorageMoverProject.Recording.json b/src/StorageMover/StorageMover.Autorest/test/Update-AzStorageMoverProject.Recording.json index 549eab9355e2..a4b00681e2d1 100644 --- a/src/StorageMover/StorageMover.Autorest/test/Update-AzStorageMoverProject.Recording.json +++ b/src/StorageMover/StorageMover.Autorest/test/Update-AzStorageMoverProject.Recording.json @@ -1,8 +1,8 @@ { - "Update-AzStorageMoverProject+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/projects/testProject2hc715gxy?api-version=2023-10-01+1": { + "Update-AzStorageMoverProject+[NoContext]+UpdateExpanded+$PUT+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/projects/testProject2pul1qe2g?api-version=2024-07-01+1": { "Request": { "Method": "PUT", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/projects/testProject2hc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/projects/testProject2pul1qe2g?api-version=2024-07-01", "Content": "{\r\n \"properties\": {\r\n \"description\": \"test Project description\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -17,30 +17,33 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"2d010103-0000-3400-0000-64ba0a080000\"" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1170" ], + "ETag": [ "\"0000f936-0000-3400-0000-66692a890000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "11b873d7-a2cd-46b1-82c1-f6830bd4b789" ], - "x-ms-request-id": [ "ae011eaf-6458-4dc0-b587-9066bc373126" ], - "x-ms-correlation-request-id": [ "8bc12d5a-a440-424d-b172-d5e33c495992" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T043104Z:8bc12d5a-a440-424d-b172-d5e33c495992" ], + "mise-correlation-id": [ "1a5dbdf3-3d3b-47c6-af91-f7c8eb009dbd" ], + "x-ms-request-id": [ "29851c15-d5c9-4af9-8b4e-9205a4998668" ], + "x-ms-correlation-request-id": [ "107a3062-fddd-4d32-b0ca-6670d09d32e0" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045641Z:107a3062-fddd-4d32-b0ca-6670d09d32e0" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:31:04 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: 0E5192D45BC246A580C7BE3DE3318E3F Ref B: MAA201060516019 Ref C: 2024-06-12T04:56:39Z" ], + "Date": [ "Wed, 12 Jun 2024 04:56:41 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "642" ], + "Content-Length": [ "604" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/projects/testProject2hc715gxy\",\"name\":\"testProject2hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/projects\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:31:04.5069445Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:31:04.5069445Z\"},\"properties\":{\"description\":\"test Project description\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/projects/testProject2pul1qe2g\",\"name\":\"testProject2pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/projects\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:56:40.2968689Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:56:40.2968689Z\"},\"properties\":{\"description\":\"test Project description\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "Update-AzStorageMoverProject+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/projects/testProject2hc715gxy?api-version=2023-10-01+2": { + "Update-AzStorageMoverProject+[NoContext]+UpdateExpanded+$PATCH+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/projects/testProject2pul1qe2g?api-version=2024-07-01+2": { "Request": { "Method": "PATCH", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/projects/testProject2hc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/projects/testProject2pul1qe2g?api-version=2024-07-01", "Content": "{\r\n \"properties\": {\r\n \"description\": \"update Project description\"\r\n }\r\n}", "isContentBase64": false, "Headers": { @@ -55,39 +58,42 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"2d010203-0000-3400-0000-64ba0a090000\"" ], - "x-ms-ratelimit-remaining-subscription-writes": [ "1169" ], + "ETag": [ "\"0000fa36-0000-3400-0000-66692a8b0000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "mise-correlation-id": [ "74baf9d1-7053-4acb-9cdd-3394bc554ba1" ], - "x-ms-request-id": [ "4b9b2194-14ca-4a93-b612-956a38a8aa00" ], - "x-ms-correlation-request-id": [ "3f1f4fc0-f885-4c73-a620-e1828a7e5efb" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T043105Z:3f1f4fc0-f885-4c73-a620-e1828a7e5efb" ], + "mise-correlation-id": [ "807a5c78-70ae-4de3-a08b-cc9a3d02030d" ], + "x-ms-request-id": [ "0857e2a1-1ae5-4c60-912e-03ae97184040" ], + "x-ms-correlation-request-id": [ "59bfb300-cdaa-4019-b73d-d70270fc7565" ], + "x-ms-ratelimit-remaining-subscription-writes": [ "1199" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045643Z:59bfb300-cdaa-4019-b73d-d70270fc7565" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:31:05 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: FF437369F7F54D82928C56CEA27A27A0 Ref B: MAA201060516019 Ref C: 2024-06-12T04:56:41Z" ], + "Date": [ "Wed, 12 Jun 2024 04:56:43 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "643" ], + "Content-Length": [ "606" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/projects/testProject2hc715gxy\",\"name\":\"testProject2hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/projects\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:31:04.5069445Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:31:05.491379Z\"},\"properties\":{\"description\":\"update Project description\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/projects/testProject2pul1qe2g\",\"name\":\"testProject2pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/projects\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:56:40.2968689Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:56:42.1434365Z\"},\"properties\":{\"description\":\"update Project description\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } }, - "Update-AzStorageMoverProject+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/projects/testProject2hc715gxy?api-version=2023-10-01+3": { + "Update-AzStorageMoverProject+[NoContext]+UpdateExpanded+$GET+https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/projects/testProject2pul1qe2g?api-version=2024-07-01+3": { "Request": { "Method": "GET", - "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/projects/testProject2hc715gxy?api-version=2023-10-01", + "RequestUri": "https://management.azure.com/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/projects/testProject2pul1qe2g?api-version=2024-07-01", "Content": null, "isContentBase64": false, "Headers": { - "x-ms-unique-id": [ "73" ], - "x-ms-client-request-id": [ "0290f495-41cb-4715-b55d-d5d8a641c2ee" ], + "x-ms-unique-id": [ "77" ], + "x-ms-client-request-id": [ "ab4f21cf-d848-43b4-bf99-22b112c0fd5a" ], "CommandName": [ "Get-AzStorageMoverProject" ], "FullCommandName": [ "Get-AzStorageMoverProject_Get" ], "ParameterSetName": [ "__AllParameterSets" ], - "User-Agent": [ "AzurePowershell/v0.0.0", "PSVersion/v7.2.12", "Az.StorageMover/1.0.1" ], + "User-Agent": [ "AzurePowershell/v12.0.0", "PSVersion/v7.4.2", "Az.StorageMover/1.2.0" ], "Authorization": [ "[Filtered]" ] }, "ContentHeaders": { @@ -98,22 +104,25 @@ "Headers": { "Cache-Control": [ "no-cache" ], "Pragma": [ "no-cache" ], - "ETag": [ "\"2d010203-0000-3400-0000-64ba0a090000\"" ], - "x-ms-ratelimit-remaining-subscription-reads": [ "11964" ], + "ETag": [ "\"0000fa36-0000-3400-0000-66692a8b0000\"" ], + "x-ms-throttling-version": [ "v1" ], "x-ms-providerhub-traffic": [ "True" ], - "x-ms-request-id": [ "5665be05-0962-4c3c-94e3-52f1bc0e2cf5" ], - "x-ms-correlation-request-id": [ "ded4c966-831e-443c-8211-d4e431fc6e89" ], - "x-ms-routing-request-id": [ "EASTUS2EUAP:20230721T043106Z:ded4c966-831e-443c-8211-d4e431fc6e89" ], + "x-ms-request-id": [ "5f71b254-e71a-45d3-85fc-c3f5fee726b4" ], + "x-ms-correlation-request-id": [ "16260272-18a3-465e-85ec-af7106271692" ], + "x-ms-ratelimit-remaining-subscription-reads": [ "11998" ], + "x-ms-routing-request-id": [ "SOUTHEASTASIA:20240612T045644Z:16260272-18a3-465e-85ec-af7106271692" ], "Strict-Transport-Security": [ "max-age=31536000; includeSubDomains" ], "X-Content-Type-Options": [ "nosniff" ], - "Date": [ "Fri, 21 Jul 2023 04:31:05 GMT" ] + "X-Cache": [ "CONFIG_NOCACHE" ], + "X-MSEdge-Ref": [ "Ref A: BE657290BA0949CB8561EF1EE62F2B70 Ref B: MAA201060516019 Ref C: 2024-06-12T04:56:43Z" ], + "Date": [ "Wed, 12 Jun 2024 04:56:44 GMT" ] }, "ContentHeaders": { - "Content-Length": [ "643" ], + "Content-Length": [ "606" ], "Content-Type": [ "application/json; charset=utf-8" ], "Expires": [ "-1" ] }, - "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1hc715gxy/projects/testProject2hc715gxy\",\"name\":\"testProject2hc715gxy\",\"type\":\"microsoft.storagemover/storagemovers/projects\",\"systemData\":{\"createdBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"createdByType\":\"Application\",\"createdAt\":\"2023-07-21T04:31:04.5069445Z\",\"lastModifiedBy\":\"a000255f-5f09-45e0-a970-9d9ed9cc6453\",\"lastModifiedByType\":\"Application\",\"lastModifiedAt\":\"2023-07-21T04:31:05.491379Z\"},\"properties\":{\"description\":\"update Project description\",\"provisioningState\":\"Succeeded\"}}", + "Content": "{\"id\":\"/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.StorageMover/storageMovers/testStoMover1pul1qe2g/projects/testProject2pul1qe2g\",\"name\":\"testProject2pul1qe2g\",\"type\":\"microsoft.storagemover/storagemovers/projects\",\"systemData\":{\"createdBy\":\"placeholder@mail.com\",\"createdByType\":\"User\",\"createdAt\":\"2024-06-12T04:56:40.2968689Z\",\"lastModifiedBy\":\"placeholder@mail.com\",\"lastModifiedByType\":\"User\",\"lastModifiedAt\":\"2024-06-12T04:56:42.1434365Z\"},\"properties\":{\"description\":\"update Project description\",\"provisioningState\":\"Succeeded\"}}", "isContentBase64": false } } diff --git a/src/StorageMover/StorageMover.Autorest/test/env.json b/src/StorageMover/StorageMover.Autorest/test/env.json index 87e97e154747..52c3f08a2a75 100644 --- a/src/StorageMover/StorageMover.Autorest/test/env.json +++ b/src/StorageMover/StorageMover.Autorest/test/env.json @@ -1,23 +1,23 @@ { - "ContainerName": "containerhc715gxy", - "ResourceGroupName": "teststoragemover", - "RandomString": "hc715gxy", - "ProjectName2": "testProject2hc715gxy", - "Location": "eastus2euap", - "StorageAccountName": "storacchc715gxy", - "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", - "ContainerEndpointName": "containerEndpointhc715gxy", - "ProjectName": "testProjecthc715gxy", - "InitialSMDescription": "initial test SM description", - "SubscriptionId": "45b60d85-fd72-427a-a708-f994d26e593e", "InitialStoMoverTag": { "tag1": "value1", "tag2": "value2" }, - "JobDefinitionName": "testJobhc715gxy", - "StoraccId": "/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storacchc715gxy", - "AgentName": "testagent1", - "StorageMoverNameWithAgent": "testmoverpreview1", - "NfsEndpointName": "nfsEndpointhc715gxy", - "InitialStoMoverName": "testStoMover1hc715gxy" + "InitialStoMoverName": "testStoMover1pul1qe2g", + "StoraccId": "/subscriptions/45b60d85-fd72-427a-a708-f994d26e593e/resourceGroups/teststoragemover/providers/Microsoft.Storage/storageAccounts/storaccpul1qe2g", + "ProjectName": "testProjectpul1qe2g", + "StorageAccountName": "storaccpul1qe2g", + "AgentName": "testagent12", + "JobDefinitionName": "testJobpul1qe2g", + "ResourceGroupName": "teststoragemover", + "RandomString": "pul1qe2g", + "Tenant": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "ContainerEndpointName": "containerEndpointpul1qe2g", + "ContainerName": "containerpul1qe2g", + "Location": "eastus2euap", + "SubscriptionId": "45b60d85-fd72-427a-a708-f994d26e593e", + "ProjectName2": "testProject2pul1qe2g", + "NfsEndpointName": "nfsEndpointpul1qe2g", + "InitialSMDescription": "initial test SM description", + "StorageMoverNameWithAgent": "testmoverpreview1" } diff --git a/src/StorageMover/StorageMover.Autorest/test/utils.ps1 b/src/StorageMover/StorageMover.Autorest/test/utils.ps1 index 23ea56a94953..5a814ab005c4 100644 --- a/src/StorageMover/StorageMover.Autorest/test/utils.ps1 +++ b/src/StorageMover/StorageMover.Autorest/test/utils.ps1 @@ -52,7 +52,7 @@ function setupEnv() { $env.RandomString = (RandomString $false 8) $env.ResourceGroupName = "teststoragemover" $env.StorageMoverNameWithAgent = "testmoverpreview1" - $env.AgentName = "testagent1" + $env.AgentName = "testagent12" $env.Location = "eastus2euap" $env.InitialStoMoverName = "testStoMover1" + $env.RandomString $env.InitialSMDescription = "initial test SM description" diff --git a/src/StorageMover/StorageMover/Az.StorageMover.psd1 b/src/StorageMover/StorageMover/Az.StorageMover.psd1 index f9733d98815b..9c4410f6a440 100644 --- a/src/StorageMover/StorageMover/Az.StorageMover.psd1 +++ b/src/StorageMover/StorageMover/Az.StorageMover.psd1 @@ -3,7 +3,7 @@ # # Generated by: Microsoft Corporation # -# Generated on: 23/04/2024 +# Generated on: 6/13/2024 # @{ @@ -51,19 +51,19 @@ DotNetFrameworkVersion = '4.7.2' # ProcessorArchitecture = '' # Modules that must be imported into the global environment prior to importing this module -RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '2.19.0'; }) +RequiredModules = @(@{ModuleName = 'Az.Accounts'; ModuleVersion = '3.0.0'; }) # Assemblies that must be loaded prior to importing this module RequiredAssemblies = 'StorageMover.Autorest/bin/Az.StorageMover.private.dll' # Script files (.ps1) that are run in the caller's environment prior to importing this module. -# ScriptsToProcess = @() +ScriptsToProcess = @() # Type files (.ps1xml) to be loaded when importing this module -# TypesToProcess = @() +TypesToProcess = @() # Format files (.ps1xml) to be loaded when importing this module -FormatsToProcess = 'StorageMover.Autorest\Az.StorageMover.format.ps1xml' +FormatsToProcess = 'StorageMover.Autorest/Az.StorageMover.format.ps1xml' # Modules to import as nested modules of the module specified in RootModule/ModuleToProcess NestedModules = @('StorageMover.Autorest/Az.StorageMover.psm1') @@ -76,6 +76,7 @@ FunctionsToExport = 'Get-AzStorageMover', 'Get-AzStorageMoverAgent', 'New-AzStorageMoverAzStorageContainerEndpoint', 'New-AzStorageMoverJobDefinition', 'New-AzStorageMoverNfsEndpoint', 'New-AzStorageMoverProject', 'New-AzStorageMoverSmbEndpoint', + 'New-AzStorageMoverUploadLimitWeeklyRecurrenceObject', 'Remove-AzStorageMover', 'Remove-AzStorageMoverEndpoint', 'Remove-AzStorageMoverJobDefinition', 'Remove-AzStorageMoverProject', 'Start-AzStorageMoverJobDefinition', @@ -113,7 +114,7 @@ PrivateData = @{ PSData = @{ # Tags applied to this module. These help with module discovery in online galleries. - Tags = 'Azure','ResourceManager','ARM','PSModule','StorageMover' + Tags = 'Azure', 'ResourceManager', 'ARM', 'PSModule', 'StorageMover' # A URL to the license for this module. LicenseUri = 'https://aka.ms/azps-license' @@ -138,7 +139,7 @@ PrivateData = @{ } # End of PSData hashtable - } # End of PrivateData hashtable +} # End of PrivateData hashtable # HelpInfo URI of this module # HelpInfoURI = '' diff --git a/src/StorageMover/StorageMover/ChangeLog.md b/src/StorageMover/StorageMover/ChangeLog.md index c264c6a7d48f..981c8dcb4e3d 100644 --- a/src/StorageMover/StorageMover/ChangeLog.md +++ b/src/StorageMover/StorageMover/ChangeLog.md @@ -18,6 +18,7 @@ - Additional information about change #1 --> ## Upcoming Release +* Supported Uploaded Limit Schedule ## Version 1.3.1 * Introduced secrets detection feature to safeguard sensitive data. diff --git a/src/StorageMover/StorageMover/help/Az.StorageMover.md b/src/StorageMover/StorageMover/help/Az.StorageMover.md index 6ed7de8cdd2d..2a774b1c3a0d 100644 --- a/src/StorageMover/StorageMover/help/Az.StorageMover.md +++ b/src/StorageMover/StorageMover/help/Az.StorageMover.md @@ -50,6 +50,9 @@ Creates or updates a Project resource, which is a logical grouping of related jo ### [New-AzStorageMoverSmbEndpoint](New-AzStorageMoverSmbEndpoint.md) Creates an SMB endpoint resource, which represents a data transfer source or destination. +### [New-AzStorageMoverUploadLimitWeeklyRecurrenceObject](New-AzStorageMoverUploadLimitWeeklyRecurrenceObject.md) +Create an in-memory object for UploadLimitWeeklyRecurrence. + ### [Remove-AzStorageMover](Remove-AzStorageMover.md) Deletes a Storage Mover resource. @@ -63,7 +66,7 @@ Deletes a Job Definition resource. Deletes a Project resource. ### [Start-AzStorageMoverJobDefinition](Start-AzStorageMoverJobDefinition.md) -Requests an Agent to start a new instance of this Job Definition, generating a new Job Run resource. +Creates a new Job Run resource for the specified Job Definition and passes it to the Agent for execution. ### [Stop-AzStorageMoverJobDefinition](Stop-AzStorageMoverJobDefinition.md) Requests the Agent of any active instance of this Job Definition to stop. diff --git a/src/StorageMover/StorageMover/help/Get-AzStorageMover.md b/src/StorageMover/StorageMover/help/Get-AzStorageMover.md index 003298957eae..bb70cb3fb3de 100644 --- a/src/StorageMover/StorageMover/help/Get-AzStorageMover.md +++ b/src/StorageMover/StorageMover/help/Get-AzStorageMover.md @@ -15,25 +15,25 @@ Gets a Storage Mover resource. ### List (Default) ``` Get-AzStorageMover [-SubscriptionId ] [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ### Get ``` Get-AzStorageMover -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ### List1 ``` Get-AzStorageMover -ResourceGroupName [-SubscriptionId ] [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ### GetViaIdentity ``` Get-AzStorageMover -InputObject [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -185,6 +185,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. @@ -225,7 +240,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover ## NOTES diff --git a/src/StorageMover/StorageMover/help/Get-AzStorageMoverAgent.md b/src/StorageMover/StorageMover/help/Get-AzStorageMoverAgent.md index a4893a6f9f0c..42491f6f9e2f 100644 --- a/src/StorageMover/StorageMover/help/Get-AzStorageMoverAgent.md +++ b/src/StorageMover/StorageMover/help/Get-AzStorageMoverAgent.md @@ -15,20 +15,20 @@ Gets an Agent resource. ### List (Default) ``` Get-AzStorageMoverAgent -ResourceGroupName -StorageMoverName [-SubscriptionId ] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ### Get ``` Get-AzStorageMoverAgent -Name -ResourceGroupName -StorageMoverName - [-SubscriptionId ] [-DefaultProfile ] + [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] [] ``` ### GetViaIdentity ``` Get-AzStorageMoverAgent -InputObject [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -149,6 +149,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. @@ -204,7 +219,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent ## NOTES diff --git a/src/StorageMover/StorageMover/help/Get-AzStorageMoverEndpoint.md b/src/StorageMover/StorageMover/help/Get-AzStorageMoverEndpoint.md index d5af4ad632e7..9d09738e295d 100644 --- a/src/StorageMover/StorageMover/help/Get-AzStorageMoverEndpoint.md +++ b/src/StorageMover/StorageMover/help/Get-AzStorageMoverEndpoint.md @@ -15,20 +15,20 @@ Gets an Endpoint resource. ### List (Default) ``` Get-AzStorageMoverEndpoint -ResourceGroupName -StorageMoverName [-SubscriptionId ] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ### Get ``` Get-AzStorageMoverEndpoint -Name -ResourceGroupName -StorageMoverName - [-SubscriptionId ] [-DefaultProfile ] + [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] [] ``` ### GetViaIdentity ``` Get-AzStorageMoverEndpoint -InputObject [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -151,6 +151,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. @@ -206,7 +221,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint ## NOTES diff --git a/src/StorageMover/StorageMover/help/Get-AzStorageMoverJobDefinition.md b/src/StorageMover/StorageMover/help/Get-AzStorageMoverJobDefinition.md index d04a86bdd907..4a7fddefeed8 100644 --- a/src/StorageMover/StorageMover/help/Get-AzStorageMoverJobDefinition.md +++ b/src/StorageMover/StorageMover/help/Get-AzStorageMoverJobDefinition.md @@ -15,7 +15,7 @@ Gets a Job Definition resource. ### List (Default) ``` Get-AzStorageMoverJobDefinition -ProjectName -ResourceGroupName -StorageMoverName - [-SubscriptionId ] [-DefaultProfile ] + [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] [] ``` @@ -23,13 +23,13 @@ Get-AzStorageMoverJobDefinition -ProjectName -ResourceGroupName -ProjectName -ResourceGroupName -StorageMoverName [-SubscriptionId ] [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ### GetViaIdentity ``` Get-AzStorageMoverJobDefinition -InputObject [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -152,6 +152,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ProjectName The name of the Project resource. @@ -222,7 +237,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition ## NOTES diff --git a/src/StorageMover/StorageMover/help/Get-AzStorageMoverJobRun.md b/src/StorageMover/StorageMover/help/Get-AzStorageMoverJobRun.md index b3a359e2235c..0f2256bf982c 100644 --- a/src/StorageMover/StorageMover/help/Get-AzStorageMoverJobRun.md +++ b/src/StorageMover/StorageMover/help/Get-AzStorageMoverJobRun.md @@ -16,20 +16,20 @@ Gets a Job Run resource. ``` Get-AzStorageMoverJobRun -JobDefinitionName -ProjectName -ResourceGroupName -StorageMoverName [-SubscriptionId ] [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ### Get ``` Get-AzStorageMoverJobRun -JobDefinitionName -Name -ProjectName -ResourceGroupName -StorageMoverName [-SubscriptionId ] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ### GetViaIdentity ``` Get-AzStorageMoverJobRun -InputObject [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -207,6 +207,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ProjectName The name of the Project resource. @@ -277,7 +292,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobRun +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobRun ## NOTES diff --git a/src/StorageMover/StorageMover/help/Get-AzStorageMoverProject.md b/src/StorageMover/StorageMover/help/Get-AzStorageMoverProject.md index d9ae6acd5b05..bab155f7646a 100644 --- a/src/StorageMover/StorageMover/help/Get-AzStorageMoverProject.md +++ b/src/StorageMover/StorageMover/help/Get-AzStorageMoverProject.md @@ -15,20 +15,20 @@ Gets a Project resource. ### List (Default) ``` Get-AzStorageMoverProject -ResourceGroupName -StorageMoverName [-SubscriptionId ] - [-DefaultProfile ] [] + [-DefaultProfile ] [-ProgressAction ] [] ``` ### Get ``` Get-AzStorageMoverProject -Name -ResourceGroupName -StorageMoverName - [-SubscriptionId ] [-DefaultProfile ] + [-SubscriptionId ] [-DefaultProfile ] [-ProgressAction ] [] ``` ### GetViaIdentity ``` Get-AzStorageMoverProject -InputObject [-DefaultProfile ] - [] + [-ProgressAction ] [] ``` ## DESCRIPTION @@ -139,6 +139,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. @@ -194,7 +209,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject ## NOTES diff --git a/src/StorageMover/StorageMover/help/New-AzStorageMover.md b/src/StorageMover/StorageMover/help/New-AzStorageMover.md index 53b6a1822b42..00c5a71e22b1 100644 --- a/src/StorageMover/StorageMover/help/New-AzStorageMover.md +++ b/src/StorageMover/StorageMover/help/New-AzStorageMover.md @@ -15,14 +15,14 @@ Creates or updates a top-level Storage Mover resource. ### CreateExpanded (Default) ``` New-AzStorageMover -Name -ResourceGroupName [-SubscriptionId ] -Location - [-Description ] [-Tag ] [-DefaultProfile ] + [-Description ] [-Tag ] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### Create ``` New-AzStorageMover -Name -ResourceGroupName [-SubscriptionId ] - -StorageMover [-DefaultProfile ] [-WhatIf] + -StorageMover [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -119,6 +119,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. @@ -140,7 +155,7 @@ The Storage Mover resource, which is a container for a group of Agents, Projects To construct, see NOTES section for STORAGEMOVER properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover +Type: Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover Parameter Sets: Create Aliases: @@ -217,11 +232,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover ## NOTES diff --git a/src/StorageMover/StorageMover/help/New-AzStorageMoverAzSmbFileShareEndpoint.md b/src/StorageMover/StorageMover/help/New-AzStorageMoverAzSmbFileShareEndpoint.md index ca6959fd609d..bf70afe2ea67 100644 --- a/src/StorageMover/StorageMover/help/New-AzStorageMoverAzSmbFileShareEndpoint.md +++ b/src/StorageMover/StorageMover/help/New-AzStorageMoverAzSmbFileShareEndpoint.md @@ -15,7 +15,7 @@ Creates a Smb file share endpoint resource, which represents a data transfer sou ``` New-AzStorageMoverAzSmbFileShareEndpoint -Name -ResourceGroupName -StorageMoverName [-SubscriptionId ] -StorageAccountResourceId -FileShareName [-Description ] - [-DefaultProfile ] [-WhatIf] [-Confirm] [] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -111,6 +111,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. @@ -208,13 +223,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint ### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint ## NOTES diff --git a/src/StorageMover/StorageMover/help/New-AzStorageMoverAzStorageContainerEndpoint.md b/src/StorageMover/StorageMover/help/New-AzStorageMoverAzStorageContainerEndpoint.md index 1ff4dc13e3ec..1439f40fa7ce 100644 --- a/src/StorageMover/StorageMover/help/New-AzStorageMoverAzStorageContainerEndpoint.md +++ b/src/StorageMover/StorageMover/help/New-AzStorageMoverAzStorageContainerEndpoint.md @@ -16,7 +16,7 @@ Creates an AzStorageContainer endpoint resource, which represents a data transfe New-AzStorageMoverAzStorageContainerEndpoint -Name -ResourceGroupName -StorageMoverName [-SubscriptionId ] -BlobContainerName -StorageAccountResourceId [-Description ] [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -111,6 +111,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. @@ -208,13 +223,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint ### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint ## NOTES diff --git a/src/StorageMover/StorageMover/help/New-AzStorageMoverJobDefinition.md b/src/StorageMover/StorageMover/help/New-AzStorageMoverJobDefinition.md index 7433e9816776..01fb5d47958a 100644 --- a/src/StorageMover/StorageMover/help/New-AzStorageMoverJobDefinition.md +++ b/src/StorageMover/StorageMover/help/New-AzStorageMoverJobDefinition.md @@ -17,7 +17,7 @@ Creates or updates a Job Definition resource, which contains configuration for a New-AzStorageMoverJobDefinition -Name -ProjectName -ResourceGroupName -StorageMoverName [-SubscriptionId ] -CopyMode -SourceName -TargetName [-AgentName ] [-Description ] [-SourceSubpath ] - [-TargetSubpath ] [-DefaultProfile ] [-WhatIf] + [-TargetSubpath ] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -25,7 +25,7 @@ New-AzStorageMoverJobDefinition -Name -ProjectName -ResourceGr ``` New-AzStorageMoverJobDefinition -Name -ProjectName -ResourceGroupName -StorageMoverName [-SubscriptionId ] -JobDefinition - [-DefaultProfile ] [-WhatIf] [-Confirm] [] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -135,7 +135,7 @@ The Job Definition resource. To construct, see NOTES section for JOBDEFINITION properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition +Type: Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition Parameter Sets: Create Aliases: @@ -161,6 +161,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ProjectName The name of the Project resource. @@ -318,11 +333,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition ## NOTES diff --git a/src/StorageMover/StorageMover/help/New-AzStorageMoverNfsEndpoint.md b/src/StorageMover/StorageMover/help/New-AzStorageMoverNfsEndpoint.md index 9dab2a51684b..f129056a2c3b 100644 --- a/src/StorageMover/StorageMover/help/New-AzStorageMoverNfsEndpoint.md +++ b/src/StorageMover/StorageMover/help/New-AzStorageMoverNfsEndpoint.md @@ -15,7 +15,7 @@ Creates a Nfs endpoint resource, which represents a data transfer source or dest ``` New-AzStorageMoverNfsEndpoint -Name -ResourceGroupName -StorageMoverName [-SubscriptionId ] -Host -Export [-NfsVersion ] [-Description ] - [-DefaultProfile ] [-WhatIf] [-Confirm] [] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -140,6 +140,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. @@ -222,13 +237,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint ### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint ## NOTES diff --git a/src/StorageMover/StorageMover/help/New-AzStorageMoverProject.md b/src/StorageMover/StorageMover/help/New-AzStorageMoverProject.md index 0d896b4db641..b01d23f6a341 100644 --- a/src/StorageMover/StorageMover/help/New-AzStorageMoverProject.md +++ b/src/StorageMover/StorageMover/help/New-AzStorageMoverProject.md @@ -16,14 +16,14 @@ Creates or updates a Project resource, which is a logical grouping of related jo ``` New-AzStorageMoverProject -Name -ResourceGroupName -StorageMoverName [-SubscriptionId ] [-Description ] [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### Create ``` New-AzStorageMoverProject -Name -ResourceGroupName -StorageMoverName [-SubscriptionId ] -Project [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -101,12 +101,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Project The Project resource. To construct, see NOTES section for PROJECT properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject +Type: Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject Parameter Sets: Create Aliases: @@ -199,11 +214,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject ## NOTES diff --git a/src/StorageMover/StorageMover/help/New-AzStorageMoverSmbEndpoint.md b/src/StorageMover/StorageMover/help/New-AzStorageMoverSmbEndpoint.md index ef185d60415d..12e42d51250f 100644 --- a/src/StorageMover/StorageMover/help/New-AzStorageMoverSmbEndpoint.md +++ b/src/StorageMover/StorageMover/help/New-AzStorageMoverSmbEndpoint.md @@ -16,7 +16,7 @@ Creates an SMB endpoint resource, which represents a data transfer source or des New-AzStorageMoverSmbEndpoint -Name -ResourceGroupName -StorageMoverName [-SubscriptionId ] -Host -ShareName [-CredentialsUsernameUri ] [-CredentialsPasswordUri ] [-Description ] [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -148,6 +148,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. @@ -245,13 +260,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint ### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint ## NOTES diff --git a/src/StorageMover/StorageMover/help/New-AzStorageMoverUploadLimitWeeklyRecurrenceObject.md b/src/StorageMover/StorageMover/help/New-AzStorageMoverUploadLimitWeeklyRecurrenceObject.md new file mode 100644 index 000000000000..fd6b55903ab9 --- /dev/null +++ b/src/StorageMover/StorageMover/help/New-AzStorageMoverUploadLimitWeeklyRecurrenceObject.md @@ -0,0 +1,170 @@ +--- +external help file: Az.StorageMover-help.xml +Module Name: Az.StorageMover +online version: https://learn.microsoft.com/powershell/module/Az.StorageMover/new-AzStorageMoverUploadLimitWeeklyRecurrenceObject +schema: 2.0.0 +--- + +# New-AzStorageMoverUploadLimitWeeklyRecurrenceObject + +## SYNOPSIS +Create an in-memory object for UploadLimitWeeklyRecurrence. + +## SYNTAX + +``` +New-AzStorageMoverUploadLimitWeeklyRecurrenceObject -Day -LimitInMbps + -EndTimeHour -StartTimeHour [-EndTimeMinute ] [-StartTimeMinute ] + [-ProgressAction ] [] +``` + +## DESCRIPTION +Create an in-memory object for UploadLimitWeeklyRecurrence. + +## EXAMPLES + +### Example 1: Create an upload limit weekly recurrence object +```powershell +New-AzStorageMoverUploadLimitWeeklyRecurrenceObject -Day 'Monday','Tuesday','Friday' -LimitInMbps 100 -EndTimeHour 5 -StartTimeHour 1 -StartTimeMinute 30 -EndTimeMinute 0 +``` + +```output +Day EndTimeHour EndTimeMinute LimitInMbps StartTimeHour StartTimeMinute +--- ----------- ------------- ----------- ------------- --------------- +{Monday, Tuesday, Friday} 5 0 100 1 30 +``` + +This command creates an upload limit weekly recurrence object. + +## PARAMETERS + +### -Day +The set of days of week for the schedule recurrence. +A day must not be specified more than once in a recurrence. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Support.DayOfWeek[] +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndTimeHour +The hour element of the time. +Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). +Hour value 24 cannot be combined with any other minute value but 0. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -EndTimeMinute +The minute element of the time. +Allowed values are 0 and 30. +If not specified, its value defaults to 0. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -LimitInMbps +The WAN-link upload bandwidth (maximum data transfer rate) in megabits per second. +Value of 0 indicates no throughput is allowed and any running migration job is effectively paused for the duration of this recurrence. +Only data plane operations are governed by this limit. +Control plane operations ensure seamless functionality. +The agent may exceed this limit with control messages, if necessary. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartTimeHour +The hour element of the time. +Allowed values range from 0 (start of the selected day) to 24 (end of the selected day). +Hour value 24 cannot be combined with any other minute value but 0. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +Required: True +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + +### -StartTimeMinute +The minute element of the time. +Allowed values are 0 and 30. +If not specified, its value defaults to 0. + +```yaml +Type: System.Int32 +Parameter Sets: (All) +Aliases: + +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.StorageMover.Models.Api20240701.UploadLimitWeeklyRecurrence + +## NOTES + +## RELATED LINKS diff --git a/src/StorageMover/StorageMover/help/Remove-AzStorageMover.md b/src/StorageMover/StorageMover/help/Remove-AzStorageMover.md index 6005791dd35c..e900d83ded31 100644 --- a/src/StorageMover/StorageMover/help/Remove-AzStorageMover.md +++ b/src/StorageMover/StorageMover/help/Remove-AzStorageMover.md @@ -15,14 +15,14 @@ Deletes a Storage Mover resource. ### Delete (Default) ``` Remove-AzStorageMover -Name -ResourceGroupName [-SubscriptionId ] - [-DefaultProfile ] [-Force] [-AsJob] [-NoWait] [-PassThru] + [-DefaultProfile ] [-Force] [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentity ``` Remove-AzStorageMover -InputObject [-DefaultProfile ] [-Force] [-AsJob] - [-NoWait] [-PassThru] [-WhatIf] [-Confirm] [] + [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -144,6 +144,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/StorageMover/StorageMover/help/Remove-AzStorageMoverEndpoint.md b/src/StorageMover/StorageMover/help/Remove-AzStorageMoverEndpoint.md index 02350fdc29d0..5f878662f157 100644 --- a/src/StorageMover/StorageMover/help/Remove-AzStorageMoverEndpoint.md +++ b/src/StorageMover/StorageMover/help/Remove-AzStorageMoverEndpoint.md @@ -16,13 +16,13 @@ Deletes an Endpoint resource. ``` Remove-AzStorageMoverEndpoint -Name -ResourceGroupName -StorageMoverName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentity ``` Remove-AzStorageMoverEndpoint -InputObject [-DefaultProfile ] [-AsJob] - [-NoWait] [-PassThru] [-WhatIf] [-Confirm] [] + [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -131,6 +131,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/StorageMover/StorageMover/help/Remove-AzStorageMoverJobDefinition.md b/src/StorageMover/StorageMover/help/Remove-AzStorageMoverJobDefinition.md index d52061cdd32e..3f08bc040317 100644 --- a/src/StorageMover/StorageMover/help/Remove-AzStorageMoverJobDefinition.md +++ b/src/StorageMover/StorageMover/help/Remove-AzStorageMoverJobDefinition.md @@ -16,13 +16,13 @@ Deletes a Job Definition resource. ``` Remove-AzStorageMoverJobDefinition -Name -ProjectName -ResourceGroupName -StorageMoverName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] - [-PassThru] [-WhatIf] [-Confirm] [] + [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentity ``` Remove-AzStorageMoverJobDefinition -InputObject [-DefaultProfile ] [-AsJob] - [-NoWait] [-PassThru] [-WhatIf] [-Confirm] [] + [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -131,6 +131,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ProjectName The name of the Project resource. diff --git a/src/StorageMover/StorageMover/help/Remove-AzStorageMoverProject.md b/src/StorageMover/StorageMover/help/Remove-AzStorageMoverProject.md index 843d1b6fbefe..1f959e0c33f7 100644 --- a/src/StorageMover/StorageMover/help/Remove-AzStorageMoverProject.md +++ b/src/StorageMover/StorageMover/help/Remove-AzStorageMoverProject.md @@ -16,13 +16,13 @@ Deletes a Project resource. ``` Remove-AzStorageMoverProject -Name -ResourceGroupName -StorageMoverName [-SubscriptionId ] [-DefaultProfile ] [-AsJob] [-NoWait] [-PassThru] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentity ``` Remove-AzStorageMoverProject -InputObject [-DefaultProfile ] [-AsJob] - [-NoWait] [-PassThru] [-WhatIf] [-Confirm] [] + [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -131,6 +131,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/StorageMover/StorageMover/help/Start-AzStorageMoverJobDefinition.md b/src/StorageMover/StorageMover/help/Start-AzStorageMoverJobDefinition.md index 40a78935ed5d..fc5b48da6dc8 100644 --- a/src/StorageMover/StorageMover/help/Start-AzStorageMoverJobDefinition.md +++ b/src/StorageMover/StorageMover/help/Start-AzStorageMoverJobDefinition.md @@ -8,7 +8,7 @@ schema: 2.0.0 # Start-AzStorageMoverJobDefinition ## SYNOPSIS -Requests an Agent to start a new instance of this Job Definition, generating a new Job Run resource. +Creates a new Job Run resource for the specified Job Definition and passes it to the Agent for execution. ## SYNTAX @@ -16,17 +16,17 @@ Requests an Agent to start a new instance of this Job Definition, generating a n ``` Start-AzStorageMoverJobDefinition -JobDefinitionName -ProjectName -ResourceGroupName -StorageMoverName [-SubscriptionId ] [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### StartViaIdentity ``` Start-AzStorageMoverJobDefinition -InputObject [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION -Requests an Agent to start a new instance of this Job Definition, generating a new Job Run resource. +Creates a new Job Run resource for the specified Job Definition and passes it to the Agent for execution. ## EXAMPLES @@ -96,6 +96,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ProjectName The name of the Project resource. diff --git a/src/StorageMover/StorageMover/help/Stop-AzStorageMoverJobDefinition.md b/src/StorageMover/StorageMover/help/Stop-AzStorageMoverJobDefinition.md index 49b6695750e2..8ceffa6157c5 100644 --- a/src/StorageMover/StorageMover/help/Stop-AzStorageMoverJobDefinition.md +++ b/src/StorageMover/StorageMover/help/Stop-AzStorageMoverJobDefinition.md @@ -16,13 +16,13 @@ Requests the Agent of any active instance of this Job Definition to stop. ``` Stop-AzStorageMoverJobDefinition -JobDefinitionName -ProjectName -ResourceGroupName -StorageMoverName [-SubscriptionId ] [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### StopViaIdentity ``` Stop-AzStorageMoverJobDefinition -InputObject [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -90,6 +90,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ProjectName The name of the Project resource. diff --git a/src/StorageMover/StorageMover/help/Unregister-AzStorageMoverAgent.md b/src/StorageMover/StorageMover/help/Unregister-AzStorageMoverAgent.md index 36a65da014bd..b98a707cf09f 100644 --- a/src/StorageMover/StorageMover/help/Unregister-AzStorageMoverAgent.md +++ b/src/StorageMover/StorageMover/help/Unregister-AzStorageMoverAgent.md @@ -16,13 +16,13 @@ Deletes an agent resource. ``` Unregister-AzStorageMoverAgent -Name -ResourceGroupName -StorageMoverName [-SubscriptionId ] [-DefaultProfile ] [-Force] [-AsJob] [-NoWait] [-PassThru] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### DeleteViaIdentity ``` Unregister-AzStorageMoverAgent -InputObject [-DefaultProfile ] [-Force] - [-AsJob] [-NoWait] [-PassThru] [-WhatIf] [-Confirm] [] + [-AsJob] [-NoWait] [-PassThru] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -144,6 +144,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. diff --git a/src/StorageMover/StorageMover/help/Update-AzStorageMover.md b/src/StorageMover/StorageMover/help/Update-AzStorageMover.md index c9d42f047d2a..3652193c1a51 100644 --- a/src/StorageMover/StorageMover/help/Update-AzStorageMover.md +++ b/src/StorageMover/StorageMover/help/Update-AzStorageMover.md @@ -16,7 +16,7 @@ Properties not specified in the request body will be unchanged. ### UpdateExpanded (Default) ``` Update-AzStorageMover -Name -ResourceGroupName [-SubscriptionId ] - [-Description ] [-Tag ] [-DefaultProfile ] + [-Description ] [-Tag ] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -24,19 +24,19 @@ Update-AzStorageMover -Name -ResourceGroupName [-SubscriptionI ``` Update-AzStorageMover -Name -ResourceGroupName [-SubscriptionId ] -StorageMover [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### UpdateViaIdentityExpanded ``` Update-AzStorageMover -InputObject [-Description ] [-Tag ] - [-DefaultProfile ] [-WhatIf] [-Confirm] [] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### UpdateViaIdentity ``` Update-AzStorageMover -InputObject -StorageMover - [-DefaultProfile ] [-WhatIf] [-Confirm] [] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -133,6 +133,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. @@ -154,7 +169,7 @@ The Storage Mover resource. To construct, see NOTES section for STORAGEMOVER properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParameters +Type: Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParameters Parameter Sets: Update, UpdateViaIdentity Aliases: @@ -231,13 +246,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMoverUpdateParameters +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMoverUpdateParameters ### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IStorageMover +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IStorageMover ## NOTES diff --git a/src/StorageMover/StorageMover/help/Update-AzStorageMoverAgent.md b/src/StorageMover/StorageMover/help/Update-AzStorageMoverAgent.md index 13b9b3a7e426..522dffae8c9f 100644 --- a/src/StorageMover/StorageMover/help/Update-AzStorageMoverAgent.md +++ b/src/StorageMover/StorageMover/help/Update-AzStorageMoverAgent.md @@ -15,27 +15,29 @@ Creates or updates an Agent resource. ### UpdateExpanded (Default) ``` Update-AzStorageMoverAgent -Name -ResourceGroupName -StorageMoverName - [-SubscriptionId ] [-Description ] [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-SubscriptionId ] [-Description ] + [-UploadLimitScheduleWeeklyRecurrence ] [-DefaultProfile ] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### Update ``` Update-AzStorageMoverAgent -Name -ResourceGroupName -StorageMoverName [-SubscriptionId ] -Agent [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### UpdateViaIdentityExpanded ``` Update-AzStorageMoverAgent -InputObject [-Description ] - [-DefaultProfile ] [-WhatIf] [-Confirm] [] + [-UploadLimitScheduleWeeklyRecurrence ] [-DefaultProfile ] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### UpdateViaIdentity ``` Update-AzStorageMoverAgent -InputObject -Agent - [-DefaultProfile ] [-WhatIf] [-Confirm] [] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -43,37 +45,51 @@ Creates or updates an Agent resource. ## EXAMPLES -### Example 1: Update an agent. +### Example 1: Update an agent ```powershell -Update-AzStorageMoverAgent -ResourceGroupName myResourceGroup -StorageMoverName myStorageMover -Name myAgent -Description "Update description" +$recurrence = New-AzStorageMoverUploadLimitWeeklyRecurrenceObject -Day 'Monday','Tuesday','Friday' -LimitInMbps 100 -EndTimeHour 5 -StartTimeHour 1 -StartTimeMinute 30 -EndTimeMinute 0 +Update-AzStorageMoverAgent -ResourceGroupName myresourcegroup -StorageMoverName mystoragemover -Name myagent -Description "Update description" -UploadLimitScheduleWeeklyRecurrence $recurrence ``` ```output -AgentStatus : Registering -ArcResourceId : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.HybridCompute/machines/myAgent -ArcVMUuid : aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa -Description : Update description -ErrorDetailCode : -ErrorDetailMessage : -Id : /subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/microsoft.storagemover/storagemovers/myStorageMover/agents/myAgent -LastStatusUpdate : -LocalIPAddress : -MemoryInMb : -Name : myAgent -NumberOfCores : -ProvisioningState : Succeeded -SystemDataCreatedAt : 8/2/2022 7:15:19 AM -SystemDataCreatedBy : myAccount@xxx.com -SystemDataCreatedByType : User -SystemDataLastModifiedAt : 8/2/2022 7:15:19 AM -SystemDataLastModifiedBy : myAccount@xxx.com -SystemDataLastModifiedByType : User -Type : microsoft.storagemover/storagemovers/agents -UptimeInSeconds : -Version : -``` - -This command updates the description of a Storage mover agent. +AgentStatus : Online +ArcResourceId : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.HybridCompute/machines/myagent +ArcVMUuid : 00000000-0000-0000-0000-000000000000 +Description : Update description +ErrorDetailCode : +ErrorDetailMessage : +Id : /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.StorageMover/storageMovers/mystoragemover/agents/myagent +LastStatusUpdate : 6/12/2024 5:57:45 AM +LocalIPAddress : 000.000.000.00 +MemoryInMb : 1470 +Name : myagent +NumberOfCores : 8 +ProvisioningState : Succeeded +SystemDataCreatedAt : 6/12/2024 5:47:26 AM +SystemDataCreatedBy : example@microsoft.com +SystemDataCreatedByType : User +SystemDataLastModifiedAt : 6/12/2024 5:57:54 AM +SystemDataLastModifiedBy : example@microsoft.com +SystemDataLastModifiedByType : User +TimeZone : UTC +Type : microsoft.storagemover/storagemovers/agents +UploadLimitScheduleWeeklyRecurrence : {{ + "startTime": { + "hour": 1, + "minute": 30 + }, + "endTime": { + "hour": 5, + "minute": 0 + }, + "days": [ "Monday", "Tuesday", "Friday" ], + "limitInMbps": 100 + }} +UptimeInSeconds : 3417 +Version : +``` + +This command updates the description and the upload limit weekly recurrence of an agent. ## PARAMETERS @@ -82,7 +98,7 @@ The Agent resource. To construct, see NOTES section for AGENT properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParameters +Type: Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParameters Parameter Sets: Update, UpdateViaIdentity Aliases: @@ -155,6 +171,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. @@ -201,6 +232,22 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -UploadLimitScheduleWeeklyRecurrence +The set of weekly repeating recurrences of the WAN-link upload limit schedule. +To construct, see NOTES section for UPLOADLIMITSCHEDULEWEEKLYRECURRENCE properties and create a hash table. + +```yaml +Type: Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IUploadLimitWeeklyRecurrence[] +Parameter Sets: UpdateExpanded, UpdateViaIdentityExpanded +Aliases: + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Confirm Prompts you for confirmation before running the cmdlet. @@ -237,13 +284,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgentUpdateParameters +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgentUpdateParameters ### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IAgent +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IAgent ## NOTES diff --git a/src/StorageMover/StorageMover/help/Update-AzStorageMoverAzSmbFileShareEndpoint.md b/src/StorageMover/StorageMover/help/Update-AzStorageMoverAzSmbFileShareEndpoint.md index f7bad1feb6f8..8b73c288088e 100644 --- a/src/StorageMover/StorageMover/help/Update-AzStorageMoverAzSmbFileShareEndpoint.md +++ b/src/StorageMover/StorageMover/help/Update-AzStorageMoverAzSmbFileShareEndpoint.md @@ -17,13 +17,13 @@ Properties not specified in the request body will be unchanged. ``` Update-AzStorageMoverAzSmbFileShareEndpoint -Name -ResourceGroupName -StorageMoverName [-SubscriptionId ] [-Description ] [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### UpdateViaIdentityExpanded ``` Update-AzStorageMoverAzSmbFileShareEndpoint -InputObject [-Description ] - [-DefaultProfile ] [-WhatIf] [-Confirm] [] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -147,6 +147,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. @@ -233,7 +248,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint ## NOTES diff --git a/src/StorageMover/StorageMover/help/Update-AzStorageMoverAzStorageContainerEndpoint.md b/src/StorageMover/StorageMover/help/Update-AzStorageMoverAzStorageContainerEndpoint.md index a3f8d7eb3fa3..580960c00d3f 100644 --- a/src/StorageMover/StorageMover/help/Update-AzStorageMoverAzStorageContainerEndpoint.md +++ b/src/StorageMover/StorageMover/help/Update-AzStorageMoverAzStorageContainerEndpoint.md @@ -17,13 +17,13 @@ Properties not specified in the request body will be unchanged. ``` Update-AzStorageMoverAzStorageContainerEndpoint -Name -ResourceGroupName -StorageMoverName [-SubscriptionId ] [-Description ] [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### UpdateViaIdentityExpanded ``` Update-AzStorageMoverAzStorageContainerEndpoint -InputObject [-Description ] - [-DefaultProfile ] [-WhatIf] [-Confirm] [] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -121,6 +121,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. @@ -207,7 +222,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint ## NOTES diff --git a/src/StorageMover/StorageMover/help/Update-AzStorageMoverJobDefinition.md b/src/StorageMover/StorageMover/help/Update-AzStorageMoverJobDefinition.md index 1fbb206b74b1..489c2e7d1bb4 100644 --- a/src/StorageMover/StorageMover/help/Update-AzStorageMoverJobDefinition.md +++ b/src/StorageMover/StorageMover/help/Update-AzStorageMoverJobDefinition.md @@ -17,7 +17,7 @@ Properties not specified in the request body will be unchanged. ``` Update-AzStorageMoverJobDefinition -Name -ProjectName -ResourceGroupName -StorageMoverName [-SubscriptionId ] [-AgentName ] [-CopyMode ] - [-Description ] [-DefaultProfile ] [-WhatIf] [-Confirm] + [-Description ] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -25,21 +25,21 @@ Update-AzStorageMoverJobDefinition -Name -ProjectName -Resourc ``` Update-AzStorageMoverJobDefinition -Name -ProjectName -ResourceGroupName -StorageMoverName [-SubscriptionId ] -JobDefinition - [-DefaultProfile ] [-WhatIf] [-Confirm] [] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### UpdateViaIdentityExpanded ``` Update-AzStorageMoverJobDefinition -InputObject [-AgentName ] [-CopyMode ] [-Description ] [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### UpdateViaIdentity ``` Update-AzStorageMoverJobDefinition -InputObject -JobDefinition [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -165,7 +165,7 @@ The Job Definition resource. To construct, see NOTES section for JOBDEFINITION properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParameters +Type: Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParameters Parameter Sets: Update, UpdateViaIdentity Aliases: @@ -191,6 +191,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ProjectName The name of the Project resource. @@ -288,13 +303,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinitionUpdateParameters +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinitionUpdateParameters ### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IJobDefinition +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IJobDefinition ## NOTES diff --git a/src/StorageMover/StorageMover/help/Update-AzStorageMoverNfsEndpoint.md b/src/StorageMover/StorageMover/help/Update-AzStorageMoverNfsEndpoint.md index 31d3b243b19a..8ddb48728501 100644 --- a/src/StorageMover/StorageMover/help/Update-AzStorageMoverNfsEndpoint.md +++ b/src/StorageMover/StorageMover/help/Update-AzStorageMoverNfsEndpoint.md @@ -17,13 +17,13 @@ Properties not specified in the request body will be unchanged. ``` Update-AzStorageMoverNfsEndpoint -Name -ResourceGroupName -StorageMoverName [-SubscriptionId ] [-Description ] [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### UpdateViaIdentityExpanded ``` Update-AzStorageMoverNfsEndpoint -InputObject [-Description ] - [-DefaultProfile ] [-WhatIf] [-Confirm] [] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -121,6 +121,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. @@ -207,7 +222,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint ## NOTES diff --git a/src/StorageMover/StorageMover/help/Update-AzStorageMoverProject.md b/src/StorageMover/StorageMover/help/Update-AzStorageMoverProject.md index 02333a513a0e..a809f5362d9c 100644 --- a/src/StorageMover/StorageMover/help/Update-AzStorageMoverProject.md +++ b/src/StorageMover/StorageMover/help/Update-AzStorageMoverProject.md @@ -17,26 +17,26 @@ Properties not specified in the request body will be unchanged. ``` Update-AzStorageMoverProject -Name -ResourceGroupName -StorageMoverName [-SubscriptionId ] [-Description ] [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### Update ``` Update-AzStorageMoverProject -Name -ResourceGroupName -StorageMoverName [-SubscriptionId ] -Project [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### UpdateViaIdentityExpanded ``` Update-AzStorageMoverProject -InputObject [-Description ] - [-DefaultProfile ] [-WhatIf] [-Confirm] [] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ### UpdateViaIdentity ``` Update-AzStorageMoverProject -InputObject -Project - [-DefaultProfile ] [-WhatIf] [-Confirm] [] + [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -130,12 +130,27 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -Project The Project resource. To construct, see NOTES section for PROJECT properties and create a hash table. ```yaml -Type: Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParameters +Type: Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParameters Parameter Sets: Update, UpdateViaIdentity Aliases: @@ -228,13 +243,13 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## INPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProjectUpdateParameters +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProjectUpdateParameters ### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.IStorageMoverIdentity ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IProject +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IProject ## NOTES diff --git a/src/StorageMover/StorageMover/help/Update-AzStorageMoverSmbEndpoint.md b/src/StorageMover/StorageMover/help/Update-AzStorageMoverSmbEndpoint.md index 7a21e9ee41fc..87e113cec6b1 100644 --- a/src/StorageMover/StorageMover/help/Update-AzStorageMoverSmbEndpoint.md +++ b/src/StorageMover/StorageMover/help/Update-AzStorageMoverSmbEndpoint.md @@ -17,7 +17,7 @@ Properties not specified in the request body will be unchanged. ``` Update-AzStorageMoverSmbEndpoint -Name -ResourceGroupName -StorageMoverName [-SubscriptionId ] [-CredentialsUsernameUri ] [-CredentialsPasswordUri ] - [-Description ] [-DefaultProfile ] [-WhatIf] [-Confirm] + [-Description ] [-DefaultProfile ] [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` @@ -25,7 +25,7 @@ Update-AzStorageMoverSmbEndpoint -Name -ResourceGroupName -Sto ``` Update-AzStorageMoverSmbEndpoint -InputObject [-CredentialsUsernameUri ] [-CredentialsPasswordUri ] [-Description ] [-DefaultProfile ] - [-WhatIf] [-Confirm] [] + [-ProgressAction ] [-WhatIf] [-Confirm] [] ``` ## DESCRIPTION @@ -191,6 +191,21 @@ Accept pipeline input: False Accept wildcard characters: False ``` +### -ProgressAction +{{ Fill ProgressAction Description }} + +```yaml +Type: System.Management.Automation.ActionPreference +Parameter Sets: (All) +Aliases: proga + +Required: False +Position: Named +Default value: None +Accept pipeline input: False +Accept wildcard characters: False +``` + ### -ResourceGroupName The name of the resource group. The name is case insensitive. @@ -277,7 +292,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## OUTPUTS -### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20231001.IEndpoint +### Microsoft.Azure.PowerShell.Cmdlets.StorageMover.Models.Api20240701.IEndpoint ## NOTES