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