Skip to content

Commit

Permalink
data: regenerating based on the latest Swagger (#3095)
Browse files Browse the repository at this point in the history
Co-authored-by: hc-github-team-tf-azure <>
  • Loading branch information
hc-github-team-tf-azure authored Sep 27, 2023
1 parent 76c8468 commit 9ff6f32
Show file tree
Hide file tree
Showing 8 changed files with 57 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ internal class Definition : ResourceDefinition
typeof(AzureWorkloadSQLRecoveryPointExtendedInfoModel),
typeof(BEKDetailsModel),
typeof(DiskInformationModel),
typeof(ExtendedLocationModel),
typeof(GenericRecoveryPointModel),
typeof(IaasVMRecoveryPointModel),
typeof(KEKDetailsModel),
Expand Down
Original file line number Diff line number Diff line change
@@ -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; }
}
Original file line number Diff line number Diff line change
Expand Up @@ -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; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ internal class Definition : ResourceDefinition
typeof(AzureWorkloadSQLRecoveryPointExtendedInfoModel),
typeof(BEKDetailsModel),
typeof(DiskInformationModel),
typeof(ExtendedLocationModel),
typeof(GenericRecoveryPointModel),
typeof(IaasVMRecoveryPointModel),
typeof(KEKDetailsModel),
Expand Down
Original file line number Diff line number Diff line change
@@ -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; }
}
Original file line number Diff line number Diff line change
Expand Up @@ -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; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 9ff6f32

Please sign in to comment.