diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Any.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Any.cs
new file mode 100644
index 000000000000..201d8b7f51f3
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Any.cs
@@ -0,0 +1,34 @@
+// 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.RecoveryServicesBackup.Models
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Any object
+ public partial class Any :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.IAny,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.IAnyInternal
+ {
+
+ /// Creates an new instance.
+ public Any()
+ {
+
+ }
+ }
+ /// Any object
+ public partial interface IAny :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable
+ {
+
+ }
+ /// Any object
+ internal partial interface IAnyInternal
+
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Any.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Any.json.cs
new file mode 100644
index 000000000000..c09198e2b878
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Any.json.cs
@@ -0,0 +1,106 @@
+// 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.RecoveryServicesBackup.Models
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Any object
+ public partial class Any
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal Any(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.IAny.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.IAny.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.IAny FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new Any(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api10/ErrorAdditionalInfo.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api10/ErrorAdditionalInfo.cs
new file mode 100644
index 000000000000..c3319b37105b
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api10/ErrorAdditionalInfo.cs
@@ -0,0 +1,74 @@
+// 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.RecoveryServicesBackup.Models.Api10
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// The resource management error additional info.
+ public partial class ErrorAdditionalInfo :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api10.IErrorAdditionalInfo,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api10.IErrorAdditionalInfoInternal
+ {
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.IAny _info;
+
+ /// The additional info.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.IAny Info { get => (this._info = this._info ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Any()); }
+
+ /// Internal Acessors for Info
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.IAny Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api10.IErrorAdditionalInfoInternal.Info { get => (this._info = this._info ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Any()); set { {_info = value;} } }
+
+ /// Internal Acessors for Type
+ string Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api10.IErrorAdditionalInfoInternal.Type { get => this._type; set { {_type = value;} } }
+
+ /// Backing field for property.
+ private string _type;
+
+ /// The additional info type.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string Type { get => this._type; }
+
+ /// Creates an new instance.
+ public ErrorAdditionalInfo()
+ {
+
+ }
+ }
+ /// The resource management error additional info.
+ public partial interface IErrorAdditionalInfo :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable
+ {
+ /// The additional info.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The additional info.",
+ SerializedName = @"info",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.IAny) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.IAny Info { get; }
+ /// The additional info type.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The additional info type.",
+ SerializedName = @"type",
+ PossibleTypes = new [] { typeof(string) })]
+ string Type { get; }
+
+ }
+ /// The resource management error additional info.
+ internal partial interface IErrorAdditionalInfoInternal
+
+ {
+ /// The additional info.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.IAny Info { get; set; }
+ /// The additional info type.
+ string Type { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api10/ErrorAdditionalInfo.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api10/ErrorAdditionalInfo.json.cs
new file mode 100644
index 000000000000..72b81d5c97df
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api10/ErrorAdditionalInfo.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.RecoveryServicesBackup.Models.Api10
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// The resource management error additional info.
+ public partial class ErrorAdditionalInfo
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal ErrorAdditionalInfo(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ {_type = If( json?.PropertyT("type"), out var __jsonType) ? (string)__jsonType : (string)Type;}
+ {_info = If( json?.PropertyT("info"), out var __jsonInfo) ? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Any.FromJson(__jsonInfo) : Info;}
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api10.IErrorAdditionalInfo.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api10.IErrorAdditionalInfo.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api10.IErrorAdditionalInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new ErrorAdditionalInfo(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode.IncludeReadOnly))
+ {
+ AddIf( null != (((object)this._type)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._type.ToString()) : null, "type" ,container.Add );
+ }
+ if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode.IncludeReadOnly))
+ {
+ AddIf( null != this._info ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) this._info.ToJson(null,serializationMode) : null, "info" ,container.Add );
+ }
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureBackupGoalFeatureSupportRequest.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureBackupGoalFeatureSupportRequest.cs
new file mode 100644
index 000000000000..062292c90801
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureBackupGoalFeatureSupportRequest.cs
@@ -0,0 +1,57 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure backup goal feature specific request.
+ public partial class AzureBackupGoalFeatureSupportRequest :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureBackupGoalFeatureSupportRequest,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureBackupGoalFeatureSupportRequestInternal,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IValidates
+ {
+ ///
+ /// Backing field for Inherited model
+ ///
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IFeatureSupportRequest __featureSupportRequest = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.FeatureSupportRequest();
+
+ /// backup support feature type.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string FeatureType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IFeatureSupportRequestInternal)__featureSupportRequest).FeatureType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IFeatureSupportRequestInternal)__featureSupportRequest).FeatureType = value ; }
+
+ /// Creates an new instance.
+ public AzureBackupGoalFeatureSupportRequest()
+ {
+
+ }
+
+ /// 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.RecoveryServicesBackup.Runtime.IEventListener eventListener)
+ {
+ await eventListener.AssertNotNull(nameof(__featureSupportRequest), __featureSupportRequest);
+ await eventListener.AssertObjectIsValid(nameof(__featureSupportRequest), __featureSupportRequest);
+ }
+ }
+ /// Azure backup goal feature specific request.
+ public partial interface IAzureBackupGoalFeatureSupportRequest :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IFeatureSupportRequest
+ {
+
+ }
+ /// Azure backup goal feature specific request.
+ internal partial interface IAzureBackupGoalFeatureSupportRequestInternal :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IFeatureSupportRequestInternal
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureBackupGoalFeatureSupportRequest.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureBackupGoalFeatureSupportRequest.json.cs
new file mode 100644
index 000000000000..a37612121485
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureBackupGoalFeatureSupportRequest.json.cs
@@ -0,0 +1,109 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure backup goal feature specific request.
+ public partial class AzureBackupGoalFeatureSupportRequest
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureBackupGoalFeatureSupportRequest(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ __featureSupportRequest = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.FeatureSupportRequest(json);
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureBackupGoalFeatureSupportRequest.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureBackupGoalFeatureSupportRequest.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureBackupGoalFeatureSupportRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureBackupGoalFeatureSupportRequest(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ __featureSupportRequest?.ToJson(container, serializationMode);
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureBackupServerContainer.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureBackupServerContainer.cs
new file mode 100644
index 000000000000..c6efc9f54134
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureBackupServerContainer.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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// AzureBackupServer (DPMVenus) workload-specific protection container.
+ public partial class AzureBackupServerContainer :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureBackupServerContainer,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureBackupServerContainerInternal,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IValidates
+ {
+ ///
+ /// Backing field for Inherited model
+ ///
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IDpmContainer __dpmContainer = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.DpmContainer();
+
+ /// Type of backup management for the container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType? BackupManagementType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__dpmContainer).BackupManagementType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__dpmContainer).BackupManagementType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType)""); }
+
+ /// Specifies whether the container is re-registrable.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public bool? CanReRegister { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IDpmContainerInternal)__dpmContainer).CanReRegister; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IDpmContainerInternal)__dpmContainer).CanReRegister = value ?? default(bool); }
+
+ /// ID of container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ContainerId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IDpmContainerInternal)__dpmContainer).ContainerId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IDpmContainerInternal)__dpmContainer).ContainerId = value ?? null; }
+
+ ///
+ /// Type of the container. The value of this property for: 1. Compute Azure VM is Microsoft.Compute/virtualMachines 2.
+ /// Classic Compute Azure VM is Microsoft.ClassicCompute/virtualMachines 3. Windows machines (like MAB, DPM etc) is
+ /// Windows 4. Azure SQL instance is AzureSqlContainer. 5. Storage containers is StorageContainer. 6. Azure workload
+ /// Backup is VMAppContainer
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectableContainerType ContainerType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__dpmContainer).ContainerType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__dpmContainer).ContainerType = value ; }
+
+ /// Backup engine Agent version
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string DpmAgentVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IDpmContainerInternal)__dpmContainer).DpmAgentVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IDpmContainerInternal)__dpmContainer).DpmAgentVersion = value ?? null; }
+
+ /// List of BackupEngines protecting the container
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string[] DpmServer { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IDpmContainerInternal)__dpmContainer).DpmServer; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IDpmContainerInternal)__dpmContainer).DpmServer = value ?? null /* arrayOf */; }
+
+ /// Extended Info of the container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IDpmContainerExtendedInfo ExtendedInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IDpmContainerInternal)__dpmContainer).ExtendedInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IDpmContainerInternal)__dpmContainer).ExtendedInfo = value ?? null /* model class */; }
+
+ /// Last refresh time of the DPMContainer.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public global::System.DateTime? ExtendedInfoLastRefreshedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IDpmContainerInternal)__dpmContainer).ExtendedInfoLastRefreshedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IDpmContainerInternal)__dpmContainer).ExtendedInfoLastRefreshedAt = value ?? default(global::System.DateTime); }
+
+ /// Friendly name of the container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string FriendlyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__dpmContainer).FriendlyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__dpmContainer).FriendlyName = value ?? null; }
+
+ /// Status of health of the container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string HealthStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__dpmContainer).HealthStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__dpmContainer).HealthStatus = value ?? null; }
+
+ /// Type of the protectable object associated with this container
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ProtectableObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__dpmContainer).ProtectableObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__dpmContainer).ProtectableObjectType = value ?? null; }
+
+ /// Number of protected items in the BackupEngine
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public long? ProtectedItemCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IDpmContainerInternal)__dpmContainer).ProtectedItemCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IDpmContainerInternal)__dpmContainer).ProtectedItemCount = value ?? default(long); }
+
+ /// Protection status of the container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ProtectionStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IDpmContainerInternal)__dpmContainer).ProtectionStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IDpmContainerInternal)__dpmContainer).ProtectionStatus = value ?? null; }
+
+ /// Status of registration of the container with the Recovery Services Vault.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string RegistrationStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__dpmContainer).RegistrationStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__dpmContainer).RegistrationStatus = value ?? null; }
+
+ /// To check if upgrade available
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public bool? UpgradeAvailable { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IDpmContainerInternal)__dpmContainer).UpgradeAvailable; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IDpmContainerInternal)__dpmContainer).UpgradeAvailable = value ?? default(bool); }
+
+ /// Creates an new instance.
+ public AzureBackupServerContainer()
+ {
+
+ }
+
+ /// 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.RecoveryServicesBackup.Runtime.IEventListener eventListener)
+ {
+ await eventListener.AssertNotNull(nameof(__dpmContainer), __dpmContainer);
+ await eventListener.AssertObjectIsValid(nameof(__dpmContainer), __dpmContainer);
+ }
+ }
+ /// AzureBackupServer (DPMVenus) workload-specific protection container.
+ public partial interface IAzureBackupServerContainer :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IDpmContainer
+ {
+
+ }
+ /// AzureBackupServer (DPMVenus) workload-specific protection container.
+ internal partial interface IAzureBackupServerContainerInternal :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IDpmContainerInternal
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureBackupServerContainer.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureBackupServerContainer.json.cs
new file mode 100644
index 000000000000..5207d0bfc7e9
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureBackupServerContainer.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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// AzureBackupServer (DPMVenus) workload-specific protection container.
+ public partial class AzureBackupServerContainer
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureBackupServerContainer(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ __dpmContainer = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.DpmContainer(json);
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureBackupServerContainer.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureBackupServerContainer.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureBackupServerContainer FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureBackupServerContainer(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ __dpmContainer?.ToJson(container, serializationMode);
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureBackupServerEngine.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureBackupServerEngine.cs
new file mode 100644
index 000000000000..a8d96ec1961e
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureBackupServerEngine.cs
@@ -0,0 +1,139 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Backup engine type when Azure Backup Server is used to manage the backups.
+ public partial class AzureBackupServerEngine :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureBackupServerEngine,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureBackupServerEngineInternal,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IValidates
+ {
+ ///
+ /// Backing field for Inherited model
+ ///
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBase __backupEngineBase = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.BackupEngineBase();
+
+ /// Backup agent version
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string AzureBackupAgentVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).AzureBackupAgentVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).AzureBackupAgentVersion = value ?? null; }
+
+ /// ID of the backup engine.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string BackupEngineId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).BackupEngineId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).BackupEngineId = value ?? null; }
+
+ ///
+ /// Status of the backup engine with the Recovery Services Vault. = {Active/Deleting/DeleteFailed}
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string BackupEngineState { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).BackupEngineState; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).BackupEngineState = value ?? null; }
+
+ /// Type of the backup engine.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupEngineType BackupEngineType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).BackupEngineType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).BackupEngineType = value ; }
+
+ /// Type of backup management for the backup engine.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType? BackupManagementType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).BackupManagementType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).BackupManagementType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType)""); }
+
+ /// Flag indicating if the backup engine be registered, once already registered.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public bool? CanReRegister { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).CanReRegister; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).CanReRegister = value ?? default(bool); }
+
+ /// Backup engine version
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string DpmVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).DpmVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).DpmVersion = value ?? null; }
+
+ /// Extended info of the backupengine
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineExtendedInfo ExtendedInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).ExtendedInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).ExtendedInfo = value ?? null /* model class */; }
+
+ /// Disk space currently available in the backup engine.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public double? ExtendedInfoAvailableDiskSpace { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).ExtendedInfoAvailableDiskSpace; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).ExtendedInfoAvailableDiskSpace = value ?? default(double); }
+
+ /// Protected instances in the backup engine.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public int? ExtendedInfoAzureProtectedInstance { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).ExtendedInfoAzureProtectedInstance; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).ExtendedInfoAzureProtectedInstance = value ?? default(int); }
+
+ /// Database name of backup engine.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ExtendedInfoDatabaseName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).ExtendedInfoDatabaseName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).ExtendedInfoDatabaseName = value ?? null; }
+
+ /// Number of disks in the backup engine.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public int? ExtendedInfoDiskCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).ExtendedInfoDiskCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).ExtendedInfoDiskCount = value ?? default(int); }
+
+ /// Number of protected items in the backup engine.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public int? ExtendedInfoProtectedItemsCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).ExtendedInfoProtectedItemsCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).ExtendedInfoProtectedItemsCount = value ?? default(int); }
+
+ /// Number of protected servers in the backup engine.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public int? ExtendedInfoProtectedServersCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).ExtendedInfoProtectedServersCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).ExtendedInfoProtectedServersCount = value ?? default(int); }
+
+ /// Last refresh time in the backup engine.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public global::System.DateTime? ExtendedInfoRefreshedAt { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).ExtendedInfoRefreshedAt; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).ExtendedInfoRefreshedAt = value ?? default(global::System.DateTime); }
+
+ /// Disk space used in the backup engine.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public double? ExtendedInfoUsedDiskSpace { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).ExtendedInfoUsedDiskSpace; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).ExtendedInfoUsedDiskSpace = value ?? default(double); }
+
+ /// Friendly name of the backup engine.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string FriendlyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).FriendlyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).FriendlyName = value ?? null; }
+
+ /// Backup status of the backup engine.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string HealthStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).HealthStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).HealthStatus = value ?? null; }
+
+ /// To check if backup agent upgrade available
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public bool? IsAzureBackupAgentUpgradeAvailable { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).IsAzureBackupAgentUpgradeAvailable; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).IsAzureBackupAgentUpgradeAvailable = value ?? default(bool); }
+
+ /// To check if backup engine upgrade available
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public bool? IsDpmUpgradeAvailable { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).IsDpmUpgradeAvailable; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).IsDpmUpgradeAvailable = value ?? default(bool); }
+
+ /// Registration status of the backup engine with the Recovery Services Vault.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string RegistrationStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).RegistrationStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal)__backupEngineBase).RegistrationStatus = value ?? null; }
+
+ /// Creates an new instance.
+ public AzureBackupServerEngine()
+ {
+
+ }
+
+ /// 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.RecoveryServicesBackup.Runtime.IEventListener eventListener)
+ {
+ await eventListener.AssertNotNull(nameof(__backupEngineBase), __backupEngineBase);
+ await eventListener.AssertObjectIsValid(nameof(__backupEngineBase), __backupEngineBase);
+ }
+ }
+ /// Backup engine type when Azure Backup Server is used to manage the backups.
+ public partial interface IAzureBackupServerEngine :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBase
+ {
+
+ }
+ /// Backup engine type when Azure Backup Server is used to manage the backups.
+ internal partial interface IAzureBackupServerEngineInternal :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupEngineBaseInternal
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureBackupServerEngine.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureBackupServerEngine.json.cs
new file mode 100644
index 000000000000..dccbe653c5d7
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureBackupServerEngine.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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Backup engine type when Azure Backup Server is used to manage the backups.
+ public partial class AzureBackupServerEngine
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureBackupServerEngine(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ __backupEngineBase = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.BackupEngineBase(json);
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureBackupServerEngine.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureBackupServerEngine.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureBackupServerEngine FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureBackupServerEngine(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ __backupEngineBase?.ToJson(container, serializationMode);
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareBackupRequest.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareBackupRequest.cs
new file mode 100644
index 000000000000..564f507e62d9
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareBackupRequest.cs
@@ -0,0 +1,76 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// AzureFileShare workload-specific backup request.
+ public partial class AzureFileShareBackupRequest :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareBackupRequest,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareBackupRequestInternal,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IValidates
+ {
+ ///
+ /// Backing field for Inherited model
+ ///
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupRequest __backupRequest = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.BackupRequest();
+
+ ///
+ /// This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupRequestInternal)__backupRequest).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupRequestInternal)__backupRequest).ObjectType = value ; }
+
+ /// Backing field for property.
+ private global::System.DateTime? _recoveryPointExpiryTimeInUtc;
+
+ /// Backup copy will expire after the time specified (UTC).
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public global::System.DateTime? RecoveryPointExpiryTimeInUtc { get => this._recoveryPointExpiryTimeInUtc; set => this._recoveryPointExpiryTimeInUtc = value; }
+
+ /// Creates an new instance.
+ public AzureFileShareBackupRequest()
+ {
+
+ }
+
+ /// 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.RecoveryServicesBackup.Runtime.IEventListener eventListener)
+ {
+ await eventListener.AssertNotNull(nameof(__backupRequest), __backupRequest);
+ await eventListener.AssertObjectIsValid(nameof(__backupRequest), __backupRequest);
+ }
+ }
+ /// AzureFileShare workload-specific backup request.
+ public partial interface IAzureFileShareBackupRequest :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupRequest
+ {
+ /// Backup copy will expire after the time specified (UTC).
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Backup copy will expire after the time specified (UTC).",
+ SerializedName = @"recoveryPointExpiryTimeInUTC",
+ PossibleTypes = new [] { typeof(global::System.DateTime) })]
+ global::System.DateTime? RecoveryPointExpiryTimeInUtc { get; set; }
+
+ }
+ /// AzureFileShare workload-specific backup request.
+ internal partial interface IAzureFileShareBackupRequestInternal :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IBackupRequestInternal
+ {
+ /// Backup copy will expire after the time specified (UTC).
+ global::System.DateTime? RecoveryPointExpiryTimeInUtc { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareBackupRequest.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareBackupRequest.json.cs
new file mode 100644
index 000000000000..54aaa5831ef0
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareBackupRequest.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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// AzureFileShare workload-specific backup request.
+ public partial class AzureFileShareBackupRequest
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureFileShareBackupRequest(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ __backupRequest = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.BackupRequest(json);
+ {_recoveryPointExpiryTimeInUtc = If( json?.PropertyT("recoveryPointExpiryTimeInUTC"), out var __jsonRecoveryPointExpiryTimeInUtc) ? global::System.DateTime.TryParse((string)__jsonRecoveryPointExpiryTimeInUtc, global::System.Globalization.CultureInfo.InvariantCulture, global::System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonRecoveryPointExpiryTimeInUtcValue) ? __jsonRecoveryPointExpiryTimeInUtcValue : RecoveryPointExpiryTimeInUtc : RecoveryPointExpiryTimeInUtc;}
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareBackupRequest.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareBackupRequest.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareBackupRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureFileShareBackupRequest(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ __backupRequest?.ToJson(container, serializationMode);
+ AddIf( null != this._recoveryPointExpiryTimeInUtc ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._recoveryPointExpiryTimeInUtc?.ToString(@"yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffffffK",global::System.Globalization.CultureInfo.InvariantCulture)) : null, "recoveryPointExpiryTimeInUTC" ,container.Add );
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareProtectableItem.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareProtectableItem.cs
new file mode 100644
index 000000000000..73534e888303
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareProtectableItem.cs
@@ -0,0 +1,130 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Protectable item for Azure Fileshare workloads.
+ public partial class AzureFileShareProtectableItem :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareProtectableItem,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareProtectableItemInternal,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IValidates
+ {
+ ///
+ /// Backing field for Inherited model
+ ///
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadProtectableItem __workloadProtectableItem = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.WorkloadProtectableItem();
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.AzureFileShareType? _azureFileShareType;
+
+ /// File Share type XSync or XSMB.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.AzureFileShareType? AzureFileShareType { get => this._azureFileShareType; set => this._azureFileShareType = value; }
+
+ /// Type of backup management to backup an item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string BackupManagementType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadProtectableItemInternal)__workloadProtectableItem).BackupManagementType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadProtectableItemInternal)__workloadProtectableItem).BackupManagementType = value ?? null; }
+
+ /// Friendly name of the backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string FriendlyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadProtectableItemInternal)__workloadProtectableItem).FriendlyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadProtectableItemInternal)__workloadProtectableItem).FriendlyName = value ?? null; }
+
+ /// Backing field for property.
+ private string _parentContainerFabricId;
+
+ ///
+ /// Full Fabric ID of container to which this protectable item belongs. For example, ARM ID.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string ParentContainerFabricId { get => this._parentContainerFabricId; set => this._parentContainerFabricId = value; }
+
+ /// Backing field for property.
+ private string _parentContainerFriendlyName;
+
+ /// Friendly name of container to which this protectable item belongs.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string ParentContainerFriendlyName { get => this._parentContainerFriendlyName; set => this._parentContainerFriendlyName = value; }
+
+ /// Type of the backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ProtectableItemType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadProtectableItemInternal)__workloadProtectableItem).ProtectableItemType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadProtectableItemInternal)__workloadProtectableItem).ProtectableItemType = value ; }
+
+ /// State of the back up item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectionStatus? ProtectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadProtectableItemInternal)__workloadProtectableItem).ProtectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadProtectableItemInternal)__workloadProtectableItem).ProtectionState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectionStatus)""); }
+
+ /// Type of workload for the backup management
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string WorkloadType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadProtectableItemInternal)__workloadProtectableItem).WorkloadType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadProtectableItemInternal)__workloadProtectableItem).WorkloadType = value ?? null; }
+
+ /// Creates an new instance.
+ public AzureFileShareProtectableItem()
+ {
+
+ }
+
+ /// 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.RecoveryServicesBackup.Runtime.IEventListener eventListener)
+ {
+ await eventListener.AssertNotNull(nameof(__workloadProtectableItem), __workloadProtectableItem);
+ await eventListener.AssertObjectIsValid(nameof(__workloadProtectableItem), __workloadProtectableItem);
+ }
+ }
+ /// Protectable item for Azure Fileshare workloads.
+ public partial interface IAzureFileShareProtectableItem :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadProtectableItem
+ {
+ /// File Share type XSync or XSMB.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"File Share type XSync or XSMB.",
+ SerializedName = @"azureFileShareType",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.AzureFileShareType) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.AzureFileShareType? AzureFileShareType { get; set; }
+ ///
+ /// Full Fabric ID of container to which this protectable item belongs. For example, ARM ID.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Full Fabric ID of container to which this protectable item belongs. For example, ARM ID.",
+ SerializedName = @"parentContainerFabricId",
+ PossibleTypes = new [] { typeof(string) })]
+ string ParentContainerFabricId { get; set; }
+ /// Friendly name of container to which this protectable item belongs.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Friendly name of container to which this protectable item belongs.",
+ SerializedName = @"parentContainerFriendlyName",
+ PossibleTypes = new [] { typeof(string) })]
+ string ParentContainerFriendlyName { get; set; }
+
+ }
+ /// Protectable item for Azure Fileshare workloads.
+ internal partial interface IAzureFileShareProtectableItemInternal :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadProtectableItemInternal
+ {
+ /// File Share type XSync or XSMB.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.AzureFileShareType? AzureFileShareType { get; set; }
+ ///
+ /// Full Fabric ID of container to which this protectable item belongs. For example, ARM ID.
+ ///
+ string ParentContainerFabricId { get; set; }
+ /// Friendly name of container to which this protectable item belongs.
+ string ParentContainerFriendlyName { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareProtectableItem.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareProtectableItem.json.cs
new file mode 100644
index 000000000000..9095ebbd8420
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareProtectableItem.json.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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Protectable item for Azure Fileshare workloads.
+ public partial class AzureFileShareProtectableItem
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureFileShareProtectableItem(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ __workloadProtectableItem = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.WorkloadProtectableItem(json);
+ {_parentContainerFabricId = If( json?.PropertyT("parentContainerFabricId"), out var __jsonParentContainerFabricId) ? (string)__jsonParentContainerFabricId : (string)ParentContainerFabricId;}
+ {_parentContainerFriendlyName = If( json?.PropertyT("parentContainerFriendlyName"), out var __jsonParentContainerFriendlyName) ? (string)__jsonParentContainerFriendlyName : (string)ParentContainerFriendlyName;}
+ {_azureFileShareType = If( json?.PropertyT("azureFileShareType"), out var __jsonAzureFileShareType) ? (string)__jsonAzureFileShareType : (string)AzureFileShareType;}
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareProtectableItem.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareProtectableItem.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareProtectableItem FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureFileShareProtectableItem(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ __workloadProtectableItem?.ToJson(container, serializationMode);
+ AddIf( null != (((object)this._parentContainerFabricId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._parentContainerFabricId.ToString()) : null, "parentContainerFabricId" ,container.Add );
+ AddIf( null != (((object)this._parentContainerFriendlyName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._parentContainerFriendlyName.ToString()) : null, "parentContainerFriendlyName" ,container.Add );
+ AddIf( null != (((object)this._azureFileShareType)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._azureFileShareType.ToString()) : null, "azureFileShareType" ,container.Add );
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareProtectionPolicy.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareProtectionPolicy.cs
new file mode 100644
index 000000000000..8966623ebc70
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareProtectionPolicy.cs
@@ -0,0 +1,221 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// AzureStorage backup policy.
+ public partial class AzureFileShareProtectionPolicy :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareProtectionPolicy,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareProtectionPolicyInternal,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IValidates
+ {
+ ///
+ /// Backing field for Inherited model
+ ///
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionPolicy __protectionPolicy = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ProtectionPolicy();
+
+ ///
+ /// This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string BackupManagementType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionPolicyInternal)__protectionPolicy).BackupManagementType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionPolicyInternal)__protectionPolicy).BackupManagementType = value ; }
+
+ /// Internal Acessors for RetentionPolicy
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRetentionPolicy Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareProtectionPolicyInternal.RetentionPolicy { get => (this._retentionPolicy = this._retentionPolicy ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.RetentionPolicy()); set { {_retentionPolicy = value;} } }
+
+ /// Internal Acessors for SchedulePolicy
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ISchedulePolicy Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareProtectionPolicyInternal.SchedulePolicy { get => (this._schedulePolicy = this._schedulePolicy ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.SchedulePolicy()); set { {_schedulePolicy = value;} } }
+
+ /// Internal Acessors for VaultRetentionPolicy
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IVaultRetentionPolicy Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareProtectionPolicyInternal.VaultRetentionPolicy { get => (this._vaultRetentionPolicy = this._vaultRetentionPolicy ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.VaultRetentionPolicy()); set { {_vaultRetentionPolicy = value;} } }
+
+ /// Internal Acessors for VaultRetentionPolicyVaultRetention
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRetentionPolicy Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareProtectionPolicyInternal.VaultRetentionPolicyVaultRetention { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IVaultRetentionPolicyInternal)VaultRetentionPolicy).VaultRetention; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IVaultRetentionPolicyInternal)VaultRetentionPolicy).VaultRetention = value; }
+
+ /// Number of items associated with this policy.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public int? ProtectedItemsCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionPolicyInternal)__protectionPolicy).ProtectedItemsCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionPolicyInternal)__protectionPolicy).ProtectedItemsCount = value ?? default(int); }
+
+ /// ResourceGuard Operation Requests
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string[] ResourceGuardOperationRequest { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionPolicyInternal)__protectionPolicy).ResourceGuardOperationRequest; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionPolicyInternal)__protectionPolicy).ResourceGuardOperationRequest = value ?? null /* arrayOf */; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRetentionPolicy _retentionPolicy;
+
+ /// Retention policy with the details on backup copy retention ranges.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ internal Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRetentionPolicy RetentionPolicy { get => (this._retentionPolicy = this._retentionPolicy ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.RetentionPolicy()); set => this._retentionPolicy = value; }
+
+ ///
+ /// This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public string RetentionPolicyType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRetentionPolicyInternal)RetentionPolicy).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRetentionPolicyInternal)RetentionPolicy).Type = value ?? null; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ISchedulePolicy _schedulePolicy;
+
+ /// Backup schedule specified as part of backup policy.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ internal Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ISchedulePolicy SchedulePolicy { get => (this._schedulePolicy = this._schedulePolicy ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.SchedulePolicy()); set => this._schedulePolicy = value; }
+
+ ///
+ /// This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public string SchedulePolicyType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ISchedulePolicyInternal)SchedulePolicy).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ISchedulePolicyInternal)SchedulePolicy).Type = value ?? null; }
+
+ /// Backing field for property.
+ private string _timeZone;
+
+ ///
+ /// TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string TimeZone { get => this._timeZone; set => this._timeZone = value; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IVaultRetentionPolicy _vaultRetentionPolicy;
+
+ /// Retention policy with the details on hardened backup copy retention ranges.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ internal Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IVaultRetentionPolicy VaultRetentionPolicy { get => (this._vaultRetentionPolicy = this._vaultRetentionPolicy ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.VaultRetentionPolicy()); set => this._vaultRetentionPolicy = value; }
+
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public int? VaultRetentionPolicySnapshotRetentionInDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IVaultRetentionPolicyInternal)VaultRetentionPolicy).SnapshotRetentionInDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IVaultRetentionPolicyInternal)VaultRetentionPolicy).SnapshotRetentionInDay = value ?? default(int); }
+
+ ///
+ /// This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public string VaultRetentionPolicyType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IVaultRetentionPolicyInternal)VaultRetentionPolicy).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IVaultRetentionPolicyInternal)VaultRetentionPolicy).Type = value ?? null; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.WorkloadType? _workLoadType;
+
+ /// Type of workload for the backup management
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.WorkloadType? WorkLoadType { get => this._workLoadType; set => this._workLoadType = value; }
+
+ /// Creates an new instance.
+ public AzureFileShareProtectionPolicy()
+ {
+
+ }
+
+ /// 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.RecoveryServicesBackup.Runtime.IEventListener eventListener)
+ {
+ await eventListener.AssertNotNull(nameof(__protectionPolicy), __protectionPolicy);
+ await eventListener.AssertObjectIsValid(nameof(__protectionPolicy), __protectionPolicy);
+ }
+ }
+ /// AzureStorage backup policy.
+ public partial interface IAzureFileShareProtectionPolicy :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionPolicy
+ {
+ ///
+ /// This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.",
+ SerializedName = @"retentionPolicyType",
+ PossibleTypes = new [] { typeof(string) })]
+ string RetentionPolicyType { get; set; }
+ ///
+ /// This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.",
+ SerializedName = @"schedulePolicyType",
+ PossibleTypes = new [] { typeof(string) })]
+ string SchedulePolicyType { get; set; }
+ ///
+ /// TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"TimeZone optional input as string. For example: TimeZone = ""Pacific Standard Time"".",
+ SerializedName = @"timeZone",
+ PossibleTypes = new [] { typeof(string) })]
+ string TimeZone { get; set; }
+
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"",
+ SerializedName = @"snapshotRetentionInDays",
+ PossibleTypes = new [] { typeof(int) })]
+ int? VaultRetentionPolicySnapshotRetentionInDay { get; set; }
+ ///
+ /// This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.",
+ SerializedName = @"retentionPolicyType",
+ PossibleTypes = new [] { typeof(string) })]
+ string VaultRetentionPolicyType { get; set; }
+ /// Type of workload for the backup management
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Type of workload for the backup management",
+ SerializedName = @"workLoadType",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.WorkloadType) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.WorkloadType? WorkLoadType { get; set; }
+
+ }
+ /// AzureStorage backup policy.
+ internal partial interface IAzureFileShareProtectionPolicyInternal :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionPolicyInternal
+ {
+ /// Retention policy with the details on backup copy retention ranges.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRetentionPolicy RetentionPolicy { get; set; }
+ ///
+ /// This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
+ ///
+ string RetentionPolicyType { get; set; }
+ /// Backup schedule specified as part of backup policy.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ISchedulePolicy SchedulePolicy { get; set; }
+ ///
+ /// This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
+ ///
+ string SchedulePolicyType { get; set; }
+ ///
+ /// TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
+ ///
+ string TimeZone { get; set; }
+ /// Retention policy with the details on hardened backup copy retention ranges.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IVaultRetentionPolicy VaultRetentionPolicy { get; set; }
+
+ int? VaultRetentionPolicySnapshotRetentionInDay { get; set; }
+ ///
+ /// This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
+ ///
+ string VaultRetentionPolicyType { get; set; }
+ /// Base class for retention policy.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRetentionPolicy VaultRetentionPolicyVaultRetention { get; set; }
+ /// Type of workload for the backup management
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.WorkloadType? WorkLoadType { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareProtectionPolicy.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareProtectionPolicy.json.cs
new file mode 100644
index 000000000000..4d00e03fb16c
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareProtectionPolicy.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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// AzureStorage backup policy.
+ public partial class AzureFileShareProtectionPolicy
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureFileShareProtectionPolicy(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ __protectionPolicy = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ProtectionPolicy(json);
+ {_schedulePolicy = If( json?.PropertyT("schedulePolicy"), out var __jsonSchedulePolicy) ? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.SchedulePolicy.FromJson(__jsonSchedulePolicy) : SchedulePolicy;}
+ {_retentionPolicy = If( json?.PropertyT("retentionPolicy"), out var __jsonRetentionPolicy) ? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.RetentionPolicy.FromJson(__jsonRetentionPolicy) : RetentionPolicy;}
+ {_vaultRetentionPolicy = If( json?.PropertyT("vaultRetentionPolicy"), out var __jsonVaultRetentionPolicy) ? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.VaultRetentionPolicy.FromJson(__jsonVaultRetentionPolicy) : VaultRetentionPolicy;}
+ {_workLoadType = If( json?.PropertyT("workLoadType"), out var __jsonWorkLoadType) ? (string)__jsonWorkLoadType : (string)WorkLoadType;}
+ {_timeZone = If( json?.PropertyT("timeZone"), out var __jsonTimeZone) ? (string)__jsonTimeZone : (string)TimeZone;}
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareProtectionPolicy.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareProtectionPolicy.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareProtectionPolicy FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureFileShareProtectionPolicy(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ __protectionPolicy?.ToJson(container, serializationMode);
+ AddIf( null != this._schedulePolicy ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) this._schedulePolicy.ToJson(null,serializationMode) : null, "schedulePolicy" ,container.Add );
+ AddIf( null != this._retentionPolicy ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) this._retentionPolicy.ToJson(null,serializationMode) : null, "retentionPolicy" ,container.Add );
+ AddIf( null != this._vaultRetentionPolicy ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) this._vaultRetentionPolicy.ToJson(null,serializationMode) : null, "vaultRetentionPolicy" ,container.Add );
+ AddIf( null != (((object)this._workLoadType)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._workLoadType.ToString()) : null, "workLoadType" ,container.Add );
+ AddIf( null != (((object)this._timeZone)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._timeZone.ToString()) : null, "timeZone" ,container.Add );
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareProvisionIlrRequest.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareProvisionIlrRequest.cs
new file mode 100644
index 000000000000..42f528c15eeb
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareProvisionIlrRequest.cs
@@ -0,0 +1,95 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ ///
+ /// Update snapshot Uri with the correct friendly Name of the source Azure file share.
+ ///
+ public partial class AzureFileShareProvisionIlrRequest :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareProvisionIlrRequest,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareProvisionIlrRequestInternal,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IValidates
+ {
+ ///
+ /// Backing field for Inherited model
+ ///
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIlrRequest __ilrRequest = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IlrRequest();
+
+ ///
+ /// This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIlrRequestInternal)__ilrRequest).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIlrRequestInternal)__ilrRequest).ObjectType = value ; }
+
+ /// Backing field for property.
+ private string _recoveryPointId;
+
+ /// Recovery point ID.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string RecoveryPointId { get => this._recoveryPointId; set => this._recoveryPointId = value; }
+
+ /// Backing field for property.
+ private string _sourceResourceId;
+
+ /// Source Storage account ARM Id
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string SourceResourceId { get => this._sourceResourceId; set => this._sourceResourceId = value; }
+
+ /// Creates an new instance.
+ public AzureFileShareProvisionIlrRequest()
+ {
+
+ }
+
+ /// 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.RecoveryServicesBackup.Runtime.IEventListener eventListener)
+ {
+ await eventListener.AssertNotNull(nameof(__ilrRequest), __ilrRequest);
+ await eventListener.AssertObjectIsValid(nameof(__ilrRequest), __ilrRequest);
+ }
+ }
+ /// Update snapshot Uri with the correct friendly Name of the source Azure file share.
+ public partial interface IAzureFileShareProvisionIlrRequest :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIlrRequest
+ {
+ /// Recovery point ID.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Recovery point ID.",
+ SerializedName = @"recoveryPointId",
+ PossibleTypes = new [] { typeof(string) })]
+ string RecoveryPointId { get; set; }
+ /// Source Storage account ARM Id
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Source Storage account ARM Id",
+ SerializedName = @"sourceResourceId",
+ PossibleTypes = new [] { typeof(string) })]
+ string SourceResourceId { get; set; }
+
+ }
+ /// Update snapshot Uri with the correct friendly Name of the source Azure file share.
+ internal partial interface IAzureFileShareProvisionIlrRequestInternal :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIlrRequestInternal
+ {
+ /// Recovery point ID.
+ string RecoveryPointId { get; set; }
+ /// Source Storage account ARM Id
+ string SourceResourceId { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareProvisionIlrRequest.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareProvisionIlrRequest.json.cs
new file mode 100644
index 000000000000..359cd14e9fd8
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareProvisionIlrRequest.json.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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ ///
+ /// Update snapshot Uri with the correct friendly Name of the source Azure file share.
+ ///
+ public partial class AzureFileShareProvisionIlrRequest
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureFileShareProvisionIlrRequest(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ __ilrRequest = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IlrRequest(json);
+ {_recoveryPointId = If( json?.PropertyT("recoveryPointId"), out var __jsonRecoveryPointId) ? (string)__jsonRecoveryPointId : (string)RecoveryPointId;}
+ {_sourceResourceId = If( json?.PropertyT("sourceResourceId"), out var __jsonSourceResourceId) ? (string)__jsonSourceResourceId : (string)SourceResourceId;}
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareProvisionIlrRequest.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareProvisionIlrRequest.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareProvisionIlrRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureFileShareProvisionIlrRequest(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ __ilrRequest?.ToJson(container, serializationMode);
+ AddIf( null != (((object)this._recoveryPointId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._recoveryPointId.ToString()) : null, "recoveryPointId" ,container.Add );
+ AddIf( null != (((object)this._sourceResourceId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._sourceResourceId.ToString()) : null, "sourceResourceId" ,container.Add );
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareRecoveryPoint.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareRecoveryPoint.cs
new file mode 100644
index 000000000000..c49252b4a79b
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareRecoveryPoint.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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure File Share workload specific backup copy.
+ public partial class AzureFileShareRecoveryPoint :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareRecoveryPoint,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareRecoveryPointInternal,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IValidates
+ {
+ ///
+ /// Backing field for Inherited model
+ ///
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRecoveryPoint __recoveryPoint = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.RecoveryPoint();
+
+ /// Backing field for property.
+ private string _fileShareSnapshotUri;
+
+ /// Contains Url to the snapshot of fileshare, if applicable
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string FileShareSnapshotUri { get => this._fileShareSnapshotUri; set => this._fileShareSnapshotUri = value; }
+
+ /// Internal Acessors for RecoveryPointProperty
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRecoveryPointProperties Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareRecoveryPointInternal.RecoveryPointProperty { get => (this._recoveryPointProperty = this._recoveryPointProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.RecoveryPointProperties()); set { {_recoveryPointProperty = value;} } }
+
+ ///
+ /// This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRecoveryPointInternal)__recoveryPoint).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRecoveryPointInternal)__recoveryPoint).ObjectType = value ; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRecoveryPointProperties _recoveryPointProperty;
+
+ /// Properties of Recovery Point
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ internal Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRecoveryPointProperties RecoveryPointProperty { get => (this._recoveryPointProperty = this._recoveryPointProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.RecoveryPointProperties()); set => this._recoveryPointProperty = value; }
+
+ /// Expiry time of Recovery Point in UTC.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public string RecoveryPointPropertyExpiryTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRecoveryPointPropertiesInternal)RecoveryPointProperty).ExpiryTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRecoveryPointPropertiesInternal)RecoveryPointProperty).ExpiryTime = value ?? null; }
+
+ /// Bool to indicate whether RP is in soft delete state or not
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public bool? RecoveryPointPropertyIsSoftDeleted { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRecoveryPointPropertiesInternal)RecoveryPointProperty).IsSoftDeleted; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRecoveryPointPropertiesInternal)RecoveryPointProperty).IsSoftDeleted = value ?? default(bool); }
+
+ /// Rule name tagged on Recovery Point that governs life cycle
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public string RecoveryPointPropertyRuleName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRecoveryPointPropertiesInternal)RecoveryPointProperty).RuleName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRecoveryPointPropertiesInternal)RecoveryPointProperty).RuleName = value ?? null; }
+
+ /// Backing field for property.
+ private int? _recoveryPointSizeInGb;
+
+ /// Contains recovery point size
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public int? RecoveryPointSizeInGb { get => this._recoveryPointSizeInGb; set => this._recoveryPointSizeInGb = value; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRecoveryPointTierInformation[] _recoveryPointTierDetail;
+
+ /// Recovery point tier information.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRecoveryPointTierInformation[] RecoveryPointTierDetail { get => this._recoveryPointTierDetail; set => this._recoveryPointTierDetail = value; }
+
+ /// Backing field for property.
+ private global::System.DateTime? _recoveryPointTime;
+
+ /// Time at which this backup copy was created.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public global::System.DateTime? RecoveryPointTime { get => this._recoveryPointTime; set => this._recoveryPointTime = value; }
+
+ /// Backing field for property.
+ private string _recoveryPointType;
+
+ ///
+ /// Type of the backup copy. Specifies whether it is a crash consistent backup or app consistent.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string RecoveryPointType { get => this._recoveryPointType; set => this._recoveryPointType = value; }
+
+ /// Creates an new instance.
+ public AzureFileShareRecoveryPoint()
+ {
+
+ }
+
+ /// 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.RecoveryServicesBackup.Runtime.IEventListener eventListener)
+ {
+ await eventListener.AssertNotNull(nameof(__recoveryPoint), __recoveryPoint);
+ await eventListener.AssertObjectIsValid(nameof(__recoveryPoint), __recoveryPoint);
+ }
+ }
+ /// Azure File Share workload specific backup copy.
+ public partial interface IAzureFileShareRecoveryPoint :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRecoveryPoint
+ {
+ /// Contains Url to the snapshot of fileshare, if applicable
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Contains Url to the snapshot of fileshare, if applicable",
+ SerializedName = @"fileShareSnapshotUri",
+ PossibleTypes = new [] { typeof(string) })]
+ string FileShareSnapshotUri { get; set; }
+ /// Expiry time of Recovery Point in UTC.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Expiry time of Recovery Point in UTC.",
+ SerializedName = @"expiryTime",
+ PossibleTypes = new [] { typeof(string) })]
+ string RecoveryPointPropertyExpiryTime { get; set; }
+ /// Bool to indicate whether RP is in soft delete state or not
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Bool to indicate whether RP is in soft delete state or not",
+ SerializedName = @"isSoftDeleted",
+ PossibleTypes = new [] { typeof(bool) })]
+ bool? RecoveryPointPropertyIsSoftDeleted { get; set; }
+ /// Rule name tagged on Recovery Point that governs life cycle
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Rule name tagged on Recovery Point that governs life cycle",
+ SerializedName = @"ruleName",
+ PossibleTypes = new [] { typeof(string) })]
+ string RecoveryPointPropertyRuleName { get; set; }
+ /// Contains recovery point size
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Contains recovery point size",
+ SerializedName = @"recoveryPointSizeInGB",
+ PossibleTypes = new [] { typeof(int) })]
+ int? RecoveryPointSizeInGb { get; set; }
+ /// Recovery point tier information.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Recovery point tier information.",
+ SerializedName = @"recoveryPointTierDetails",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRecoveryPointTierInformation) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRecoveryPointTierInformation[] RecoveryPointTierDetail { get; set; }
+ /// Time at which this backup copy was created.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Time at which this backup copy was created.",
+ SerializedName = @"recoveryPointTime",
+ PossibleTypes = new [] { typeof(global::System.DateTime) })]
+ global::System.DateTime? RecoveryPointTime { get; set; }
+ ///
+ /// Type of the backup copy. Specifies whether it is a crash consistent backup or app consistent.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Type of the backup copy. Specifies whether it is a crash consistent backup or app consistent.",
+ SerializedName = @"recoveryPointType",
+ PossibleTypes = new [] { typeof(string) })]
+ string RecoveryPointType { get; set; }
+
+ }
+ /// Azure File Share workload specific backup copy.
+ internal partial interface IAzureFileShareRecoveryPointInternal :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRecoveryPointInternal
+ {
+ /// Contains Url to the snapshot of fileshare, if applicable
+ string FileShareSnapshotUri { get; set; }
+ /// Properties of Recovery Point
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRecoveryPointProperties RecoveryPointProperty { get; set; }
+ /// Expiry time of Recovery Point in UTC.
+ string RecoveryPointPropertyExpiryTime { get; set; }
+ /// Bool to indicate whether RP is in soft delete state or not
+ bool? RecoveryPointPropertyIsSoftDeleted { get; set; }
+ /// Rule name tagged on Recovery Point that governs life cycle
+ string RecoveryPointPropertyRuleName { get; set; }
+ /// Contains recovery point size
+ int? RecoveryPointSizeInGb { get; set; }
+ /// Recovery point tier information.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRecoveryPointTierInformation[] RecoveryPointTierDetail { get; set; }
+ /// Time at which this backup copy was created.
+ global::System.DateTime? RecoveryPointTime { get; set; }
+ ///
+ /// Type of the backup copy. Specifies whether it is a crash consistent backup or app consistent.
+ ///
+ string RecoveryPointType { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareRecoveryPoint.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareRecoveryPoint.json.cs
new file mode 100644
index 000000000000..695ca0d3c721
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareRecoveryPoint.json.cs
@@ -0,0 +1,128 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure File Share workload specific backup copy.
+ public partial class AzureFileShareRecoveryPoint
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureFileShareRecoveryPoint(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ __recoveryPoint = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.RecoveryPoint(json);
+ {_recoveryPointProperty = If( json?.PropertyT("recoveryPointProperties"), out var __jsonRecoveryPointProperties) ? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.RecoveryPointProperties.FromJson(__jsonRecoveryPointProperties) : RecoveryPointProperty;}
+ {_recoveryPointType = If( json?.PropertyT("recoveryPointType"), out var __jsonRecoveryPointType) ? (string)__jsonRecoveryPointType : (string)RecoveryPointType;}
+ {_recoveryPointTime = If( json?.PropertyT("recoveryPointTime"), out var __jsonRecoveryPointTime) ? global::System.DateTime.TryParse((string)__jsonRecoveryPointTime, global::System.Globalization.CultureInfo.InvariantCulture, global::System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonRecoveryPointTimeValue) ? __jsonRecoveryPointTimeValue : RecoveryPointTime : RecoveryPointTime;}
+ {_fileShareSnapshotUri = If( json?.PropertyT("fileShareSnapshotUri"), out var __jsonFileShareSnapshotUri) ? (string)__jsonFileShareSnapshotUri : (string)FileShareSnapshotUri;}
+ {_recoveryPointSizeInGb = If( json?.PropertyT("recoveryPointSizeInGB"), out var __jsonRecoveryPointSizeInGb) ? (int?)__jsonRecoveryPointSizeInGb : RecoveryPointSizeInGb;}
+ {_recoveryPointTierDetail = If( json?.PropertyT("recoveryPointTierDetails"), out var __jsonRecoveryPointTierDetails) ? If( __jsonRecoveryPointTierDetails as Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.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.RecoveryServicesBackup.Models.Api20241001.IRecoveryPointTierInformation) (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.RecoveryPointTierInformation.FromJson(__u) )) ))() : null : RecoveryPointTierDetail;}
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareRecoveryPoint.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareRecoveryPoint.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareRecoveryPoint FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureFileShareRecoveryPoint(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ __recoveryPoint?.ToJson(container, serializationMode);
+ AddIf( null != this._recoveryPointProperty ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) this._recoveryPointProperty.ToJson(null,serializationMode) : null, "recoveryPointProperties" ,container.Add );
+ AddIf( null != (((object)this._recoveryPointType)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._recoveryPointType.ToString()) : null, "recoveryPointType" ,container.Add );
+ AddIf( null != this._recoveryPointTime ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._recoveryPointTime?.ToString(@"yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffffffK",global::System.Globalization.CultureInfo.InvariantCulture)) : null, "recoveryPointTime" ,container.Add );
+ AddIf( null != (((object)this._fileShareSnapshotUri)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._fileShareSnapshotUri.ToString()) : null, "fileShareSnapshotUri" ,container.Add );
+ AddIf( null != this._recoveryPointSizeInGb ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNumber((int)this._recoveryPointSizeInGb) : null, "recoveryPointSizeInGB" ,container.Add );
+ if (null != this._recoveryPointTierDetail)
+ {
+ var __w = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.XNodeArray();
+ foreach( var __x in this._recoveryPointTierDetail )
+ {
+ AddIf(__x?.ToJson(null, serializationMode) ,__w.Add);
+ }
+ container.Add("recoveryPointTierDetails",__w);
+ }
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareRestoreRequest.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareRestoreRequest.cs
new file mode 100644
index 000000000000..c88d977f71fd
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareRestoreRequest.cs
@@ -0,0 +1,194 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// AzureFileShare Restore Request
+ public partial class AzureFileShareRestoreRequest :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareRestoreRequest,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareRestoreRequestInternal,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IValidates
+ {
+ ///
+ /// Backing field for Inherited model
+ ///
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRestoreRequest __restoreRequest = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.RestoreRequest();
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.CopyOptions? _copyOption;
+
+ /// Options to resolve copy conflicts.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.CopyOptions? CopyOption { get => this._copyOption; set => this._copyOption = value; }
+
+ /// Internal Acessors for TargetDetail
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ITargetAfsRestoreInfo Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareRestoreRequestInternal.TargetDetail { get => (this._targetDetail = this._targetDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.TargetAfsRestoreInfo()); set { {_targetDetail = value;} } }
+
+ ///
+ /// This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRestoreRequestInternal)__restoreRequest).ObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRestoreRequestInternal)__restoreRequest).ObjectType = value ; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.RecoveryType? _recoveryType;
+
+ /// Type of this recovery.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.RecoveryType? RecoveryType { get => this._recoveryType; set => this._recoveryType = value; }
+
+ /// ResourceGuardOperationRequests on which LAC check will be performed
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string[] ResourceGuardOperationRequest { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRestoreRequestInternal)__restoreRequest).ResourceGuardOperationRequest; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRestoreRequestInternal)__restoreRequest).ResourceGuardOperationRequest = value ?? null /* arrayOf */; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRestoreFileSpecs[] _restoreFileSpec;
+
+ ///
+ /// List of Source Files/Folders(which need to recover) and TargetFolderPath details
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRestoreFileSpecs[] RestoreFileSpec { get => this._restoreFileSpec; set => this._restoreFileSpec = value; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.RestoreRequestType? _restoreRequestType;
+
+ /// Restore Type (FullShareRestore or ItemLevelRestore)
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.RestoreRequestType? RestoreRequestType { get => this._restoreRequestType; set => this._restoreRequestType = value; }
+
+ /// Backing field for property.
+ private string _sourceResourceId;
+
+ /// Source storage account ARM Id
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string SourceResourceId { get => this._sourceResourceId; set => this._sourceResourceId = value; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ITargetAfsRestoreInfo _targetDetail;
+
+ /// Target File Share Details
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ internal Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ITargetAfsRestoreInfo TargetDetail { get => (this._targetDetail = this._targetDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.TargetAfsRestoreInfo()); set => this._targetDetail = value; }
+
+ /// File share name
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public string TargetDetailName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ITargetAfsRestoreInfoInternal)TargetDetail).Name; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ITargetAfsRestoreInfoInternal)TargetDetail).Name = value ?? null; }
+
+ /// Target file share resource ARM ID
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public string TargetDetailTargetResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ITargetAfsRestoreInfoInternal)TargetDetail).TargetResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ITargetAfsRestoreInfoInternal)TargetDetail).TargetResourceId = value ?? null; }
+
+ /// Creates an new instance.
+ public AzureFileShareRestoreRequest()
+ {
+
+ }
+
+ /// 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.RecoveryServicesBackup.Runtime.IEventListener eventListener)
+ {
+ await eventListener.AssertNotNull(nameof(__restoreRequest), __restoreRequest);
+ await eventListener.AssertObjectIsValid(nameof(__restoreRequest), __restoreRequest);
+ }
+ }
+ /// AzureFileShare Restore Request
+ public partial interface IAzureFileShareRestoreRequest :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRestoreRequest
+ {
+ /// Options to resolve copy conflicts.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Options to resolve copy conflicts.",
+ SerializedName = @"copyOptions",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.CopyOptions) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.CopyOptions? CopyOption { get; set; }
+ /// Type of this recovery.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Type of this recovery.",
+ SerializedName = @"recoveryType",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.RecoveryType) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.RecoveryType? RecoveryType { get; set; }
+ ///
+ /// List of Source Files/Folders(which need to recover) and TargetFolderPath details
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"List of Source Files/Folders(which need to recover) and TargetFolderPath details",
+ SerializedName = @"restoreFileSpecs",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRestoreFileSpecs) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRestoreFileSpecs[] RestoreFileSpec { get; set; }
+ /// Restore Type (FullShareRestore or ItemLevelRestore)
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Restore Type (FullShareRestore or ItemLevelRestore)",
+ SerializedName = @"restoreRequestType",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.RestoreRequestType) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.RestoreRequestType? RestoreRequestType { get; set; }
+ /// Source storage account ARM Id
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Source storage account ARM Id",
+ SerializedName = @"sourceResourceId",
+ PossibleTypes = new [] { typeof(string) })]
+ string SourceResourceId { get; set; }
+ /// File share name
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"File share name",
+ SerializedName = @"name",
+ PossibleTypes = new [] { typeof(string) })]
+ string TargetDetailName { get; set; }
+ /// Target file share resource ARM ID
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Target file share resource ARM ID",
+ SerializedName = @"targetResourceId",
+ PossibleTypes = new [] { typeof(string) })]
+ string TargetDetailTargetResourceId { get; set; }
+
+ }
+ /// AzureFileShare Restore Request
+ internal partial interface IAzureFileShareRestoreRequestInternal :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRestoreRequestInternal
+ {
+ /// Options to resolve copy conflicts.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.CopyOptions? CopyOption { get; set; }
+ /// Type of this recovery.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.RecoveryType? RecoveryType { get; set; }
+ ///
+ /// List of Source Files/Folders(which need to recover) and TargetFolderPath details
+ ///
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRestoreFileSpecs[] RestoreFileSpec { get; set; }
+ /// Restore Type (FullShareRestore or ItemLevelRestore)
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.RestoreRequestType? RestoreRequestType { get; set; }
+ /// Source storage account ARM Id
+ string SourceResourceId { get; set; }
+ /// Target File Share Details
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ITargetAfsRestoreInfo TargetDetail { get; set; }
+ /// File share name
+ string TargetDetailName { get; set; }
+ /// Target file share resource ARM ID
+ string TargetDetailTargetResourceId { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareRestoreRequest.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareRestoreRequest.json.cs
new file mode 100644
index 000000000000..622693dde755
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileShareRestoreRequest.json.cs
@@ -0,0 +1,128 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// AzureFileShare Restore Request
+ public partial class AzureFileShareRestoreRequest
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureFileShareRestoreRequest(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ __restoreRequest = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.RestoreRequest(json);
+ {_targetDetail = If( json?.PropertyT("targetDetails"), out var __jsonTargetDetails) ? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.TargetAfsRestoreInfo.FromJson(__jsonTargetDetails) : TargetDetail;}
+ {_recoveryType = If( json?.PropertyT("recoveryType"), out var __jsonRecoveryType) ? (string)__jsonRecoveryType : (string)RecoveryType;}
+ {_sourceResourceId = If( json?.PropertyT("sourceResourceId"), out var __jsonSourceResourceId) ? (string)__jsonSourceResourceId : (string)SourceResourceId;}
+ {_copyOption = If( json?.PropertyT("copyOptions"), out var __jsonCopyOptions) ? (string)__jsonCopyOptions : (string)CopyOption;}
+ {_restoreRequestType = If( json?.PropertyT("restoreRequestType"), out var __jsonRestoreRequestType) ? (string)__jsonRestoreRequestType : (string)RestoreRequestType;}
+ {_restoreFileSpec = If( json?.PropertyT("restoreFileSpecs"), out var __jsonRestoreFileSpecs) ? If( __jsonRestoreFileSpecs as Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.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.RecoveryServicesBackup.Models.Api20241001.IRestoreFileSpecs) (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.RestoreFileSpecs.FromJson(__u) )) ))() : null : RestoreFileSpec;}
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareRestoreRequest.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareRestoreRequest.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileShareRestoreRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureFileShareRestoreRequest(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ __restoreRequest?.ToJson(container, serializationMode);
+ AddIf( null != this._targetDetail ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) this._targetDetail.ToJson(null,serializationMode) : null, "targetDetails" ,container.Add );
+ AddIf( null != (((object)this._recoveryType)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._recoveryType.ToString()) : null, "recoveryType" ,container.Add );
+ AddIf( null != (((object)this._sourceResourceId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._sourceResourceId.ToString()) : null, "sourceResourceId" ,container.Add );
+ AddIf( null != (((object)this._copyOption)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._copyOption.ToString()) : null, "copyOptions" ,container.Add );
+ AddIf( null != (((object)this._restoreRequestType)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._restoreRequestType.ToString()) : null, "restoreRequestType" ,container.Add );
+ if (null != this._restoreFileSpec)
+ {
+ var __w = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.XNodeArray();
+ foreach( var __x in this._restoreFileSpec )
+ {
+ AddIf(__x?.ToJson(null, serializationMode) ,__w.Add);
+ }
+ container.Add("restoreFileSpecs",__w);
+ }
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileshareProtectedItem.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileshareProtectedItem.cs
new file mode 100644
index 000000000000..6f43ea8ded16
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileshareProtectedItem.cs
@@ -0,0 +1,336 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure File Share workload-specific backup item.
+ public partial class AzureFileshareProtectedItem :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItem,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemInternal,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IValidates
+ {
+ ///
+ /// Backing field for Inherited model
+ ///
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItem __protectedItem = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ProtectedItem();
+
+ /// Type of backup management for the backed up item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType? BackupManagementType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).BackupManagementType; }
+
+ /// Name of the backup set the backup item belongs to
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string BackupSetName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).BackupSetName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).BackupSetName = value ?? null; }
+
+ /// Unique name of container
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ContainerName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).ContainerName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).ContainerName = value ?? null; }
+
+ ///
+ /// Create mode to indicate recovery of existing soft deleted data source or creation of new data source.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.CreateMode? CreateMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).CreateMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).CreateMode = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.CreateMode)""); }
+
+ /// Time for deferred deletion in UTC
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public global::System.DateTime? DeferredDeleteTimeInUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).DeferredDeleteTimeInUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).DeferredDeleteTimeInUtc = value ?? default(global::System.DateTime); }
+
+ /// Time remaining before the DS marked for deferred delete is permanently deleted
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string DeferredDeleteTimeRemaining { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).DeferredDeleteTimeRemaining; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).DeferredDeleteTimeRemaining = value ?? null; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemExtendedInfo _extendedInfo;
+
+ /// Additional information with this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ internal Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemExtendedInfo ExtendedInfo { get => (this._extendedInfo = this._extendedInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureFileshareProtectedItemExtendedInfo()); set => this._extendedInfo = value; }
+
+ /// The oldest backup copy available for this item in the service.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public global::System.DateTime? ExtendedInfoOldestRecoveryPoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemExtendedInfoInternal)ExtendedInfo).OldestRecoveryPoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemExtendedInfoInternal)ExtendedInfo).OldestRecoveryPoint = value ?? default(global::System.DateTime); }
+
+ /// Indicates consistency of policy object and policy applied to this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public string ExtendedInfoPolicyState { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemExtendedInfoInternal)ExtendedInfo).PolicyState; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemExtendedInfoInternal)ExtendedInfo).PolicyState = value ?? null; }
+
+ /// Number of available backup copies associated with this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public int? ExtendedInfoRecoveryPointCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemExtendedInfoInternal)ExtendedInfo).RecoveryPointCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemExtendedInfoInternal)ExtendedInfo).RecoveryPointCount = value ?? default(int); }
+
+ ///
+ /// Indicates the state of this resource. Possible values are from enum ResourceState {Invalid, Active, SoftDeleted, Deleted}
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public string ExtendedInfoResourceState { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemExtendedInfoInternal)ExtendedInfo).ResourceState; }
+
+ /// The resource state sync time for this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public global::System.DateTime? ExtendedInfoResourceStateSyncTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemExtendedInfoInternal)ExtendedInfo).ResourceStateSyncTime; }
+
+ /// Backing field for property.
+ private string _friendlyName;
+
+ /// Friendly name of the fileshare represented by this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string FriendlyName { get => this._friendlyName; set => this._friendlyName = value; }
+
+ /// Flag to identify whether datasource is protected in archive
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public bool? IsArchiveEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).IsArchiveEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).IsArchiveEnabled = value ?? default(bool); }
+
+ /// Flag to identify whether the deferred deleted DS is to be purged soon
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public bool? IsDeferredDeleteScheduleUpcoming { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).IsDeferredDeleteScheduleUpcoming; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).IsDeferredDeleteScheduleUpcoming = value ?? default(bool); }
+
+ /// Flag to identify that deferred deleted DS is to be moved into Pause state
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public bool? IsRehydrate { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).IsRehydrate; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).IsRehydrate = value ?? default(bool); }
+
+ /// Flag to identify whether the DS is scheduled for deferred delete
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public bool? IsScheduledForDeferredDelete { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).IsScheduledForDeferredDelete; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).IsScheduledForDeferredDelete = value ?? default(bool); }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemKpisHealths _kpisHealth;
+
+ /// Health details of different KPIs
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemKpisHealths KpisHealth { get => (this._kpisHealth = this._kpisHealth ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureFileshareProtectedItemKpisHealths()); set => this._kpisHealth = value; }
+
+ /// Backing field for property.
+ private string _lastBackupStatus;
+
+ /// Last backup operation status. Possible values: Healthy, Unhealthy.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string LastBackupStatus { get => this._lastBackupStatus; set => this._lastBackupStatus = value; }
+
+ /// Backing field for property.
+ private global::System.DateTime? _lastBackupTime;
+
+ /// Timestamp of the last backup operation on this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public global::System.DateTime? LastBackupTime { get => this._lastBackupTime; set => this._lastBackupTime = value; }
+
+ /// Timestamp when the last (latest) backup copy was created for this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public global::System.DateTime? LastRecoveryPoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).LastRecoveryPoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).LastRecoveryPoint = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for ExtendedInfo
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemExtendedInfo Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemInternal.ExtendedInfo { get => (this._extendedInfo = this._extendedInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureFileshareProtectedItemExtendedInfo()); set { {_extendedInfo = value;} } }
+
+ /// Internal Acessors for ExtendedInfoResourceState
+ string Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemInternal.ExtendedInfoResourceState { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemExtendedInfoInternal)ExtendedInfo).ResourceState; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemExtendedInfoInternal)ExtendedInfo).ResourceState = value; }
+
+ /// Internal Acessors for ExtendedInfoResourceStateSyncTime
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemInternal.ExtendedInfoResourceStateSyncTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemExtendedInfoInternal)ExtendedInfo).ResourceStateSyncTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemExtendedInfoInternal)ExtendedInfo).ResourceStateSyncTime = value; }
+
+ /// Internal Acessors for BackupManagementType
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal.BackupManagementType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).BackupManagementType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).BackupManagementType = value; }
+
+ /// Internal Acessors for VaultId
+ string Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal.VaultId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).VaultId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).VaultId = value; }
+
+ /// Internal Acessors for WorkloadType
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.DataSourceType? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal.WorkloadType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).WorkloadType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).WorkloadType = value; }
+
+ /// ID of the backup policy with which this item is backed up.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string PolicyId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).PolicyId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).PolicyId = value ?? null; }
+
+ /// Name of the policy used for protection
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string PolicyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).PolicyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).PolicyName = value ?? null; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectionState? _protectionState;
+
+ /// Backup state of this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectionState? ProtectionState { get => this._protectionState; set => this._protectionState = value; }
+
+ /// Backing field for property.
+ private string _protectionStatus;
+
+ /// Backup status of this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string ProtectionStatus { get => this._protectionStatus; set => this._protectionStatus = value; }
+
+ /// ResourceGuardOperationRequests on which LAC check will be performed
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string[] ResourceGuardOperationRequest { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).ResourceGuardOperationRequest; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).ResourceGuardOperationRequest = value ?? null /* arrayOf */; }
+
+ /// Soft delete retention period in days
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public int? SoftDeleteRetentionPeriodInDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).SoftDeleteRetentionPeriodInDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).SoftDeleteRetentionPeriodInDay = value ?? default(int); }
+
+ /// ARM ID of the resource to be backed up.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string SourceResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).SourceResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).SourceResourceId = value ?? null; }
+
+ /// backup item type.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).Type = value ; }
+
+ /// ID of the vault which protects this item
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string VaultId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).VaultId; }
+
+ /// Type of workload this item represents.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.DataSourceType? WorkloadType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).WorkloadType; }
+
+ /// Creates an new instance.
+ public AzureFileshareProtectedItem()
+ {
+
+ }
+
+ /// 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.RecoveryServicesBackup.Runtime.IEventListener eventListener)
+ {
+ await eventListener.AssertNotNull(nameof(__protectedItem), __protectedItem);
+ await eventListener.AssertObjectIsValid(nameof(__protectedItem), __protectedItem);
+ }
+ }
+ /// Azure File Share workload-specific backup item.
+ public partial interface IAzureFileshareProtectedItem :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItem
+ {
+ /// The oldest backup copy available for this item in the service.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The oldest backup copy available for this item in the service.",
+ SerializedName = @"oldestRecoveryPoint",
+ PossibleTypes = new [] { typeof(global::System.DateTime) })]
+ global::System.DateTime? ExtendedInfoOldestRecoveryPoint { get; set; }
+ /// Indicates consistency of policy object and policy applied to this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Indicates consistency of policy object and policy applied to this backup item.",
+ SerializedName = @"policyState",
+ PossibleTypes = new [] { typeof(string) })]
+ string ExtendedInfoPolicyState { get; set; }
+ /// Number of available backup copies associated with this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Number of available backup copies associated with this backup item.",
+ SerializedName = @"recoveryPointCount",
+ PossibleTypes = new [] { typeof(int) })]
+ int? ExtendedInfoRecoveryPointCount { get; set; }
+ ///
+ /// Indicates the state of this resource. Possible values are from enum ResourceState {Invalid, Active, SoftDeleted, Deleted}
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"Indicates the state of this resource. Possible values are from enum ResourceState {Invalid, Active, SoftDeleted, Deleted}",
+ SerializedName = @"resourceState",
+ PossibleTypes = new [] { typeof(string) })]
+ string ExtendedInfoResourceState { get; }
+ /// The resource state sync time for this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The resource state sync time for this backup item.",
+ SerializedName = @"resourceStateSyncTime",
+ PossibleTypes = new [] { typeof(global::System.DateTime) })]
+ global::System.DateTime? ExtendedInfoResourceStateSyncTime { get; }
+ /// Friendly name of the fileshare represented by this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Friendly name of the fileshare represented by this backup item.",
+ SerializedName = @"friendlyName",
+ PossibleTypes = new [] { typeof(string) })]
+ string FriendlyName { get; set; }
+ /// Health details of different KPIs
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Health details of different KPIs",
+ SerializedName = @"kpisHealths",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemKpisHealths) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemKpisHealths KpisHealth { get; set; }
+ /// Last backup operation status. Possible values: Healthy, Unhealthy.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Last backup operation status. Possible values: Healthy, Unhealthy.",
+ SerializedName = @"lastBackupStatus",
+ PossibleTypes = new [] { typeof(string) })]
+ string LastBackupStatus { get; set; }
+ /// Timestamp of the last backup operation on this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Timestamp of the last backup operation on this backup item.",
+ SerializedName = @"lastBackupTime",
+ PossibleTypes = new [] { typeof(global::System.DateTime) })]
+ global::System.DateTime? LastBackupTime { get; set; }
+ /// Backup state of this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Backup state of this backup item.",
+ SerializedName = @"protectionState",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectionState) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectionState? ProtectionState { get; set; }
+ /// Backup status of this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Backup status of this backup item.",
+ SerializedName = @"protectionStatus",
+ PossibleTypes = new [] { typeof(string) })]
+ string ProtectionStatus { get; set; }
+
+ }
+ /// Azure File Share workload-specific backup item.
+ internal partial interface IAzureFileshareProtectedItemInternal :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal
+ {
+ /// Additional information with this backup item.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemExtendedInfo ExtendedInfo { get; set; }
+ /// The oldest backup copy available for this item in the service.
+ global::System.DateTime? ExtendedInfoOldestRecoveryPoint { get; set; }
+ /// Indicates consistency of policy object and policy applied to this backup item.
+ string ExtendedInfoPolicyState { get; set; }
+ /// Number of available backup copies associated with this backup item.
+ int? ExtendedInfoRecoveryPointCount { get; set; }
+ ///
+ /// Indicates the state of this resource. Possible values are from enum ResourceState {Invalid, Active, SoftDeleted, Deleted}
+ ///
+ string ExtendedInfoResourceState { get; set; }
+ /// The resource state sync time for this backup item.
+ global::System.DateTime? ExtendedInfoResourceStateSyncTime { get; set; }
+ /// Friendly name of the fileshare represented by this backup item.
+ string FriendlyName { get; set; }
+ /// Health details of different KPIs
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemKpisHealths KpisHealth { get; set; }
+ /// Last backup operation status. Possible values: Healthy, Unhealthy.
+ string LastBackupStatus { get; set; }
+ /// Timestamp of the last backup operation on this backup item.
+ global::System.DateTime? LastBackupTime { get; set; }
+ /// Backup state of this backup item.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectionState? ProtectionState { get; set; }
+ /// Backup status of this backup item.
+ string ProtectionStatus { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileshareProtectedItem.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileshareProtectedItem.json.cs
new file mode 100644
index 000000000000..5613bc2101a1
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileshareProtectedItem.json.cs
@@ -0,0 +1,122 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure File Share workload-specific backup item.
+ public partial class AzureFileshareProtectedItem
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureFileshareProtectedItem(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ __protectedItem = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ProtectedItem(json);
+ {_extendedInfo = If( json?.PropertyT("extendedInfo"), out var __jsonExtendedInfo) ? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureFileshareProtectedItemExtendedInfo.FromJson(__jsonExtendedInfo) : ExtendedInfo;}
+ {_friendlyName = If( json?.PropertyT("friendlyName"), out var __jsonFriendlyName) ? (string)__jsonFriendlyName : (string)FriendlyName;}
+ {_protectionStatus = If( json?.PropertyT("protectionStatus"), out var __jsonProtectionStatus) ? (string)__jsonProtectionStatus : (string)ProtectionStatus;}
+ {_protectionState = If( json?.PropertyT("protectionState"), out var __jsonProtectionState) ? (string)__jsonProtectionState : (string)ProtectionState;}
+ {_lastBackupStatus = If( json?.PropertyT("lastBackupStatus"), out var __jsonLastBackupStatus) ? (string)__jsonLastBackupStatus : (string)LastBackupStatus;}
+ {_lastBackupTime = If( json?.PropertyT("lastBackupTime"), out var __jsonLastBackupTime) ? global::System.DateTime.TryParse((string)__jsonLastBackupTime, global::System.Globalization.CultureInfo.InvariantCulture, global::System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonLastBackupTimeValue) ? __jsonLastBackupTimeValue : LastBackupTime : LastBackupTime;}
+ {_kpisHealth = If( json?.PropertyT("kpisHealths"), out var __jsonKpisHealths) ? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureFileshareProtectedItemKpisHealths.FromJson(__jsonKpisHealths) : KpisHealth;}
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItem.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItem.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItem FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureFileshareProtectedItem(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ __protectedItem?.ToJson(container, serializationMode);
+ AddIf( null != this._extendedInfo ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) this._extendedInfo.ToJson(null,serializationMode) : null, "extendedInfo" ,container.Add );
+ AddIf( null != (((object)this._friendlyName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._friendlyName.ToString()) : null, "friendlyName" ,container.Add );
+ AddIf( null != (((object)this._protectionStatus)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._protectionStatus.ToString()) : null, "protectionStatus" ,container.Add );
+ AddIf( null != (((object)this._protectionState)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._protectionState.ToString()) : null, "protectionState" ,container.Add );
+ AddIf( null != (((object)this._lastBackupStatus)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._lastBackupStatus.ToString()) : null, "lastBackupStatus" ,container.Add );
+ AddIf( null != this._lastBackupTime ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._lastBackupTime?.ToString(@"yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffffffK",global::System.Globalization.CultureInfo.InvariantCulture)) : null, "lastBackupTime" ,container.Add );
+ AddIf( null != this._kpisHealth ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) this._kpisHealth.ToJson(null,serializationMode) : null, "kpisHealths" ,container.Add );
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileshareProtectedItemExtendedInfo.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileshareProtectedItemExtendedInfo.cs
new file mode 100644
index 000000000000..ccf5cd43e1e7
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileshareProtectedItemExtendedInfo.cs
@@ -0,0 +1,131 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Additional information about Azure File Share backup item.
+ public partial class AzureFileshareProtectedItemExtendedInfo :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemExtendedInfo,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemExtendedInfoInternal
+ {
+
+ /// Internal Acessors for ResourceState
+ string Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemExtendedInfoInternal.ResourceState { get => this._resourceState; set { {_resourceState = value;} } }
+
+ /// Internal Acessors for ResourceStateSyncTime
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemExtendedInfoInternal.ResourceStateSyncTime { get => this._resourceStateSyncTime; set { {_resourceStateSyncTime = value;} } }
+
+ /// Backing field for property.
+ private global::System.DateTime? _oldestRecoveryPoint;
+
+ /// The oldest backup copy available for this item in the service.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public global::System.DateTime? OldestRecoveryPoint { get => this._oldestRecoveryPoint; set => this._oldestRecoveryPoint = value; }
+
+ /// Backing field for property.
+ private string _policyState;
+
+ /// Indicates consistency of policy object and policy applied to this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string PolicyState { get => this._policyState; set => this._policyState = value; }
+
+ /// Backing field for property.
+ private int? _recoveryPointCount;
+
+ /// Number of available backup copies associated with this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public int? RecoveryPointCount { get => this._recoveryPointCount; set => this._recoveryPointCount = value; }
+
+ /// Backing field for property.
+ private string _resourceState;
+
+ ///
+ /// Indicates the state of this resource. Possible values are from enum ResourceState {Invalid, Active, SoftDeleted, Deleted}
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string ResourceState { get => this._resourceState; }
+
+ /// Backing field for property.
+ private global::System.DateTime? _resourceStateSyncTime;
+
+ /// The resource state sync time for this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public global::System.DateTime? ResourceStateSyncTime { get => this._resourceStateSyncTime; }
+
+ /// Creates an new instance.
+ public AzureFileshareProtectedItemExtendedInfo()
+ {
+
+ }
+ }
+ /// Additional information about Azure File Share backup item.
+ public partial interface IAzureFileshareProtectedItemExtendedInfo :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable
+ {
+ /// The oldest backup copy available for this item in the service.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The oldest backup copy available for this item in the service.",
+ SerializedName = @"oldestRecoveryPoint",
+ PossibleTypes = new [] { typeof(global::System.DateTime) })]
+ global::System.DateTime? OldestRecoveryPoint { get; set; }
+ /// Indicates consistency of policy object and policy applied to this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Indicates consistency of policy object and policy applied to this backup item.",
+ SerializedName = @"policyState",
+ PossibleTypes = new [] { typeof(string) })]
+ string PolicyState { get; set; }
+ /// Number of available backup copies associated with this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Number of available backup copies associated with this backup item.",
+ SerializedName = @"recoveryPointCount",
+ PossibleTypes = new [] { typeof(int) })]
+ int? RecoveryPointCount { get; set; }
+ ///
+ /// Indicates the state of this resource. Possible values are from enum ResourceState {Invalid, Active, SoftDeleted, Deleted}
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"Indicates the state of this resource. Possible values are from enum ResourceState {Invalid, Active, SoftDeleted, Deleted}",
+ SerializedName = @"resourceState",
+ PossibleTypes = new [] { typeof(string) })]
+ string ResourceState { get; }
+ /// The resource state sync time for this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"The resource state sync time for this backup item.",
+ SerializedName = @"resourceStateSyncTime",
+ PossibleTypes = new [] { typeof(global::System.DateTime) })]
+ global::System.DateTime? ResourceStateSyncTime { get; }
+
+ }
+ /// Additional information about Azure File Share backup item.
+ internal partial interface IAzureFileshareProtectedItemExtendedInfoInternal
+
+ {
+ /// The oldest backup copy available for this item in the service.
+ global::System.DateTime? OldestRecoveryPoint { get; set; }
+ /// Indicates consistency of policy object and policy applied to this backup item.
+ string PolicyState { get; set; }
+ /// Number of available backup copies associated with this backup item.
+ int? RecoveryPointCount { get; set; }
+ ///
+ /// Indicates the state of this resource. Possible values are from enum ResourceState {Invalid, Active, SoftDeleted, Deleted}
+ ///
+ string ResourceState { get; set; }
+ /// The resource state sync time for this backup item.
+ global::System.DateTime? ResourceStateSyncTime { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileshareProtectedItemExtendedInfo.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileshareProtectedItemExtendedInfo.json.cs
new file mode 100644
index 000000000000..b2868c7fb3d1
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileshareProtectedItemExtendedInfo.json.cs
@@ -0,0 +1,124 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Additional information about Azure File Share backup item.
+ public partial class AzureFileshareProtectedItemExtendedInfo
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureFileshareProtectedItemExtendedInfo(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ {_oldestRecoveryPoint = If( json?.PropertyT("oldestRecoveryPoint"), out var __jsonOldestRecoveryPoint) ? global::System.DateTime.TryParse((string)__jsonOldestRecoveryPoint, global::System.Globalization.CultureInfo.InvariantCulture, global::System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonOldestRecoveryPointValue) ? __jsonOldestRecoveryPointValue : OldestRecoveryPoint : OldestRecoveryPoint;}
+ {_recoveryPointCount = If( json?.PropertyT("recoveryPointCount"), out var __jsonRecoveryPointCount) ? (int?)__jsonRecoveryPointCount : RecoveryPointCount;}
+ {_policyState = If( json?.PropertyT("policyState"), out var __jsonPolicyState) ? (string)__jsonPolicyState : (string)PolicyState;}
+ {_resourceState = If( json?.PropertyT("resourceState"), out var __jsonResourceState) ? (string)__jsonResourceState : (string)ResourceState;}
+ {_resourceStateSyncTime = If( json?.PropertyT("resourceStateSyncTime"), out var __jsonResourceStateSyncTime) ? global::System.DateTime.TryParse((string)__jsonResourceStateSyncTime, global::System.Globalization.CultureInfo.InvariantCulture, global::System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonResourceStateSyncTimeValue) ? __jsonResourceStateSyncTimeValue : ResourceStateSyncTime : ResourceStateSyncTime;}
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemExtendedInfo.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemExtendedInfo.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemExtendedInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureFileshareProtectedItemExtendedInfo(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ AddIf( null != this._oldestRecoveryPoint ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._oldestRecoveryPoint?.ToString(@"yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffffffK",global::System.Globalization.CultureInfo.InvariantCulture)) : null, "oldestRecoveryPoint" ,container.Add );
+ AddIf( null != this._recoveryPointCount ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNumber((int)this._recoveryPointCount) : null, "recoveryPointCount" ,container.Add );
+ AddIf( null != (((object)this._policyState)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._policyState.ToString()) : null, "policyState" ,container.Add );
+ if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode.IncludeReadOnly))
+ {
+ AddIf( null != (((object)this._resourceState)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._resourceState.ToString()) : null, "resourceState" ,container.Add );
+ }
+ if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode.IncludeReadOnly))
+ {
+ AddIf( null != this._resourceStateSyncTime ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._resourceStateSyncTime?.ToString(@"yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffffffK",global::System.Globalization.CultureInfo.InvariantCulture)) : null, "resourceStateSyncTime" ,container.Add );
+ }
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileshareProtectedItemKpisHealths.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileshareProtectedItemKpisHealths.cs
new file mode 100644
index 000000000000..02b2b5d46ead
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileshareProtectedItemKpisHealths.cs
@@ -0,0 +1,35 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Health details of different KPIs
+ public partial class AzureFileshareProtectedItemKpisHealths :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemKpisHealths,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemKpisHealthsInternal
+ {
+
+ /// Creates an new instance.
+ public AzureFileshareProtectedItemKpisHealths()
+ {
+
+ }
+ }
+ /// Health details of different KPIs
+ public partial interface IAzureFileshareProtectedItemKpisHealths :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray
+ {
+
+ }
+ /// Health details of different KPIs
+ internal partial interface IAzureFileshareProtectedItemKpisHealthsInternal
+
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileshareProtectedItemKpisHealths.dictionary.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileshareProtectedItemKpisHealths.dictionary.cs
new file mode 100644
index 000000000000..27abfa2f11d5
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileshareProtectedItemKpisHealths.dictionary.cs
@@ -0,0 +1,75 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ public partial class AzureFileshareProtectedItemKpisHealths :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray
+ {
+ protected global::System.Collections.Generic.Dictionary __additionalProperties = new global::System.Collections.Generic.Dictionary();
+
+ global::System.Collections.Generic.IDictionary Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray.AdditionalProperties { get => __additionalProperties; }
+
+ int Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray.Count { get => __additionalProperties.Count; }
+
+ global::System.Collections.Generic.IEnumerable Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray.Keys { get => __additionalProperties.Keys; }
+
+ global::System.Collections.Generic.IEnumerable Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray.Values { get => __additionalProperties.Values; }
+
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IKpiResourceHealthDetails this[global::System.String index] { get => __additionalProperties[index]; set => __additionalProperties[index] = value; }
+
+ ///
+ ///
+ public void Add(global::System.String key, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IKpiResourceHealthDetails value) => __additionalProperties.Add( key, value);
+
+ public void Clear() => __additionalProperties.Clear();
+
+ ///
+ public bool ContainsKey(global::System.String key) => __additionalProperties.ContainsKey( key);
+
+ ///
+ public void CopyFrom(global::System.Collections.IDictionary source)
+ {
+ if (null != source)
+ {
+ foreach( var property in Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.PowerShell.TypeConverterExtensions.GetFilteredProperties(source, new global::System.Collections.Generic.HashSet() { } ) )
+ {
+ if ((null != property.Key && null != property.Value))
+ {
+ this.__additionalProperties.Add(property.Key.ToString(), global::System.Management.Automation.LanguagePrimitives.ConvertTo( property.Value));
+ }
+ }
+ }
+ }
+
+ ///
+ public void CopyFrom(global::System.Management.Automation.PSObject source)
+ {
+ if (null != source)
+ {
+ foreach( var property in Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.PowerShell.TypeConverterExtensions.GetFilteredProperties(source, new global::System.Collections.Generic.HashSet() { } ) )
+ {
+ if ((null != property.Key && null != property.Value))
+ {
+ this.__additionalProperties.Add(property.Key.ToString(), global::System.Management.Automation.LanguagePrimitives.ConvertTo( property.Value));
+ }
+ }
+ }
+ }
+
+ ///
+ public bool Remove(global::System.String key) => __additionalProperties.Remove( key);
+
+ ///
+ ///
+ public bool TryGetValue(global::System.String key, out Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IKpiResourceHealthDetails value) => __additionalProperties.TryGetValue( key, out value);
+
+ ///
+
+ public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureFileshareProtectedItemKpisHealths source) => source.__additionalProperties;
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileshareProtectedItemKpisHealths.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileshareProtectedItemKpisHealths.json.cs
new file mode 100644
index 000000000000..867a4d273e11
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureFileshareProtectedItemKpisHealths.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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Health details of different KPIs
+ public partial class AzureFileshareProtectedItemKpisHealths
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ ///
+ internal AzureFileshareProtectedItemKpisHealths(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json, global::System.Collections.Generic.HashSet exclusions = null)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.JsonSerializable.FromJson( json, ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray)this).AdditionalProperties, (j) => Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.KpiResourceHealthDetails.FromJson(j) ,exclusions );
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemKpisHealths.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemKpisHealths.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureFileshareProtectedItemKpisHealths FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureFileshareProtectedItemKpisHealths(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.JsonSerializable.ToJson( ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray)this).AdditionalProperties, container);
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSClassicComputeVmcontainer.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSClassicComputeVmcontainer.cs
new file mode 100644
index 000000000000..67e7461d8e94
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSClassicComputeVmcontainer.cs
@@ -0,0 +1,98 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// IaaS VM workload-specific backup item representing a classic virtual machine.
+ public partial class AzureIaaSClassicComputeVmcontainer :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSClassicComputeVmcontainer,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSClassicComputeVmcontainerInternal,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IValidates
+ {
+ ///
+ /// Backing field for Inherited model
+ ///
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmContainer __iaaSvmContainer = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IaaSvmContainer();
+
+ /// Type of backup management for the container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType? BackupManagementType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__iaaSvmContainer).BackupManagementType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__iaaSvmContainer).BackupManagementType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType)""); }
+
+ ///
+ /// Type of the container. The value of this property for: 1. Compute Azure VM is Microsoft.Compute/virtualMachines 2.
+ /// Classic Compute Azure VM is Microsoft.ClassicCompute/virtualMachines 3. Windows machines (like MAB, DPM etc) is
+ /// Windows 4. Azure SQL instance is AzureSqlContainer. 5. Storage containers is StorageContainer. 6. Azure workload
+ /// Backup is VMAppContainer
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectableContainerType ContainerType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__iaaSvmContainer).ContainerType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__iaaSvmContainer).ContainerType = value ; }
+
+ /// Friendly name of the container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string FriendlyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__iaaSvmContainer).FriendlyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__iaaSvmContainer).FriendlyName = value ?? null; }
+
+ /// Status of health of the container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string HealthStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__iaaSvmContainer).HealthStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__iaaSvmContainer).HealthStatus = value ?? null; }
+
+ /// Type of the protectable object associated with this container
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ProtectableObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__iaaSvmContainer).ProtectableObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__iaaSvmContainer).ProtectableObjectType = value ?? null; }
+
+ /// Status of registration of the container with the Recovery Services Vault.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string RegistrationStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__iaaSvmContainer).RegistrationStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__iaaSvmContainer).RegistrationStatus = value ?? null; }
+
+ /// Resource group name of Recovery Services Vault.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ResourceGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmContainerInternal)__iaaSvmContainer).ResourceGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmContainerInternal)__iaaSvmContainer).ResourceGroup = value ?? null; }
+
+ ///
+ /// Fully qualified ARM url of the virtual machine represented by this Azure IaaS VM container.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string VirtualMachineId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmContainerInternal)__iaaSvmContainer).VirtualMachineId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmContainerInternal)__iaaSvmContainer).VirtualMachineId = value ?? null; }
+
+ ///
+ /// Specifies whether the container represents a Classic or an Azure Resource Manager VM.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string VirtualMachineVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmContainerInternal)__iaaSvmContainer).VirtualMachineVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmContainerInternal)__iaaSvmContainer).VirtualMachineVersion = value ?? null; }
+
+ /// Creates an new instance.
+ public AzureIaaSClassicComputeVmcontainer()
+ {
+
+ }
+
+ /// 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.RecoveryServicesBackup.Runtime.IEventListener eventListener)
+ {
+ await eventListener.AssertNotNull(nameof(__iaaSvmContainer), __iaaSvmContainer);
+ await eventListener.AssertObjectIsValid(nameof(__iaaSvmContainer), __iaaSvmContainer);
+ }
+ }
+ /// IaaS VM workload-specific backup item representing a classic virtual machine.
+ public partial interface IAzureIaaSClassicComputeVmcontainer :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmContainer
+ {
+
+ }
+ /// IaaS VM workload-specific backup item representing a classic virtual machine.
+ internal partial interface IAzureIaaSClassicComputeVmcontainerInternal :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmContainerInternal
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSClassicComputeVmcontainer.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSClassicComputeVmcontainer.json.cs
new file mode 100644
index 000000000000..9beb8ef0d637
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSClassicComputeVmcontainer.json.cs
@@ -0,0 +1,109 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// IaaS VM workload-specific backup item representing a classic virtual machine.
+ public partial class AzureIaaSClassicComputeVmcontainer
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureIaaSClassicComputeVmcontainer(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ __iaaSvmContainer = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IaaSvmContainer(json);
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSClassicComputeVmcontainer.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSClassicComputeVmcontainer.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSClassicComputeVmcontainer FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureIaaSClassicComputeVmcontainer(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ __iaaSvmContainer?.ToJson(container, serializationMode);
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSClassicComputeVmprotectableItem.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSClassicComputeVmprotectableItem.cs
new file mode 100644
index 000000000000..4f54153a8d6f
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSClassicComputeVmprotectableItem.cs
@@ -0,0 +1,89 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// IaaS VM workload-specific backup item representing the Classic Compute VM.
+ public partial class AzureIaaSClassicComputeVmprotectableItem :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSClassicComputeVmprotectableItem,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSClassicComputeVmprotectableItemInternal,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IValidates
+ {
+ ///
+ /// Backing field for Inherited model
+ ///
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmProtectableItem __iaaSvmProtectableItem = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IaaSvmProtectableItem();
+
+ /// Type of backup management to backup an item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string BackupManagementType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadProtectableItemInternal)__iaaSvmProtectableItem).BackupManagementType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadProtectableItemInternal)__iaaSvmProtectableItem).BackupManagementType = value ?? null; }
+
+ /// Friendly name of the backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string FriendlyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadProtectableItemInternal)__iaaSvmProtectableItem).FriendlyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadProtectableItemInternal)__iaaSvmProtectableItem).FriendlyName = value ?? null; }
+
+ /// Type of the backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ProtectableItemType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadProtectableItemInternal)__iaaSvmProtectableItem).ProtectableItemType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadProtectableItemInternal)__iaaSvmProtectableItem).ProtectableItemType = value ; }
+
+ /// State of the back up item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectionStatus? ProtectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadProtectableItemInternal)__iaaSvmProtectableItem).ProtectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadProtectableItemInternal)__iaaSvmProtectableItem).ProtectionState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectionStatus)""); }
+
+ /// Resource group name of Recovery Services Vault.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ResourceGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmProtectableItemInternal)__iaaSvmProtectableItem).ResourceGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmProtectableItemInternal)__iaaSvmProtectableItem).ResourceGroup = value ?? null; }
+
+ /// Fully qualified ARM ID of the virtual machine.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string VirtualMachineId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmProtectableItemInternal)__iaaSvmProtectableItem).VirtualMachineId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmProtectableItemInternal)__iaaSvmProtectableItem).VirtualMachineId = value ?? null; }
+
+ ///
+ /// Specifies whether the container represents a Classic or an Azure Resource Manager VM.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string VirtualMachineVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmProtectableItemInternal)__iaaSvmProtectableItem).VirtualMachineVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmProtectableItemInternal)__iaaSvmProtectableItem).VirtualMachineVersion = value ?? null; }
+
+ /// Type of workload for the backup management
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string WorkloadType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadProtectableItemInternal)__iaaSvmProtectableItem).WorkloadType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadProtectableItemInternal)__iaaSvmProtectableItem).WorkloadType = value ?? null; }
+
+ ///
+ /// Creates an new instance.
+ ///
+ public AzureIaaSClassicComputeVmprotectableItem()
+ {
+
+ }
+
+ /// 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.RecoveryServicesBackup.Runtime.IEventListener eventListener)
+ {
+ await eventListener.AssertNotNull(nameof(__iaaSvmProtectableItem), __iaaSvmProtectableItem);
+ await eventListener.AssertObjectIsValid(nameof(__iaaSvmProtectableItem), __iaaSvmProtectableItem);
+ }
+ }
+ /// IaaS VM workload-specific backup item representing the Classic Compute VM.
+ public partial interface IAzureIaaSClassicComputeVmprotectableItem :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmProtectableItem
+ {
+
+ }
+ /// IaaS VM workload-specific backup item representing the Classic Compute VM.
+ internal partial interface IAzureIaaSClassicComputeVmprotectableItemInternal :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmProtectableItemInternal
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSClassicComputeVmprotectableItem.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSClassicComputeVmprotectableItem.json.cs
new file mode 100644
index 000000000000..cc7a8d511f43
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSClassicComputeVmprotectableItem.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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// IaaS VM workload-specific backup item representing the Classic Compute VM.
+ public partial class AzureIaaSClassicComputeVmprotectableItem
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureIaaSClassicComputeVmprotectableItem(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ __iaaSvmProtectableItem = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IaaSvmProtectableItem(json);
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSClassicComputeVmprotectableItem.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSClassicComputeVmprotectableItem.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSClassicComputeVmprotectableItem FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureIaaSClassicComputeVmprotectableItem(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ __iaaSvmProtectableItem?.ToJson(container, serializationMode);
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSClassicComputeVmprotectedItem.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSClassicComputeVmprotectedItem.cs
new file mode 100644
index 000000000000..ee2ebfc47509
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSClassicComputeVmprotectedItem.cs
@@ -0,0 +1,243 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// IaaS VM workload-specific backup item representing the Classic Compute VM.
+ public partial class AzureIaaSClassicComputeVmprotectedItem :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSClassicComputeVmprotectedItem,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSClassicComputeVmprotectedItemInternal,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IValidates
+ {
+ ///
+ /// Backing field for Inherited model
+ ///
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItem __azureIaaSvmProtectedItem = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureIaaSvmProtectedItem();
+
+ /// Type of backup management for the backed up item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType? BackupManagementType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).BackupManagementType; }
+
+ /// Name of the backup set the backup item belongs to
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string BackupSetName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).BackupSetName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).BackupSetName = value ?? null; }
+
+ /// Unique name of container
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ContainerName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).ContainerName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).ContainerName = value ?? null; }
+
+ ///
+ /// Create mode to indicate recovery of existing soft deleted data source or creation of new data source.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.CreateMode? CreateMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).CreateMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).CreateMode = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.CreateMode)""); }
+
+ /// Time for deferred deletion in UTC
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public global::System.DateTime? DeferredDeleteTimeInUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).DeferredDeleteTimeInUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).DeferredDeleteTimeInUtc = value ?? default(global::System.DateTime); }
+
+ /// Time remaining before the DS marked for deferred delete is permanently deleted
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string DeferredDeleteTimeRemaining { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).DeferredDeleteTimeRemaining; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).DeferredDeleteTimeRemaining = value ?? null; }
+
+ /// List of Disks' Logical Unit Numbers (LUN) to be used for VM Protection.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public int[] DiskExclusionPropertyDiskLunList { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).DiskExclusionPropertyDiskLunList; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).DiskExclusionPropertyDiskLunList = value ?? null /* arrayOf */; }
+
+ /// Flag to indicate whether DiskLunList is to be included/ excluded from backup.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public bool? DiskExclusionPropertyIsInclusionList { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).DiskExclusionPropertyIsInclusionList; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).DiskExclusionPropertyIsInclusionList = value ?? default(bool); }
+
+ /// Additional information for this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemExtendedInfo ExtendedInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedInfo = value ?? null /* model class */; }
+
+ /// The latest backup copy available for this backup item in archive tier
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public global::System.DateTime? ExtendedInfoNewestRecoveryPointInArchive { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedInfoNewestRecoveryPointInArchive; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedInfoNewestRecoveryPointInArchive = value ?? default(global::System.DateTime); }
+
+ /// The oldest backup copy available for this backup item across all tiers.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public global::System.DateTime? ExtendedInfoOldestRecoveryPoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedInfoOldestRecoveryPoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedInfoOldestRecoveryPoint = value ?? default(global::System.DateTime); }
+
+ /// The oldest backup copy available for this backup item in archive tier
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public global::System.DateTime? ExtendedInfoOldestRecoveryPointInArchive { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedInfoOldestRecoveryPointInArchive; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedInfoOldestRecoveryPointInArchive = value ?? default(global::System.DateTime); }
+
+ /// The oldest backup copy available for this backup item in vault tier
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public global::System.DateTime? ExtendedInfoOldestRecoveryPointInVault { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedInfoOldestRecoveryPointInVault; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedInfoOldestRecoveryPointInVault = value ?? default(global::System.DateTime); }
+
+ /// Specifies if backup policy associated with the backup item is inconsistent.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public bool? ExtendedInfoPolicyInconsistent { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedInfoPolicyInconsistent; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedInfoPolicyInconsistent = value ?? default(bool); }
+
+ /// Number of backup copies available for this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public int? ExtendedInfoRecoveryPointCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedInfoRecoveryPointCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedInfoRecoveryPointCount = value ?? default(int); }
+
+ /// Extended Properties for Azure IaasVM Backup.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IExtendedProperties ExtendedProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedProperty = value ?? null /* model class */; }
+
+ /// Extended Properties for Disk Exclusion.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IDiskExclusionProperties ExtendedPropertyDiskExclusionProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedPropertyDiskExclusionProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedPropertyDiskExclusionProperty = value ?? null /* model class */; }
+
+ /// Linux VM name
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ExtendedPropertyLinuxVMApplicationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedPropertyLinuxVMApplicationName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedPropertyLinuxVMApplicationName = value ?? null; }
+
+ /// Friendly name of the VM represented by this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string FriendlyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).FriendlyName; }
+
+ /// Health details on this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IResourceHealthDetails[] HealthDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).HealthDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).HealthDetail = value ?? null /* arrayOf */; }
+
+ /// Health status of protected item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.HealthStatus? HealthStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).HealthStatus; }
+
+ /// Flag to identify whether datasource is protected in archive
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public bool? IsArchiveEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).IsArchiveEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).IsArchiveEnabled = value ?? default(bool); }
+
+ /// Flag to identify whether the deferred deleted DS is to be purged soon
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public bool? IsDeferredDeleteScheduleUpcoming { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).IsDeferredDeleteScheduleUpcoming; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).IsDeferredDeleteScheduleUpcoming = value ?? default(bool); }
+
+ /// Flag to identify that deferred deleted DS is to be moved into Pause state
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public bool? IsRehydrate { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).IsRehydrate; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).IsRehydrate = value ?? default(bool); }
+
+ /// Flag to identify whether the DS is scheduled for deferred delete
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public bool? IsScheduledForDeferredDelete { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).IsScheduledForDeferredDelete; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).IsScheduledForDeferredDelete = value ?? default(bool); }
+
+ /// Health details of different KPIs
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemKpisHealths KpisHealth { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).KpisHealth; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).KpisHealth = value ?? null /* model class */; }
+
+ /// Last backup operation status.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string LastBackupStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).LastBackupStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).LastBackupStatus = value ?? null; }
+
+ /// Timestamp of the last backup operation on this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public global::System.DateTime? LastBackupTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).LastBackupTime; }
+
+ /// Timestamp when the last (latest) backup copy was created for this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public global::System.DateTime? LastRecoveryPoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).LastRecoveryPoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).LastRecoveryPoint = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for FriendlyName
+ string Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal.FriendlyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).FriendlyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).FriendlyName = value; }
+
+ /// Internal Acessors for HealthStatus
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.HealthStatus? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal.HealthStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).HealthStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).HealthStatus = value; }
+
+ /// Internal Acessors for LastBackupTime
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal.LastBackupTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).LastBackupTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).LastBackupTime = value; }
+
+ /// Internal Acessors for ProtectedItemDataId
+ string Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal.ProtectedItemDataId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ProtectedItemDataId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ProtectedItemDataId = value; }
+
+ /// Internal Acessors for VirtualMachineId
+ string Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal.VirtualMachineId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).VirtualMachineId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).VirtualMachineId = value; }
+
+ /// Internal Acessors for BackupManagementType
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal.BackupManagementType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).BackupManagementType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).BackupManagementType = value; }
+
+ /// Internal Acessors for VaultId
+ string Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal.VaultId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).VaultId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).VaultId = value; }
+
+ /// Internal Acessors for WorkloadType
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.DataSourceType? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal.WorkloadType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).WorkloadType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).WorkloadType = value; }
+
+ /// ID of the backup policy with which this item is backed up.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string PolicyId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).PolicyId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).PolicyId = value ?? null; }
+
+ /// Name of the policy used for protection
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string PolicyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).PolicyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).PolicyName = value ?? null; }
+
+ /// Data ID of the protected item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ProtectedItemDataId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ProtectedItemDataId; }
+
+ /// Backup state of this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectionState? ProtectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ProtectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ProtectionState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectionState)""); }
+
+ /// Backup status of this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ProtectionStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ProtectionStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ProtectionStatus = value ?? null; }
+
+ /// ResourceGuardOperationRequests on which LAC check will be performed
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string[] ResourceGuardOperationRequest { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).ResourceGuardOperationRequest; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).ResourceGuardOperationRequest = value ?? null /* arrayOf */; }
+
+ /// Soft delete retention period in days
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public int? SoftDeleteRetentionPeriodInDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).SoftDeleteRetentionPeriodInDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).SoftDeleteRetentionPeriodInDay = value ?? default(int); }
+
+ /// ARM ID of the resource to be backed up.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string SourceResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).SourceResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).SourceResourceId = value ?? null; }
+
+ /// backup item type.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).Type = value ; }
+
+ /// ID of the vault which protects this item
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string VaultId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).VaultId; }
+
+ /// Fully qualified ARM ID of the virtual machine represented by this item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string VirtualMachineId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).VirtualMachineId; }
+
+ /// Type of workload this item represents.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.DataSourceType? WorkloadType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).WorkloadType; }
+
+ /// Creates an new instance.
+ public AzureIaaSClassicComputeVmprotectedItem()
+ {
+
+ }
+
+ /// 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.RecoveryServicesBackup.Runtime.IEventListener eventListener)
+ {
+ await eventListener.AssertNotNull(nameof(__azureIaaSvmProtectedItem), __azureIaaSvmProtectedItem);
+ await eventListener.AssertObjectIsValid(nameof(__azureIaaSvmProtectedItem), __azureIaaSvmProtectedItem);
+ }
+ }
+ /// IaaS VM workload-specific backup item representing the Classic Compute VM.
+ public partial interface IAzureIaaSClassicComputeVmprotectedItem :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItem
+ {
+
+ }
+ /// IaaS VM workload-specific backup item representing the Classic Compute VM.
+ internal partial interface IAzureIaaSClassicComputeVmprotectedItemInternal :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSClassicComputeVmprotectedItem.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSClassicComputeVmprotectedItem.json.cs
new file mode 100644
index 000000000000..fac47cf20cd3
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSClassicComputeVmprotectedItem.json.cs
@@ -0,0 +1,109 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// IaaS VM workload-specific backup item representing the Classic Compute VM.
+ public partial class AzureIaaSClassicComputeVmprotectedItem
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureIaaSClassicComputeVmprotectedItem(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ __azureIaaSvmProtectedItem = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureIaaSvmProtectedItem(json);
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSClassicComputeVmprotectedItem.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSClassicComputeVmprotectedItem.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSClassicComputeVmprotectedItem FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureIaaSClassicComputeVmprotectedItem(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ __azureIaaSvmProtectedItem?.ToJson(container, serializationMode);
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSComputeVmcontainer.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSComputeVmcontainer.cs
new file mode 100644
index 000000000000..7a25f2085706
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSComputeVmcontainer.cs
@@ -0,0 +1,100 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ ///
+ /// IaaS VM workload-specific backup item representing an Azure Resource Manager virtual machine.
+ ///
+ public partial class AzureIaaSComputeVmcontainer :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSComputeVmcontainer,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSComputeVmcontainerInternal,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IValidates
+ {
+ ///
+ /// Backing field for Inherited model
+ ///
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmContainer __iaaSvmContainer = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IaaSvmContainer();
+
+ /// Type of backup management for the container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType? BackupManagementType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__iaaSvmContainer).BackupManagementType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__iaaSvmContainer).BackupManagementType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType)""); }
+
+ ///
+ /// Type of the container. The value of this property for: 1. Compute Azure VM is Microsoft.Compute/virtualMachines 2.
+ /// Classic Compute Azure VM is Microsoft.ClassicCompute/virtualMachines 3. Windows machines (like MAB, DPM etc) is
+ /// Windows 4. Azure SQL instance is AzureSqlContainer. 5. Storage containers is StorageContainer. 6. Azure workload
+ /// Backup is VMAppContainer
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectableContainerType ContainerType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__iaaSvmContainer).ContainerType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__iaaSvmContainer).ContainerType = value ; }
+
+ /// Friendly name of the container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string FriendlyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__iaaSvmContainer).FriendlyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__iaaSvmContainer).FriendlyName = value ?? null; }
+
+ /// Status of health of the container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string HealthStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__iaaSvmContainer).HealthStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__iaaSvmContainer).HealthStatus = value ?? null; }
+
+ /// Type of the protectable object associated with this container
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ProtectableObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__iaaSvmContainer).ProtectableObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__iaaSvmContainer).ProtectableObjectType = value ?? null; }
+
+ /// Status of registration of the container with the Recovery Services Vault.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string RegistrationStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__iaaSvmContainer).RegistrationStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__iaaSvmContainer).RegistrationStatus = value ?? null; }
+
+ /// Resource group name of Recovery Services Vault.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ResourceGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmContainerInternal)__iaaSvmContainer).ResourceGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmContainerInternal)__iaaSvmContainer).ResourceGroup = value ?? null; }
+
+ ///
+ /// Fully qualified ARM url of the virtual machine represented by this Azure IaaS VM container.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string VirtualMachineId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmContainerInternal)__iaaSvmContainer).VirtualMachineId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmContainerInternal)__iaaSvmContainer).VirtualMachineId = value ?? null; }
+
+ ///
+ /// Specifies whether the container represents a Classic or an Azure Resource Manager VM.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string VirtualMachineVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmContainerInternal)__iaaSvmContainer).VirtualMachineVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmContainerInternal)__iaaSvmContainer).VirtualMachineVersion = value ?? null; }
+
+ /// Creates an new instance.
+ public AzureIaaSComputeVmcontainer()
+ {
+
+ }
+
+ /// 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.RecoveryServicesBackup.Runtime.IEventListener eventListener)
+ {
+ await eventListener.AssertNotNull(nameof(__iaaSvmContainer), __iaaSvmContainer);
+ await eventListener.AssertObjectIsValid(nameof(__iaaSvmContainer), __iaaSvmContainer);
+ }
+ }
+ /// IaaS VM workload-specific backup item representing an Azure Resource Manager virtual machine.
+ public partial interface IAzureIaaSComputeVmcontainer :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmContainer
+ {
+
+ }
+ /// IaaS VM workload-specific backup item representing an Azure Resource Manager virtual machine.
+ internal partial interface IAzureIaaSComputeVmcontainerInternal :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmContainerInternal
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSComputeVmcontainer.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSComputeVmcontainer.json.cs
new file mode 100644
index 000000000000..252f93882960
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSComputeVmcontainer.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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ ///
+ /// IaaS VM workload-specific backup item representing an Azure Resource Manager virtual machine.
+ ///
+ public partial class AzureIaaSComputeVmcontainer
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureIaaSComputeVmcontainer(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ __iaaSvmContainer = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IaaSvmContainer(json);
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSComputeVmcontainer.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSComputeVmcontainer.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSComputeVmcontainer FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureIaaSComputeVmcontainer(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ __iaaSvmContainer?.ToJson(container, serializationMode);
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSComputeVmprotectableItem.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSComputeVmprotectableItem.cs
new file mode 100644
index 000000000000..bfc59c14786e
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSComputeVmprotectableItem.cs
@@ -0,0 +1,89 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ ///
+ /// IaaS VM workload-specific backup item representing the Azure Resource Manager VM.
+ ///
+ public partial class AzureIaaSComputeVmprotectableItem :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSComputeVmprotectableItem,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSComputeVmprotectableItemInternal,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IValidates
+ {
+ ///
+ /// Backing field for Inherited model
+ ///
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmProtectableItem __iaaSvmProtectableItem = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IaaSvmProtectableItem();
+
+ /// Type of backup management to backup an item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string BackupManagementType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadProtectableItemInternal)__iaaSvmProtectableItem).BackupManagementType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadProtectableItemInternal)__iaaSvmProtectableItem).BackupManagementType = value ?? null; }
+
+ /// Friendly name of the backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string FriendlyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadProtectableItemInternal)__iaaSvmProtectableItem).FriendlyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadProtectableItemInternal)__iaaSvmProtectableItem).FriendlyName = value ?? null; }
+
+ /// Type of the backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ProtectableItemType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadProtectableItemInternal)__iaaSvmProtectableItem).ProtectableItemType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadProtectableItemInternal)__iaaSvmProtectableItem).ProtectableItemType = value ; }
+
+ /// State of the back up item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectionStatus? ProtectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadProtectableItemInternal)__iaaSvmProtectableItem).ProtectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadProtectableItemInternal)__iaaSvmProtectableItem).ProtectionState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectionStatus)""); }
+
+ /// Resource group name of Recovery Services Vault.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ResourceGroup { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmProtectableItemInternal)__iaaSvmProtectableItem).ResourceGroup; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmProtectableItemInternal)__iaaSvmProtectableItem).ResourceGroup = value ?? null; }
+
+ /// Fully qualified ARM ID of the virtual machine.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string VirtualMachineId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmProtectableItemInternal)__iaaSvmProtectableItem).VirtualMachineId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmProtectableItemInternal)__iaaSvmProtectableItem).VirtualMachineId = value ?? null; }
+
+ ///
+ /// Specifies whether the container represents a Classic or an Azure Resource Manager VM.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string VirtualMachineVersion { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmProtectableItemInternal)__iaaSvmProtectableItem).VirtualMachineVersion; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmProtectableItemInternal)__iaaSvmProtectableItem).VirtualMachineVersion = value ?? null; }
+
+ /// Type of workload for the backup management
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string WorkloadType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadProtectableItemInternal)__iaaSvmProtectableItem).WorkloadType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadProtectableItemInternal)__iaaSvmProtectableItem).WorkloadType = value ?? null; }
+
+ /// Creates an new instance.
+ public AzureIaaSComputeVmprotectableItem()
+ {
+
+ }
+
+ /// 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.RecoveryServicesBackup.Runtime.IEventListener eventListener)
+ {
+ await eventListener.AssertNotNull(nameof(__iaaSvmProtectableItem), __iaaSvmProtectableItem);
+ await eventListener.AssertObjectIsValid(nameof(__iaaSvmProtectableItem), __iaaSvmProtectableItem);
+ }
+ }
+ /// IaaS VM workload-specific backup item representing the Azure Resource Manager VM.
+ public partial interface IAzureIaaSComputeVmprotectableItem :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmProtectableItem
+ {
+
+ }
+ /// IaaS VM workload-specific backup item representing the Azure Resource Manager VM.
+ internal partial interface IAzureIaaSComputeVmprotectableItemInternal :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IIaaSvmProtectableItemInternal
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSComputeVmprotectableItem.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSComputeVmprotectableItem.json.cs
new file mode 100644
index 000000000000..6bdd8ccaa774
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSComputeVmprotectableItem.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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ ///
+ /// IaaS VM workload-specific backup item representing the Azure Resource Manager VM.
+ ///
+ public partial class AzureIaaSComputeVmprotectableItem
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureIaaSComputeVmprotectableItem(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ __iaaSvmProtectableItem = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IaaSvmProtectableItem(json);
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSComputeVmprotectableItem.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSComputeVmprotectableItem.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSComputeVmprotectableItem FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureIaaSComputeVmprotectableItem(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ __iaaSvmProtectableItem?.ToJson(container, serializationMode);
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSComputeVmprotectedItem.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSComputeVmprotectedItem.cs
new file mode 100644
index 000000000000..0b01c4f4844f
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSComputeVmprotectedItem.cs
@@ -0,0 +1,245 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ ///
+ /// IaaS VM workload-specific backup item representing the Azure Resource Manager VM.
+ ///
+ public partial class AzureIaaSComputeVmprotectedItem :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSComputeVmprotectedItem,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSComputeVmprotectedItemInternal,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IValidates
+ {
+ ///
+ /// Backing field for Inherited model
+ ///
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItem __azureIaaSvmProtectedItem = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureIaaSvmProtectedItem();
+
+ /// Type of backup management for the backed up item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType? BackupManagementType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).BackupManagementType; }
+
+ /// Name of the backup set the backup item belongs to
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string BackupSetName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).BackupSetName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).BackupSetName = value ?? null; }
+
+ /// Unique name of container
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ContainerName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).ContainerName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).ContainerName = value ?? null; }
+
+ ///
+ /// Create mode to indicate recovery of existing soft deleted data source or creation of new data source.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.CreateMode? CreateMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).CreateMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).CreateMode = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.CreateMode)""); }
+
+ /// Time for deferred deletion in UTC
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public global::System.DateTime? DeferredDeleteTimeInUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).DeferredDeleteTimeInUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).DeferredDeleteTimeInUtc = value ?? default(global::System.DateTime); }
+
+ /// Time remaining before the DS marked for deferred delete is permanently deleted
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string DeferredDeleteTimeRemaining { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).DeferredDeleteTimeRemaining; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).DeferredDeleteTimeRemaining = value ?? null; }
+
+ /// List of Disks' Logical Unit Numbers (LUN) to be used for VM Protection.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public int[] DiskExclusionPropertyDiskLunList { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).DiskExclusionPropertyDiskLunList; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).DiskExclusionPropertyDiskLunList = value ?? null /* arrayOf */; }
+
+ /// Flag to indicate whether DiskLunList is to be included/ excluded from backup.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public bool? DiskExclusionPropertyIsInclusionList { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).DiskExclusionPropertyIsInclusionList; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).DiskExclusionPropertyIsInclusionList = value ?? default(bool); }
+
+ /// Additional information for this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemExtendedInfo ExtendedInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedInfo = value ?? null /* model class */; }
+
+ /// The latest backup copy available for this backup item in archive tier
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public global::System.DateTime? ExtendedInfoNewestRecoveryPointInArchive { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedInfoNewestRecoveryPointInArchive; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedInfoNewestRecoveryPointInArchive = value ?? default(global::System.DateTime); }
+
+ /// The oldest backup copy available for this backup item across all tiers.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public global::System.DateTime? ExtendedInfoOldestRecoveryPoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedInfoOldestRecoveryPoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedInfoOldestRecoveryPoint = value ?? default(global::System.DateTime); }
+
+ /// The oldest backup copy available for this backup item in archive tier
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public global::System.DateTime? ExtendedInfoOldestRecoveryPointInArchive { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedInfoOldestRecoveryPointInArchive; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedInfoOldestRecoveryPointInArchive = value ?? default(global::System.DateTime); }
+
+ /// The oldest backup copy available for this backup item in vault tier
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public global::System.DateTime? ExtendedInfoOldestRecoveryPointInVault { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedInfoOldestRecoveryPointInVault; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedInfoOldestRecoveryPointInVault = value ?? default(global::System.DateTime); }
+
+ /// Specifies if backup policy associated with the backup item is inconsistent.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public bool? ExtendedInfoPolicyInconsistent { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedInfoPolicyInconsistent; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedInfoPolicyInconsistent = value ?? default(bool); }
+
+ /// Number of backup copies available for this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public int? ExtendedInfoRecoveryPointCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedInfoRecoveryPointCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedInfoRecoveryPointCount = value ?? default(int); }
+
+ /// Extended Properties for Azure IaasVM Backup.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IExtendedProperties ExtendedProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedProperty = value ?? null /* model class */; }
+
+ /// Extended Properties for Disk Exclusion.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IDiskExclusionProperties ExtendedPropertyDiskExclusionProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedPropertyDiskExclusionProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedPropertyDiskExclusionProperty = value ?? null /* model class */; }
+
+ /// Linux VM name
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ExtendedPropertyLinuxVMApplicationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedPropertyLinuxVMApplicationName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ExtendedPropertyLinuxVMApplicationName = value ?? null; }
+
+ /// Friendly name of the VM represented by this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string FriendlyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).FriendlyName; }
+
+ /// Health details on this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IResourceHealthDetails[] HealthDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).HealthDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).HealthDetail = value ?? null /* arrayOf */; }
+
+ /// Health status of protected item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.HealthStatus? HealthStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).HealthStatus; }
+
+ /// Flag to identify whether datasource is protected in archive
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public bool? IsArchiveEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).IsArchiveEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).IsArchiveEnabled = value ?? default(bool); }
+
+ /// Flag to identify whether the deferred deleted DS is to be purged soon
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public bool? IsDeferredDeleteScheduleUpcoming { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).IsDeferredDeleteScheduleUpcoming; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).IsDeferredDeleteScheduleUpcoming = value ?? default(bool); }
+
+ /// Flag to identify that deferred deleted DS is to be moved into Pause state
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public bool? IsRehydrate { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).IsRehydrate; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).IsRehydrate = value ?? default(bool); }
+
+ /// Flag to identify whether the DS is scheduled for deferred delete
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public bool? IsScheduledForDeferredDelete { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).IsScheduledForDeferredDelete; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).IsScheduledForDeferredDelete = value ?? default(bool); }
+
+ /// Health details of different KPIs
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemKpisHealths KpisHealth { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).KpisHealth; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).KpisHealth = value ?? null /* model class */; }
+
+ /// Last backup operation status.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string LastBackupStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).LastBackupStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).LastBackupStatus = value ?? null; }
+
+ /// Timestamp of the last backup operation on this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public global::System.DateTime? LastBackupTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).LastBackupTime; }
+
+ /// Timestamp when the last (latest) backup copy was created for this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public global::System.DateTime? LastRecoveryPoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).LastRecoveryPoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).LastRecoveryPoint = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for FriendlyName
+ string Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal.FriendlyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).FriendlyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).FriendlyName = value; }
+
+ /// Internal Acessors for HealthStatus
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.HealthStatus? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal.HealthStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).HealthStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).HealthStatus = value; }
+
+ /// Internal Acessors for LastBackupTime
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal.LastBackupTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).LastBackupTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).LastBackupTime = value; }
+
+ /// Internal Acessors for ProtectedItemDataId
+ string Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal.ProtectedItemDataId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ProtectedItemDataId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ProtectedItemDataId = value; }
+
+ /// Internal Acessors for VirtualMachineId
+ string Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal.VirtualMachineId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).VirtualMachineId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).VirtualMachineId = value; }
+
+ /// Internal Acessors for BackupManagementType
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal.BackupManagementType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).BackupManagementType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).BackupManagementType = value; }
+
+ /// Internal Acessors for VaultId
+ string Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal.VaultId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).VaultId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).VaultId = value; }
+
+ /// Internal Acessors for WorkloadType
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.DataSourceType? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal.WorkloadType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).WorkloadType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).WorkloadType = value; }
+
+ /// ID of the backup policy with which this item is backed up.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string PolicyId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).PolicyId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).PolicyId = value ?? null; }
+
+ /// Name of the policy used for protection
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string PolicyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).PolicyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).PolicyName = value ?? null; }
+
+ /// Data ID of the protected item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ProtectedItemDataId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ProtectedItemDataId; }
+
+ /// Backup state of this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectionState? ProtectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ProtectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ProtectionState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectionState)""); }
+
+ /// Backup status of this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ProtectionStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ProtectionStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).ProtectionStatus = value ?? null; }
+
+ /// ResourceGuardOperationRequests on which LAC check will be performed
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string[] ResourceGuardOperationRequest { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).ResourceGuardOperationRequest; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).ResourceGuardOperationRequest = value ?? null /* arrayOf */; }
+
+ /// Soft delete retention period in days
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public int? SoftDeleteRetentionPeriodInDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).SoftDeleteRetentionPeriodInDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).SoftDeleteRetentionPeriodInDay = value ?? default(int); }
+
+ /// ARM ID of the resource to be backed up.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string SourceResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).SourceResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).SourceResourceId = value ?? null; }
+
+ /// backup item type.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).Type = value ; }
+
+ /// ID of the vault which protects this item
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string VaultId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).VaultId; }
+
+ /// Fully qualified ARM ID of the virtual machine represented by this item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string VirtualMachineId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal)__azureIaaSvmProtectedItem).VirtualMachineId; }
+
+ /// Type of workload this item represents.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.DataSourceType? WorkloadType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__azureIaaSvmProtectedItem).WorkloadType; }
+
+ /// Creates an new instance.
+ public AzureIaaSComputeVmprotectedItem()
+ {
+
+ }
+
+ /// 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.RecoveryServicesBackup.Runtime.IEventListener eventListener)
+ {
+ await eventListener.AssertNotNull(nameof(__azureIaaSvmProtectedItem), __azureIaaSvmProtectedItem);
+ await eventListener.AssertObjectIsValid(nameof(__azureIaaSvmProtectedItem), __azureIaaSvmProtectedItem);
+ }
+ }
+ /// IaaS VM workload-specific backup item representing the Azure Resource Manager VM.
+ public partial interface IAzureIaaSComputeVmprotectedItem :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItem
+ {
+
+ }
+ /// IaaS VM workload-specific backup item representing the Azure Resource Manager VM.
+ internal partial interface IAzureIaaSComputeVmprotectedItemInternal :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSComputeVmprotectedItem.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSComputeVmprotectedItem.json.cs
new file mode 100644
index 000000000000..908e5aa4e048
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSComputeVmprotectedItem.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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ ///
+ /// IaaS VM workload-specific backup item representing the Azure Resource Manager VM.
+ ///
+ public partial class AzureIaaSComputeVmprotectedItem
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureIaaSComputeVmprotectedItem(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ __azureIaaSvmProtectedItem = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureIaaSvmProtectedItem(json);
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSComputeVmprotectedItem.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSComputeVmprotectedItem.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSComputeVmprotectedItem FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureIaaSComputeVmprotectedItem(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ __azureIaaSvmProtectedItem?.ToJson(container, serializationMode);
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmErrorInfo.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmErrorInfo.cs
new file mode 100644
index 000000000000..f806a7c66a3a
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmErrorInfo.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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure IaaS VM workload-specific error information.
+ public partial class AzureIaaSvmErrorInfo :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmErrorInfo,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmErrorInfoInternal
+ {
+
+ /// Backing field for property.
+ private int? _errorCode;
+
+ /// Error code.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public int? ErrorCode { get => this._errorCode; }
+
+ /// Backing field for property.
+ private string _errorString;
+
+ /// Localized error string.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string ErrorString { get => this._errorString; }
+
+ /// Backing field for property.
+ private string _errorTitle;
+
+ /// Title: Typically, the entity that the error pertains to.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string ErrorTitle { get => this._errorTitle; }
+
+ /// Internal Acessors for ErrorCode
+ int? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmErrorInfoInternal.ErrorCode { get => this._errorCode; set { {_errorCode = value;} } }
+
+ /// Internal Acessors for ErrorString
+ string Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmErrorInfoInternal.ErrorString { get => this._errorString; set { {_errorString = value;} } }
+
+ /// Internal Acessors for ErrorTitle
+ string Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmErrorInfoInternal.ErrorTitle { get => this._errorTitle; set { {_errorTitle = value;} } }
+
+ /// Internal Acessors for Recommendation
+ string[] Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmErrorInfoInternal.Recommendation { get => this._recommendation; set { {_recommendation = value;} } }
+
+ /// Backing field for property.
+ private string[] _recommendation;
+
+ /// List of localized recommendations for above error code.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string[] Recommendation { get => this._recommendation; }
+
+ /// Creates an new instance.
+ public AzureIaaSvmErrorInfo()
+ {
+
+ }
+ }
+ /// Azure IaaS VM workload-specific error information.
+ public partial interface IAzureIaaSvmErrorInfo :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable
+ {
+ /// Error code.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"Error code.",
+ SerializedName = @"errorCode",
+ PossibleTypes = new [] { typeof(int) })]
+ int? ErrorCode { get; }
+ /// Localized error string.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"Localized error string.",
+ SerializedName = @"errorString",
+ PossibleTypes = new [] { typeof(string) })]
+ string ErrorString { get; }
+ /// Title: Typically, the entity that the error pertains to.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"Title: Typically, the entity that the error pertains to.",
+ SerializedName = @"errorTitle",
+ PossibleTypes = new [] { typeof(string) })]
+ string ErrorTitle { get; }
+ /// List of localized recommendations for above error code.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"List of localized recommendations for above error code.",
+ SerializedName = @"recommendations",
+ PossibleTypes = new [] { typeof(string) })]
+ string[] Recommendation { get; }
+
+ }
+ /// Azure IaaS VM workload-specific error information.
+ internal partial interface IAzureIaaSvmErrorInfoInternal
+
+ {
+ /// Error code.
+ int? ErrorCode { get; set; }
+ /// Localized error string.
+ string ErrorString { get; set; }
+ /// Title: Typically, the entity that the error pertains to.
+ string ErrorTitle { get; set; }
+ /// List of localized recommendations for above error code.
+ string[] Recommendation { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmErrorInfo.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmErrorInfo.json.cs
new file mode 100644
index 000000000000..f9382fa47d62
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmErrorInfo.json.cs
@@ -0,0 +1,134 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure IaaS VM workload-specific error information.
+ public partial class AzureIaaSvmErrorInfo
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureIaaSvmErrorInfo(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ {_errorCode = If( json?.PropertyT("errorCode"), out var __jsonErrorCode) ? (int?)__jsonErrorCode : ErrorCode;}
+ {_errorTitle = If( json?.PropertyT("errorTitle"), out var __jsonErrorTitle) ? (string)__jsonErrorTitle : (string)ErrorTitle;}
+ {_errorString = If( json?.PropertyT("errorString"), out var __jsonErrorString) ? (string)__jsonErrorString : (string)ErrorString;}
+ {_recommendation = If( json?.PropertyT("recommendations"), out var __jsonRecommendations) ? If( __jsonRecommendations as Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(string) (__u is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString __t ? (string)(__t.ToString()) : null)) ))() : null : Recommendation;}
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmErrorInfo.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmErrorInfo.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmErrorInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureIaaSvmErrorInfo(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode.IncludeReadOnly))
+ {
+ AddIf( null != this._errorCode ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNumber((int)this._errorCode) : null, "errorCode" ,container.Add );
+ }
+ if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode.IncludeReadOnly))
+ {
+ AddIf( null != (((object)this._errorTitle)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._errorTitle.ToString()) : null, "errorTitle" ,container.Add );
+ }
+ if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode.IncludeReadOnly))
+ {
+ AddIf( null != (((object)this._errorString)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._errorString.ToString()) : null, "errorString" ,container.Add );
+ }
+ if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode.IncludeReadOnly))
+ {
+ if (null != this._recommendation)
+ {
+ var __w = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.XNodeArray();
+ foreach( var __x in this._recommendation )
+ {
+ AddIf(null != (((object)__x)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(__x.ToString()) : null ,__w.Add);
+ }
+ container.Add("recommendations",__w);
+ }
+ }
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmHealthDetails.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmHealthDetails.cs
new file mode 100644
index 000000000000..c91e6961e906
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmHealthDetails.cs
@@ -0,0 +1,81 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure IaaS VM workload-specific Health Details.
+ public partial class AzureIaaSvmHealthDetails :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmHealthDetails,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmHealthDetailsInternal,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IValidates
+ {
+ ///
+ /// Backing field for Inherited model
+ ///
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IResourceHealthDetails __resourceHealthDetails = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ResourceHealthDetails();
+
+ /// Health Code
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public int? Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IResourceHealthDetailsInternal)__resourceHealthDetails).Code; }
+
+ /// Health Message
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IResourceHealthDetailsInternal)__resourceHealthDetails).Message; }
+
+ /// Internal Acessors for Code
+ int? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IResourceHealthDetailsInternal.Code { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IResourceHealthDetailsInternal)__resourceHealthDetails).Code; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IResourceHealthDetailsInternal)__resourceHealthDetails).Code = value; }
+
+ /// Internal Acessors for Message
+ string Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IResourceHealthDetailsInternal.Message { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IResourceHealthDetailsInternal)__resourceHealthDetails).Message; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IResourceHealthDetailsInternal)__resourceHealthDetails).Message = value; }
+
+ /// Internal Acessors for Recommendation
+ string[] Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IResourceHealthDetailsInternal.Recommendation { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IResourceHealthDetailsInternal)__resourceHealthDetails).Recommendation; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IResourceHealthDetailsInternal)__resourceHealthDetails).Recommendation = value; }
+
+ /// Internal Acessors for Title
+ string Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IResourceHealthDetailsInternal.Title { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IResourceHealthDetailsInternal)__resourceHealthDetails).Title; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IResourceHealthDetailsInternal)__resourceHealthDetails).Title = value; }
+
+ /// Health Recommended Actions
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string[] Recommendation { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IResourceHealthDetailsInternal)__resourceHealthDetails).Recommendation; }
+
+ /// Health Title
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string Title { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IResourceHealthDetailsInternal)__resourceHealthDetails).Title; }
+
+ /// Creates an new instance.
+ public AzureIaaSvmHealthDetails()
+ {
+
+ }
+
+ /// 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.RecoveryServicesBackup.Runtime.IEventListener eventListener)
+ {
+ await eventListener.AssertNotNull(nameof(__resourceHealthDetails), __resourceHealthDetails);
+ await eventListener.AssertObjectIsValid(nameof(__resourceHealthDetails), __resourceHealthDetails);
+ }
+ }
+ /// Azure IaaS VM workload-specific Health Details.
+ public partial interface IAzureIaaSvmHealthDetails :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IResourceHealthDetails
+ {
+
+ }
+ /// Azure IaaS VM workload-specific Health Details.
+ internal partial interface IAzureIaaSvmHealthDetailsInternal :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IResourceHealthDetailsInternal
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmHealthDetails.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmHealthDetails.json.cs
new file mode 100644
index 000000000000..5e08f4e61db1
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmHealthDetails.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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure IaaS VM workload-specific Health Details.
+ public partial class AzureIaaSvmHealthDetails
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureIaaSvmHealthDetails(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ __resourceHealthDetails = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ResourceHealthDetails(json);
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmHealthDetails.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmHealthDetails.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmHealthDetails FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureIaaSvmHealthDetails(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ __resourceHealthDetails?.ToJson(container, serializationMode);
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJob.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJob.cs
new file mode 100644
index 000000000000..2e97bf994047
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJob.cs
@@ -0,0 +1,285 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure IaaS VM workload-specific job object.
+ public partial class AzureIaaSvmJob :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJob,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobInternal,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IValidates
+ {
+ ///
+ /// Backing field for Inherited model
+ ///
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJob __job = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.Job();
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.JobSupportedAction[] _actionsInfo;
+
+ /// Gets or sets the state/actions applicable on this job like cancel/retry.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.JobSupportedAction[] ActionsInfo { get => this._actionsInfo; set => this._actionsInfo = value; }
+
+ /// ActivityId of job.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ActivityId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).ActivityId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).ActivityId = value ?? null; }
+
+ /// Backup management type to execute the current job.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType? BackupManagementType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).BackupManagementType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).BackupManagementType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType)""); }
+
+ /// Backing field for property.
+ private string _containerName;
+
+ /// Container name of the entity on which the current job is executing.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string ContainerName { get => this._containerName; set => this._containerName = value; }
+
+ /// Backing field for property.
+ private global::System.TimeSpan? _duration;
+
+ /// Time elapsed during the execution of this job.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public global::System.TimeSpan? Duration { get => this._duration; set => this._duration = value; }
+
+ /// The end time.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public global::System.DateTime? EndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).EndTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).EndTime = value ?? default(global::System.DateTime); }
+
+ /// Friendly name of the entity on which the current job is executing.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string EntityFriendlyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).EntityFriendlyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).EntityFriendlyName = value ?? null; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmErrorInfo[] _errorDetail;
+
+ /// Error details on execution of this job.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmErrorInfo[] ErrorDetail { get => this._errorDetail; set => this._errorDetail = value; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfo _extendedInfo;
+
+ /// Additional information for this job.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ internal Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfo ExtendedInfo { get => (this._extendedInfo = this._extendedInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureIaaSvmJobExtendedInfo()); set => this._extendedInfo = value; }
+
+ /// Non localized error message on job execution.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public string ExtendedInfoDynamicErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternal)ExtendedInfo).DynamicErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternal)ExtendedInfo).DynamicErrorMessage = value ?? null; }
+
+ /// Time remaining for execution of this job.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public string ExtendedInfoEstimatedRemainingDuration { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternal)ExtendedInfo).EstimatedRemainingDuration; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternal)ExtendedInfo).EstimatedRemainingDuration = value ?? null; }
+
+ /// Job internal properties.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternalPropertyBag ExtendedInfoInternalPropertyBag { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternal)ExtendedInfo).InternalPropertyBag; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternal)ExtendedInfo).InternalPropertyBag = value ?? null /* model class */; }
+
+ /// Indicates progress of the job. Null if it has not started or completed.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public double? ExtendedInfoProgressPercentage { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternal)ExtendedInfo).ProgressPercentage; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternal)ExtendedInfo).ProgressPercentage = value ?? default(double); }
+
+ /// Job properties.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoPropertyBag ExtendedInfoPropertyBag { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternal)ExtendedInfo).PropertyBag; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternal)ExtendedInfo).PropertyBag = value ?? null /* model class */; }
+
+ /// List of tasks associated with this job.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobTaskDetails[] ExtendedInfoTasksList { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternal)ExtendedInfo).TasksList; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternal)ExtendedInfo).TasksList = value ?? null /* arrayOf */; }
+
+ /// Backing field for property.
+ private bool? _isUserTriggered;
+
+ /// Indicated that whether the job is adhoc(true) or scheduled(false)
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public bool? IsUserTriggered { get => this._isUserTriggered; set => this._isUserTriggered = value; }
+
+ /// Internal Acessors for ExtendedInfo
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfo Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobInternal.ExtendedInfo { get => (this._extendedInfo = this._extendedInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureIaaSvmJobExtendedInfo()); set { {_extendedInfo = value;} } }
+
+ /// The operation name.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string Operation { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).Operation = value ?? null; }
+
+ /// The start time.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public global::System.DateTime? StartTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).StartTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).StartTime = value ?? default(global::System.DateTime); }
+
+ /// Job status.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).Status = value ?? null; }
+
+ ///
+ /// This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).Type = value ; }
+
+ /// Backing field for property.
+ private string _virtualMachineVersion;
+
+ /// Specifies whether the backup item is a Classic or an Azure Resource Manager VM.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string VirtualMachineVersion { get => this._virtualMachineVersion; set => this._virtualMachineVersion = value; }
+
+ /// Creates an new instance.
+ public AzureIaaSvmJob()
+ {
+
+ }
+
+ /// 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.RecoveryServicesBackup.Runtime.IEventListener eventListener)
+ {
+ await eventListener.AssertNotNull(nameof(__job), __job);
+ await eventListener.AssertObjectIsValid(nameof(__job), __job);
+ }
+ }
+ /// Azure IaaS VM workload-specific job object.
+ public partial interface IAzureIaaSvmJob :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJob
+ {
+ /// Gets or sets the state/actions applicable on this job like cancel/retry.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Gets or sets the state/actions applicable on this job like cancel/retry.",
+ SerializedName = @"actionsInfo",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.JobSupportedAction) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.JobSupportedAction[] ActionsInfo { get; set; }
+ /// Container name of the entity on which the current job is executing.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Container name of the entity on which the current job is executing.",
+ SerializedName = @"containerName",
+ PossibleTypes = new [] { typeof(string) })]
+ string ContainerName { get; set; }
+ /// Time elapsed during the execution of this job.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Time elapsed during the execution of this job.",
+ SerializedName = @"duration",
+ PossibleTypes = new [] { typeof(global::System.TimeSpan) })]
+ global::System.TimeSpan? Duration { get; set; }
+ /// Error details on execution of this job.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Error details on execution of this job.",
+ SerializedName = @"errorDetails",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmErrorInfo) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmErrorInfo[] ErrorDetail { get; set; }
+ /// Non localized error message on job execution.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Non localized error message on job execution.",
+ SerializedName = @"dynamicErrorMessage",
+ PossibleTypes = new [] { typeof(string) })]
+ string ExtendedInfoDynamicErrorMessage { get; set; }
+ /// Time remaining for execution of this job.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Time remaining for execution of this job.",
+ SerializedName = @"estimatedRemainingDuration",
+ PossibleTypes = new [] { typeof(string) })]
+ string ExtendedInfoEstimatedRemainingDuration { get; set; }
+ /// Job internal properties.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Job internal properties.",
+ SerializedName = @"internalPropertyBag",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternalPropertyBag) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternalPropertyBag ExtendedInfoInternalPropertyBag { get; set; }
+ /// Indicates progress of the job. Null if it has not started or completed.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Indicates progress of the job. Null if it has not started or completed.",
+ SerializedName = @"progressPercentage",
+ PossibleTypes = new [] { typeof(double) })]
+ double? ExtendedInfoProgressPercentage { get; set; }
+ /// Job properties.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Job properties.",
+ SerializedName = @"propertyBag",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoPropertyBag) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoPropertyBag ExtendedInfoPropertyBag { get; set; }
+ /// List of tasks associated with this job.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"List of tasks associated with this job.",
+ SerializedName = @"tasksList",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobTaskDetails) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobTaskDetails[] ExtendedInfoTasksList { get; set; }
+ /// Indicated that whether the job is adhoc(true) or scheduled(false)
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Indicated that whether the job is adhoc(true) or scheduled(false)",
+ SerializedName = @"isUserTriggered",
+ PossibleTypes = new [] { typeof(bool) })]
+ bool? IsUserTriggered { get; set; }
+ /// Specifies whether the backup item is a Classic or an Azure Resource Manager VM.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Specifies whether the backup item is a Classic or an Azure Resource Manager VM.",
+ SerializedName = @"virtualMachineVersion",
+ PossibleTypes = new [] { typeof(string) })]
+ string VirtualMachineVersion { get; set; }
+
+ }
+ /// Azure IaaS VM workload-specific job object.
+ internal partial interface IAzureIaaSvmJobInternal :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal
+ {
+ /// Gets or sets the state/actions applicable on this job like cancel/retry.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.JobSupportedAction[] ActionsInfo { get; set; }
+ /// Container name of the entity on which the current job is executing.
+ string ContainerName { get; set; }
+ /// Time elapsed during the execution of this job.
+ global::System.TimeSpan? Duration { get; set; }
+ /// Error details on execution of this job.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmErrorInfo[] ErrorDetail { get; set; }
+ /// Additional information for this job.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfo ExtendedInfo { get; set; }
+ /// Non localized error message on job execution.
+ string ExtendedInfoDynamicErrorMessage { get; set; }
+ /// Time remaining for execution of this job.
+ string ExtendedInfoEstimatedRemainingDuration { get; set; }
+ /// Job internal properties.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternalPropertyBag ExtendedInfoInternalPropertyBag { get; set; }
+ /// Indicates progress of the job. Null if it has not started or completed.
+ double? ExtendedInfoProgressPercentage { get; set; }
+ /// Job properties.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoPropertyBag ExtendedInfoPropertyBag { get; set; }
+ /// List of tasks associated with this job.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobTaskDetails[] ExtendedInfoTasksList { get; set; }
+ /// Indicated that whether the job is adhoc(true) or scheduled(false)
+ bool? IsUserTriggered { get; set; }
+ /// Specifies whether the backup item is a Classic or an Azure Resource Manager VM.
+ string VirtualMachineVersion { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJob.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJob.json.cs
new file mode 100644
index 000000000000..465cc45ea4df
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJob.json.cs
@@ -0,0 +1,138 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure IaaS VM workload-specific job object.
+ public partial class AzureIaaSvmJob
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureIaaSvmJob(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ __job = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.Job(json);
+ {_extendedInfo = If( json?.PropertyT("extendedInfo"), out var __jsonExtendedInfo) ? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureIaaSvmJobExtendedInfo.FromJson(__jsonExtendedInfo) : ExtendedInfo;}
+ {_duration = If( json?.PropertyT("duration"), out var __jsonDuration) ? global::System.Xml.XmlConvert.ToTimeSpan( __jsonDuration ) : Duration;}
+ {_actionsInfo = If( json?.PropertyT("actionsInfo"), out var __jsonActionsInfo) ? If( __jsonActionsInfo as Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.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.RecoveryServicesBackup.Support.JobSupportedAction) (__u is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString __t ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.JobSupportedAction)(__t.ToString()) : ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.JobSupportedAction)""))) ))() : null : ActionsInfo;}
+ {_errorDetail = If( json?.PropertyT("errorDetails"), out var __jsonErrorDetails) ? If( __jsonErrorDetails as Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonArray, out var __q) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__q, (__p)=>(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmErrorInfo) (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureIaaSvmErrorInfo.FromJson(__p) )) ))() : null : ErrorDetail;}
+ {_virtualMachineVersion = If( json?.PropertyT("virtualMachineVersion"), out var __jsonVirtualMachineVersion) ? (string)__jsonVirtualMachineVersion : (string)VirtualMachineVersion;}
+ {_containerName = If( json?.PropertyT("containerName"), out var __jsonContainerName) ? (string)__jsonContainerName : (string)ContainerName;}
+ {_isUserTriggered = If( json?.PropertyT("isUserTriggered"), out var __jsonIsUserTriggered) ? (bool?)__jsonIsUserTriggered : IsUserTriggered;}
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJob.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJob.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJob FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureIaaSvmJob(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ __job?.ToJson(container, serializationMode);
+ AddIf( null != this._extendedInfo ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) this._extendedInfo.ToJson(null,serializationMode) : null, "extendedInfo" ,container.Add );
+ AddIf( (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode)(null != this._duration ? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(global::System.Xml.XmlConvert.ToString((global::System.TimeSpan)this._duration)): null), "duration" ,container.Add );
+ if (null != this._actionsInfo)
+ {
+ var __w = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.XNodeArray();
+ foreach( var __x in this._actionsInfo )
+ {
+ AddIf(null != (((object)__x)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(__x.ToString()) : null ,__w.Add);
+ }
+ container.Add("actionsInfo",__w);
+ }
+ if (null != this._errorDetail)
+ {
+ var __r = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.XNodeArray();
+ foreach( var __s in this._errorDetail )
+ {
+ AddIf(__s?.ToJson(null, serializationMode) ,__r.Add);
+ }
+ container.Add("errorDetails",__r);
+ }
+ AddIf( null != (((object)this._virtualMachineVersion)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._virtualMachineVersion.ToString()) : null, "virtualMachineVersion" ,container.Add );
+ AddIf( null != (((object)this._containerName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._containerName.ToString()) : null, "containerName" ,container.Add );
+ AddIf( null != this._isUserTriggered ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonBoolean((bool)this._isUserTriggered) : null, "isUserTriggered" ,container.Add );
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobExtendedInfo.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobExtendedInfo.cs
new file mode 100644
index 000000000000..34c668912a4d
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobExtendedInfo.cs
@@ -0,0 +1,136 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure IaaS VM workload-specific additional information for job.
+ public partial class AzureIaaSvmJobExtendedInfo :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfo,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternal
+ {
+
+ /// Backing field for property.
+ private string _dynamicErrorMessage;
+
+ /// Non localized error message on job execution.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string DynamicErrorMessage { get => this._dynamicErrorMessage; set => this._dynamicErrorMessage = value; }
+
+ /// Backing field for property.
+ private string _estimatedRemainingDuration;
+
+ /// Time remaining for execution of this job.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string EstimatedRemainingDuration { get => this._estimatedRemainingDuration; set => this._estimatedRemainingDuration = value; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternalPropertyBag _internalPropertyBag;
+
+ /// Job internal properties.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternalPropertyBag InternalPropertyBag { get => (this._internalPropertyBag = this._internalPropertyBag ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureIaaSvmJobExtendedInfoInternalPropertyBag()); set => this._internalPropertyBag = value; }
+
+ /// Backing field for property.
+ private double? _progressPercentage;
+
+ /// Indicates progress of the job. Null if it has not started or completed.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public double? ProgressPercentage { get => this._progressPercentage; set => this._progressPercentage = value; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoPropertyBag _propertyBag;
+
+ /// Job properties.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoPropertyBag PropertyBag { get => (this._propertyBag = this._propertyBag ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureIaaSvmJobExtendedInfoPropertyBag()); set => this._propertyBag = value; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobTaskDetails[] _tasksList;
+
+ /// List of tasks associated with this job.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobTaskDetails[] TasksList { get => this._tasksList; set => this._tasksList = value; }
+
+ /// Creates an new instance.
+ public AzureIaaSvmJobExtendedInfo()
+ {
+
+ }
+ }
+ /// Azure IaaS VM workload-specific additional information for job.
+ public partial interface IAzureIaaSvmJobExtendedInfo :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable
+ {
+ /// Non localized error message on job execution.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Non localized error message on job execution.",
+ SerializedName = @"dynamicErrorMessage",
+ PossibleTypes = new [] { typeof(string) })]
+ string DynamicErrorMessage { get; set; }
+ /// Time remaining for execution of this job.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Time remaining for execution of this job.",
+ SerializedName = @"estimatedRemainingDuration",
+ PossibleTypes = new [] { typeof(string) })]
+ string EstimatedRemainingDuration { get; set; }
+ /// Job internal properties.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Job internal properties.",
+ SerializedName = @"internalPropertyBag",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternalPropertyBag) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternalPropertyBag InternalPropertyBag { get; set; }
+ /// Indicates progress of the job. Null if it has not started or completed.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Indicates progress of the job. Null if it has not started or completed.",
+ SerializedName = @"progressPercentage",
+ PossibleTypes = new [] { typeof(double) })]
+ double? ProgressPercentage { get; set; }
+ /// Job properties.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Job properties.",
+ SerializedName = @"propertyBag",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoPropertyBag) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoPropertyBag PropertyBag { get; set; }
+ /// List of tasks associated with this job.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"List of tasks associated with this job.",
+ SerializedName = @"tasksList",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobTaskDetails) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobTaskDetails[] TasksList { get; set; }
+
+ }
+ /// Azure IaaS VM workload-specific additional information for job.
+ internal partial interface IAzureIaaSvmJobExtendedInfoInternal
+
+ {
+ /// Non localized error message on job execution.
+ string DynamicErrorMessage { get; set; }
+ /// Time remaining for execution of this job.
+ string EstimatedRemainingDuration { get; set; }
+ /// Job internal properties.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternalPropertyBag InternalPropertyBag { get; set; }
+ /// Indicates progress of the job. Null if it has not started or completed.
+ double? ProgressPercentage { get; set; }
+ /// Job properties.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoPropertyBag PropertyBag { get; set; }
+ /// List of tasks associated with this job.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobTaskDetails[] TasksList { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobExtendedInfo.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobExtendedInfo.json.cs
new file mode 100644
index 000000000000..90f562b518b9
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobExtendedInfo.json.cs
@@ -0,0 +1,126 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure IaaS VM workload-specific additional information for job.
+ public partial class AzureIaaSvmJobExtendedInfo
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureIaaSvmJobExtendedInfo(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ {_tasksList = If( json?.PropertyT("tasksList"), out var __jsonTasksList) ? If( __jsonTasksList as Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.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.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobTaskDetails) (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureIaaSvmJobTaskDetails.FromJson(__u) )) ))() : null : TasksList;}
+ {_propertyBag = If( json?.PropertyT("propertyBag"), out var __jsonPropertyBag) ? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureIaaSvmJobExtendedInfoPropertyBag.FromJson(__jsonPropertyBag) : PropertyBag;}
+ {_internalPropertyBag = If( json?.PropertyT("internalPropertyBag"), out var __jsonInternalPropertyBag) ? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureIaaSvmJobExtendedInfoInternalPropertyBag.FromJson(__jsonInternalPropertyBag) : InternalPropertyBag;}
+ {_progressPercentage = If( json?.PropertyT("progressPercentage"), out var __jsonProgressPercentage) ? (double?)__jsonProgressPercentage : ProgressPercentage;}
+ {_estimatedRemainingDuration = If( json?.PropertyT("estimatedRemainingDuration"), out var __jsonEstimatedRemainingDuration) ? (string)__jsonEstimatedRemainingDuration : (string)EstimatedRemainingDuration;}
+ {_dynamicErrorMessage = If( json?.PropertyT("dynamicErrorMessage"), out var __jsonDynamicErrorMessage) ? (string)__jsonDynamicErrorMessage : (string)DynamicErrorMessage;}
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfo.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfo.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureIaaSvmJobExtendedInfo(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ if (null != this._tasksList)
+ {
+ var __w = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.XNodeArray();
+ foreach( var __x in this._tasksList )
+ {
+ AddIf(__x?.ToJson(null, serializationMode) ,__w.Add);
+ }
+ container.Add("tasksList",__w);
+ }
+ AddIf( null != this._propertyBag ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) this._propertyBag.ToJson(null,serializationMode) : null, "propertyBag" ,container.Add );
+ AddIf( null != this._internalPropertyBag ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) this._internalPropertyBag.ToJson(null,serializationMode) : null, "internalPropertyBag" ,container.Add );
+ AddIf( null != this._progressPercentage ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNumber((double)this._progressPercentage) : null, "progressPercentage" ,container.Add );
+ AddIf( null != (((object)this._estimatedRemainingDuration)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._estimatedRemainingDuration.ToString()) : null, "estimatedRemainingDuration" ,container.Add );
+ AddIf( null != (((object)this._dynamicErrorMessage)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._dynamicErrorMessage.ToString()) : null, "dynamicErrorMessage" ,container.Add );
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobExtendedInfoInternalPropertyBag.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobExtendedInfoInternalPropertyBag.cs
new file mode 100644
index 000000000000..785692a790f7
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobExtendedInfoInternalPropertyBag.cs
@@ -0,0 +1,37 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Job internal properties.
+ public partial class AzureIaaSvmJobExtendedInfoInternalPropertyBag :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternalPropertyBag,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternalPropertyBagInternal
+ {
+
+ ///
+ /// Creates an new instance.
+ ///
+ public AzureIaaSvmJobExtendedInfoInternalPropertyBag()
+ {
+
+ }
+ }
+ /// Job internal properties.
+ public partial interface IAzureIaaSvmJobExtendedInfoInternalPropertyBag :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray
+ {
+
+ }
+ /// Job internal properties.
+ internal partial interface IAzureIaaSvmJobExtendedInfoInternalPropertyBagInternal
+
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobExtendedInfoInternalPropertyBag.dictionary.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobExtendedInfoInternalPropertyBag.dictionary.cs
new file mode 100644
index 000000000000..17c13d233e03
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobExtendedInfoInternalPropertyBag.dictionary.cs
@@ -0,0 +1,75 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ public partial class AzureIaaSvmJobExtendedInfoInternalPropertyBag :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray
+ {
+ protected global::System.Collections.Generic.Dictionary __additionalProperties = new global::System.Collections.Generic.Dictionary();
+
+ global::System.Collections.Generic.IDictionary Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray.AdditionalProperties { get => __additionalProperties; }
+
+ int Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray.Count { get => __additionalProperties.Count; }
+
+ global::System.Collections.Generic.IEnumerable Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray.Keys { get => __additionalProperties.Keys; }
+
+ global::System.Collections.Generic.IEnumerable Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray.Values { get => __additionalProperties.Values; }
+
+ public string this[global::System.String index] { get => __additionalProperties[index]; set => __additionalProperties[index] = value; }
+
+ ///
+ ///
+ public void Add(global::System.String key, string value) => __additionalProperties.Add( key, value);
+
+ public void Clear() => __additionalProperties.Clear();
+
+ ///
+ public bool ContainsKey(global::System.String key) => __additionalProperties.ContainsKey( key);
+
+ ///
+ public void CopyFrom(global::System.Collections.IDictionary source)
+ {
+ if (null != source)
+ {
+ foreach( var property in Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.PowerShell.TypeConverterExtensions.GetFilteredProperties(source, new global::System.Collections.Generic.HashSet() { } ) )
+ {
+ if ((null != property.Key && null != property.Value))
+ {
+ this.__additionalProperties.Add(property.Key.ToString(), global::System.Management.Automation.LanguagePrimitives.ConvertTo( property.Value));
+ }
+ }
+ }
+ }
+
+ ///
+ public void CopyFrom(global::System.Management.Automation.PSObject source)
+ {
+ if (null != source)
+ {
+ foreach( var property in Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.PowerShell.TypeConverterExtensions.GetFilteredProperties(source, new global::System.Collections.Generic.HashSet() { } ) )
+ {
+ if ((null != property.Key && null != property.Value))
+ {
+ this.__additionalProperties.Add(property.Key.ToString(), global::System.Management.Automation.LanguagePrimitives.ConvertTo( property.Value));
+ }
+ }
+ }
+ }
+
+ ///
+ public bool Remove(global::System.String key) => __additionalProperties.Remove( key);
+
+ ///
+ ///
+ public bool TryGetValue(global::System.String key, out string value) => __additionalProperties.TryGetValue( key, out value);
+
+ ///
+
+ public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureIaaSvmJobExtendedInfoInternalPropertyBag source) => source.__additionalProperties;
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobExtendedInfoInternalPropertyBag.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobExtendedInfoInternalPropertyBag.json.cs
new file mode 100644
index 000000000000..7fa084da1c58
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobExtendedInfoInternalPropertyBag.json.cs
@@ -0,0 +1,112 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Job internal properties.
+ public partial class AzureIaaSvmJobExtendedInfoInternalPropertyBag
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ ///
+ internal AzureIaaSvmJobExtendedInfoInternalPropertyBag(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json, global::System.Collections.Generic.HashSet exclusions = null)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.JsonSerializable.FromJson( json, ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray)this).AdditionalProperties, null ,exclusions );
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternalPropertyBag.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternalPropertyBag.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternalPropertyBag FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureIaaSvmJobExtendedInfoInternalPropertyBag(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.JsonSerializable.ToJson( ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray)this).AdditionalProperties, container);
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobExtendedInfoPropertyBag.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobExtendedInfoPropertyBag.cs
new file mode 100644
index 000000000000..1b0fe69970bb
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobExtendedInfoPropertyBag.cs
@@ -0,0 +1,35 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Job properties.
+ public partial class AzureIaaSvmJobExtendedInfoPropertyBag :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoPropertyBag,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoPropertyBagInternal
+ {
+
+ /// Creates an new instance.
+ public AzureIaaSvmJobExtendedInfoPropertyBag()
+ {
+
+ }
+ }
+ /// Job properties.
+ public partial interface IAzureIaaSvmJobExtendedInfoPropertyBag :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray
+ {
+
+ }
+ /// Job properties.
+ internal partial interface IAzureIaaSvmJobExtendedInfoPropertyBagInternal
+
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobExtendedInfoPropertyBag.dictionary.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobExtendedInfoPropertyBag.dictionary.cs
new file mode 100644
index 000000000000..bc7cd39fb30b
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobExtendedInfoPropertyBag.dictionary.cs
@@ -0,0 +1,75 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ public partial class AzureIaaSvmJobExtendedInfoPropertyBag :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray
+ {
+ protected global::System.Collections.Generic.Dictionary __additionalProperties = new global::System.Collections.Generic.Dictionary();
+
+ global::System.Collections.Generic.IDictionary Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray.AdditionalProperties { get => __additionalProperties; }
+
+ int Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray.Count { get => __additionalProperties.Count; }
+
+ global::System.Collections.Generic.IEnumerable Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray.Keys { get => __additionalProperties.Keys; }
+
+ global::System.Collections.Generic.IEnumerable Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray.Values { get => __additionalProperties.Values; }
+
+ public string this[global::System.String index] { get => __additionalProperties[index]; set => __additionalProperties[index] = value; }
+
+ ///
+ ///
+ public void Add(global::System.String key, string value) => __additionalProperties.Add( key, value);
+
+ public void Clear() => __additionalProperties.Clear();
+
+ ///
+ public bool ContainsKey(global::System.String key) => __additionalProperties.ContainsKey( key);
+
+ ///
+ public void CopyFrom(global::System.Collections.IDictionary source)
+ {
+ if (null != source)
+ {
+ foreach( var property in Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.PowerShell.TypeConverterExtensions.GetFilteredProperties(source, new global::System.Collections.Generic.HashSet() { } ) )
+ {
+ if ((null != property.Key && null != property.Value))
+ {
+ this.__additionalProperties.Add(property.Key.ToString(), global::System.Management.Automation.LanguagePrimitives.ConvertTo( property.Value));
+ }
+ }
+ }
+ }
+
+ ///
+ public void CopyFrom(global::System.Management.Automation.PSObject source)
+ {
+ if (null != source)
+ {
+ foreach( var property in Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.PowerShell.TypeConverterExtensions.GetFilteredProperties(source, new global::System.Collections.Generic.HashSet() { } ) )
+ {
+ if ((null != property.Key && null != property.Value))
+ {
+ this.__additionalProperties.Add(property.Key.ToString(), global::System.Management.Automation.LanguagePrimitives.ConvertTo( property.Value));
+ }
+ }
+ }
+ }
+
+ ///
+ public bool Remove(global::System.String key) => __additionalProperties.Remove( key);
+
+ ///
+ ///
+ public bool TryGetValue(global::System.String key, out string value) => __additionalProperties.TryGetValue( key, out value);
+
+ ///
+
+ public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureIaaSvmJobExtendedInfoPropertyBag source) => source.__additionalProperties;
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobExtendedInfoPropertyBag.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobExtendedInfoPropertyBag.json.cs
new file mode 100644
index 000000000000..7235d7872f81
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobExtendedInfoPropertyBag.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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Job properties.
+ public partial class AzureIaaSvmJobExtendedInfoPropertyBag
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ ///
+ internal AzureIaaSvmJobExtendedInfoPropertyBag(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json, global::System.Collections.Generic.HashSet exclusions = null)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.JsonSerializable.FromJson( json, ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray)this).AdditionalProperties, null ,exclusions );
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoPropertyBag.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoPropertyBag.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoPropertyBag FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureIaaSvmJobExtendedInfoPropertyBag(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.JsonSerializable.ToJson( ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray)this).AdditionalProperties, container);
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobTaskDetails.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobTaskDetails.cs
new file mode 100644
index 000000000000..03fa32f63d86
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobTaskDetails.cs
@@ -0,0 +1,180 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure IaaS VM workload-specific job task details.
+ public partial class AzureIaaSvmJobTaskDetails :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobTaskDetails,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobTaskDetailsInternal
+ {
+
+ /// Backing field for property.
+ private global::System.TimeSpan? _duration;
+
+ /// Time elapsed for task.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public global::System.TimeSpan? Duration { get => this._duration; set => this._duration = value; }
+
+ /// Backing field for property.
+ private global::System.DateTime? _endTime;
+
+ /// The end time.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public global::System.DateTime? EndTime { get => this._endTime; set => this._endTime = value; }
+
+ /// Backing field for property.
+ private string _instanceId;
+
+ /// The instanceId.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string InstanceId { get => this._instanceId; set => this._instanceId = value; }
+
+ /// Backing field for property.
+ private double? _progressPercentage;
+
+ /// Progress of the task.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public double? ProgressPercentage { get => this._progressPercentage; set => this._progressPercentage = value; }
+
+ /// Backing field for property.
+ private global::System.DateTime? _startTime;
+
+ /// The start time.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public global::System.DateTime? StartTime { get => this._startTime; set => this._startTime = value; }
+
+ /// Backing field for property.
+ private string _status;
+
+ /// The status.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string Status { get => this._status; set => this._status = value; }
+
+ /// Backing field for property.
+ private string _taskExecutionDetail;
+
+ ///
+ /// Details about execution of the task.
+ /// eg: number of bytes transferred etc
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string TaskExecutionDetail { get => this._taskExecutionDetail; set => this._taskExecutionDetail = value; }
+
+ /// Backing field for property.
+ private string _taskId;
+
+ /// The task display name.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string TaskId { get => this._taskId; set => this._taskId = value; }
+
+ /// Creates an new instance.
+ public AzureIaaSvmJobTaskDetails()
+ {
+
+ }
+ }
+ /// Azure IaaS VM workload-specific job task details.
+ public partial interface IAzureIaaSvmJobTaskDetails :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable
+ {
+ /// Time elapsed for task.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Time elapsed for task.",
+ SerializedName = @"duration",
+ PossibleTypes = new [] { typeof(global::System.TimeSpan) })]
+ global::System.TimeSpan? Duration { get; set; }
+ /// The end time.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The end time.",
+ SerializedName = @"endTime",
+ PossibleTypes = new [] { typeof(global::System.DateTime) })]
+ global::System.DateTime? EndTime { get; set; }
+ /// The instanceId.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The instanceId.",
+ SerializedName = @"instanceId",
+ PossibleTypes = new [] { typeof(string) })]
+ string InstanceId { get; set; }
+ /// Progress of the task.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Progress of the task.",
+ SerializedName = @"progressPercentage",
+ PossibleTypes = new [] { typeof(double) })]
+ double? ProgressPercentage { get; set; }
+ /// The start time.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The start time.",
+ SerializedName = @"startTime",
+ PossibleTypes = new [] { typeof(global::System.DateTime) })]
+ global::System.DateTime? StartTime { get; set; }
+ /// The status.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The status.",
+ SerializedName = @"status",
+ PossibleTypes = new [] { typeof(string) })]
+ string Status { get; set; }
+ ///
+ /// Details about execution of the task.
+ /// eg: number of bytes transferred etc
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Details about execution of the task.
+ eg: number of bytes transferred etc",
+ SerializedName = @"taskExecutionDetails",
+ PossibleTypes = new [] { typeof(string) })]
+ string TaskExecutionDetail { get; set; }
+ /// The task display name.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The task display name.",
+ SerializedName = @"taskId",
+ PossibleTypes = new [] { typeof(string) })]
+ string TaskId { get; set; }
+
+ }
+ /// Azure IaaS VM workload-specific job task details.
+ internal partial interface IAzureIaaSvmJobTaskDetailsInternal
+
+ {
+ /// Time elapsed for task.
+ global::System.TimeSpan? Duration { get; set; }
+ /// The end time.
+ global::System.DateTime? EndTime { get; set; }
+ /// The instanceId.
+ string InstanceId { get; set; }
+ /// Progress of the task.
+ double? ProgressPercentage { get; set; }
+ /// The start time.
+ global::System.DateTime? StartTime { get; set; }
+ /// The status.
+ string Status { get; set; }
+ ///
+ /// Details about execution of the task.
+ /// eg: number of bytes transferred etc
+ ///
+ string TaskExecutionDetail { get; set; }
+ /// The task display name.
+ string TaskId { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobTaskDetails.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobTaskDetails.json.cs
new file mode 100644
index 000000000000..44dd760844b7
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobTaskDetails.json.cs
@@ -0,0 +1,122 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure IaaS VM workload-specific job task details.
+ public partial class AzureIaaSvmJobTaskDetails
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureIaaSvmJobTaskDetails(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ {_taskId = If( json?.PropertyT("taskId"), out var __jsonTaskId) ? (string)__jsonTaskId : (string)TaskId;}
+ {_startTime = If( json?.PropertyT("startTime"), out var __jsonStartTime) ? global::System.DateTime.TryParse((string)__jsonStartTime, global::System.Globalization.CultureInfo.InvariantCulture, global::System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonStartTimeValue) ? __jsonStartTimeValue : StartTime : StartTime;}
+ {_endTime = If( json?.PropertyT("endTime"), out var __jsonEndTime) ? global::System.DateTime.TryParse((string)__jsonEndTime, global::System.Globalization.CultureInfo.InvariantCulture, global::System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonEndTimeValue) ? __jsonEndTimeValue : EndTime : EndTime;}
+ {_instanceId = If( json?.PropertyT("instanceId"), out var __jsonInstanceId) ? (string)__jsonInstanceId : (string)InstanceId;}
+ {_duration = If( json?.PropertyT("duration"), out var __jsonDuration) ? global::System.Xml.XmlConvert.ToTimeSpan( __jsonDuration ) : Duration;}
+ {_status = If( json?.PropertyT("status"), out var __jsonStatus) ? (string)__jsonStatus : (string)Status;}
+ {_progressPercentage = If( json?.PropertyT("progressPercentage"), out var __jsonProgressPercentage) ? (double?)__jsonProgressPercentage : ProgressPercentage;}
+ {_taskExecutionDetail = If( json?.PropertyT("taskExecutionDetails"), out var __jsonTaskExecutionDetails) ? (string)__jsonTaskExecutionDetails : (string)TaskExecutionDetail;}
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobTaskDetails.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobTaskDetails.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobTaskDetails FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureIaaSvmJobTaskDetails(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ AddIf( null != (((object)this._taskId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._taskId.ToString()) : null, "taskId" ,container.Add );
+ AddIf( null != this._startTime ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._startTime?.ToString(@"yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffffffK",global::System.Globalization.CultureInfo.InvariantCulture)) : null, "startTime" ,container.Add );
+ AddIf( null != this._endTime ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._endTime?.ToString(@"yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffffffK",global::System.Globalization.CultureInfo.InvariantCulture)) : null, "endTime" ,container.Add );
+ AddIf( null != (((object)this._instanceId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._instanceId.ToString()) : null, "instanceId" ,container.Add );
+ AddIf( (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode)(null != this._duration ? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(global::System.Xml.XmlConvert.ToString((global::System.TimeSpan)this._duration)): null), "duration" ,container.Add );
+ AddIf( null != (((object)this._status)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._status.ToString()) : null, "status" ,container.Add );
+ AddIf( null != this._progressPercentage ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNumber((double)this._progressPercentage) : null, "progressPercentage" ,container.Add );
+ AddIf( null != (((object)this._taskExecutionDetail)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._taskExecutionDetail.ToString()) : null, "taskExecutionDetails" ,container.Add );
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobV2.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobV2.cs
new file mode 100644
index 000000000000..12e1e72f6623
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobV2.cs
@@ -0,0 +1,268 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure IaaS VM workload-specific job object.
+ public partial class AzureIaaSvmJobV2 :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobV2,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobV2Internal,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IValidates
+ {
+ ///
+ /// Backing field for Inherited model
+ ///
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJob __job = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.Job();
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.JobSupportedAction[] _actionsInfo;
+
+ /// Gets or sets the state/actions applicable on this job like cancel/retry.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.JobSupportedAction[] ActionsInfo { get => this._actionsInfo; set => this._actionsInfo = value; }
+
+ /// ActivityId of job.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ActivityId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).ActivityId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).ActivityId = value ?? null; }
+
+ /// Backup management type to execute the current job.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType? BackupManagementType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).BackupManagementType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).BackupManagementType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType)""); }
+
+ /// Backing field for property.
+ private string _containerName;
+
+ /// Container name of the entity on which the current job is executing.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string ContainerName { get => this._containerName; set => this._containerName = value; }
+
+ /// Backing field for property.
+ private global::System.TimeSpan? _duration;
+
+ /// Time elapsed during the execution of this job.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public global::System.TimeSpan? Duration { get => this._duration; set => this._duration = value; }
+
+ /// The end time.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public global::System.DateTime? EndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).EndTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).EndTime = value ?? default(global::System.DateTime); }
+
+ /// Friendly name of the entity on which the current job is executing.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string EntityFriendlyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).EntityFriendlyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).EntityFriendlyName = value ?? null; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmErrorInfo[] _errorDetail;
+
+ /// Error details on execution of this job.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmErrorInfo[] ErrorDetail { get => this._errorDetail; set => this._errorDetail = value; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfo _extendedInfo;
+
+ /// Additional information for this job.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ internal Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfo ExtendedInfo { get => (this._extendedInfo = this._extendedInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureIaaSvmJobExtendedInfo()); set => this._extendedInfo = value; }
+
+ /// Non localized error message on job execution.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public string ExtendedInfoDynamicErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternal)ExtendedInfo).DynamicErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternal)ExtendedInfo).DynamicErrorMessage = value ?? null; }
+
+ /// Time remaining for execution of this job.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public string ExtendedInfoEstimatedRemainingDuration { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternal)ExtendedInfo).EstimatedRemainingDuration; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternal)ExtendedInfo).EstimatedRemainingDuration = value ?? null; }
+
+ /// Job internal properties.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternalPropertyBag ExtendedInfoInternalPropertyBag { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternal)ExtendedInfo).InternalPropertyBag; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternal)ExtendedInfo).InternalPropertyBag = value ?? null /* model class */; }
+
+ /// Indicates progress of the job. Null if it has not started or completed.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public double? ExtendedInfoProgressPercentage { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternal)ExtendedInfo).ProgressPercentage; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternal)ExtendedInfo).ProgressPercentage = value ?? default(double); }
+
+ /// Job properties.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoPropertyBag ExtendedInfoPropertyBag { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternal)ExtendedInfo).PropertyBag; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternal)ExtendedInfo).PropertyBag = value ?? null /* model class */; }
+
+ /// List of tasks associated with this job.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobTaskDetails[] ExtendedInfoTasksList { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternal)ExtendedInfo).TasksList; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternal)ExtendedInfo).TasksList = value ?? null /* arrayOf */; }
+
+ /// Internal Acessors for ExtendedInfo
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfo Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobV2Internal.ExtendedInfo { get => (this._extendedInfo = this._extendedInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureIaaSvmJobExtendedInfo()); set { {_extendedInfo = value;} } }
+
+ /// The operation name.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string Operation { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).Operation = value ?? null; }
+
+ /// The start time.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public global::System.DateTime? StartTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).StartTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).StartTime = value ?? default(global::System.DateTime); }
+
+ /// Job status.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).Status = value ?? null; }
+
+ ///
+ /// This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).Type = value ; }
+
+ /// Backing field for property.
+ private string _virtualMachineVersion;
+
+ /// Specifies whether the backup item is a Classic or an Azure Resource Manager VM.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string VirtualMachineVersion { get => this._virtualMachineVersion; set => this._virtualMachineVersion = value; }
+
+ /// Creates an new instance.
+ public AzureIaaSvmJobV2()
+ {
+
+ }
+
+ /// 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.RecoveryServicesBackup.Runtime.IEventListener eventListener)
+ {
+ await eventListener.AssertNotNull(nameof(__job), __job);
+ await eventListener.AssertObjectIsValid(nameof(__job), __job);
+ }
+ }
+ /// Azure IaaS VM workload-specific job object.
+ public partial interface IAzureIaaSvmJobV2 :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJob
+ {
+ /// Gets or sets the state/actions applicable on this job like cancel/retry.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Gets or sets the state/actions applicable on this job like cancel/retry.",
+ SerializedName = @"actionsInfo",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.JobSupportedAction) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.JobSupportedAction[] ActionsInfo { get; set; }
+ /// Container name of the entity on which the current job is executing.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Container name of the entity on which the current job is executing.",
+ SerializedName = @"containerName",
+ PossibleTypes = new [] { typeof(string) })]
+ string ContainerName { get; set; }
+ /// Time elapsed during the execution of this job.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Time elapsed during the execution of this job.",
+ SerializedName = @"duration",
+ PossibleTypes = new [] { typeof(global::System.TimeSpan) })]
+ global::System.TimeSpan? Duration { get; set; }
+ /// Error details on execution of this job.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Error details on execution of this job.",
+ SerializedName = @"errorDetails",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmErrorInfo) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmErrorInfo[] ErrorDetail { get; set; }
+ /// Non localized error message on job execution.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Non localized error message on job execution.",
+ SerializedName = @"dynamicErrorMessage",
+ PossibleTypes = new [] { typeof(string) })]
+ string ExtendedInfoDynamicErrorMessage { get; set; }
+ /// Time remaining for execution of this job.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Time remaining for execution of this job.",
+ SerializedName = @"estimatedRemainingDuration",
+ PossibleTypes = new [] { typeof(string) })]
+ string ExtendedInfoEstimatedRemainingDuration { get; set; }
+ /// Job internal properties.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Job internal properties.",
+ SerializedName = @"internalPropertyBag",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternalPropertyBag) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternalPropertyBag ExtendedInfoInternalPropertyBag { get; set; }
+ /// Indicates progress of the job. Null if it has not started or completed.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Indicates progress of the job. Null if it has not started or completed.",
+ SerializedName = @"progressPercentage",
+ PossibleTypes = new [] { typeof(double) })]
+ double? ExtendedInfoProgressPercentage { get; set; }
+ /// Job properties.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Job properties.",
+ SerializedName = @"propertyBag",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoPropertyBag) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoPropertyBag ExtendedInfoPropertyBag { get; set; }
+ /// List of tasks associated with this job.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"List of tasks associated with this job.",
+ SerializedName = @"tasksList",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobTaskDetails) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobTaskDetails[] ExtendedInfoTasksList { get; set; }
+ /// Specifies whether the backup item is a Classic or an Azure Resource Manager VM.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Specifies whether the backup item is a Classic or an Azure Resource Manager VM.",
+ SerializedName = @"virtualMachineVersion",
+ PossibleTypes = new [] { typeof(string) })]
+ string VirtualMachineVersion { get; set; }
+
+ }
+ /// Azure IaaS VM workload-specific job object.
+ internal partial interface IAzureIaaSvmJobV2Internal :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal
+ {
+ /// Gets or sets the state/actions applicable on this job like cancel/retry.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.JobSupportedAction[] ActionsInfo { get; set; }
+ /// Container name of the entity on which the current job is executing.
+ string ContainerName { get; set; }
+ /// Time elapsed during the execution of this job.
+ global::System.TimeSpan? Duration { get; set; }
+ /// Error details on execution of this job.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmErrorInfo[] ErrorDetail { get; set; }
+ /// Additional information for this job.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfo ExtendedInfo { get; set; }
+ /// Non localized error message on job execution.
+ string ExtendedInfoDynamicErrorMessage { get; set; }
+ /// Time remaining for execution of this job.
+ string ExtendedInfoEstimatedRemainingDuration { get; set; }
+ /// Job internal properties.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoInternalPropertyBag ExtendedInfoInternalPropertyBag { get; set; }
+ /// Indicates progress of the job. Null if it has not started or completed.
+ double? ExtendedInfoProgressPercentage { get; set; }
+ /// Job properties.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobExtendedInfoPropertyBag ExtendedInfoPropertyBag { get; set; }
+ /// List of tasks associated with this job.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobTaskDetails[] ExtendedInfoTasksList { get; set; }
+ /// Specifies whether the backup item is a Classic or an Azure Resource Manager VM.
+ string VirtualMachineVersion { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobV2.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobV2.json.cs
new file mode 100644
index 000000000000..c0e57f73c9cd
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmJobV2.json.cs
@@ -0,0 +1,136 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure IaaS VM workload-specific job object.
+ public partial class AzureIaaSvmJobV2
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureIaaSvmJobV2(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ __job = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.Job(json);
+ {_extendedInfo = If( json?.PropertyT("extendedInfo"), out var __jsonExtendedInfo) ? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureIaaSvmJobExtendedInfo.FromJson(__jsonExtendedInfo) : ExtendedInfo;}
+ {_actionsInfo = If( json?.PropertyT("actionsInfo"), out var __jsonActionsInfo) ? If( __jsonActionsInfo as Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.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.RecoveryServicesBackup.Support.JobSupportedAction) (__u is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString __t ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.JobSupportedAction)(__t.ToString()) : ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.JobSupportedAction)""))) ))() : null : ActionsInfo;}
+ {_containerName = If( json?.PropertyT("containerName"), out var __jsonContainerName) ? (string)__jsonContainerName : (string)ContainerName;}
+ {_duration = If( json?.PropertyT("duration"), out var __jsonDuration) ? global::System.Xml.XmlConvert.ToTimeSpan( __jsonDuration ) : Duration;}
+ {_errorDetail = If( json?.PropertyT("errorDetails"), out var __jsonErrorDetails) ? If( __jsonErrorDetails as Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonArray, out var __q) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__q, (__p)=>(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmErrorInfo) (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureIaaSvmErrorInfo.FromJson(__p) )) ))() : null : ErrorDetail;}
+ {_virtualMachineVersion = If( json?.PropertyT("virtualMachineVersion"), out var __jsonVirtualMachineVersion) ? (string)__jsonVirtualMachineVersion : (string)VirtualMachineVersion;}
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobV2.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobV2.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmJobV2 FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureIaaSvmJobV2(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ __job?.ToJson(container, serializationMode);
+ AddIf( null != this._extendedInfo ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) this._extendedInfo.ToJson(null,serializationMode) : null, "extendedInfo" ,container.Add );
+ if (null != this._actionsInfo)
+ {
+ var __w = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.XNodeArray();
+ foreach( var __x in this._actionsInfo )
+ {
+ AddIf(null != (((object)__x)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(__x.ToString()) : null ,__w.Add);
+ }
+ container.Add("actionsInfo",__w);
+ }
+ AddIf( null != (((object)this._containerName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._containerName.ToString()) : null, "containerName" ,container.Add );
+ AddIf( (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode)(null != this._duration ? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(global::System.Xml.XmlConvert.ToString((global::System.TimeSpan)this._duration)): null), "duration" ,container.Add );
+ if (null != this._errorDetail)
+ {
+ var __r = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.XNodeArray();
+ foreach( var __s in this._errorDetail )
+ {
+ AddIf(__s?.ToJson(null, serializationMode) ,__r.Add);
+ }
+ container.Add("errorDetails",__r);
+ }
+ AddIf( null != (((object)this._virtualMachineVersion)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._virtualMachineVersion.ToString()) : null, "virtualMachineVersion" ,container.Add );
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectedItem.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectedItem.cs
new file mode 100644
index 000000000000..4da88410c805
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectedItem.cs
@@ -0,0 +1,480 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// IaaS VM workload-specific backup item.
+ public partial class AzureIaaSvmProtectedItem :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItem,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IValidates
+ {
+ ///
+ /// Backing field for Inherited model
+ ///
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItem __protectedItem = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ProtectedItem();
+
+ /// Type of backup management for the backed up item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType? BackupManagementType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).BackupManagementType; }
+
+ /// Name of the backup set the backup item belongs to
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string BackupSetName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).BackupSetName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).BackupSetName = value ?? null; }
+
+ /// Unique name of container
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ContainerName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).ContainerName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).ContainerName = value ?? null; }
+
+ ///
+ /// Create mode to indicate recovery of existing soft deleted data source or creation of new data source.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.CreateMode? CreateMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).CreateMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).CreateMode = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.CreateMode)""); }
+
+ /// Time for deferred deletion in UTC
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public global::System.DateTime? DeferredDeleteTimeInUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).DeferredDeleteTimeInUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).DeferredDeleteTimeInUtc = value ?? default(global::System.DateTime); }
+
+ /// Time remaining before the DS marked for deferred delete is permanently deleted
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string DeferredDeleteTimeRemaining { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).DeferredDeleteTimeRemaining; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).DeferredDeleteTimeRemaining = value ?? null; }
+
+ /// List of Disks' Logical Unit Numbers (LUN) to be used for VM Protection.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public int[] DiskExclusionPropertyDiskLunList { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IExtendedPropertiesInternal)ExtendedProperty).DiskExclusionPropertyDiskLunList; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IExtendedPropertiesInternal)ExtendedProperty).DiskExclusionPropertyDiskLunList = value ?? null /* arrayOf */; }
+
+ /// Flag to indicate whether DiskLunList is to be included/ excluded from backup.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public bool? DiskExclusionPropertyIsInclusionList { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IExtendedPropertiesInternal)ExtendedProperty).DiskExclusionPropertyIsInclusionList; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IExtendedPropertiesInternal)ExtendedProperty).DiskExclusionPropertyIsInclusionList = value ?? default(bool); }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemExtendedInfo _extendedInfo;
+
+ /// Additional information for this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ internal Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemExtendedInfo ExtendedInfo { get => (this._extendedInfo = this._extendedInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureIaaSvmProtectedItemExtendedInfo()); set => this._extendedInfo = value; }
+
+ /// The latest backup copy available for this backup item in archive tier
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public global::System.DateTime? ExtendedInfoNewestRecoveryPointInArchive { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemExtendedInfoInternal)ExtendedInfo).NewestRecoveryPointInArchive; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemExtendedInfoInternal)ExtendedInfo).NewestRecoveryPointInArchive = value ?? default(global::System.DateTime); }
+
+ /// The oldest backup copy available for this backup item across all tiers.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public global::System.DateTime? ExtendedInfoOldestRecoveryPoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemExtendedInfoInternal)ExtendedInfo).OldestRecoveryPoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemExtendedInfoInternal)ExtendedInfo).OldestRecoveryPoint = value ?? default(global::System.DateTime); }
+
+ /// The oldest backup copy available for this backup item in archive tier
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public global::System.DateTime? ExtendedInfoOldestRecoveryPointInArchive { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemExtendedInfoInternal)ExtendedInfo).OldestRecoveryPointInArchive; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemExtendedInfoInternal)ExtendedInfo).OldestRecoveryPointInArchive = value ?? default(global::System.DateTime); }
+
+ /// The oldest backup copy available for this backup item in vault tier
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public global::System.DateTime? ExtendedInfoOldestRecoveryPointInVault { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemExtendedInfoInternal)ExtendedInfo).OldestRecoveryPointInVault; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemExtendedInfoInternal)ExtendedInfo).OldestRecoveryPointInVault = value ?? default(global::System.DateTime); }
+
+ /// Specifies if backup policy associated with the backup item is inconsistent.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public bool? ExtendedInfoPolicyInconsistent { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemExtendedInfoInternal)ExtendedInfo).PolicyInconsistent; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemExtendedInfoInternal)ExtendedInfo).PolicyInconsistent = value ?? default(bool); }
+
+ /// Number of backup copies available for this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public int? ExtendedInfoRecoveryPointCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemExtendedInfoInternal)ExtendedInfo).RecoveryPointCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemExtendedInfoInternal)ExtendedInfo).RecoveryPointCount = value ?? default(int); }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IExtendedProperties _extendedProperty;
+
+ /// Extended Properties for Azure IaasVM Backup.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ internal Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IExtendedProperties ExtendedProperty { get => (this._extendedProperty = this._extendedProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ExtendedProperties()); set => this._extendedProperty = value; }
+
+ /// Linux VM name
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public string ExtendedPropertyLinuxVMApplicationName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IExtendedPropertiesInternal)ExtendedProperty).LinuxVMApplicationName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IExtendedPropertiesInternal)ExtendedProperty).LinuxVMApplicationName = value ?? null; }
+
+ /// Backing field for property.
+ private string _friendlyName;
+
+ /// Friendly name of the VM represented by this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string FriendlyName { get => this._friendlyName; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IResourceHealthDetails[] _healthDetail;
+
+ /// Health details on this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IResourceHealthDetails[] HealthDetail { get => this._healthDetail; set => this._healthDetail = value; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.HealthStatus? _healthStatus;
+
+ /// Health status of protected item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.HealthStatus? HealthStatus { get => this._healthStatus; }
+
+ /// Flag to identify whether datasource is protected in archive
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public bool? IsArchiveEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).IsArchiveEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).IsArchiveEnabled = value ?? default(bool); }
+
+ /// Flag to identify whether the deferred deleted DS is to be purged soon
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public bool? IsDeferredDeleteScheduleUpcoming { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).IsDeferredDeleteScheduleUpcoming; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).IsDeferredDeleteScheduleUpcoming = value ?? default(bool); }
+
+ /// Flag to identify that deferred deleted DS is to be moved into Pause state
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public bool? IsRehydrate { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).IsRehydrate; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).IsRehydrate = value ?? default(bool); }
+
+ /// Flag to identify whether the DS is scheduled for deferred delete
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public bool? IsScheduledForDeferredDelete { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).IsScheduledForDeferredDelete; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).IsScheduledForDeferredDelete = value ?? default(bool); }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemKpisHealths _kpisHealth;
+
+ /// Health details of different KPIs
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemKpisHealths KpisHealth { get => (this._kpisHealth = this._kpisHealth ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureIaaSvmProtectedItemKpisHealths()); set => this._kpisHealth = value; }
+
+ /// Backing field for property.
+ private string _lastBackupStatus;
+
+ /// Last backup operation status.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string LastBackupStatus { get => this._lastBackupStatus; set => this._lastBackupStatus = value; }
+
+ /// Backing field for property.
+ private global::System.DateTime? _lastBackupTime;
+
+ /// Timestamp of the last backup operation on this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public global::System.DateTime? LastBackupTime { get => this._lastBackupTime; }
+
+ /// Timestamp when the last (latest) backup copy was created for this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public global::System.DateTime? LastRecoveryPoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).LastRecoveryPoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).LastRecoveryPoint = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for ExtendedInfo
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemExtendedInfo Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal.ExtendedInfo { get => (this._extendedInfo = this._extendedInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureIaaSvmProtectedItemExtendedInfo()); set { {_extendedInfo = value;} } }
+
+ /// Internal Acessors for ExtendedProperty
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IExtendedProperties Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal.ExtendedProperty { get => (this._extendedProperty = this._extendedProperty ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ExtendedProperties()); set { {_extendedProperty = value;} } }
+
+ /// Internal Acessors for ExtendedPropertyDiskExclusionProperty
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IDiskExclusionProperties Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal.ExtendedPropertyDiskExclusionProperty { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IExtendedPropertiesInternal)ExtendedProperty).DiskExclusionProperty; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IExtendedPropertiesInternal)ExtendedProperty).DiskExclusionProperty = value; }
+
+ /// Internal Acessors for FriendlyName
+ string Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal.FriendlyName { get => this._friendlyName; set { {_friendlyName = value;} } }
+
+ /// Internal Acessors for HealthStatus
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.HealthStatus? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal.HealthStatus { get => this._healthStatus; set { {_healthStatus = value;} } }
+
+ /// Internal Acessors for LastBackupTime
+ global::System.DateTime? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal.LastBackupTime { get => this._lastBackupTime; set { {_lastBackupTime = value;} } }
+
+ /// Internal Acessors for ProtectedItemDataId
+ string Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal.ProtectedItemDataId { get => this._protectedItemDataId; set { {_protectedItemDataId = value;} } }
+
+ /// Internal Acessors for VirtualMachineId
+ string Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemInternal.VirtualMachineId { get => this._virtualMachineId; set { {_virtualMachineId = value;} } }
+
+ /// Internal Acessors for BackupManagementType
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal.BackupManagementType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).BackupManagementType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).BackupManagementType = value; }
+
+ /// Internal Acessors for VaultId
+ string Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal.VaultId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).VaultId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).VaultId = value; }
+
+ /// Internal Acessors for WorkloadType
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.DataSourceType? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal.WorkloadType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).WorkloadType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).WorkloadType = value; }
+
+ /// ID of the backup policy with which this item is backed up.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string PolicyId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).PolicyId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).PolicyId = value ?? null; }
+
+ /// Name of the policy used for protection
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string PolicyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).PolicyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).PolicyName = value ?? null; }
+
+ /// Backing field for property.
+ private string _protectedItemDataId;
+
+ /// Data ID of the protected item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string ProtectedItemDataId { get => this._protectedItemDataId; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectionState? _protectionState;
+
+ /// Backup state of this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectionState? ProtectionState { get => this._protectionState; set => this._protectionState = value; }
+
+ /// Backing field for property.
+ private string _protectionStatus;
+
+ /// Backup status of this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string ProtectionStatus { get => this._protectionStatus; set => this._protectionStatus = value; }
+
+ /// ResourceGuardOperationRequests on which LAC check will be performed
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string[] ResourceGuardOperationRequest { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).ResourceGuardOperationRequest; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).ResourceGuardOperationRequest = value ?? null /* arrayOf */; }
+
+ /// Soft delete retention period in days
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public int? SoftDeleteRetentionPeriodInDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).SoftDeleteRetentionPeriodInDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).SoftDeleteRetentionPeriodInDay = value ?? default(int); }
+
+ /// ARM ID of the resource to be backed up.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string SourceResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).SourceResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).SourceResourceId = value ?? null; }
+
+ /// backup item type.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).Type = value ; }
+
+ /// ID of the vault which protects this item
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string VaultId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).VaultId; }
+
+ /// Backing field for property.
+ private string _virtualMachineId;
+
+ /// Fully qualified ARM ID of the virtual machine represented by this item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string VirtualMachineId { get => this._virtualMachineId; }
+
+ /// Type of workload this item represents.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.DataSourceType? WorkloadType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).WorkloadType; }
+
+ /// Creates an new instance.
+ public AzureIaaSvmProtectedItem()
+ {
+
+ }
+
+ /// 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.RecoveryServicesBackup.Runtime.IEventListener eventListener)
+ {
+ await eventListener.AssertNotNull(nameof(__protectedItem), __protectedItem);
+ await eventListener.AssertObjectIsValid(nameof(__protectedItem), __protectedItem);
+ }
+ }
+ /// IaaS VM workload-specific backup item.
+ public partial interface IAzureIaaSvmProtectedItem :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItem
+ {
+ /// List of Disks' Logical Unit Numbers (LUN) to be used for VM Protection.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"List of Disks' Logical Unit Numbers (LUN) to be used for VM Protection.",
+ SerializedName = @"diskLunList",
+ PossibleTypes = new [] { typeof(int) })]
+ int[] DiskExclusionPropertyDiskLunList { get; set; }
+ /// Flag to indicate whether DiskLunList is to be included/ excluded from backup.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Flag to indicate whether DiskLunList is to be included/ excluded from backup.",
+ SerializedName = @"isInclusionList",
+ PossibleTypes = new [] { typeof(bool) })]
+ bool? DiskExclusionPropertyIsInclusionList { get; set; }
+ /// The latest backup copy available for this backup item in archive tier
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The latest backup copy available for this backup item in archive tier",
+ SerializedName = @"newestRecoveryPointInArchive",
+ PossibleTypes = new [] { typeof(global::System.DateTime) })]
+ global::System.DateTime? ExtendedInfoNewestRecoveryPointInArchive { get; set; }
+ /// The oldest backup copy available for this backup item across all tiers.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The oldest backup copy available for this backup item across all tiers.",
+ SerializedName = @"oldestRecoveryPoint",
+ PossibleTypes = new [] { typeof(global::System.DateTime) })]
+ global::System.DateTime? ExtendedInfoOldestRecoveryPoint { get; set; }
+ /// The oldest backup copy available for this backup item in archive tier
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The oldest backup copy available for this backup item in archive tier",
+ SerializedName = @"oldestRecoveryPointInArchive",
+ PossibleTypes = new [] { typeof(global::System.DateTime) })]
+ global::System.DateTime? ExtendedInfoOldestRecoveryPointInArchive { get; set; }
+ /// The oldest backup copy available for this backup item in vault tier
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The oldest backup copy available for this backup item in vault tier",
+ SerializedName = @"oldestRecoveryPointInVault",
+ PossibleTypes = new [] { typeof(global::System.DateTime) })]
+ global::System.DateTime? ExtendedInfoOldestRecoveryPointInVault { get; set; }
+ /// Specifies if backup policy associated with the backup item is inconsistent.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Specifies if backup policy associated with the backup item is inconsistent.",
+ SerializedName = @"policyInconsistent",
+ PossibleTypes = new [] { typeof(bool) })]
+ bool? ExtendedInfoPolicyInconsistent { get; set; }
+ /// Number of backup copies available for this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Number of backup copies available for this backup item.",
+ SerializedName = @"recoveryPointCount",
+ PossibleTypes = new [] { typeof(int) })]
+ int? ExtendedInfoRecoveryPointCount { get; set; }
+ /// Linux VM name
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Linux VM name",
+ SerializedName = @"linuxVmApplicationName",
+ PossibleTypes = new [] { typeof(string) })]
+ string ExtendedPropertyLinuxVMApplicationName { get; set; }
+ /// Friendly name of the VM represented by this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"Friendly name of the VM represented by this backup item.",
+ SerializedName = @"friendlyName",
+ PossibleTypes = new [] { typeof(string) })]
+ string FriendlyName { get; }
+ /// Health details on this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Health details on this backup item.",
+ SerializedName = @"healthDetails",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IResourceHealthDetails) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IResourceHealthDetails[] HealthDetail { get; set; }
+ /// Health status of protected item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"Health status of protected item.",
+ SerializedName = @"healthStatus",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.HealthStatus) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.HealthStatus? HealthStatus { get; }
+ /// Health details of different KPIs
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Health details of different KPIs",
+ SerializedName = @"kpisHealths",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemKpisHealths) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemKpisHealths KpisHealth { get; set; }
+ /// Last backup operation status.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Last backup operation status.",
+ SerializedName = @"lastBackupStatus",
+ PossibleTypes = new [] { typeof(string) })]
+ string LastBackupStatus { get; set; }
+ /// Timestamp of the last backup operation on this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"Timestamp of the last backup operation on this backup item.",
+ SerializedName = @"lastBackupTime",
+ PossibleTypes = new [] { typeof(global::System.DateTime) })]
+ global::System.DateTime? LastBackupTime { get; }
+ /// Data ID of the protected item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"Data ID of the protected item.",
+ SerializedName = @"protectedItemDataId",
+ PossibleTypes = new [] { typeof(string) })]
+ string ProtectedItemDataId { get; }
+ /// Backup state of this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Backup state of this backup item.",
+ SerializedName = @"protectionState",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectionState) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectionState? ProtectionState { get; set; }
+ /// Backup status of this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Backup status of this backup item.",
+ SerializedName = @"protectionStatus",
+ PossibleTypes = new [] { typeof(string) })]
+ string ProtectionStatus { get; set; }
+ /// Fully qualified ARM ID of the virtual machine represented by this item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = true,
+ Description = @"Fully qualified ARM ID of the virtual machine represented by this item.",
+ SerializedName = @"virtualMachineId",
+ PossibleTypes = new [] { typeof(string) })]
+ string VirtualMachineId { get; }
+
+ }
+ /// IaaS VM workload-specific backup item.
+ internal partial interface IAzureIaaSvmProtectedItemInternal :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal
+ {
+ /// List of Disks' Logical Unit Numbers (LUN) to be used for VM Protection.
+ int[] DiskExclusionPropertyDiskLunList { get; set; }
+ /// Flag to indicate whether DiskLunList is to be included/ excluded from backup.
+ bool? DiskExclusionPropertyIsInclusionList { get; set; }
+ /// Additional information for this backup item.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemExtendedInfo ExtendedInfo { get; set; }
+ /// The latest backup copy available for this backup item in archive tier
+ global::System.DateTime? ExtendedInfoNewestRecoveryPointInArchive { get; set; }
+ /// The oldest backup copy available for this backup item across all tiers.
+ global::System.DateTime? ExtendedInfoOldestRecoveryPoint { get; set; }
+ /// The oldest backup copy available for this backup item in archive tier
+ global::System.DateTime? ExtendedInfoOldestRecoveryPointInArchive { get; set; }
+ /// The oldest backup copy available for this backup item in vault tier
+ global::System.DateTime? ExtendedInfoOldestRecoveryPointInVault { get; set; }
+ /// Specifies if backup policy associated with the backup item is inconsistent.
+ bool? ExtendedInfoPolicyInconsistent { get; set; }
+ /// Number of backup copies available for this backup item.
+ int? ExtendedInfoRecoveryPointCount { get; set; }
+ /// Extended Properties for Azure IaasVM Backup.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IExtendedProperties ExtendedProperty { get; set; }
+ /// Extended Properties for Disk Exclusion.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IDiskExclusionProperties ExtendedPropertyDiskExclusionProperty { get; set; }
+ /// Linux VM name
+ string ExtendedPropertyLinuxVMApplicationName { get; set; }
+ /// Friendly name of the VM represented by this backup item.
+ string FriendlyName { get; set; }
+ /// Health details on this backup item.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IResourceHealthDetails[] HealthDetail { get; set; }
+ /// Health status of protected item.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.HealthStatus? HealthStatus { get; set; }
+ /// Health details of different KPIs
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemKpisHealths KpisHealth { get; set; }
+ /// Last backup operation status.
+ string LastBackupStatus { get; set; }
+ /// Timestamp of the last backup operation on this backup item.
+ global::System.DateTime? LastBackupTime { get; set; }
+ /// Data ID of the protected item.
+ string ProtectedItemDataId { get; set; }
+ /// Backup state of this backup item.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectionState? ProtectionState { get; set; }
+ /// Backup status of this backup item.
+ string ProtectionStatus { get; set; }
+ /// Fully qualified ARM ID of the virtual machine represented by this item.
+ string VirtualMachineId { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectedItem.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectedItem.json.cs
new file mode 100644
index 000000000000..7578fa275faf
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectedItem.json.cs
@@ -0,0 +1,174 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// IaaS VM workload-specific backup item.
+ public partial class AzureIaaSvmProtectedItem
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureIaaSvmProtectedItem(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ __protectedItem = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ProtectedItem(json);
+ {_extendedInfo = If( json?.PropertyT("extendedInfo"), out var __jsonExtendedInfo) ? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureIaaSvmProtectedItemExtendedInfo.FromJson(__jsonExtendedInfo) : ExtendedInfo;}
+ {_extendedProperty = If( json?.PropertyT("extendedProperties"), out var __jsonExtendedProperties) ? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ExtendedProperties.FromJson(__jsonExtendedProperties) : ExtendedProperty;}
+ {_friendlyName = If( json?.PropertyT("friendlyName"), out var __jsonFriendlyName) ? (string)__jsonFriendlyName : (string)FriendlyName;}
+ {_virtualMachineId = If( json?.PropertyT("virtualMachineId"), out var __jsonVirtualMachineId) ? (string)__jsonVirtualMachineId : (string)VirtualMachineId;}
+ {_protectionStatus = If( json?.PropertyT("protectionStatus"), out var __jsonProtectionStatus) ? (string)__jsonProtectionStatus : (string)ProtectionStatus;}
+ {_protectionState = If( json?.PropertyT("protectionState"), out var __jsonProtectionState) ? (string)__jsonProtectionState : (string)ProtectionState;}
+ {_healthStatus = If( json?.PropertyT("healthStatus"), out var __jsonHealthStatus) ? (string)__jsonHealthStatus : (string)HealthStatus;}
+ {_healthDetail = If( json?.PropertyT("healthDetails"), out var __jsonHealthDetails) ? If( __jsonHealthDetails as Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.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.RecoveryServicesBackup.Models.Api20241001.IResourceHealthDetails) (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ResourceHealthDetails.FromJson(__u) )) ))() : null : HealthDetail;}
+ {_kpisHealth = If( json?.PropertyT("kpisHealths"), out var __jsonKpisHealths) ? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureIaaSvmProtectedItemKpisHealths.FromJson(__jsonKpisHealths) : KpisHealth;}
+ {_lastBackupStatus = If( json?.PropertyT("lastBackupStatus"), out var __jsonLastBackupStatus) ? (string)__jsonLastBackupStatus : (string)LastBackupStatus;}
+ {_lastBackupTime = If( json?.PropertyT("lastBackupTime"), out var __jsonLastBackupTime) ? global::System.DateTime.TryParse((string)__jsonLastBackupTime, global::System.Globalization.CultureInfo.InvariantCulture, global::System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonLastBackupTimeValue) ? __jsonLastBackupTimeValue : LastBackupTime : LastBackupTime;}
+ {_protectedItemDataId = If( json?.PropertyT("protectedItemDataId"), out var __jsonProtectedItemDataId) ? (string)__jsonProtectedItemDataId : (string)ProtectedItemDataId;}
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItem.
+ /// Note: the Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItem 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.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItem.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItem FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ if (!(node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json))
+ {
+ return null;
+ }
+ // Polymorphic type -- select the appropriate constructor using the discriminator
+
+ switch ( json.StringProperty("protectedItemType") )
+ {
+ case "Microsoft.ClassicCompute/virtualMachines":
+ {
+ return new AzureIaaSClassicComputeVmprotectedItem(json);
+ }
+ case "Microsoft.Compute/virtualMachines":
+ {
+ return new AzureIaaSComputeVmprotectedItem(json);
+ }
+ }
+ return new AzureIaaSvmProtectedItem(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ __protectedItem?.ToJson(container, serializationMode);
+ AddIf( null != this._extendedInfo ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) this._extendedInfo.ToJson(null,serializationMode) : null, "extendedInfo" ,container.Add );
+ AddIf( null != this._extendedProperty ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) this._extendedProperty.ToJson(null,serializationMode) : null, "extendedProperties" ,container.Add );
+ if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode.IncludeReadOnly))
+ {
+ AddIf( null != (((object)this._friendlyName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._friendlyName.ToString()) : null, "friendlyName" ,container.Add );
+ }
+ if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode.IncludeReadOnly))
+ {
+ AddIf( null != (((object)this._virtualMachineId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._virtualMachineId.ToString()) : null, "virtualMachineId" ,container.Add );
+ }
+ AddIf( null != (((object)this._protectionStatus)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._protectionStatus.ToString()) : null, "protectionStatus" ,container.Add );
+ AddIf( null != (((object)this._protectionState)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._protectionState.ToString()) : null, "protectionState" ,container.Add );
+ if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode.IncludeReadOnly))
+ {
+ AddIf( null != (((object)this._healthStatus)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._healthStatus.ToString()) : null, "healthStatus" ,container.Add );
+ }
+ if (null != this._healthDetail)
+ {
+ var __w = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.XNodeArray();
+ foreach( var __x in this._healthDetail )
+ {
+ AddIf(__x?.ToJson(null, serializationMode) ,__w.Add);
+ }
+ container.Add("healthDetails",__w);
+ }
+ AddIf( null != this._kpisHealth ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) this._kpisHealth.ToJson(null,serializationMode) : null, "kpisHealths" ,container.Add );
+ AddIf( null != (((object)this._lastBackupStatus)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._lastBackupStatus.ToString()) : null, "lastBackupStatus" ,container.Add );
+ if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode.IncludeReadOnly))
+ {
+ AddIf( null != this._lastBackupTime ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._lastBackupTime?.ToString(@"yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffffffK",global::System.Globalization.CultureInfo.InvariantCulture)) : null, "lastBackupTime" ,container.Add );
+ }
+ if (serializationMode.HasFlag(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode.IncludeReadOnly))
+ {
+ AddIf( null != (((object)this._protectedItemDataId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._protectedItemDataId.ToString()) : null, "protectedItemDataId" ,container.Add );
+ }
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectedItemExtendedInfo.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectedItemExtendedInfo.cs
new file mode 100644
index 000000000000..fd69dce6c745
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectedItemExtendedInfo.cs
@@ -0,0 +1,136 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Additional information on Azure IaaS VM specific backup item.
+ public partial class AzureIaaSvmProtectedItemExtendedInfo :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemExtendedInfo,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemExtendedInfoInternal
+ {
+
+ /// Backing field for property.
+ private global::System.DateTime? _newestRecoveryPointInArchive;
+
+ /// The latest backup copy available for this backup item in archive tier
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public global::System.DateTime? NewestRecoveryPointInArchive { get => this._newestRecoveryPointInArchive; set => this._newestRecoveryPointInArchive = value; }
+
+ /// Backing field for property.
+ private global::System.DateTime? _oldestRecoveryPoint;
+
+ /// The oldest backup copy available for this backup item across all tiers.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public global::System.DateTime? OldestRecoveryPoint { get => this._oldestRecoveryPoint; set => this._oldestRecoveryPoint = value; }
+
+ /// Backing field for property.
+ private global::System.DateTime? _oldestRecoveryPointInArchive;
+
+ /// The oldest backup copy available for this backup item in archive tier
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public global::System.DateTime? OldestRecoveryPointInArchive { get => this._oldestRecoveryPointInArchive; set => this._oldestRecoveryPointInArchive = value; }
+
+ /// Backing field for property.
+ private global::System.DateTime? _oldestRecoveryPointInVault;
+
+ /// The oldest backup copy available for this backup item in vault tier
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public global::System.DateTime? OldestRecoveryPointInVault { get => this._oldestRecoveryPointInVault; set => this._oldestRecoveryPointInVault = value; }
+
+ /// Backing field for property.
+ private bool? _policyInconsistent;
+
+ /// Specifies if backup policy associated with the backup item is inconsistent.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public bool? PolicyInconsistent { get => this._policyInconsistent; set => this._policyInconsistent = value; }
+
+ /// Backing field for property.
+ private int? _recoveryPointCount;
+
+ /// Number of backup copies available for this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public int? RecoveryPointCount { get => this._recoveryPointCount; set => this._recoveryPointCount = value; }
+
+ /// Creates an new instance.
+ public AzureIaaSvmProtectedItemExtendedInfo()
+ {
+
+ }
+ }
+ /// Additional information on Azure IaaS VM specific backup item.
+ public partial interface IAzureIaaSvmProtectedItemExtendedInfo :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable
+ {
+ /// The latest backup copy available for this backup item in archive tier
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The latest backup copy available for this backup item in archive tier",
+ SerializedName = @"newestRecoveryPointInArchive",
+ PossibleTypes = new [] { typeof(global::System.DateTime) })]
+ global::System.DateTime? NewestRecoveryPointInArchive { get; set; }
+ /// The oldest backup copy available for this backup item across all tiers.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The oldest backup copy available for this backup item across all tiers.",
+ SerializedName = @"oldestRecoveryPoint",
+ PossibleTypes = new [] { typeof(global::System.DateTime) })]
+ global::System.DateTime? OldestRecoveryPoint { get; set; }
+ /// The oldest backup copy available for this backup item in archive tier
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The oldest backup copy available for this backup item in archive tier",
+ SerializedName = @"oldestRecoveryPointInArchive",
+ PossibleTypes = new [] { typeof(global::System.DateTime) })]
+ global::System.DateTime? OldestRecoveryPointInArchive { get; set; }
+ /// The oldest backup copy available for this backup item in vault tier
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The oldest backup copy available for this backup item in vault tier",
+ SerializedName = @"oldestRecoveryPointInVault",
+ PossibleTypes = new [] { typeof(global::System.DateTime) })]
+ global::System.DateTime? OldestRecoveryPointInVault { get; set; }
+ /// Specifies if backup policy associated with the backup item is inconsistent.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Specifies if backup policy associated with the backup item is inconsistent.",
+ SerializedName = @"policyInconsistent",
+ PossibleTypes = new [] { typeof(bool) })]
+ bool? PolicyInconsistent { get; set; }
+ /// Number of backup copies available for this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Number of backup copies available for this backup item.",
+ SerializedName = @"recoveryPointCount",
+ PossibleTypes = new [] { typeof(int) })]
+ int? RecoveryPointCount { get; set; }
+
+ }
+ /// Additional information on Azure IaaS VM specific backup item.
+ internal partial interface IAzureIaaSvmProtectedItemExtendedInfoInternal
+
+ {
+ /// The latest backup copy available for this backup item in archive tier
+ global::System.DateTime? NewestRecoveryPointInArchive { get; set; }
+ /// The oldest backup copy available for this backup item across all tiers.
+ global::System.DateTime? OldestRecoveryPoint { get; set; }
+ /// The oldest backup copy available for this backup item in archive tier
+ global::System.DateTime? OldestRecoveryPointInArchive { get; set; }
+ /// The oldest backup copy available for this backup item in vault tier
+ global::System.DateTime? OldestRecoveryPointInVault { get; set; }
+ /// Specifies if backup policy associated with the backup item is inconsistent.
+ bool? PolicyInconsistent { get; set; }
+ /// Number of backup copies available for this backup item.
+ int? RecoveryPointCount { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectedItemExtendedInfo.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectedItemExtendedInfo.json.cs
new file mode 100644
index 000000000000..d5f8dc9ff1a9
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectedItemExtendedInfo.json.cs
@@ -0,0 +1,119 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Additional information on Azure IaaS VM specific backup item.
+ public partial class AzureIaaSvmProtectedItemExtendedInfo
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureIaaSvmProtectedItemExtendedInfo(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ {_oldestRecoveryPoint = If( json?.PropertyT("oldestRecoveryPoint"), out var __jsonOldestRecoveryPoint) ? global::System.DateTime.TryParse((string)__jsonOldestRecoveryPoint, global::System.Globalization.CultureInfo.InvariantCulture, global::System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonOldestRecoveryPointValue) ? __jsonOldestRecoveryPointValue : OldestRecoveryPoint : OldestRecoveryPoint;}
+ {_oldestRecoveryPointInVault = If( json?.PropertyT("oldestRecoveryPointInVault"), out var __jsonOldestRecoveryPointInVault) ? global::System.DateTime.TryParse((string)__jsonOldestRecoveryPointInVault, global::System.Globalization.CultureInfo.InvariantCulture, global::System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonOldestRecoveryPointInVaultValue) ? __jsonOldestRecoveryPointInVaultValue : OldestRecoveryPointInVault : OldestRecoveryPointInVault;}
+ {_oldestRecoveryPointInArchive = If( json?.PropertyT("oldestRecoveryPointInArchive"), out var __jsonOldestRecoveryPointInArchive) ? global::System.DateTime.TryParse((string)__jsonOldestRecoveryPointInArchive, global::System.Globalization.CultureInfo.InvariantCulture, global::System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonOldestRecoveryPointInArchiveValue) ? __jsonOldestRecoveryPointInArchiveValue : OldestRecoveryPointInArchive : OldestRecoveryPointInArchive;}
+ {_newestRecoveryPointInArchive = If( json?.PropertyT("newestRecoveryPointInArchive"), out var __jsonNewestRecoveryPointInArchive) ? global::System.DateTime.TryParse((string)__jsonNewestRecoveryPointInArchive, global::System.Globalization.CultureInfo.InvariantCulture, global::System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonNewestRecoveryPointInArchiveValue) ? __jsonNewestRecoveryPointInArchiveValue : NewestRecoveryPointInArchive : NewestRecoveryPointInArchive;}
+ {_recoveryPointCount = If( json?.PropertyT("recoveryPointCount"), out var __jsonRecoveryPointCount) ? (int?)__jsonRecoveryPointCount : RecoveryPointCount;}
+ {_policyInconsistent = If( json?.PropertyT("policyInconsistent"), out var __jsonPolicyInconsistent) ? (bool?)__jsonPolicyInconsistent : PolicyInconsistent;}
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemExtendedInfo.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemExtendedInfo.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemExtendedInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureIaaSvmProtectedItemExtendedInfo(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ AddIf( null != this._oldestRecoveryPoint ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._oldestRecoveryPoint?.ToString(@"yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffffffK",global::System.Globalization.CultureInfo.InvariantCulture)) : null, "oldestRecoveryPoint" ,container.Add );
+ AddIf( null != this._oldestRecoveryPointInVault ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._oldestRecoveryPointInVault?.ToString(@"yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffffffK",global::System.Globalization.CultureInfo.InvariantCulture)) : null, "oldestRecoveryPointInVault" ,container.Add );
+ AddIf( null != this._oldestRecoveryPointInArchive ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._oldestRecoveryPointInArchive?.ToString(@"yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffffffK",global::System.Globalization.CultureInfo.InvariantCulture)) : null, "oldestRecoveryPointInArchive" ,container.Add );
+ AddIf( null != this._newestRecoveryPointInArchive ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._newestRecoveryPointInArchive?.ToString(@"yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffffffK",global::System.Globalization.CultureInfo.InvariantCulture)) : null, "newestRecoveryPointInArchive" ,container.Add );
+ AddIf( null != this._recoveryPointCount ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNumber((int)this._recoveryPointCount) : null, "recoveryPointCount" ,container.Add );
+ AddIf( null != this._policyInconsistent ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonBoolean((bool)this._policyInconsistent) : null, "policyInconsistent" ,container.Add );
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectedItemKpisHealths.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectedItemKpisHealths.cs
new file mode 100644
index 000000000000..4a24212e8bc0
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectedItemKpisHealths.cs
@@ -0,0 +1,35 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Health details of different KPIs
+ public partial class AzureIaaSvmProtectedItemKpisHealths :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemKpisHealths,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemKpisHealthsInternal
+ {
+
+ /// Creates an new instance.
+ public AzureIaaSvmProtectedItemKpisHealths()
+ {
+
+ }
+ }
+ /// Health details of different KPIs
+ public partial interface IAzureIaaSvmProtectedItemKpisHealths :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray
+ {
+
+ }
+ /// Health details of different KPIs
+ internal partial interface IAzureIaaSvmProtectedItemKpisHealthsInternal
+
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectedItemKpisHealths.dictionary.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectedItemKpisHealths.dictionary.cs
new file mode 100644
index 000000000000..b476223a4b94
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectedItemKpisHealths.dictionary.cs
@@ -0,0 +1,75 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ public partial class AzureIaaSvmProtectedItemKpisHealths :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray
+ {
+ protected global::System.Collections.Generic.Dictionary __additionalProperties = new global::System.Collections.Generic.Dictionary();
+
+ global::System.Collections.Generic.IDictionary Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray.AdditionalProperties { get => __additionalProperties; }
+
+ int Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray.Count { get => __additionalProperties.Count; }
+
+ global::System.Collections.Generic.IEnumerable Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray.Keys { get => __additionalProperties.Keys; }
+
+ global::System.Collections.Generic.IEnumerable Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray.Values { get => __additionalProperties.Values; }
+
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IKpiResourceHealthDetails this[global::System.String index] { get => __additionalProperties[index]; set => __additionalProperties[index] = value; }
+
+ ///
+ ///
+ public void Add(global::System.String key, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IKpiResourceHealthDetails value) => __additionalProperties.Add( key, value);
+
+ public void Clear() => __additionalProperties.Clear();
+
+ ///
+ public bool ContainsKey(global::System.String key) => __additionalProperties.ContainsKey( key);
+
+ ///
+ public void CopyFrom(global::System.Collections.IDictionary source)
+ {
+ if (null != source)
+ {
+ foreach( var property in Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.PowerShell.TypeConverterExtensions.GetFilteredProperties(source, new global::System.Collections.Generic.HashSet() { } ) )
+ {
+ if ((null != property.Key && null != property.Value))
+ {
+ this.__additionalProperties.Add(property.Key.ToString(), global::System.Management.Automation.LanguagePrimitives.ConvertTo( property.Value));
+ }
+ }
+ }
+ }
+
+ ///
+ public void CopyFrom(global::System.Management.Automation.PSObject source)
+ {
+ if (null != source)
+ {
+ foreach( var property in Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.PowerShell.TypeConverterExtensions.GetFilteredProperties(source, new global::System.Collections.Generic.HashSet() { } ) )
+ {
+ if ((null != property.Key && null != property.Value))
+ {
+ this.__additionalProperties.Add(property.Key.ToString(), global::System.Management.Automation.LanguagePrimitives.ConvertTo( property.Value));
+ }
+ }
+ }
+ }
+
+ ///
+ public bool Remove(global::System.String key) => __additionalProperties.Remove( key);
+
+ ///
+ ///
+ public bool TryGetValue(global::System.String key, out Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IKpiResourceHealthDetails value) => __additionalProperties.TryGetValue( key, out value);
+
+ ///
+
+ public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureIaaSvmProtectedItemKpisHealths source) => source.__additionalProperties;
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectedItemKpisHealths.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectedItemKpisHealths.json.cs
new file mode 100644
index 000000000000..ddb9adbc9694
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectedItemKpisHealths.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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Health details of different KPIs
+ public partial class AzureIaaSvmProtectedItemKpisHealths
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ ///
+ internal AzureIaaSvmProtectedItemKpisHealths(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json, global::System.Collections.Generic.HashSet exclusions = null)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.JsonSerializable.FromJson( json, ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray)this).AdditionalProperties, (j) => Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.KpiResourceHealthDetails.FromJson(j) ,exclusions );
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemKpisHealths.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemKpisHealths.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectedItemKpisHealths FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureIaaSvmProtectedItemKpisHealths(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.JsonSerializable.ToJson( ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray)this).AdditionalProperties, container);
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectionPolicy.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectionPolicy.cs
new file mode 100644
index 000000000000..2eca6e47782e
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectionPolicy.cs
@@ -0,0 +1,269 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// IaaS VM workload-specific backup policy.
+ public partial class AzureIaaSvmProtectionPolicy :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectionPolicy,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectionPolicyInternal,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IValidates
+ {
+ ///
+ /// Backing field for Inherited model
+ ///
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionPolicy __protectionPolicy = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ProtectionPolicy();
+
+ ///
+ /// This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string BackupManagementType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionPolicyInternal)__protectionPolicy).BackupManagementType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionPolicyInternal)__protectionPolicy).BackupManagementType = value ; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IInstantRpAdditionalDetails _instantRpDetail;
+
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ internal Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IInstantRpAdditionalDetails InstantRpDetail { get => (this._instantRpDetail = this._instantRpDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.InstantRpAdditionalDetails()); set => this._instantRpDetail = value; }
+
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public string InstantRpDetailAzureBackupRgNamePrefix { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IInstantRpAdditionalDetailsInternal)InstantRpDetail).AzureBackupRgNamePrefix; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IInstantRpAdditionalDetailsInternal)InstantRpDetail).AzureBackupRgNamePrefix = value ?? null; }
+
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public string InstantRpDetailAzureBackupRgNameSuffix { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IInstantRpAdditionalDetailsInternal)InstantRpDetail).AzureBackupRgNameSuffix; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IInstantRpAdditionalDetailsInternal)InstantRpDetail).AzureBackupRgNameSuffix = value ?? null; }
+
+ /// Backing field for property.
+ private int? _instantRpRetentionRangeInDay;
+
+ /// Instant RP retention policy range in days
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public int? InstantRpRetentionRangeInDay { get => this._instantRpRetentionRangeInDay; set => this._instantRpRetentionRangeInDay = value; }
+
+ /// Internal Acessors for InstantRpDetail
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IInstantRpAdditionalDetails Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectionPolicyInternal.InstantRpDetail { get => (this._instantRpDetail = this._instantRpDetail ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.InstantRpAdditionalDetails()); set { {_instantRpDetail = value;} } }
+
+ /// Internal Acessors for RetentionPolicy
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRetentionPolicy Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectionPolicyInternal.RetentionPolicy { get => (this._retentionPolicy = this._retentionPolicy ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.RetentionPolicy()); set { {_retentionPolicy = value;} } }
+
+ /// Internal Acessors for SchedulePolicy
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ISchedulePolicy Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectionPolicyInternal.SchedulePolicy { get => (this._schedulePolicy = this._schedulePolicy ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.SchedulePolicy()); set { {_schedulePolicy = value;} } }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.IaasvmPolicyType? _policyType;
+
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.IaasvmPolicyType? PolicyType { get => this._policyType; set => this._policyType = value; }
+
+ /// Number of items associated with this policy.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public int? ProtectedItemsCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionPolicyInternal)__protectionPolicy).ProtectedItemsCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionPolicyInternal)__protectionPolicy).ProtectedItemsCount = value ?? default(int); }
+
+ /// ResourceGuard Operation Requests
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string[] ResourceGuardOperationRequest { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionPolicyInternal)__protectionPolicy).ResourceGuardOperationRequest; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionPolicyInternal)__protectionPolicy).ResourceGuardOperationRequest = value ?? null /* arrayOf */; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRetentionPolicy _retentionPolicy;
+
+ /// Retention policy with the details on backup copy retention ranges.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ internal Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRetentionPolicy RetentionPolicy { get => (this._retentionPolicy = this._retentionPolicy ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.RetentionPolicy()); set => this._retentionPolicy = value; }
+
+ ///
+ /// This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public string RetentionPolicyType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRetentionPolicyInternal)RetentionPolicy).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRetentionPolicyInternal)RetentionPolicy).Type = value ?? null; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ISchedulePolicy _schedulePolicy;
+
+ /// Backup schedule specified as part of backup policy.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ internal Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ISchedulePolicy SchedulePolicy { get => (this._schedulePolicy = this._schedulePolicy ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.SchedulePolicy()); set => this._schedulePolicy = value; }
+
+ ///
+ /// This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public string SchedulePolicyType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ISchedulePolicyInternal)SchedulePolicy).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ISchedulePolicyInternal)SchedulePolicy).Type = value ?? null; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.IaasVMSnapshotConsistencyType? _snapshotConsistencyType;
+
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.IaasVMSnapshotConsistencyType? SnapshotConsistencyType { get => this._snapshotConsistencyType; set => this._snapshotConsistencyType = value; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectionPolicyTieringPolicy _tieringPolicy;
+
+ ///
+ /// Tiering policy to automatically move RPs to another tier
+ /// Key is Target Tier, defined in RecoveryPointTierType enum.
+ /// Tiering policy specifies the criteria to move RP to the target tier.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectionPolicyTieringPolicy TieringPolicy { get => (this._tieringPolicy = this._tieringPolicy ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureIaaSvmProtectionPolicyTieringPolicy()); set => this._tieringPolicy = value; }
+
+ /// Backing field for property.
+ private string _timeZone;
+
+ ///
+ /// TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string TimeZone { get => this._timeZone; set => this._timeZone = value; }
+
+ /// Creates an new instance.
+ public AzureIaaSvmProtectionPolicy()
+ {
+
+ }
+
+ /// 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.RecoveryServicesBackup.Runtime.IEventListener eventListener)
+ {
+ await eventListener.AssertNotNull(nameof(__protectionPolicy), __protectionPolicy);
+ await eventListener.AssertObjectIsValid(nameof(__protectionPolicy), __protectionPolicy);
+ }
+ }
+ /// IaaS VM workload-specific backup policy.
+ public partial interface IAzureIaaSvmProtectionPolicy :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionPolicy
+ {
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"",
+ SerializedName = @"azureBackupRGNamePrefix",
+ PossibleTypes = new [] { typeof(string) })]
+ string InstantRpDetailAzureBackupRgNamePrefix { get; set; }
+
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"",
+ SerializedName = @"azureBackupRGNameSuffix",
+ PossibleTypes = new [] { typeof(string) })]
+ string InstantRpDetailAzureBackupRgNameSuffix { get; set; }
+ /// Instant RP retention policy range in days
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Instant RP retention policy range in days",
+ SerializedName = @"instantRpRetentionRangeInDays",
+ PossibleTypes = new [] { typeof(int) })]
+ int? InstantRpRetentionRangeInDay { get; set; }
+
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"",
+ SerializedName = @"policyType",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.IaasvmPolicyType) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.IaasvmPolicyType? PolicyType { get; set; }
+ ///
+ /// This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.",
+ SerializedName = @"retentionPolicyType",
+ PossibleTypes = new [] { typeof(string) })]
+ string RetentionPolicyType { get; set; }
+ ///
+ /// This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.",
+ SerializedName = @"schedulePolicyType",
+ PossibleTypes = new [] { typeof(string) })]
+ string SchedulePolicyType { get; set; }
+
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"",
+ SerializedName = @"snapshotConsistencyType",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.IaasVMSnapshotConsistencyType) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.IaasVMSnapshotConsistencyType? SnapshotConsistencyType { get; set; }
+ ///
+ /// Tiering policy to automatically move RPs to another tier
+ /// Key is Target Tier, defined in RecoveryPointTierType enum.
+ /// Tiering policy specifies the criteria to move RP to the target tier.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Tiering policy to automatically move RPs to another tier
+ Key is Target Tier, defined in RecoveryPointTierType enum.
+ Tiering policy specifies the criteria to move RP to the target tier.",
+ SerializedName = @"tieringPolicy",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectionPolicyTieringPolicy) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectionPolicyTieringPolicy TieringPolicy { get; set; }
+ ///
+ /// TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"TimeZone optional input as string. For example: TimeZone = ""Pacific Standard Time"".",
+ SerializedName = @"timeZone",
+ PossibleTypes = new [] { typeof(string) })]
+ string TimeZone { get; set; }
+
+ }
+ /// IaaS VM workload-specific backup policy.
+ internal partial interface IAzureIaaSvmProtectionPolicyInternal :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionPolicyInternal
+ {
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IInstantRpAdditionalDetails InstantRpDetail { get; set; }
+
+ string InstantRpDetailAzureBackupRgNamePrefix { get; set; }
+
+ string InstantRpDetailAzureBackupRgNameSuffix { get; set; }
+ /// Instant RP retention policy range in days
+ int? InstantRpRetentionRangeInDay { get; set; }
+
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.IaasvmPolicyType? PolicyType { get; set; }
+ /// Retention policy with the details on backup copy retention ranges.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRetentionPolicy RetentionPolicy { get; set; }
+ ///
+ /// This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
+ ///
+ string RetentionPolicyType { get; set; }
+ /// Backup schedule specified as part of backup policy.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ISchedulePolicy SchedulePolicy { get; set; }
+ ///
+ /// This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
+ ///
+ string SchedulePolicyType { get; set; }
+
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.IaasVMSnapshotConsistencyType? SnapshotConsistencyType { get; set; }
+ ///
+ /// Tiering policy to automatically move RPs to another tier
+ /// Key is Target Tier, defined in RecoveryPointTierType enum.
+ /// Tiering policy specifies the criteria to move RP to the target tier.
+ ///
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectionPolicyTieringPolicy TieringPolicy { get; set; }
+ ///
+ /// TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
+ ///
+ string TimeZone { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectionPolicy.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectionPolicy.json.cs
new file mode 100644
index 000000000000..3fb2e090a1a4
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectionPolicy.json.cs
@@ -0,0 +1,124 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// IaaS VM workload-specific backup policy.
+ public partial class AzureIaaSvmProtectionPolicy
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureIaaSvmProtectionPolicy(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ __protectionPolicy = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ProtectionPolicy(json);
+ {_instantRpDetail = If( json?.PropertyT("instantRPDetails"), out var __jsonInstantRpDetails) ? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.InstantRpAdditionalDetails.FromJson(__jsonInstantRpDetails) : InstantRpDetail;}
+ {_schedulePolicy = If( json?.PropertyT("schedulePolicy"), out var __jsonSchedulePolicy) ? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.SchedulePolicy.FromJson(__jsonSchedulePolicy) : SchedulePolicy;}
+ {_retentionPolicy = If( json?.PropertyT("retentionPolicy"), out var __jsonRetentionPolicy) ? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.RetentionPolicy.FromJson(__jsonRetentionPolicy) : RetentionPolicy;}
+ {_tieringPolicy = If( json?.PropertyT("tieringPolicy"), out var __jsonTieringPolicy) ? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureIaaSvmProtectionPolicyTieringPolicy.FromJson(__jsonTieringPolicy) : TieringPolicy;}
+ {_instantRpRetentionRangeInDay = If( json?.PropertyT("instantRpRetentionRangeInDays"), out var __jsonInstantRpRetentionRangeInDays) ? (int?)__jsonInstantRpRetentionRangeInDays : InstantRpRetentionRangeInDay;}
+ {_timeZone = If( json?.PropertyT("timeZone"), out var __jsonTimeZone) ? (string)__jsonTimeZone : (string)TimeZone;}
+ {_policyType = If( json?.PropertyT("policyType"), out var __jsonPolicyType) ? (string)__jsonPolicyType : (string)PolicyType;}
+ {_snapshotConsistencyType = If( json?.PropertyT("snapshotConsistencyType"), out var __jsonSnapshotConsistencyType) ? (string)__jsonSnapshotConsistencyType : (string)SnapshotConsistencyType;}
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectionPolicy.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectionPolicy.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectionPolicy FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureIaaSvmProtectionPolicy(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ __protectionPolicy?.ToJson(container, serializationMode);
+ AddIf( null != this._instantRpDetail ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) this._instantRpDetail.ToJson(null,serializationMode) : null, "instantRPDetails" ,container.Add );
+ AddIf( null != this._schedulePolicy ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) this._schedulePolicy.ToJson(null,serializationMode) : null, "schedulePolicy" ,container.Add );
+ AddIf( null != this._retentionPolicy ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) this._retentionPolicy.ToJson(null,serializationMode) : null, "retentionPolicy" ,container.Add );
+ AddIf( null != this._tieringPolicy ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) this._tieringPolicy.ToJson(null,serializationMode) : null, "tieringPolicy" ,container.Add );
+ AddIf( null != this._instantRpRetentionRangeInDay ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNumber((int)this._instantRpRetentionRangeInDay) : null, "instantRpRetentionRangeInDays" ,container.Add );
+ AddIf( null != (((object)this._timeZone)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._timeZone.ToString()) : null, "timeZone" ,container.Add );
+ AddIf( null != (((object)this._policyType)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._policyType.ToString()) : null, "policyType" ,container.Add );
+ AddIf( null != (((object)this._snapshotConsistencyType)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._snapshotConsistencyType.ToString()) : null, "snapshotConsistencyType" ,container.Add );
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectionPolicyTieringPolicy.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectionPolicyTieringPolicy.cs
new file mode 100644
index 000000000000..34c67442f446
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectionPolicyTieringPolicy.cs
@@ -0,0 +1,45 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ ///
+ /// Tiering policy to automatically move RPs to another tier
+ /// Key is Target Tier, defined in RecoveryPointTierType enum.
+ /// Tiering policy specifies the criteria to move RP to the target tier.
+ ///
+ public partial class AzureIaaSvmProtectionPolicyTieringPolicy :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectionPolicyTieringPolicy,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectionPolicyTieringPolicyInternal
+ {
+
+ ///
+ /// Creates an new instance.
+ ///
+ public AzureIaaSvmProtectionPolicyTieringPolicy()
+ {
+
+ }
+ }
+ /// Tiering policy to automatically move RPs to another tier
+ /// Key is Target Tier, defined in RecoveryPointTierType enum.
+ /// Tiering policy specifies the criteria to move RP to the target tier.
+ public partial interface IAzureIaaSvmProtectionPolicyTieringPolicy :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray
+ {
+
+ }
+ /// Tiering policy to automatically move RPs to another tier
+ /// Key is Target Tier, defined in RecoveryPointTierType enum.
+ /// Tiering policy specifies the criteria to move RP to the target tier.
+ internal partial interface IAzureIaaSvmProtectionPolicyTieringPolicyInternal
+
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectionPolicyTieringPolicy.dictionary.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectionPolicyTieringPolicy.dictionary.cs
new file mode 100644
index 000000000000..fc79e2ea46a0
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectionPolicyTieringPolicy.dictionary.cs
@@ -0,0 +1,75 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ public partial class AzureIaaSvmProtectionPolicyTieringPolicy :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray
+ {
+ protected global::System.Collections.Generic.Dictionary __additionalProperties = new global::System.Collections.Generic.Dictionary();
+
+ global::System.Collections.Generic.IDictionary Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray.AdditionalProperties { get => __additionalProperties; }
+
+ int Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray.Count { get => __additionalProperties.Count; }
+
+ global::System.Collections.Generic.IEnumerable Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray.Keys { get => __additionalProperties.Keys; }
+
+ global::System.Collections.Generic.IEnumerable Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray.Values { get => __additionalProperties.Values; }
+
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ITieringPolicy this[global::System.String index] { get => __additionalProperties[index]; set => __additionalProperties[index] = value; }
+
+ ///
+ ///
+ public void Add(global::System.String key, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ITieringPolicy value) => __additionalProperties.Add( key, value);
+
+ public void Clear() => __additionalProperties.Clear();
+
+ ///
+ public bool ContainsKey(global::System.String key) => __additionalProperties.ContainsKey( key);
+
+ ///
+ public void CopyFrom(global::System.Collections.IDictionary source)
+ {
+ if (null != source)
+ {
+ foreach( var property in Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.PowerShell.TypeConverterExtensions.GetFilteredProperties(source, new global::System.Collections.Generic.HashSet() { } ) )
+ {
+ if ((null != property.Key && null != property.Value))
+ {
+ this.__additionalProperties.Add(property.Key.ToString(), global::System.Management.Automation.LanguagePrimitives.ConvertTo( property.Value));
+ }
+ }
+ }
+ }
+
+ ///
+ public void CopyFrom(global::System.Management.Automation.PSObject source)
+ {
+ if (null != source)
+ {
+ foreach( var property in Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.PowerShell.TypeConverterExtensions.GetFilteredProperties(source, new global::System.Collections.Generic.HashSet() { } ) )
+ {
+ if ((null != property.Key && null != property.Value))
+ {
+ this.__additionalProperties.Add(property.Key.ToString(), global::System.Management.Automation.LanguagePrimitives.ConvertTo( property.Value));
+ }
+ }
+ }
+ }
+
+ ///
+ public bool Remove(global::System.String key) => __additionalProperties.Remove( key);
+
+ ///
+ ///
+ public bool TryGetValue(global::System.String key, out Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ITieringPolicy value) => __additionalProperties.TryGetValue( key, out value);
+
+ ///
+
+ public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureIaaSvmProtectionPolicyTieringPolicy source) => source.__additionalProperties;
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectionPolicyTieringPolicy.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectionPolicyTieringPolicy.json.cs
new file mode 100644
index 000000000000..4cc9da89a474
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureIaaSvmProtectionPolicyTieringPolicy.json.cs
@@ -0,0 +1,115 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ ///
+ /// Tiering policy to automatically move RPs to another tier
+ /// Key is Target Tier, defined in RecoveryPointTierType enum.
+ /// Tiering policy specifies the criteria to move RP to the target tier.
+ ///
+ public partial class AzureIaaSvmProtectionPolicyTieringPolicy
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ ///
+ internal AzureIaaSvmProtectionPolicyTieringPolicy(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json, global::System.Collections.Generic.HashSet exclusions = null)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.JsonSerializable.FromJson( json, ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray)this).AdditionalProperties, (j) => Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.TieringPolicy.FromJson(j) ,exclusions );
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectionPolicyTieringPolicy.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectionPolicyTieringPolicy.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureIaaSvmProtectionPolicyTieringPolicy FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureIaaSvmProtectionPolicyTieringPolicy(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.JsonSerializable.ToJson( ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray)this).AdditionalProperties, container);
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureRecoveryServiceVaultProtectionIntent.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureRecoveryServiceVaultProtectionIntent.cs
new file mode 100644
index 000000000000..d2c0b89d8fe8
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureRecoveryServiceVaultProtectionIntent.cs
@@ -0,0 +1,81 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure Recovery Services Vault specific protection intent item.
+ public partial class AzureRecoveryServiceVaultProtectionIntent :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureRecoveryServiceVaultProtectionIntent,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureRecoveryServiceVaultProtectionIntentInternal,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IValidates
+ {
+ ///
+ /// Backing field for Inherited model
+ ///
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionIntent __protectionIntent = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ProtectionIntent();
+
+ /// Type of backup management for the backed up item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType? BackupManagementType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionIntentInternal)__protectionIntent).BackupManagementType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionIntentInternal)__protectionIntent).BackupManagementType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType)""); }
+
+ ///
+ /// ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ItemId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionIntentInternal)__protectionIntent).ItemId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionIntentInternal)__protectionIntent).ItemId = value ?? null; }
+
+ /// backup protectionIntent type.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectionIntentItemType ItemType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionIntentInternal)__protectionIntent).ItemType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionIntentInternal)__protectionIntent).ItemType = value ; }
+
+ /// ID of the backup policy with which this item is backed up.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string PolicyId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionIntentInternal)__protectionIntent).PolicyId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionIntentInternal)__protectionIntent).PolicyId = value ?? null; }
+
+ /// Backup state of this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectionStatus? ProtectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionIntentInternal)__protectionIntent).ProtectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionIntentInternal)__protectionIntent).ProtectionState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectionStatus)""); }
+
+ /// ARM ID of the resource to be backed up.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string SourceResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionIntentInternal)__protectionIntent).SourceResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionIntentInternal)__protectionIntent).SourceResourceId = value ?? null; }
+
+ ///
+ /// Creates an new instance.
+ ///
+ public AzureRecoveryServiceVaultProtectionIntent()
+ {
+
+ }
+
+ /// 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.RecoveryServicesBackup.Runtime.IEventListener eventListener)
+ {
+ await eventListener.AssertNotNull(nameof(__protectionIntent), __protectionIntent);
+ await eventListener.AssertObjectIsValid(nameof(__protectionIntent), __protectionIntent);
+ }
+ }
+ /// Azure Recovery Services Vault specific protection intent item.
+ public partial interface IAzureRecoveryServiceVaultProtectionIntent :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionIntent
+ {
+
+ }
+ /// Azure Recovery Services Vault specific protection intent item.
+ internal partial interface IAzureRecoveryServiceVaultProtectionIntentInternal :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionIntentInternal
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureRecoveryServiceVaultProtectionIntent.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureRecoveryServiceVaultProtectionIntent.json.cs
new file mode 100644
index 000000000000..60580d4b465e
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureRecoveryServiceVaultProtectionIntent.json.cs
@@ -0,0 +1,126 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure Recovery Services Vault specific protection intent item.
+ public partial class AzureRecoveryServiceVaultProtectionIntent
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureRecoveryServiceVaultProtectionIntent(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ __protectionIntent = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ProtectionIntent(json);
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureRecoveryServiceVaultProtectionIntent.
+ /// Note: the Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureRecoveryServiceVaultProtectionIntent
+ /// 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.RecoveryServicesBackup.Models.Api20241001.IAzureRecoveryServiceVaultProtectionIntent.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureRecoveryServiceVaultProtectionIntent FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ if (!(node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json))
+ {
+ return null;
+ }
+ // Polymorphic type -- select the appropriate constructor using the discriminator
+
+ switch ( json.StringProperty("protectionIntentItemType") )
+ {
+ case "AzureWorkloadSQLAutoProtectionIntent":
+ {
+ return new AzureWorkloadSqlAutoProtectionIntent(json);
+ }
+ }
+ return new AzureRecoveryServiceVaultProtectionIntent(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ __protectionIntent?.ToJson(container, serializationMode);
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureResourceProtectionIntent.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureResourceProtectionIntent.cs
new file mode 100644
index 000000000000..b944c860b28e
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureResourceProtectionIntent.cs
@@ -0,0 +1,96 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// IaaS VM specific backup protection intent item.
+ public partial class AzureResourceProtectionIntent :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureResourceProtectionIntent,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureResourceProtectionIntentInternal,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IValidates
+ {
+ ///
+ /// Backing field for Inherited model
+ ///
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionIntent __protectionIntent = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ProtectionIntent();
+
+ /// Type of backup management for the backed up item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType? BackupManagementType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionIntentInternal)__protectionIntent).BackupManagementType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionIntentInternal)__protectionIntent).BackupManagementType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType)""); }
+
+ /// Backing field for property.
+ private string _friendlyName;
+
+ /// Friendly name of the VM represented by this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string FriendlyName { get => this._friendlyName; set => this._friendlyName = value; }
+
+ ///
+ /// ID of the item which is getting protected, In case of Azure Vm , it is ProtectedItemId
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ItemId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionIntentInternal)__protectionIntent).ItemId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionIntentInternal)__protectionIntent).ItemId = value ?? null; }
+
+ /// backup protectionIntent type.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectionIntentItemType ItemType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionIntentInternal)__protectionIntent).ItemType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionIntentInternal)__protectionIntent).ItemType = value ; }
+
+ /// ID of the backup policy with which this item is backed up.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string PolicyId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionIntentInternal)__protectionIntent).PolicyId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionIntentInternal)__protectionIntent).PolicyId = value ?? null; }
+
+ /// Backup state of this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectionStatus? ProtectionState { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionIntentInternal)__protectionIntent).ProtectionState; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionIntentInternal)__protectionIntent).ProtectionState = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectionStatus)""); }
+
+ /// ARM ID of the resource to be backed up.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string SourceResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionIntentInternal)__protectionIntent).SourceResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionIntentInternal)__protectionIntent).SourceResourceId = value ?? null; }
+
+ /// Creates an new instance.
+ public AzureResourceProtectionIntent()
+ {
+
+ }
+
+ /// 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.RecoveryServicesBackup.Runtime.IEventListener eventListener)
+ {
+ await eventListener.AssertNotNull(nameof(__protectionIntent), __protectionIntent);
+ await eventListener.AssertObjectIsValid(nameof(__protectionIntent), __protectionIntent);
+ }
+ }
+ /// IaaS VM specific backup protection intent item.
+ public partial interface IAzureResourceProtectionIntent :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionIntent
+ {
+ /// Friendly name of the VM represented by this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Friendly name of the VM represented by this backup item.",
+ SerializedName = @"friendlyName",
+ PossibleTypes = new [] { typeof(string) })]
+ string FriendlyName { get; set; }
+
+ }
+ /// IaaS VM specific backup protection intent item.
+ internal partial interface IAzureResourceProtectionIntentInternal :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionIntentInternal
+ {
+ /// Friendly name of the VM represented by this backup item.
+ string FriendlyName { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureResourceProtectionIntent.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureResourceProtectionIntent.json.cs
new file mode 100644
index 000000000000..0407aca40ed6
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureResourceProtectionIntent.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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// IaaS VM specific backup protection intent item.
+ public partial class AzureResourceProtectionIntent
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureResourceProtectionIntent(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ __protectionIntent = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ProtectionIntent(json);
+ {_friendlyName = If( json?.PropertyT("friendlyName"), out var __jsonFriendlyName) ? (string)__jsonFriendlyName : (string)FriendlyName;}
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureResourceProtectionIntent.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureResourceProtectionIntent.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureResourceProtectionIntent FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureResourceProtectionIntent(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ __protectionIntent?.ToJson(container, serializationMode);
+ AddIf( null != (((object)this._friendlyName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._friendlyName.ToString()) : null, "friendlyName" ,container.Add );
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureSqlContainer.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureSqlContainer.cs
new file mode 100644
index 000000000000..97b453f9f514
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureSqlContainer.cs
@@ -0,0 +1,82 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure Sql workload-specific container.
+ public partial class AzureSqlContainer :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlContainer,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlContainerInternal,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IValidates
+ {
+ ///
+ /// Backing field for Inherited model
+ ///
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainer __protectionContainer = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ProtectionContainer();
+
+ /// Type of backup management for the container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType? BackupManagementType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__protectionContainer).BackupManagementType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__protectionContainer).BackupManagementType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType)""); }
+
+ ///
+ /// Type of the container. The value of this property for: 1. Compute Azure VM is Microsoft.Compute/virtualMachines 2.
+ /// Classic Compute Azure VM is Microsoft.ClassicCompute/virtualMachines 3. Windows machines (like MAB, DPM etc) is
+ /// Windows 4. Azure SQL instance is AzureSqlContainer. 5. Storage containers is StorageContainer. 6. Azure workload
+ /// Backup is VMAppContainer
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectableContainerType ContainerType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__protectionContainer).ContainerType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__protectionContainer).ContainerType = value ; }
+
+ /// Friendly name of the container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string FriendlyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__protectionContainer).FriendlyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__protectionContainer).FriendlyName = value ?? null; }
+
+ /// Status of health of the container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string HealthStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__protectionContainer).HealthStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__protectionContainer).HealthStatus = value ?? null; }
+
+ /// Type of the protectable object associated with this container
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ProtectableObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__protectionContainer).ProtectableObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__protectionContainer).ProtectableObjectType = value ?? null; }
+
+ /// Status of registration of the container with the Recovery Services Vault.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string RegistrationStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__protectionContainer).RegistrationStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__protectionContainer).RegistrationStatus = value ?? null; }
+
+ /// Creates an new instance.
+ public AzureSqlContainer()
+ {
+
+ }
+
+ /// 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.RecoveryServicesBackup.Runtime.IEventListener eventListener)
+ {
+ await eventListener.AssertNotNull(nameof(__protectionContainer), __protectionContainer);
+ await eventListener.AssertObjectIsValid(nameof(__protectionContainer), __protectionContainer);
+ }
+ }
+ /// Azure Sql workload-specific container.
+ public partial interface IAzureSqlContainer :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainer
+ {
+
+ }
+ /// Azure Sql workload-specific container.
+ internal partial interface IAzureSqlContainerInternal :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureSqlContainer.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureSqlContainer.json.cs
new file mode 100644
index 000000000000..a0cf18dec897
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureSqlContainer.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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure Sql workload-specific container.
+ public partial class AzureSqlContainer
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureSqlContainer(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ __protectionContainer = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ProtectionContainer(json);
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlContainer.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlContainer.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlContainer FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureSqlContainer(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ __protectionContainer?.ToJson(container, serializationMode);
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureSqlProtectedItem.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureSqlProtectedItem.cs
new file mode 100644
index 000000000000..d8b0d5335832
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureSqlProtectedItem.cs
@@ -0,0 +1,234 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure SQL workload-specific backup item.
+ public partial class AzureSqlProtectedItem :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlProtectedItem,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlProtectedItemInternal,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IValidates
+ {
+ ///
+ /// Backing field for Inherited model
+ ///
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItem __protectedItem = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ProtectedItem();
+
+ /// Type of backup management for the backed up item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType? BackupManagementType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).BackupManagementType; }
+
+ /// Name of the backup set the backup item belongs to
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string BackupSetName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).BackupSetName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).BackupSetName = value ?? null; }
+
+ /// Unique name of container
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ContainerName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).ContainerName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).ContainerName = value ?? null; }
+
+ ///
+ /// Create mode to indicate recovery of existing soft deleted data source or creation of new data source.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.CreateMode? CreateMode { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).CreateMode; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).CreateMode = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.CreateMode)""); }
+
+ /// Time for deferred deletion in UTC
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public global::System.DateTime? DeferredDeleteTimeInUtc { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).DeferredDeleteTimeInUtc; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).DeferredDeleteTimeInUtc = value ?? default(global::System.DateTime); }
+
+ /// Time remaining before the DS marked for deferred delete is permanently deleted
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string DeferredDeleteTimeRemaining { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).DeferredDeleteTimeRemaining; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).DeferredDeleteTimeRemaining = value ?? null; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlProtectedItemExtendedInfo _extendedInfo;
+
+ /// Additional information for this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ internal Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlProtectedItemExtendedInfo ExtendedInfo { get => (this._extendedInfo = this._extendedInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureSqlProtectedItemExtendedInfo()); set => this._extendedInfo = value; }
+
+ /// The oldest backup copy available for this item in the service.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public global::System.DateTime? ExtendedInfoOldestRecoveryPoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlProtectedItemExtendedInfoInternal)ExtendedInfo).OldestRecoveryPoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlProtectedItemExtendedInfoInternal)ExtendedInfo).OldestRecoveryPoint = value ?? default(global::System.DateTime); }
+
+ /// State of the backup policy associated with this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public string ExtendedInfoPolicyState { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlProtectedItemExtendedInfoInternal)ExtendedInfo).PolicyState; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlProtectedItemExtendedInfoInternal)ExtendedInfo).PolicyState = value ?? null; }
+
+ /// Number of available backup copies associated with this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public int? ExtendedInfoRecoveryPointCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlProtectedItemExtendedInfoInternal)ExtendedInfo).RecoveryPointCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlProtectedItemExtendedInfoInternal)ExtendedInfo).RecoveryPointCount = value ?? default(int); }
+
+ /// Flag to identify whether datasource is protected in archive
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public bool? IsArchiveEnabled { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).IsArchiveEnabled; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).IsArchiveEnabled = value ?? default(bool); }
+
+ /// Flag to identify whether the deferred deleted DS is to be purged soon
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public bool? IsDeferredDeleteScheduleUpcoming { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).IsDeferredDeleteScheduleUpcoming; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).IsDeferredDeleteScheduleUpcoming = value ?? default(bool); }
+
+ /// Flag to identify that deferred deleted DS is to be moved into Pause state
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public bool? IsRehydrate { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).IsRehydrate; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).IsRehydrate = value ?? default(bool); }
+
+ /// Flag to identify whether the DS is scheduled for deferred delete
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public bool? IsScheduledForDeferredDelete { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).IsScheduledForDeferredDelete; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).IsScheduledForDeferredDelete = value ?? default(bool); }
+
+ /// Timestamp when the last (latest) backup copy was created for this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public global::System.DateTime? LastRecoveryPoint { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).LastRecoveryPoint; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).LastRecoveryPoint = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for ExtendedInfo
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlProtectedItemExtendedInfo Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlProtectedItemInternal.ExtendedInfo { get => (this._extendedInfo = this._extendedInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureSqlProtectedItemExtendedInfo()); set { {_extendedInfo = value;} } }
+
+ /// Internal Acessors for BackupManagementType
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal.BackupManagementType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).BackupManagementType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).BackupManagementType = value; }
+
+ /// Internal Acessors for VaultId
+ string Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal.VaultId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).VaultId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).VaultId = value; }
+
+ /// Internal Acessors for WorkloadType
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.DataSourceType? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal.WorkloadType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).WorkloadType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).WorkloadType = value; }
+
+ /// ID of the backup policy with which this item is backed up.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string PolicyId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).PolicyId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).PolicyId = value ?? null; }
+
+ /// Name of the policy used for protection
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string PolicyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).PolicyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).PolicyName = value ?? null; }
+
+ /// Backing field for property.
+ private string _protectedItemDataId;
+
+ ///
+ /// Internal ID of a backup item. Used by Azure SQL Backup engine to contact Recovery Services.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string ProtectedItemDataId { get => this._protectedItemDataId; set => this._protectedItemDataId = value; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectedItemState? _protectionState;
+
+ /// Backup state of the backed up item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectedItemState? ProtectionState { get => this._protectionState; set => this._protectionState = value; }
+
+ /// ResourceGuardOperationRequests on which LAC check will be performed
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string[] ResourceGuardOperationRequest { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).ResourceGuardOperationRequest; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).ResourceGuardOperationRequest = value ?? null /* arrayOf */; }
+
+ /// Soft delete retention period in days
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public int? SoftDeleteRetentionPeriodInDay { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).SoftDeleteRetentionPeriodInDay; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).SoftDeleteRetentionPeriodInDay = value ?? default(int); }
+
+ /// ARM ID of the resource to be backed up.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string SourceResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).SourceResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).SourceResourceId = value ?? null; }
+
+ /// backup item type.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).Type = value ; }
+
+ /// ID of the vault which protects this item
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string VaultId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).VaultId; }
+
+ /// Type of workload this item represents.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.DataSourceType? WorkloadType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal)__protectedItem).WorkloadType; }
+
+ /// Creates an new instance.
+ public AzureSqlProtectedItem()
+ {
+
+ }
+
+ /// 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.RecoveryServicesBackup.Runtime.IEventListener eventListener)
+ {
+ await eventListener.AssertNotNull(nameof(__protectedItem), __protectedItem);
+ await eventListener.AssertObjectIsValid(nameof(__protectedItem), __protectedItem);
+ }
+ }
+ /// Azure SQL workload-specific backup item.
+ public partial interface IAzureSqlProtectedItem :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItem
+ {
+ /// The oldest backup copy available for this item in the service.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The oldest backup copy available for this item in the service.",
+ SerializedName = @"oldestRecoveryPoint",
+ PossibleTypes = new [] { typeof(global::System.DateTime) })]
+ global::System.DateTime? ExtendedInfoOldestRecoveryPoint { get; set; }
+ /// State of the backup policy associated with this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"State of the backup policy associated with this backup item.",
+ SerializedName = @"policyState",
+ PossibleTypes = new [] { typeof(string) })]
+ string ExtendedInfoPolicyState { get; set; }
+ /// Number of available backup copies associated with this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Number of available backup copies associated with this backup item.",
+ SerializedName = @"recoveryPointCount",
+ PossibleTypes = new [] { typeof(int) })]
+ int? ExtendedInfoRecoveryPointCount { get; set; }
+ ///
+ /// Internal ID of a backup item. Used by Azure SQL Backup engine to contact Recovery Services.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Internal ID of a backup item. Used by Azure SQL Backup engine to contact Recovery Services.",
+ SerializedName = @"protectedItemDataId",
+ PossibleTypes = new [] { typeof(string) })]
+ string ProtectedItemDataId { get; set; }
+ /// Backup state of the backed up item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Backup state of the backed up item.",
+ SerializedName = @"protectionState",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectedItemState) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectedItemState? ProtectionState { get; set; }
+
+ }
+ /// Azure SQL workload-specific backup item.
+ internal partial interface IAzureSqlProtectedItemInternal :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectedItemInternal
+ {
+ /// Additional information for this backup item.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlProtectedItemExtendedInfo ExtendedInfo { get; set; }
+ /// The oldest backup copy available for this item in the service.
+ global::System.DateTime? ExtendedInfoOldestRecoveryPoint { get; set; }
+ /// State of the backup policy associated with this backup item.
+ string ExtendedInfoPolicyState { get; set; }
+ /// Number of available backup copies associated with this backup item.
+ int? ExtendedInfoRecoveryPointCount { get; set; }
+ ///
+ /// Internal ID of a backup item. Used by Azure SQL Backup engine to contact Recovery Services.
+ ///
+ string ProtectedItemDataId { get; set; }
+ /// Backup state of the backed up item.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectedItemState? ProtectionState { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureSqlProtectedItem.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureSqlProtectedItem.json.cs
new file mode 100644
index 000000000000..b3e7a55bc299
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureSqlProtectedItem.json.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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure SQL workload-specific backup item.
+ public partial class AzureSqlProtectedItem
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureSqlProtectedItem(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ __protectedItem = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ProtectedItem(json);
+ {_extendedInfo = If( json?.PropertyT("extendedInfo"), out var __jsonExtendedInfo) ? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureSqlProtectedItemExtendedInfo.FromJson(__jsonExtendedInfo) : ExtendedInfo;}
+ {_protectedItemDataId = If( json?.PropertyT("protectedItemDataId"), out var __jsonProtectedItemDataId) ? (string)__jsonProtectedItemDataId : (string)ProtectedItemDataId;}
+ {_protectionState = If( json?.PropertyT("protectionState"), out var __jsonProtectionState) ? (string)__jsonProtectionState : (string)ProtectionState;}
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlProtectedItem.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlProtectedItem.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlProtectedItem FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureSqlProtectedItem(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ __protectedItem?.ToJson(container, serializationMode);
+ AddIf( null != this._extendedInfo ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) this._extendedInfo.ToJson(null,serializationMode) : null, "extendedInfo" ,container.Add );
+ AddIf( null != (((object)this._protectedItemDataId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._protectedItemDataId.ToString()) : null, "protectedItemDataId" ,container.Add );
+ AddIf( null != (((object)this._protectionState)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._protectionState.ToString()) : null, "protectionState" ,container.Add );
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureSqlProtectedItemExtendedInfo.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureSqlProtectedItemExtendedInfo.cs
new file mode 100644
index 000000000000..29c0362b2b2f
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureSqlProtectedItemExtendedInfo.cs
@@ -0,0 +1,85 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Additional information on Azure Sql specific protected item.
+ public partial class AzureSqlProtectedItemExtendedInfo :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlProtectedItemExtendedInfo,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlProtectedItemExtendedInfoInternal
+ {
+
+ /// Backing field for property.
+ private global::System.DateTime? _oldestRecoveryPoint;
+
+ /// The oldest backup copy available for this item in the service.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public global::System.DateTime? OldestRecoveryPoint { get => this._oldestRecoveryPoint; set => this._oldestRecoveryPoint = value; }
+
+ /// Backing field for property.
+ private string _policyState;
+
+ /// State of the backup policy associated with this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string PolicyState { get => this._policyState; set => this._policyState = value; }
+
+ /// Backing field for property.
+ private int? _recoveryPointCount;
+
+ /// Number of available backup copies associated with this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public int? RecoveryPointCount { get => this._recoveryPointCount; set => this._recoveryPointCount = value; }
+
+ /// Creates an new instance.
+ public AzureSqlProtectedItemExtendedInfo()
+ {
+
+ }
+ }
+ /// Additional information on Azure Sql specific protected item.
+ public partial interface IAzureSqlProtectedItemExtendedInfo :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable
+ {
+ /// The oldest backup copy available for this item in the service.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The oldest backup copy available for this item in the service.",
+ SerializedName = @"oldestRecoveryPoint",
+ PossibleTypes = new [] { typeof(global::System.DateTime) })]
+ global::System.DateTime? OldestRecoveryPoint { get; set; }
+ /// State of the backup policy associated with this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"State of the backup policy associated with this backup item.",
+ SerializedName = @"policyState",
+ PossibleTypes = new [] { typeof(string) })]
+ string PolicyState { get; set; }
+ /// Number of available backup copies associated with this backup item.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Number of available backup copies associated with this backup item.",
+ SerializedName = @"recoveryPointCount",
+ PossibleTypes = new [] { typeof(int) })]
+ int? RecoveryPointCount { get; set; }
+
+ }
+ /// Additional information on Azure Sql specific protected item.
+ internal partial interface IAzureSqlProtectedItemExtendedInfoInternal
+
+ {
+ /// The oldest backup copy available for this item in the service.
+ global::System.DateTime? OldestRecoveryPoint { get; set; }
+ /// State of the backup policy associated with this backup item.
+ string PolicyState { get; set; }
+ /// Number of available backup copies associated with this backup item.
+ int? RecoveryPointCount { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureSqlProtectedItemExtendedInfo.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureSqlProtectedItemExtendedInfo.json.cs
new file mode 100644
index 000000000000..bd9f5703cfd6
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureSqlProtectedItemExtendedInfo.json.cs
@@ -0,0 +1,112 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Additional information on Azure Sql specific protected item.
+ public partial class AzureSqlProtectedItemExtendedInfo
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureSqlProtectedItemExtendedInfo(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ {_oldestRecoveryPoint = If( json?.PropertyT("oldestRecoveryPoint"), out var __jsonOldestRecoveryPoint) ? global::System.DateTime.TryParse((string)__jsonOldestRecoveryPoint, global::System.Globalization.CultureInfo.InvariantCulture, global::System.Globalization.DateTimeStyles.AdjustToUniversal, out var __jsonOldestRecoveryPointValue) ? __jsonOldestRecoveryPointValue : OldestRecoveryPoint : OldestRecoveryPoint;}
+ {_recoveryPointCount = If( json?.PropertyT("recoveryPointCount"), out var __jsonRecoveryPointCount) ? (int?)__jsonRecoveryPointCount : RecoveryPointCount;}
+ {_policyState = If( json?.PropertyT("policyState"), out var __jsonPolicyState) ? (string)__jsonPolicyState : (string)PolicyState;}
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlProtectedItemExtendedInfo.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlProtectedItemExtendedInfo.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlProtectedItemExtendedInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureSqlProtectedItemExtendedInfo(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ AddIf( null != this._oldestRecoveryPoint ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._oldestRecoveryPoint?.ToString(@"yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffffffK",global::System.Globalization.CultureInfo.InvariantCulture)) : null, "oldestRecoveryPoint" ,container.Add );
+ AddIf( null != this._recoveryPointCount ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNumber((int)this._recoveryPointCount) : null, "recoveryPointCount" ,container.Add );
+ AddIf( null != (((object)this._policyState)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._policyState.ToString()) : null, "policyState" ,container.Add );
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureSqlProtectionPolicy.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureSqlProtectionPolicy.cs
new file mode 100644
index 000000000000..18594d49aae2
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureSqlProtectionPolicy.cs
@@ -0,0 +1,99 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure SQL workload-specific backup policy.
+ public partial class AzureSqlProtectionPolicy :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlProtectionPolicy,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlProtectionPolicyInternal,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IValidates
+ {
+ ///
+ /// Backing field for Inherited model
+ ///
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionPolicy __protectionPolicy = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ProtectionPolicy();
+
+ ///
+ /// This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string BackupManagementType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionPolicyInternal)__protectionPolicy).BackupManagementType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionPolicyInternal)__protectionPolicy).BackupManagementType = value ; }
+
+ /// Internal Acessors for RetentionPolicy
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRetentionPolicy Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlProtectionPolicyInternal.RetentionPolicy { get => (this._retentionPolicy = this._retentionPolicy ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.RetentionPolicy()); set { {_retentionPolicy = value;} } }
+
+ /// Number of items associated with this policy.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public int? ProtectedItemsCount { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionPolicyInternal)__protectionPolicy).ProtectedItemsCount; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionPolicyInternal)__protectionPolicy).ProtectedItemsCount = value ?? default(int); }
+
+ /// ResourceGuard Operation Requests
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string[] ResourceGuardOperationRequest { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionPolicyInternal)__protectionPolicy).ResourceGuardOperationRequest; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionPolicyInternal)__protectionPolicy).ResourceGuardOperationRequest = value ?? null /* arrayOf */; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRetentionPolicy _retentionPolicy;
+
+ /// Retention policy details.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ internal Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRetentionPolicy RetentionPolicy { get => (this._retentionPolicy = this._retentionPolicy ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.RetentionPolicy()); set => this._retentionPolicy = value; }
+
+ ///
+ /// This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public string RetentionPolicyType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRetentionPolicyInternal)RetentionPolicy).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRetentionPolicyInternal)RetentionPolicy).Type = value ?? null; }
+
+ /// Creates an new instance.
+ public AzureSqlProtectionPolicy()
+ {
+
+ }
+
+ /// 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.RecoveryServicesBackup.Runtime.IEventListener eventListener)
+ {
+ await eventListener.AssertNotNull(nameof(__protectionPolicy), __protectionPolicy);
+ await eventListener.AssertObjectIsValid(nameof(__protectionPolicy), __protectionPolicy);
+ }
+ }
+ /// Azure SQL workload-specific backup policy.
+ public partial interface IAzureSqlProtectionPolicy :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionPolicy
+ {
+ ///
+ /// This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.",
+ SerializedName = @"retentionPolicyType",
+ PossibleTypes = new [] { typeof(string) })]
+ string RetentionPolicyType { get; set; }
+
+ }
+ /// Azure SQL workload-specific backup policy.
+ internal partial interface IAzureSqlProtectionPolicyInternal :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionPolicyInternal
+ {
+ /// Retention policy details.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IRetentionPolicy RetentionPolicy { get; set; }
+ ///
+ /// This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
+ ///
+ string RetentionPolicyType { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureSqlProtectionPolicy.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureSqlProtectionPolicy.json.cs
new file mode 100644
index 000000000000..34b382ec39f0
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureSqlProtectionPolicy.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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure SQL workload-specific backup policy.
+ public partial class AzureSqlProtectionPolicy
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureSqlProtectionPolicy(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ __protectionPolicy = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ProtectionPolicy(json);
+ {_retentionPolicy = If( json?.PropertyT("retentionPolicy"), out var __jsonRetentionPolicy) ? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.RetentionPolicy.FromJson(__jsonRetentionPolicy) : RetentionPolicy;}
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlProtectionPolicy.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlProtectionPolicy.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlProtectionPolicy FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureSqlProtectionPolicy(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ __protectionPolicy?.ToJson(container, serializationMode);
+ AddIf( null != this._retentionPolicy ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) this._retentionPolicy.ToJson(null,serializationMode) : null, "retentionPolicy" ,container.Add );
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureSqlagWorkloadContainerProtectionContainer.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureSqlagWorkloadContainerProtectionContainer.cs
new file mode 100644
index 000000000000..21d464f226c1
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureSqlagWorkloadContainerProtectionContainer.cs
@@ -0,0 +1,157 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Container for SQL workloads under SQL Availability Group.
+ public partial class AzureSqlagWorkloadContainerProtectionContainer :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlagWorkloadContainerProtectionContainer,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlagWorkloadContainerProtectionContainerInternal,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IValidates
+ {
+ ///
+ /// Backing field for Inherited model
+ ///
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainer __azureWorkloadContainer = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureWorkloadContainer();
+
+ /// Type of backup management for the container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType? BackupManagementType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__azureWorkloadContainer).BackupManagementType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__azureWorkloadContainer).BackupManagementType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType)""); }
+
+ ///
+ /// Type of the container. The value of this property for: 1. Compute Azure VM is Microsoft.Compute/virtualMachines 2.
+ /// Classic Compute Azure VM is Microsoft.ClassicCompute/virtualMachines 3. Windows machines (like MAB, DPM etc) is
+ /// Windows 4. Azure SQL instance is AzureSqlContainer. 5. Storage containers is StorageContainer. 6. Azure workload
+ /// Backup is VMAppContainer
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectableContainerType ContainerType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__azureWorkloadContainer).ContainerType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__azureWorkloadContainer).ContainerType = value ; }
+
+ /// Error code.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ErrorDetailCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).ErrorDetailCode; }
+
+ /// Error Message related to the Code.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ErrorDetailMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).ErrorDetailMessage; }
+
+ /// List of recommendation strings.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string[] ErrorDetailRecommendation { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).ErrorDetailRecommendation; }
+
+ /// Additional details of a workload container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerExtendedInfo ExtendedInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).ExtendedInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).ExtendedInfo = value ?? null /* model class */; }
+
+ ///
+ /// Host Os Name in case of Stand Alone and Cluster Name in case of distributed container.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ExtendedInfoHostServerName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).ExtendedInfoHostServerName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).ExtendedInfoHostServerName = value ?? null; }
+
+ /// Inquiry Status for the container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IInquiryInfo ExtendedInfoInquiryInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).ExtendedInfoInquiryInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).ExtendedInfoInquiryInfo = value ?? null /* model class */; }
+
+ /// List of the nodes in case of distributed container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IDistributedNodesInfo[] ExtendedInfoNodesList { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).ExtendedInfoNodesList; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).ExtendedInfoNodesList = value ?? null /* arrayOf */; }
+
+ /// Friendly name of the container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string FriendlyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__azureWorkloadContainer).FriendlyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__azureWorkloadContainer).FriendlyName = value ?? null; }
+
+ /// Status of health of the container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string HealthStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__azureWorkloadContainer).HealthStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__azureWorkloadContainer).HealthStatus = value ?? null; }
+
+ /// Error Details if the Status is non-success.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IErrorDetail InquiryInfoErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).InquiryInfoErrorDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).InquiryInfoErrorDetail = value ?? null /* model class */; }
+
+ ///
+ /// Inquiry Details which will have workload specific details.
+ /// For e.g. - For SQL and oracle this will contain different details.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadInquiryDetails[] InquiryInfoInquiryDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).InquiryInfoInquiryDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).InquiryInfoInquiryDetail = value ?? null /* arrayOf */; }
+
+ ///
+ /// Inquiry Status for this container such as
+ /// InProgress | Failed | Succeeded
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string InquiryInfoStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).InquiryInfoStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).InquiryInfoStatus = value ?? null; }
+
+ /// Time stamp when this container was updated.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public global::System.DateTime? LastUpdatedTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).LastUpdatedTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).LastUpdatedTime = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for ErrorDetailCode
+ string Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal.ErrorDetailCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).ErrorDetailCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).ErrorDetailCode = value; }
+
+ /// Internal Acessors for ErrorDetailMessage
+ string Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal.ErrorDetailMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).ErrorDetailMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).ErrorDetailMessage = value; }
+
+ /// Internal Acessors for ErrorDetailRecommendation
+ string[] Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal.ErrorDetailRecommendation { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).ErrorDetailRecommendation; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).ErrorDetailRecommendation = value; }
+
+ /// Re-Do Operation
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.OperationType? OperationType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).OperationType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).OperationType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.OperationType)""); }
+
+ /// Type of the protectable object associated with this container
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ProtectableObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__azureWorkloadContainer).ProtectableObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__azureWorkloadContainer).ProtectableObjectType = value ?? null; }
+
+ /// Status of registration of the container with the Recovery Services Vault.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string RegistrationStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__azureWorkloadContainer).RegistrationStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__azureWorkloadContainer).RegistrationStatus = value ?? null; }
+
+ /// ARM ID of the virtual machine represented by this Azure Workload Container
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string SourceResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).SourceResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).SourceResourceId = value ?? null; }
+
+ /// Workload type for which registration was sent.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.WorkloadType? WorkloadType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).WorkloadType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).WorkloadType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.WorkloadType)""); }
+
+ ///
+ /// Creates an new instance.
+ ///
+ public AzureSqlagWorkloadContainerProtectionContainer()
+ {
+
+ }
+
+ /// 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.RecoveryServicesBackup.Runtime.IEventListener eventListener)
+ {
+ await eventListener.AssertNotNull(nameof(__azureWorkloadContainer), __azureWorkloadContainer);
+ await eventListener.AssertObjectIsValid(nameof(__azureWorkloadContainer), __azureWorkloadContainer);
+ }
+ }
+ /// Container for SQL workloads under SQL Availability Group.
+ public partial interface IAzureSqlagWorkloadContainerProtectionContainer :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainer
+ {
+
+ }
+ /// Container for SQL workloads under SQL Availability Group.
+ internal partial interface IAzureSqlagWorkloadContainerProtectionContainerInternal :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureSqlagWorkloadContainerProtectionContainer.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureSqlagWorkloadContainerProtectionContainer.json.cs
new file mode 100644
index 000000000000..628908013718
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureSqlagWorkloadContainerProtectionContainer.json.cs
@@ -0,0 +1,111 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Container for SQL workloads under SQL Availability Group.
+ public partial class AzureSqlagWorkloadContainerProtectionContainer
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureSqlagWorkloadContainerProtectionContainer(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ __azureWorkloadContainer = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureWorkloadContainer(json);
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlagWorkloadContainerProtectionContainer.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlagWorkloadContainerProtectionContainer.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureSqlagWorkloadContainerProtectionContainer FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureSqlagWorkloadContainerProtectionContainer(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ __azureWorkloadContainer?.ToJson(container, serializationMode);
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageContainer.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageContainer.cs
new file mode 100644
index 000000000000..61a84247673c
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageContainer.cs
@@ -0,0 +1,184 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure Storage Account workload-specific container.
+ public partial class AzureStorageContainer :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageContainer,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageContainerInternal,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IValidates
+ {
+ ///
+ /// Backing field for Inherited model
+ ///
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainer __protectionContainer = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ProtectionContainer();
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.AcquireStorageAccountLock? _acquireStorageAccountLock;
+
+ /// Whether storage account lock is to be acquired for this container or not.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.AcquireStorageAccountLock? AcquireStorageAccountLock { get => this._acquireStorageAccountLock; set => this._acquireStorageAccountLock = value; }
+
+ /// Type of backup management for the container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType? BackupManagementType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__protectionContainer).BackupManagementType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__protectionContainer).BackupManagementType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType)""); }
+
+ ///
+ /// Type of the container. The value of this property for: 1. Compute Azure VM is Microsoft.Compute/virtualMachines 2.
+ /// Classic Compute Azure VM is Microsoft.ClassicCompute/virtualMachines 3. Windows machines (like MAB, DPM etc) is
+ /// Windows 4. Azure SQL instance is AzureSqlContainer. 5. Storage containers is StorageContainer. 6. Azure workload
+ /// Backup is VMAppContainer
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectableContainerType ContainerType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__protectionContainer).ContainerType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__protectionContainer).ContainerType = value ; }
+
+ /// Friendly name of the container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string FriendlyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__protectionContainer).FriendlyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__protectionContainer).FriendlyName = value ?? null; }
+
+ /// Status of health of the container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string HealthStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__protectionContainer).HealthStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__protectionContainer).HealthStatus = value ?? null; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.OperationType? _operationType;
+
+ /// Re-Do Operation
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.OperationType? OperationType { get => this._operationType; set => this._operationType = value; }
+
+ /// Type of the protectable object associated with this container
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ProtectableObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__protectionContainer).ProtectableObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__protectionContainer).ProtectableObjectType = value ?? null; }
+
+ /// Backing field for property.
+ private long? _protectedItemCount;
+
+ /// Number of items backed up in this container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public long? ProtectedItemCount { get => this._protectedItemCount; set => this._protectedItemCount = value; }
+
+ /// Status of registration of the container with the Recovery Services Vault.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string RegistrationStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__protectionContainer).RegistrationStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__protectionContainer).RegistrationStatus = value ?? null; }
+
+ /// Backing field for property.
+ private string _resourceGroup;
+
+ /// Resource group name of Recovery Services Vault.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string ResourceGroup { get => this._resourceGroup; set => this._resourceGroup = value; }
+
+ /// Backing field for property.
+ private string _sourceResourceId;
+
+ /// Fully qualified ARM url.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string SourceResourceId { get => this._sourceResourceId; set => this._sourceResourceId = value; }
+
+ /// Backing field for property.
+ private string _storageAccountVersion;
+
+ /// Storage account version.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string StorageAccountVersion { get => this._storageAccountVersion; set => this._storageAccountVersion = value; }
+
+ /// Creates an new instance.
+ public AzureStorageContainer()
+ {
+
+ }
+
+ /// 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.RecoveryServicesBackup.Runtime.IEventListener eventListener)
+ {
+ await eventListener.AssertNotNull(nameof(__protectionContainer), __protectionContainer);
+ await eventListener.AssertObjectIsValid(nameof(__protectionContainer), __protectionContainer);
+ }
+ }
+ /// Azure Storage Account workload-specific container.
+ public partial interface IAzureStorageContainer :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainer
+ {
+ /// Whether storage account lock is to be acquired for this container or not.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Whether storage account lock is to be acquired for this container or not.",
+ SerializedName = @"acquireStorageAccountLock",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.AcquireStorageAccountLock) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.AcquireStorageAccountLock? AcquireStorageAccountLock { get; set; }
+ /// Re-Do Operation
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Re-Do Operation",
+ SerializedName = @"operationType",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.OperationType) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.OperationType? OperationType { get; set; }
+ /// Number of items backed up in this container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Number of items backed up in this container.",
+ SerializedName = @"protectedItemCount",
+ PossibleTypes = new [] { typeof(long) })]
+ long? ProtectedItemCount { get; set; }
+ /// Resource group name of Recovery Services Vault.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Resource group name of Recovery Services Vault.",
+ SerializedName = @"resourceGroup",
+ PossibleTypes = new [] { typeof(string) })]
+ string ResourceGroup { get; set; }
+ /// Fully qualified ARM url.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Fully qualified ARM url.",
+ SerializedName = @"sourceResourceId",
+ PossibleTypes = new [] { typeof(string) })]
+ string SourceResourceId { get; set; }
+ /// Storage account version.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Storage account version.",
+ SerializedName = @"storageAccountVersion",
+ PossibleTypes = new [] { typeof(string) })]
+ string StorageAccountVersion { get; set; }
+
+ }
+ /// Azure Storage Account workload-specific container.
+ internal partial interface IAzureStorageContainerInternal :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal
+ {
+ /// Whether storage account lock is to be acquired for this container or not.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.AcquireStorageAccountLock? AcquireStorageAccountLock { get; set; }
+ /// Re-Do Operation
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.OperationType? OperationType { get; set; }
+ /// Number of items backed up in this container.
+ long? ProtectedItemCount { get; set; }
+ /// Resource group name of Recovery Services Vault.
+ string ResourceGroup { get; set; }
+ /// Fully qualified ARM url.
+ string SourceResourceId { get; set; }
+ /// Storage account version.
+ string StorageAccountVersion { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageContainer.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageContainer.json.cs
new file mode 100644
index 000000000000..23da2803d34c
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageContainer.json.cs
@@ -0,0 +1,120 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure Storage Account workload-specific container.
+ public partial class AzureStorageContainer
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureStorageContainer(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ __protectionContainer = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ProtectionContainer(json);
+ {_sourceResourceId = If( json?.PropertyT("sourceResourceId"), out var __jsonSourceResourceId) ? (string)__jsonSourceResourceId : (string)SourceResourceId;}
+ {_storageAccountVersion = If( json?.PropertyT("storageAccountVersion"), out var __jsonStorageAccountVersion) ? (string)__jsonStorageAccountVersion : (string)StorageAccountVersion;}
+ {_resourceGroup = If( json?.PropertyT("resourceGroup"), out var __jsonResourceGroup) ? (string)__jsonResourceGroup : (string)ResourceGroup;}
+ {_protectedItemCount = If( json?.PropertyT("protectedItemCount"), out var __jsonProtectedItemCount) ? (long?)__jsonProtectedItemCount : ProtectedItemCount;}
+ {_acquireStorageAccountLock = If( json?.PropertyT("acquireStorageAccountLock"), out var __jsonAcquireStorageAccountLock) ? (string)__jsonAcquireStorageAccountLock : (string)AcquireStorageAccountLock;}
+ {_operationType = If( json?.PropertyT("operationType"), out var __jsonOperationType) ? (string)__jsonOperationType : (string)OperationType;}
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageContainer.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageContainer.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageContainer FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureStorageContainer(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ __protectionContainer?.ToJson(container, serializationMode);
+ AddIf( null != (((object)this._sourceResourceId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._sourceResourceId.ToString()) : null, "sourceResourceId" ,container.Add );
+ AddIf( null != (((object)this._storageAccountVersion)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._storageAccountVersion.ToString()) : null, "storageAccountVersion" ,container.Add );
+ AddIf( null != (((object)this._resourceGroup)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._resourceGroup.ToString()) : null, "resourceGroup" ,container.Add );
+ AddIf( null != this._protectedItemCount ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNumber((long)this._protectedItemCount) : null, "protectedItemCount" ,container.Add );
+ AddIf( null != (((object)this._acquireStorageAccountLock)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._acquireStorageAccountLock.ToString()) : null, "acquireStorageAccountLock" ,container.Add );
+ AddIf( null != (((object)this._operationType)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._operationType.ToString()) : null, "operationType" ,container.Add );
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageErrorInfo.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageErrorInfo.cs
new file mode 100644
index 000000000000..faf075c48c8d
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageErrorInfo.cs
@@ -0,0 +1,85 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure storage specific error information
+ public partial class AzureStorageErrorInfo :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageErrorInfo,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageErrorInfoInternal
+ {
+
+ /// Backing field for property.
+ private int? _errorCode;
+
+ /// Error code.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public int? ErrorCode { get => this._errorCode; set => this._errorCode = value; }
+
+ /// Backing field for property.
+ private string _errorString;
+
+ /// Localized error string.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string ErrorString { get => this._errorString; set => this._errorString = value; }
+
+ /// Backing field for property.
+ private string[] _recommendation;
+
+ /// List of localized recommendations for above error code.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string[] Recommendation { get => this._recommendation; set => this._recommendation = value; }
+
+ /// Creates an new instance.
+ public AzureStorageErrorInfo()
+ {
+
+ }
+ }
+ /// Azure storage specific error information
+ public partial interface IAzureStorageErrorInfo :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable
+ {
+ /// Error code.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Error code.",
+ SerializedName = @"errorCode",
+ PossibleTypes = new [] { typeof(int) })]
+ int? ErrorCode { get; set; }
+ /// Localized error string.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Localized error string.",
+ SerializedName = @"errorString",
+ PossibleTypes = new [] { typeof(string) })]
+ string ErrorString { get; set; }
+ /// List of localized recommendations for above error code.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"List of localized recommendations for above error code.",
+ SerializedName = @"recommendations",
+ PossibleTypes = new [] { typeof(string) })]
+ string[] Recommendation { get; set; }
+
+ }
+ /// Azure storage specific error information
+ internal partial interface IAzureStorageErrorInfoInternal
+
+ {
+ /// Error code.
+ int? ErrorCode { get; set; }
+ /// Localized error string.
+ string ErrorString { get; set; }
+ /// List of localized recommendations for above error code.
+ string[] Recommendation { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageErrorInfo.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageErrorInfo.json.cs
new file mode 100644
index 000000000000..c83783236b18
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageErrorInfo.json.cs
@@ -0,0 +1,120 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure storage specific error information
+ public partial class AzureStorageErrorInfo
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureStorageErrorInfo(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ {_errorCode = If( json?.PropertyT("errorCode"), out var __jsonErrorCode) ? (int?)__jsonErrorCode : ErrorCode;}
+ {_errorString = If( json?.PropertyT("errorString"), out var __jsonErrorString) ? (string)__jsonErrorString : (string)ErrorString;}
+ {_recommendation = If( json?.PropertyT("recommendations"), out var __jsonRecommendations) ? If( __jsonRecommendations as Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonArray, out var __v) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__v, (__u)=>(string) (__u is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString __t ? (string)(__t.ToString()) : null)) ))() : null : Recommendation;}
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageErrorInfo.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageErrorInfo.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageErrorInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureStorageErrorInfo(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ AddIf( null != this._errorCode ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNumber((int)this._errorCode) : null, "errorCode" ,container.Add );
+ AddIf( null != (((object)this._errorString)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._errorString.ToString()) : null, "errorString" ,container.Add );
+ if (null != this._recommendation)
+ {
+ var __w = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.XNodeArray();
+ foreach( var __x in this._recommendation )
+ {
+ AddIf(null != (((object)__x)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(__x.ToString()) : null ,__w.Add);
+ }
+ container.Add("recommendations",__w);
+ }
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageJob.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageJob.cs
new file mode 100644
index 000000000000..0a6dca84c8cf
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageJob.cs
@@ -0,0 +1,249 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure storage specific job.
+ public partial class AzureStorageJob :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJob,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobInternal,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IValidates
+ {
+ ///
+ /// Backing field for Inherited model
+ ///
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJob __job = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.Job();
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.JobSupportedAction[] _actionsInfo;
+
+ /// Gets or sets the state/actions applicable on this job like cancel/retry.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.JobSupportedAction[] ActionsInfo { get => this._actionsInfo; set => this._actionsInfo = value; }
+
+ /// ActivityId of job.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ActivityId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).ActivityId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).ActivityId = value ?? null; }
+
+ /// Backup management type to execute the current job.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType? BackupManagementType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).BackupManagementType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).BackupManagementType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType)""); }
+
+ /// Backing field for property.
+ private global::System.TimeSpan? _duration;
+
+ /// Time elapsed during the execution of this job.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public global::System.TimeSpan? Duration { get => this._duration; set => this._duration = value; }
+
+ /// The end time.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public global::System.DateTime? EndTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).EndTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).EndTime = value ?? default(global::System.DateTime); }
+
+ /// Friendly name of the entity on which the current job is executing.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string EntityFriendlyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).EntityFriendlyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).EntityFriendlyName = value ?? null; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageErrorInfo[] _errorDetail;
+
+ /// Error details on execution of this job.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageErrorInfo[] ErrorDetail { get => this._errorDetail; set => this._errorDetail = value; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobExtendedInfo _extendedInfo;
+
+ /// Additional information about the job.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ internal Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobExtendedInfo ExtendedInfo { get => (this._extendedInfo = this._extendedInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureStorageJobExtendedInfo()); set => this._extendedInfo = value; }
+
+ /// Non localized error message on job execution.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public string ExtendedInfoDynamicErrorMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobExtendedInfoInternal)ExtendedInfo).DynamicErrorMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobExtendedInfoInternal)ExtendedInfo).DynamicErrorMessage = value ?? null; }
+
+ /// Job properties.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobExtendedInfoPropertyBag ExtendedInfoPropertyBag { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobExtendedInfoInternal)ExtendedInfo).PropertyBag; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobExtendedInfoInternal)ExtendedInfo).PropertyBag = value ?? null /* model class */; }
+
+ /// List of tasks for this job
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inlined)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobTaskDetails[] ExtendedInfoTasksList { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobExtendedInfoInternal)ExtendedInfo).TasksList; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobExtendedInfoInternal)ExtendedInfo).TasksList = value ?? null /* arrayOf */; }
+
+ /// Backing field for property.
+ private bool? _isUserTriggered;
+
+ /// Indicated that whether the job is adhoc(true) or scheduled(false)
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public bool? IsUserTriggered { get => this._isUserTriggered; set => this._isUserTriggered = value; }
+
+ /// Internal Acessors for ExtendedInfo
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobExtendedInfo Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobInternal.ExtendedInfo { get => (this._extendedInfo = this._extendedInfo ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureStorageJobExtendedInfo()); set { {_extendedInfo = value;} } }
+
+ /// The operation name.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string Operation { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).Operation; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).Operation = value ?? null; }
+
+ /// The start time.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public global::System.DateTime? StartTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).StartTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).StartTime = value ?? default(global::System.DateTime); }
+
+ /// Job status.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string Status { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).Status; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).Status = value ?? null; }
+
+ /// Backing field for property.
+ private string _storageAccountName;
+
+ /// Specifies friendly name of the storage account.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string StorageAccountName { get => this._storageAccountName; set => this._storageAccountName = value; }
+
+ /// Backing field for property.
+ private string _storageAccountVersion;
+
+ ///
+ /// Specifies whether the Storage account is a Classic or an Azure Resource Manager Storage account.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string StorageAccountVersion { get => this._storageAccountVersion; set => this._storageAccountVersion = value; }
+
+ ///
+ /// This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal)__job).Type = value ; }
+
+ /// Creates an new instance.
+ public AzureStorageJob()
+ {
+
+ }
+
+ /// 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.RecoveryServicesBackup.Runtime.IEventListener eventListener)
+ {
+ await eventListener.AssertNotNull(nameof(__job), __job);
+ await eventListener.AssertObjectIsValid(nameof(__job), __job);
+ }
+ }
+ /// Azure storage specific job.
+ public partial interface IAzureStorageJob :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJob
+ {
+ /// Gets or sets the state/actions applicable on this job like cancel/retry.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Gets or sets the state/actions applicable on this job like cancel/retry.",
+ SerializedName = @"actionsInfo",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.JobSupportedAction) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.JobSupportedAction[] ActionsInfo { get; set; }
+ /// Time elapsed during the execution of this job.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Time elapsed during the execution of this job.",
+ SerializedName = @"duration",
+ PossibleTypes = new [] { typeof(global::System.TimeSpan) })]
+ global::System.TimeSpan? Duration { get; set; }
+ /// Error details on execution of this job.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Error details on execution of this job.",
+ SerializedName = @"errorDetails",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageErrorInfo) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageErrorInfo[] ErrorDetail { get; set; }
+ /// Non localized error message on job execution.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Non localized error message on job execution.",
+ SerializedName = @"dynamicErrorMessage",
+ PossibleTypes = new [] { typeof(string) })]
+ string ExtendedInfoDynamicErrorMessage { get; set; }
+ /// Job properties.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Job properties.",
+ SerializedName = @"propertyBag",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobExtendedInfoPropertyBag) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobExtendedInfoPropertyBag ExtendedInfoPropertyBag { get; set; }
+ /// List of tasks for this job
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"List of tasks for this job",
+ SerializedName = @"tasksList",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobTaskDetails) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobTaskDetails[] ExtendedInfoTasksList { get; set; }
+ /// Indicated that whether the job is adhoc(true) or scheduled(false)
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Indicated that whether the job is adhoc(true) or scheduled(false)",
+ SerializedName = @"isUserTriggered",
+ PossibleTypes = new [] { typeof(bool) })]
+ bool? IsUserTriggered { get; set; }
+ /// Specifies friendly name of the storage account.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Specifies friendly name of the storage account.",
+ SerializedName = @"storageAccountName",
+ PossibleTypes = new [] { typeof(string) })]
+ string StorageAccountName { get; set; }
+ ///
+ /// Specifies whether the Storage account is a Classic or an Azure Resource Manager Storage account.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Specifies whether the Storage account is a Classic or an Azure Resource Manager Storage account.",
+ SerializedName = @"storageAccountVersion",
+ PossibleTypes = new [] { typeof(string) })]
+ string StorageAccountVersion { get; set; }
+
+ }
+ /// Azure storage specific job.
+ internal partial interface IAzureStorageJobInternal :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IJobInternal
+ {
+ /// Gets or sets the state/actions applicable on this job like cancel/retry.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.JobSupportedAction[] ActionsInfo { get; set; }
+ /// Time elapsed during the execution of this job.
+ global::System.TimeSpan? Duration { get; set; }
+ /// Error details on execution of this job.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageErrorInfo[] ErrorDetail { get; set; }
+ /// Additional information about the job.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobExtendedInfo ExtendedInfo { get; set; }
+ /// Non localized error message on job execution.
+ string ExtendedInfoDynamicErrorMessage { get; set; }
+ /// Job properties.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobExtendedInfoPropertyBag ExtendedInfoPropertyBag { get; set; }
+ /// List of tasks for this job
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobTaskDetails[] ExtendedInfoTasksList { get; set; }
+ /// Indicated that whether the job is adhoc(true) or scheduled(false)
+ bool? IsUserTriggered { get; set; }
+ /// Specifies friendly name of the storage account.
+ string StorageAccountName { get; set; }
+ ///
+ /// Specifies whether the Storage account is a Classic or an Azure Resource Manager Storage account.
+ ///
+ string StorageAccountVersion { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageJob.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageJob.json.cs
new file mode 100644
index 000000000000..177b29f15e32
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageJob.json.cs
@@ -0,0 +1,138 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure storage specific job.
+ public partial class AzureStorageJob
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureStorageJob(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ __job = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.Job(json);
+ {_extendedInfo = If( json?.PropertyT("extendedInfo"), out var __jsonExtendedInfo) ? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureStorageJobExtendedInfo.FromJson(__jsonExtendedInfo) : ExtendedInfo;}
+ {_duration = If( json?.PropertyT("duration"), out var __jsonDuration) ? global::System.Xml.XmlConvert.ToTimeSpan( __jsonDuration ) : Duration;}
+ {_actionsInfo = If( json?.PropertyT("actionsInfo"), out var __jsonActionsInfo) ? If( __jsonActionsInfo as Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.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.RecoveryServicesBackup.Support.JobSupportedAction) (__u is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString __t ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.JobSupportedAction)(__t.ToString()) : ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.JobSupportedAction)""))) ))() : null : ActionsInfo;}
+ {_errorDetail = If( json?.PropertyT("errorDetails"), out var __jsonErrorDetails) ? If( __jsonErrorDetails as Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonArray, out var __q) ? new global::System.Func(()=> global::System.Linq.Enumerable.ToArray(global::System.Linq.Enumerable.Select(__q, (__p)=>(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageErrorInfo) (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureStorageErrorInfo.FromJson(__p) )) ))() : null : ErrorDetail;}
+ {_storageAccountName = If( json?.PropertyT("storageAccountName"), out var __jsonStorageAccountName) ? (string)__jsonStorageAccountName : (string)StorageAccountName;}
+ {_storageAccountVersion = If( json?.PropertyT("storageAccountVersion"), out var __jsonStorageAccountVersion) ? (string)__jsonStorageAccountVersion : (string)StorageAccountVersion;}
+ {_isUserTriggered = If( json?.PropertyT("isUserTriggered"), out var __jsonIsUserTriggered) ? (bool?)__jsonIsUserTriggered : IsUserTriggered;}
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJob.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJob.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJob FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureStorageJob(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ __job?.ToJson(container, serializationMode);
+ AddIf( null != this._extendedInfo ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) this._extendedInfo.ToJson(null,serializationMode) : null, "extendedInfo" ,container.Add );
+ AddIf( (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode)(null != this._duration ? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(global::System.Xml.XmlConvert.ToString((global::System.TimeSpan)this._duration)): null), "duration" ,container.Add );
+ if (null != this._actionsInfo)
+ {
+ var __w = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.XNodeArray();
+ foreach( var __x in this._actionsInfo )
+ {
+ AddIf(null != (((object)__x)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(__x.ToString()) : null ,__w.Add);
+ }
+ container.Add("actionsInfo",__w);
+ }
+ if (null != this._errorDetail)
+ {
+ var __r = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.XNodeArray();
+ foreach( var __s in this._errorDetail )
+ {
+ AddIf(__s?.ToJson(null, serializationMode) ,__r.Add);
+ }
+ container.Add("errorDetails",__r);
+ }
+ AddIf( null != (((object)this._storageAccountName)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._storageAccountName.ToString()) : null, "storageAccountName" ,container.Add );
+ AddIf( null != (((object)this._storageAccountVersion)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._storageAccountVersion.ToString()) : null, "storageAccountVersion" ,container.Add );
+ AddIf( null != this._isUserTriggered ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode)new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonBoolean((bool)this._isUserTriggered) : null, "isUserTriggered" ,container.Add );
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageJobExtendedInfo.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageJobExtendedInfo.cs
new file mode 100644
index 000000000000..5bd1941f67d0
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageJobExtendedInfo.cs
@@ -0,0 +1,85 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure Storage workload-specific additional information for job.
+ public partial class AzureStorageJobExtendedInfo :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobExtendedInfo,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobExtendedInfoInternal
+ {
+
+ /// Backing field for property.
+ private string _dynamicErrorMessage;
+
+ /// Non localized error message on job execution.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string DynamicErrorMessage { get => this._dynamicErrorMessage; set => this._dynamicErrorMessage = value; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobExtendedInfoPropertyBag _propertyBag;
+
+ /// Job properties.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobExtendedInfoPropertyBag PropertyBag { get => (this._propertyBag = this._propertyBag ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureStorageJobExtendedInfoPropertyBag()); set => this._propertyBag = value; }
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobTaskDetails[] _tasksList;
+
+ /// List of tasks for this job
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobTaskDetails[] TasksList { get => this._tasksList; set => this._tasksList = value; }
+
+ /// Creates an new instance.
+ public AzureStorageJobExtendedInfo()
+ {
+
+ }
+ }
+ /// Azure Storage workload-specific additional information for job.
+ public partial interface IAzureStorageJobExtendedInfo :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable
+ {
+ /// Non localized error message on job execution.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Non localized error message on job execution.",
+ SerializedName = @"dynamicErrorMessage",
+ PossibleTypes = new [] { typeof(string) })]
+ string DynamicErrorMessage { get; set; }
+ /// Job properties.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Job properties.",
+ SerializedName = @"propertyBag",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobExtendedInfoPropertyBag) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobExtendedInfoPropertyBag PropertyBag { get; set; }
+ /// List of tasks for this job
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"List of tasks for this job",
+ SerializedName = @"tasksList",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobTaskDetails) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobTaskDetails[] TasksList { get; set; }
+
+ }
+ /// Azure Storage workload-specific additional information for job.
+ internal partial interface IAzureStorageJobExtendedInfoInternal
+
+ {
+ /// Non localized error message on job execution.
+ string DynamicErrorMessage { get; set; }
+ /// Job properties.
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobExtendedInfoPropertyBag PropertyBag { get; set; }
+ /// List of tasks for this job
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobTaskDetails[] TasksList { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageJobExtendedInfo.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageJobExtendedInfo.json.cs
new file mode 100644
index 000000000000..577f71267681
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageJobExtendedInfo.json.cs
@@ -0,0 +1,120 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure Storage workload-specific additional information for job.
+ public partial class AzureStorageJobExtendedInfo
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureStorageJobExtendedInfo(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ {_tasksList = If( json?.PropertyT("tasksList"), out var __jsonTasksList) ? If( __jsonTasksList as Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.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.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobTaskDetails) (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureStorageJobTaskDetails.FromJson(__u) )) ))() : null : TasksList;}
+ {_propertyBag = If( json?.PropertyT("propertyBag"), out var __jsonPropertyBag) ? Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureStorageJobExtendedInfoPropertyBag.FromJson(__jsonPropertyBag) : PropertyBag;}
+ {_dynamicErrorMessage = If( json?.PropertyT("dynamicErrorMessage"), out var __jsonDynamicErrorMessage) ? (string)__jsonDynamicErrorMessage : (string)DynamicErrorMessage;}
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobExtendedInfo.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobExtendedInfo.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobExtendedInfo FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureStorageJobExtendedInfo(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ if (null != this._tasksList)
+ {
+ var __w = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.XNodeArray();
+ foreach( var __x in this._tasksList )
+ {
+ AddIf(__x?.ToJson(null, serializationMode) ,__w.Add);
+ }
+ container.Add("tasksList",__w);
+ }
+ AddIf( null != this._propertyBag ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) this._propertyBag.ToJson(null,serializationMode) : null, "propertyBag" ,container.Add );
+ AddIf( null != (((object)this._dynamicErrorMessage)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._dynamicErrorMessage.ToString()) : null, "dynamicErrorMessage" ,container.Add );
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageJobExtendedInfoPropertyBag.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageJobExtendedInfoPropertyBag.cs
new file mode 100644
index 000000000000..04064016283a
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageJobExtendedInfoPropertyBag.cs
@@ -0,0 +1,35 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Job properties.
+ public partial class AzureStorageJobExtendedInfoPropertyBag :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobExtendedInfoPropertyBag,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobExtendedInfoPropertyBagInternal
+ {
+
+ /// Creates an new instance.
+ public AzureStorageJobExtendedInfoPropertyBag()
+ {
+
+ }
+ }
+ /// Job properties.
+ public partial interface IAzureStorageJobExtendedInfoPropertyBag :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray
+ {
+
+ }
+ /// Job properties.
+ internal partial interface IAzureStorageJobExtendedInfoPropertyBagInternal
+
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageJobExtendedInfoPropertyBag.dictionary.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageJobExtendedInfoPropertyBag.dictionary.cs
new file mode 100644
index 000000000000..11f24562dcdc
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageJobExtendedInfoPropertyBag.dictionary.cs
@@ -0,0 +1,75 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ public partial class AzureStorageJobExtendedInfoPropertyBag :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray
+ {
+ protected global::System.Collections.Generic.Dictionary __additionalProperties = new global::System.Collections.Generic.Dictionary();
+
+ global::System.Collections.Generic.IDictionary Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray.AdditionalProperties { get => __additionalProperties; }
+
+ int Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray.Count { get => __additionalProperties.Count; }
+
+ global::System.Collections.Generic.IEnumerable Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray.Keys { get => __additionalProperties.Keys; }
+
+ global::System.Collections.Generic.IEnumerable Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray.Values { get => __additionalProperties.Values; }
+
+ public string this[global::System.String index] { get => __additionalProperties[index]; set => __additionalProperties[index] = value; }
+
+ ///
+ ///
+ public void Add(global::System.String key, string value) => __additionalProperties.Add( key, value);
+
+ public void Clear() => __additionalProperties.Clear();
+
+ ///
+ public bool ContainsKey(global::System.String key) => __additionalProperties.ContainsKey( key);
+
+ ///
+ public void CopyFrom(global::System.Collections.IDictionary source)
+ {
+ if (null != source)
+ {
+ foreach( var property in Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.PowerShell.TypeConverterExtensions.GetFilteredProperties(source, new global::System.Collections.Generic.HashSet() { } ) )
+ {
+ if ((null != property.Key && null != property.Value))
+ {
+ this.__additionalProperties.Add(property.Key.ToString(), global::System.Management.Automation.LanguagePrimitives.ConvertTo( property.Value));
+ }
+ }
+ }
+ }
+
+ ///
+ public void CopyFrom(global::System.Management.Automation.PSObject source)
+ {
+ if (null != source)
+ {
+ foreach( var property in Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.PowerShell.TypeConverterExtensions.GetFilteredProperties(source, new global::System.Collections.Generic.HashSet() { } ) )
+ {
+ if ((null != property.Key && null != property.Value))
+ {
+ this.__additionalProperties.Add(property.Key.ToString(), global::System.Management.Automation.LanguagePrimitives.ConvertTo( property.Value));
+ }
+ }
+ }
+ }
+
+ ///
+ public bool Remove(global::System.String key) => __additionalProperties.Remove( key);
+
+ ///
+ ///
+ public bool TryGetValue(global::System.String key, out string value) => __additionalProperties.TryGetValue( key, out value);
+
+ ///
+
+ public static implicit operator global::System.Collections.Generic.Dictionary(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureStorageJobExtendedInfoPropertyBag source) => source.__additionalProperties;
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageJobExtendedInfoPropertyBag.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageJobExtendedInfoPropertyBag.json.cs
new file mode 100644
index 000000000000..8cf22a2a2351
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageJobExtendedInfoPropertyBag.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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Job properties.
+ public partial class AzureStorageJobExtendedInfoPropertyBag
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ ///
+ internal AzureStorageJobExtendedInfoPropertyBag(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json, global::System.Collections.Generic.HashSet exclusions = null)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.JsonSerializable.FromJson( json, ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray)this).AdditionalProperties, null ,exclusions );
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobExtendedInfoPropertyBag.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobExtendedInfoPropertyBag.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobExtendedInfoPropertyBag FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureStorageJobExtendedInfoPropertyBag(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.JsonSerializable.ToJson( ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IAssociativeArray)this).AdditionalProperties, container);
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageJobTaskDetails.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageJobTaskDetails.cs
new file mode 100644
index 000000000000..a9de05f7c570
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageJobTaskDetails.cs
@@ -0,0 +1,68 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure storage workload specific job task details.
+ public partial class AzureStorageJobTaskDetails :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobTaskDetails,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobTaskDetailsInternal
+ {
+
+ /// Backing field for property.
+ private string _status;
+
+ /// The status.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string Status { get => this._status; set => this._status = value; }
+
+ /// Backing field for property.
+ private string _taskId;
+
+ /// The task display name.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string TaskId { get => this._taskId; set => this._taskId = value; }
+
+ /// Creates an new instance.
+ public AzureStorageJobTaskDetails()
+ {
+
+ }
+ }
+ /// Azure storage workload specific job task details.
+ public partial interface IAzureStorageJobTaskDetails :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable
+ {
+ /// The status.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The status.",
+ SerializedName = @"status",
+ PossibleTypes = new [] { typeof(string) })]
+ string Status { get; set; }
+ /// The task display name.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"The task display name.",
+ SerializedName = @"taskId",
+ PossibleTypes = new [] { typeof(string) })]
+ string TaskId { get; set; }
+
+ }
+ /// Azure storage workload specific job task details.
+ internal partial interface IAzureStorageJobTaskDetailsInternal
+
+ {
+ /// The status.
+ string Status { get; set; }
+ /// The task display name.
+ string TaskId { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageJobTaskDetails.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageJobTaskDetails.json.cs
new file mode 100644
index 000000000000..fcbf59bc5fe4
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageJobTaskDetails.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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure storage workload specific job task details.
+ public partial class AzureStorageJobTaskDetails
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureStorageJobTaskDetails(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ {_taskId = If( json?.PropertyT("taskId"), out var __jsonTaskId) ? (string)__jsonTaskId : (string)TaskId;}
+ {_status = If( json?.PropertyT("status"), out var __jsonStatus) ? (string)__jsonStatus : (string)Status;}
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobTaskDetails.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobTaskDetails.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageJobTaskDetails FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureStorageJobTaskDetails(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ AddIf( null != (((object)this._taskId)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._taskId.ToString()) : null, "taskId" ,container.Add );
+ AddIf( null != (((object)this._status)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._status.ToString()) : null, "status" ,container.Add );
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageProtectableContainer.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageProtectableContainer.cs
new file mode 100644
index 000000000000..07a036c38ab7
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageProtectableContainer.cs
@@ -0,0 +1,77 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure Storage-specific protectable containers
+ public partial class AzureStorageProtectableContainer :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageProtectableContainer,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageProtectableContainerInternal,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IValidates
+ {
+ ///
+ /// Backing field for Inherited model
+ ///
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectableContainer __protectableContainer = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ProtectableContainer();
+
+ /// Type of backup management for the container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType? BackupManagementType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectableContainerInternal)__protectableContainer).BackupManagementType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectableContainerInternal)__protectableContainer).BackupManagementType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType)""); }
+
+ /// Fabric Id of the container such as ARM Id.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ContainerId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectableContainerInternal)__protectableContainer).ContainerId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectableContainerInternal)__protectableContainer).ContainerId = value ?? null; }
+
+ /// Friendly name of the container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string FriendlyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectableContainerInternal)__protectableContainer).FriendlyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectableContainerInternal)__protectableContainer).FriendlyName = value ?? null; }
+
+ /// Status of health of the container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string HealthStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectableContainerInternal)__protectableContainer).HealthStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectableContainerInternal)__protectableContainer).HealthStatus = value ?? null; }
+
+ ///
+ /// Type of the container. The value of this property for
+ /// 1. Compute Azure VM is Microsoft.Compute/virtualMachines
+ /// 2. Classic Compute Azure VM is Microsoft.ClassicCompute/virtualMachines
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectableContainerType Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectableContainerInternal)__protectableContainer).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectableContainerInternal)__protectableContainer).Type = value ; }
+
+ /// Creates an new instance.
+ public AzureStorageProtectableContainer()
+ {
+
+ }
+
+ /// 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.RecoveryServicesBackup.Runtime.IEventListener eventListener)
+ {
+ await eventListener.AssertNotNull(nameof(__protectableContainer), __protectableContainer);
+ await eventListener.AssertObjectIsValid(nameof(__protectableContainer), __protectableContainer);
+ }
+ }
+ /// Azure Storage-specific protectable containers
+ public partial interface IAzureStorageProtectableContainer :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectableContainer
+ {
+
+ }
+ /// Azure Storage-specific protectable containers
+ internal partial interface IAzureStorageProtectableContainerInternal :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectableContainerInternal
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageProtectableContainer.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageProtectableContainer.json.cs
new file mode 100644
index 000000000000..a54663af38be
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureStorageProtectableContainer.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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure Storage-specific protectable containers
+ public partial class AzureStorageProtectableContainer
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureStorageProtectableContainer(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ __protectableContainer = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ProtectableContainer(json);
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageProtectableContainer.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageProtectableContainer.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureStorageProtectableContainer FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureStorageProtectableContainer(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ __protectableContainer?.ToJson(container, serializationMode);
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureVMAppContainerProtectableContainer.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureVMAppContainerProtectableContainer.cs
new file mode 100644
index 000000000000..4f663658a30b
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureVMAppContainerProtectableContainer.cs
@@ -0,0 +1,77 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure workload-specific container
+ public partial class AzureVMAppContainerProtectableContainer :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureVMAppContainerProtectableContainer,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureVMAppContainerProtectableContainerInternal,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IValidates
+ {
+ ///
+ /// Backing field for Inherited model
+ ///
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectableContainer __protectableContainer = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ProtectableContainer();
+
+ /// Type of backup management for the container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType? BackupManagementType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectableContainerInternal)__protectableContainer).BackupManagementType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectableContainerInternal)__protectableContainer).BackupManagementType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType)""); }
+
+ /// Fabric Id of the container such as ARM Id.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ContainerId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectableContainerInternal)__protectableContainer).ContainerId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectableContainerInternal)__protectableContainer).ContainerId = value ?? null; }
+
+ /// Friendly name of the container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string FriendlyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectableContainerInternal)__protectableContainer).FriendlyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectableContainerInternal)__protectableContainer).FriendlyName = value ?? null; }
+
+ /// Status of health of the container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string HealthStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectableContainerInternal)__protectableContainer).HealthStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectableContainerInternal)__protectableContainer).HealthStatus = value ?? null; }
+
+ ///
+ /// Type of the container. The value of this property for
+ /// 1. Compute Azure VM is Microsoft.Compute/virtualMachines
+ /// 2. Classic Compute Azure VM is Microsoft.ClassicCompute/virtualMachines
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectableContainerType Type { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectableContainerInternal)__protectableContainer).Type; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectableContainerInternal)__protectableContainer).Type = value ; }
+
+ /// Creates an new instance.
+ public AzureVMAppContainerProtectableContainer()
+ {
+
+ }
+
+ /// 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.RecoveryServicesBackup.Runtime.IEventListener eventListener)
+ {
+ await eventListener.AssertNotNull(nameof(__protectableContainer), __protectableContainer);
+ await eventListener.AssertObjectIsValid(nameof(__protectableContainer), __protectableContainer);
+ }
+ }
+ /// Azure workload-specific container
+ public partial interface IAzureVMAppContainerProtectableContainer :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectableContainer
+ {
+
+ }
+ /// Azure workload-specific container
+ internal partial interface IAzureVMAppContainerProtectableContainerInternal :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectableContainerInternal
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureVMAppContainerProtectableContainer.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureVMAppContainerProtectableContainer.json.cs
new file mode 100644
index 000000000000..52eb71042a03
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureVMAppContainerProtectableContainer.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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Azure workload-specific container
+ public partial class AzureVMAppContainerProtectableContainer
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureVMAppContainerProtectableContainer(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ __protectableContainer = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.ProtectableContainer(json);
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureVMAppContainerProtectableContainer.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureVMAppContainerProtectableContainer.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureVMAppContainerProtectableContainer FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureVMAppContainerProtectableContainer(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ __protectableContainer?.ToJson(container, serializationMode);
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureVMAppContainerProtectionContainer.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureVMAppContainerProtectionContainer.cs
new file mode 100644
index 000000000000..0d1546c7067c
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureVMAppContainerProtectionContainer.cs
@@ -0,0 +1,155 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Container for SQL workloads under Azure Virtual Machines.
+ public partial class AzureVMAppContainerProtectionContainer :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureVMAppContainerProtectionContainer,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureVMAppContainerProtectionContainerInternal,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IValidates
+ {
+ ///
+ /// Backing field for Inherited model
+ ///
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainer __azureWorkloadContainer = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureWorkloadContainer();
+
+ /// Type of backup management for the container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType? BackupManagementType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__azureWorkloadContainer).BackupManagementType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__azureWorkloadContainer).BackupManagementType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.BackupManagementType)""); }
+
+ ///
+ /// Type of the container. The value of this property for: 1. Compute Azure VM is Microsoft.Compute/virtualMachines 2.
+ /// Classic Compute Azure VM is Microsoft.ClassicCompute/virtualMachines 3. Windows machines (like MAB, DPM etc) is
+ /// Windows 4. Azure SQL instance is AzureSqlContainer. 5. Storage containers is StorageContainer. 6. Azure workload
+ /// Backup is VMAppContainer
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.ProtectableContainerType ContainerType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__azureWorkloadContainer).ContainerType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__azureWorkloadContainer).ContainerType = value ; }
+
+ /// Error code.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ErrorDetailCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).ErrorDetailCode; }
+
+ /// Error Message related to the Code.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ErrorDetailMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).ErrorDetailMessage; }
+
+ /// List of recommendation strings.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string[] ErrorDetailRecommendation { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).ErrorDetailRecommendation; }
+
+ /// Additional details of a workload container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerExtendedInfo ExtendedInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).ExtendedInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).ExtendedInfo = value ?? null /* model class */; }
+
+ ///
+ /// Host Os Name in case of Stand Alone and Cluster Name in case of distributed container.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ExtendedInfoHostServerName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).ExtendedInfoHostServerName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).ExtendedInfoHostServerName = value ?? null; }
+
+ /// Inquiry Status for the container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IInquiryInfo ExtendedInfoInquiryInfo { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).ExtendedInfoInquiryInfo; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).ExtendedInfoInquiryInfo = value ?? null /* model class */; }
+
+ /// List of the nodes in case of distributed container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IDistributedNodesInfo[] ExtendedInfoNodesList { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).ExtendedInfoNodesList; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).ExtendedInfoNodesList = value ?? null /* arrayOf */; }
+
+ /// Friendly name of the container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string FriendlyName { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__azureWorkloadContainer).FriendlyName; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__azureWorkloadContainer).FriendlyName = value ?? null; }
+
+ /// Status of health of the container.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string HealthStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__azureWorkloadContainer).HealthStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__azureWorkloadContainer).HealthStatus = value ?? null; }
+
+ /// Error Details if the Status is non-success.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IErrorDetail InquiryInfoErrorDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).InquiryInfoErrorDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).InquiryInfoErrorDetail = value ?? null /* model class */; }
+
+ ///
+ /// Inquiry Details which will have workload specific details.
+ /// For e.g. - For SQL and oracle this will contain different details.
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IWorkloadInquiryDetails[] InquiryInfoInquiryDetail { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).InquiryInfoInquiryDetail; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).InquiryInfoInquiryDetail = value ?? null /* arrayOf */; }
+
+ ///
+ /// Inquiry Status for this container such as
+ /// InProgress | Failed | Succeeded
+ ///
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string InquiryInfoStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).InquiryInfoStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).InquiryInfoStatus = value ?? null; }
+
+ /// Time stamp when this container was updated.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public global::System.DateTime? LastUpdatedTime { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).LastUpdatedTime; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).LastUpdatedTime = value ?? default(global::System.DateTime); }
+
+ /// Internal Acessors for ErrorDetailCode
+ string Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal.ErrorDetailCode { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).ErrorDetailCode; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).ErrorDetailCode = value; }
+
+ /// Internal Acessors for ErrorDetailMessage
+ string Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal.ErrorDetailMessage { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).ErrorDetailMessage; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).ErrorDetailMessage = value; }
+
+ /// Internal Acessors for ErrorDetailRecommendation
+ string[] Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal.ErrorDetailRecommendation { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).ErrorDetailRecommendation; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).ErrorDetailRecommendation = value; }
+
+ /// Re-Do Operation
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.OperationType? OperationType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).OperationType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).OperationType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.OperationType)""); }
+
+ /// Type of the protectable object associated with this container
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string ProtectableObjectType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__azureWorkloadContainer).ProtectableObjectType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__azureWorkloadContainer).ProtectableObjectType = value ?? null; }
+
+ /// Status of registration of the container with the Recovery Services Vault.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string RegistrationStatus { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__azureWorkloadContainer).RegistrationStatus; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IProtectionContainerInternal)__azureWorkloadContainer).RegistrationStatus = value ?? null; }
+
+ /// ARM ID of the virtual machine represented by this Azure Workload Container
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string SourceResourceId { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).SourceResourceId; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).SourceResourceId = value ?? null; }
+
+ /// Workload type for which registration was sent.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.WorkloadType? WorkloadType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).WorkloadType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal)__azureWorkloadContainer).WorkloadType = value ?? ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.WorkloadType)""); }
+
+ /// Creates an new instance.
+ public AzureVMAppContainerProtectionContainer()
+ {
+
+ }
+
+ /// 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.RecoveryServicesBackup.Runtime.IEventListener eventListener)
+ {
+ await eventListener.AssertNotNull(nameof(__azureWorkloadContainer), __azureWorkloadContainer);
+ await eventListener.AssertObjectIsValid(nameof(__azureWorkloadContainer), __azureWorkloadContainer);
+ }
+ }
+ /// Container for SQL workloads under Azure Virtual Machines.
+ public partial interface IAzureVMAppContainerProtectionContainer :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainer
+ {
+
+ }
+ /// Container for SQL workloads under Azure Virtual Machines.
+ internal partial interface IAzureVMAppContainerProtectionContainerInternal :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureWorkloadContainerInternal
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureVMAppContainerProtectionContainer.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureVMAppContainerProtectionContainer.json.cs
new file mode 100644
index 000000000000..8c894730ac79
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureVMAppContainerProtectionContainer.json.cs
@@ -0,0 +1,109 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Container for SQL workloads under Azure Virtual Machines.
+ public partial class AzureVMAppContainerProtectionContainer
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureVMAppContainerProtectionContainer(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ __azureWorkloadContainer = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.AzureWorkloadContainer(json);
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureVMAppContainerProtectionContainer.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureVMAppContainerProtectionContainer.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureVMAppContainerProtectionContainer FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureVMAppContainerProtectionContainer(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ __azureWorkloadContainer?.ToJson(container, serializationMode);
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureVMResourceFeatureSupportRequest.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureVMResourceFeatureSupportRequest.cs
new file mode 100644
index 000000000000..bc2781d85e30
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureVMResourceFeatureSupportRequest.cs
@@ -0,0 +1,91 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// AzureResource(IaaS VM) Specific feature support request
+ public partial class AzureVMResourceFeatureSupportRequest :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureVMResourceFeatureSupportRequest,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureVMResourceFeatureSupportRequestInternal,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IValidates
+ {
+ ///
+ /// Backing field for Inherited model
+ ///
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IFeatureSupportRequest __featureSupportRequest = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.FeatureSupportRequest();
+
+ /// backup support feature type.
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Inherited)]
+ public string FeatureType { get => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IFeatureSupportRequestInternal)__featureSupportRequest).FeatureType; set => ((Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IFeatureSupportRequestInternal)__featureSupportRequest).FeatureType = value ; }
+
+ /// Backing field for property.
+ private string _vMSize;
+
+ /// Size of the resource: VM size(A/D series etc) in case of IaasVM
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string VMSize { get => this._vMSize; set => this._vMSize = value; }
+
+ /// Backing field for property.
+ private string _vMSku;
+
+ /// SKUs (Premium/Managed etc) in case of IaasVM
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public string VMSku { get => this._vMSku; set => this._vMSku = value; }
+
+ /// Creates an new instance.
+ public AzureVMResourceFeatureSupportRequest()
+ {
+
+ }
+
+ /// 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.RecoveryServicesBackup.Runtime.IEventListener eventListener)
+ {
+ await eventListener.AssertNotNull(nameof(__featureSupportRequest), __featureSupportRequest);
+ await eventListener.AssertObjectIsValid(nameof(__featureSupportRequest), __featureSupportRequest);
+ }
+ }
+ /// AzureResource(IaaS VM) Specific feature support request
+ public partial interface IAzureVMResourceFeatureSupportRequest :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IFeatureSupportRequest
+ {
+ /// Size of the resource: VM size(A/D series etc) in case of IaasVM
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Size of the resource: VM size(A/D series etc) in case of IaasVM",
+ SerializedName = @"vmSize",
+ PossibleTypes = new [] { typeof(string) })]
+ string VMSize { get; set; }
+ /// SKUs (Premium/Managed etc) in case of IaasVM
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"SKUs (Premium/Managed etc) in case of IaasVM",
+ SerializedName = @"vmSku",
+ PossibleTypes = new [] { typeof(string) })]
+ string VMSku { get; set; }
+
+ }
+ /// AzureResource(IaaS VM) Specific feature support request
+ internal partial interface IAzureVMResourceFeatureSupportRequestInternal :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IFeatureSupportRequestInternal
+ {
+ /// Size of the resource: VM size(A/D series etc) in case of IaasVM
+ string VMSize { get; set; }
+ /// SKUs (Premium/Managed etc) in case of IaasVM
+ string VMSku { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureVMResourceFeatureSupportRequest.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureVMResourceFeatureSupportRequest.json.cs
new file mode 100644
index 000000000000..c95f8ac863de
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureVMResourceFeatureSupportRequest.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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// AzureResource(IaaS VM) Specific feature support request
+ public partial class AzureVMResourceFeatureSupportRequest
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureVMResourceFeatureSupportRequest(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ __featureSupportRequest = new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.FeatureSupportRequest(json);
+ {_vMSize = If( json?.PropertyT("vmSize"), out var __jsonVMSize) ? (string)__jsonVMSize : (string)VMSize;}
+ {_vMSku = If( json?.PropertyT("vmSku"), out var __jsonVMSku) ? (string)__jsonVMSku : (string)VMSku;}
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a into an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureVMResourceFeatureSupportRequest.
+ ///
+ /// a to deserialize from.
+ ///
+ /// an instance of Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureVMResourceFeatureSupportRequest.
+ ///
+ public static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureVMResourceFeatureSupportRequest FromJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode node)
+ {
+ return node is Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json ? new AzureVMResourceFeatureSupportRequest(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.RecoveryServicesBackup.Runtime.Json.JsonNode ToJson(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject container, Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.SerializationMode serializationMode)
+ {
+ container = container ?? new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject();
+
+ bool returnNow = false;
+ BeforeToJson(ref container, ref returnNow);
+ if (returnNow)
+ {
+ return container;
+ }
+ __featureSupportRequest?.ToJson(container, serializationMode);
+ AddIf( null != (((object)this._vMSize)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._vMSize.ToString()) : null, "vmSize" ,container.Add );
+ AddIf( null != (((object)this._vMSku)?.ToString()) ? (Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonNode) new Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonString(this._vMSku.ToString()) : null, "vmSku" ,container.Add );
+ AfterToJson(ref container);
+ return container;
+ }
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureVMResourceFeatureSupportResponse.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureVMResourceFeatureSupportResponse.cs
new file mode 100644
index 000000000000..69bc47a5e835
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureVMResourceFeatureSupportResponse.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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Response for feature support requests for Azure IaasVm
+ public partial class AzureVMResourceFeatureSupportResponse :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureVMResourceFeatureSupportResponse,
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Models.Api20241001.IAzureVMResourceFeatureSupportResponseInternal
+ {
+
+ /// Backing field for property.
+ private Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.SupportStatus? _supportStatus;
+
+ /// Support status of feature
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Origin(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.PropertyOrigin.Owned)]
+ public Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.SupportStatus? SupportStatus { get => this._supportStatus; set => this._supportStatus = value; }
+
+ /// Creates an new instance.
+ public AzureVMResourceFeatureSupportResponse()
+ {
+
+ }
+ }
+ /// Response for feature support requests for Azure IaasVm
+ public partial interface IAzureVMResourceFeatureSupportResponse :
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.IJsonSerializable
+ {
+ /// Support status of feature
+ [Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Info(
+ Required = false,
+ ReadOnly = false,
+ Description = @"Support status of feature",
+ SerializedName = @"supportStatus",
+ PossibleTypes = new [] { typeof(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.SupportStatus) })]
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.SupportStatus? SupportStatus { get; set; }
+
+ }
+ /// Response for feature support requests for Azure IaasVm
+ internal partial interface IAzureVMResourceFeatureSupportResponseInternal
+
+ {
+ /// Support status of feature
+ Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Support.SupportStatus? SupportStatus { get; set; }
+
+ }
+}
\ No newline at end of file
diff --git a/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureVMResourceFeatureSupportResponse.json.cs b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureVMResourceFeatureSupportResponse.json.cs
new file mode 100644
index 000000000000..805b43dfa253
--- /dev/null
+++ b/swaggerci/recoveryservicesbackup.DefaultTag/generated/api/Models/Api20241001/AzureVMResourceFeatureSupportResponse.json.cs
@@ -0,0 +1,109 @@
+// 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.RecoveryServicesBackup.Models.Api20241001
+{
+ using static Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Extensions;
+
+ /// Response for feature support requests for Azure IaasVm
+ public partial class AzureVMResourceFeatureSupportResponse
+ {
+
+ ///
+ /// 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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.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.RecoveryServicesBackup.Runtime.Json.JsonObject container, ref bool returnNow);
+
+ ///
+ /// Deserializes a Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject into a new instance of .
+ ///
+ /// A Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject instance to deserialize from.
+ internal AzureVMResourceFeatureSupportResponse(Microsoft.Azure.PowerShell.Cmdlets.RecoveryServicesBackup.Runtime.Json.JsonObject json)
+ {
+ bool returnNow = false;
+ BeforeFromJson(json, ref returnNow);
+ if (returnNow)
+ {
+ return;
+ }
+ {_supportStatus = If( json?.PropertyT("supportStatus"), out var __jsonSupportStatus) ? (string)__jsonSupportStatus : (string)SupportStatus;}
+ AfterFromJson(json);
+ }
+
+ ///
+ /// Deserializes a