From 9ff6f3273ffda93ff21d45cb7421e7c3473e1f48 Mon Sep 17 00:00:00 2001 From: hc-github-team-tf-azure <105039713+hc-github-team-tf-azure@users.noreply.github.com> Date: Wed, 27 Sep 2023 11:11:23 +0200 Subject: [PATCH] data: regenerating based on the latest Swagger (#3095) Co-authored-by: hc-github-team-tf-azure <> --- .../Operation-Register.cs | 2 ++ .../v2023_04_01/RecoveryPoints/Definition.cs | 1 + .../RecoveryPoints/Model-ExtendedLocation.cs | 23 +++++++++++++++++++ .../Model-IaasVMRecoveryPoint.cs | 3 +++ .../Definition.cs | 1 + .../Model-ExtendedLocation.cs | 23 +++++++++++++++++++ .../Model-IaasVMRecoveryPoint.cs | 3 +++ .../SwaggerRevision.cs | 2 +- 8 files changed, 57 insertions(+), 1 deletion(-) create mode 100644 data/Pandora.Definitions.ResourceManager/RecoveryServicesBackup/v2023_04_01/RecoveryPoints/Model-ExtendedLocation.cs create mode 100644 data/Pandora.Definitions.ResourceManager/RecoveryServicesBackup/v2023_04_01/RecoveryPointsRecommendedForMove/Model-ExtendedLocation.cs diff --git a/data/Pandora.Definitions.ResourceManager/RecoveryServicesBackup/v2023_04_01/ProtectionContainers/Operation-Register.cs b/data/Pandora.Definitions.ResourceManager/RecoveryServicesBackup/v2023_04_01/ProtectionContainers/Operation-Register.cs index 388e0471e58..58994835e92 100644 --- a/data/Pandora.Definitions.ResourceManager/RecoveryServicesBackup/v2023_04_01/ProtectionContainers/Operation-Register.cs +++ b/data/Pandora.Definitions.ResourceManager/RecoveryServicesBackup/v2023_04_01/ProtectionContainers/Operation-Register.cs @@ -20,6 +20,8 @@ internal class RegisterOperation : Pandora.Definitions.Operations.PutOperation HttpStatusCode.OK, }; + public override bool LongRunning() => true; + public override Type? RequestObject() => typeof(ProtectionContainerResourceModel); public override ResourceID? ResourceId() => new ProtectionContainerId(); diff --git a/data/Pandora.Definitions.ResourceManager/RecoveryServicesBackup/v2023_04_01/RecoveryPoints/Definition.cs b/data/Pandora.Definitions.ResourceManager/RecoveryServicesBackup/v2023_04_01/RecoveryPoints/Definition.cs index d319c0804b5..59ce200ed71 100644 --- a/data/Pandora.Definitions.ResourceManager/RecoveryServicesBackup/v2023_04_01/RecoveryPoints/Definition.cs +++ b/data/Pandora.Definitions.ResourceManager/RecoveryServicesBackup/v2023_04_01/RecoveryPoints/Definition.cs @@ -35,6 +35,7 @@ internal class Definition : ResourceDefinition typeof(AzureWorkloadSQLRecoveryPointExtendedInfoModel), typeof(BEKDetailsModel), typeof(DiskInformationModel), + typeof(ExtendedLocationModel), typeof(GenericRecoveryPointModel), typeof(IaasVMRecoveryPointModel), typeof(KEKDetailsModel), diff --git a/data/Pandora.Definitions.ResourceManager/RecoveryServicesBackup/v2023_04_01/RecoveryPoints/Model-ExtendedLocation.cs b/data/Pandora.Definitions.ResourceManager/RecoveryServicesBackup/v2023_04_01/RecoveryPoints/Model-ExtendedLocation.cs new file mode 100644 index 00000000000..80c10f7ed66 --- /dev/null +++ b/data/Pandora.Definitions.ResourceManager/RecoveryServicesBackup/v2023_04_01/RecoveryPoints/Model-ExtendedLocation.cs @@ -0,0 +1,23 @@ +using System; +using System.Collections.Generic; +using System.Text.Json.Serialization; +using Pandora.Definitions.Attributes; +using Pandora.Definitions.Attributes.Validation; +using Pandora.Definitions.CustomTypes; + + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + + +namespace Pandora.Definitions.ResourceManager.RecoveryServicesBackup.v2023_04_01.RecoveryPoints; + + +internal class ExtendedLocationModel +{ + [JsonPropertyName("name")] + public string? Name { get; set; } + + [JsonPropertyName("type")] + public string? Type { get; set; } +} diff --git a/data/Pandora.Definitions.ResourceManager/RecoveryServicesBackup/v2023_04_01/RecoveryPoints/Model-IaasVMRecoveryPoint.cs b/data/Pandora.Definitions.ResourceManager/RecoveryServicesBackup/v2023_04_01/RecoveryPoints/Model-IaasVMRecoveryPoint.cs index 61156d15839..64694b84b50 100644 --- a/data/Pandora.Definitions.ResourceManager/RecoveryServicesBackup/v2023_04_01/RecoveryPoints/Model-IaasVMRecoveryPoint.cs +++ b/data/Pandora.Definitions.ResourceManager/RecoveryServicesBackup/v2023_04_01/RecoveryPoints/Model-IaasVMRecoveryPoint.cs @@ -15,6 +15,9 @@ namespace Pandora.Definitions.ResourceManager.RecoveryServicesBackup.v2023_04_01 [ValueForType("IaasVMRecoveryPoint")] internal class IaasVMRecoveryPointModel : RecoveryPointModel { + [JsonPropertyName("extendedLocation")] + public ExtendedLocationModel? ExtendedLocation { get; set; } + [JsonPropertyName("isInstantIlrSessionActive")] public bool? IsInstantIlrSessionActive { get; set; } diff --git a/data/Pandora.Definitions.ResourceManager/RecoveryServicesBackup/v2023_04_01/RecoveryPointsRecommendedForMove/Definition.cs b/data/Pandora.Definitions.ResourceManager/RecoveryServicesBackup/v2023_04_01/RecoveryPointsRecommendedForMove/Definition.cs index 24d656bc1f8..dd10bd13379 100644 --- a/data/Pandora.Definitions.ResourceManager/RecoveryServicesBackup/v2023_04_01/RecoveryPointsRecommendedForMove/Definition.cs +++ b/data/Pandora.Definitions.ResourceManager/RecoveryServicesBackup/v2023_04_01/RecoveryPointsRecommendedForMove/Definition.cs @@ -34,6 +34,7 @@ internal class Definition : ResourceDefinition typeof(AzureWorkloadSQLRecoveryPointExtendedInfoModel), typeof(BEKDetailsModel), typeof(DiskInformationModel), + typeof(ExtendedLocationModel), typeof(GenericRecoveryPointModel), typeof(IaasVMRecoveryPointModel), typeof(KEKDetailsModel), diff --git a/data/Pandora.Definitions.ResourceManager/RecoveryServicesBackup/v2023_04_01/RecoveryPointsRecommendedForMove/Model-ExtendedLocation.cs b/data/Pandora.Definitions.ResourceManager/RecoveryServicesBackup/v2023_04_01/RecoveryPointsRecommendedForMove/Model-ExtendedLocation.cs new file mode 100644 index 00000000000..eca00c22a6e --- /dev/null +++ b/data/Pandora.Definitions.ResourceManager/RecoveryServicesBackup/v2023_04_01/RecoveryPointsRecommendedForMove/Model-ExtendedLocation.cs @@ -0,0 +1,23 @@ +using System; +using System.Collections.Generic; +using System.Text.Json.Serialization; +using Pandora.Definitions.Attributes; +using Pandora.Definitions.Attributes.Validation; +using Pandora.Definitions.CustomTypes; + + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + + +namespace Pandora.Definitions.ResourceManager.RecoveryServicesBackup.v2023_04_01.RecoveryPointsRecommendedForMove; + + +internal class ExtendedLocationModel +{ + [JsonPropertyName("name")] + public string? Name { get; set; } + + [JsonPropertyName("type")] + public string? Type { get; set; } +} diff --git a/data/Pandora.Definitions.ResourceManager/RecoveryServicesBackup/v2023_04_01/RecoveryPointsRecommendedForMove/Model-IaasVMRecoveryPoint.cs b/data/Pandora.Definitions.ResourceManager/RecoveryServicesBackup/v2023_04_01/RecoveryPointsRecommendedForMove/Model-IaasVMRecoveryPoint.cs index 1865ba32e20..8fad4c7e378 100644 --- a/data/Pandora.Definitions.ResourceManager/RecoveryServicesBackup/v2023_04_01/RecoveryPointsRecommendedForMove/Model-IaasVMRecoveryPoint.cs +++ b/data/Pandora.Definitions.ResourceManager/RecoveryServicesBackup/v2023_04_01/RecoveryPointsRecommendedForMove/Model-IaasVMRecoveryPoint.cs @@ -15,6 +15,9 @@ namespace Pandora.Definitions.ResourceManager.RecoveryServicesBackup.v2023_04_01 [ValueForType("IaasVMRecoveryPoint")] internal class IaasVMRecoveryPointModel : RecoveryPointModel { + [JsonPropertyName("extendedLocation")] + public ExtendedLocationModel? ExtendedLocation { get; set; } + [JsonPropertyName("isInstantIlrSessionActive")] public bool? IsInstantIlrSessionActive { get; set; } diff --git a/data/Pandora.Definitions.ResourceManager/SwaggerRevision.cs b/data/Pandora.Definitions.ResourceManager/SwaggerRevision.cs index df0289c85e4..a58cf78e6ba 100644 --- a/data/Pandora.Definitions.ResourceManager/SwaggerRevision.cs +++ b/data/Pandora.Definitions.ResourceManager/SwaggerRevision.cs @@ -5,4 +5,4 @@ namespace Pandora.Definitions.ResourceManager; // Licensed under the MIT License. See NOTICE.txt in the project root for license information. -// Generated from Swagger revision "06479e897f635086bd40e6ee879e94f4a803ddd9" +// Generated from Swagger revision "3eb9ec8e9c8f717c6b461c4c0f49a4662fb948fd"