/
ExistingRecoveryAvailabilitySet.cs
36 lines (30 loc) · 1.63 KB
/
ExistingRecoveryAvailabilitySet.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.RecoveryServicesSiteRecovery.Models
{
/// <summary> Existing recovery availability set input. </summary>
public partial class ExistingRecoveryAvailabilitySet : RecoveryAvailabilitySetCustomDetails
{
/// <summary> Initializes a new instance of <see cref="ExistingRecoveryAvailabilitySet"/>. </summary>
public ExistingRecoveryAvailabilitySet()
{
ResourceType = "Existing";
}
/// <summary> Initializes a new instance of <see cref="ExistingRecoveryAvailabilitySet"/>. </summary>
/// <param name="resourceType"> The class type. </param>
/// <param name="serializedAdditionalRawData"> Keeps track of any properties unknown to the library. </param>
/// <param name="recoveryAvailabilitySetId"> The recovery availability set Id. Will throw error, if resource does not exist. </param>
internal ExistingRecoveryAvailabilitySet(string resourceType, IDictionary<string, BinaryData> serializedAdditionalRawData, ResourceIdentifier recoveryAvailabilitySetId) : base(resourceType, serializedAdditionalRawData)
{
RecoveryAvailabilitySetId = recoveryAvailabilitySetId;
ResourceType = resourceType ?? "Existing";
}
/// <summary> The recovery availability set Id. Will throw error, if resource does not exist. </summary>
public ResourceIdentifier RecoveryAvailabilitySetId { get; set; }
}
}