-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
VMwareV2FabricCreationContent.cs
57 lines (49 loc) · 2.7 KB
/
VMwareV2FabricCreationContent.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// 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> VMwareV2 fabric provider specific settings. </summary>
public partial class VMwareV2FabricCreationContent : FabricSpecificCreationContent
{
/// <summary> Initializes a new instance of <see cref="VMwareV2FabricCreationContent"/>. </summary>
/// <param name="migrationSolutionId"> The ARM Id of the migration solution. </param>
/// <exception cref="ArgumentNullException"> <paramref name="migrationSolutionId"/> is null. </exception>
public VMwareV2FabricCreationContent(ResourceIdentifier migrationSolutionId)
{
if (migrationSolutionId == null)
{
throw new ArgumentNullException(nameof(migrationSolutionId));
}
MigrationSolutionId = migrationSolutionId;
InstanceType = "VMwareV2";
}
/// <summary> Initializes a new instance of <see cref="VMwareV2FabricCreationContent"/>. </summary>
/// <param name="instanceType"> Gets the class type. </param>
/// <param name="serializedAdditionalRawData"> Keeps track of any properties unknown to the library. </param>
/// <param name="vmwareSiteId"> The ARM Id of the VMware site. </param>
/// <param name="physicalSiteId"> The ARM Id of the physical site. </param>
/// <param name="migrationSolutionId"> The ARM Id of the migration solution. </param>
internal VMwareV2FabricCreationContent(string instanceType, IDictionary<string, BinaryData> serializedAdditionalRawData, ResourceIdentifier vmwareSiteId, ResourceIdentifier physicalSiteId, ResourceIdentifier migrationSolutionId) : base(instanceType, serializedAdditionalRawData)
{
VMwareSiteId = vmwareSiteId;
PhysicalSiteId = physicalSiteId;
MigrationSolutionId = migrationSolutionId;
InstanceType = instanceType ?? "VMwareV2";
}
/// <summary> Initializes a new instance of <see cref="VMwareV2FabricCreationContent"/> for deserialization. </summary>
internal VMwareV2FabricCreationContent()
{
}
/// <summary> The ARM Id of the VMware site. </summary>
public ResourceIdentifier VMwareSiteId { get; set; }
/// <summary> The ARM Id of the physical site. </summary>
public ResourceIdentifier PhysicalSiteId { get; set; }
/// <summary> The ARM Id of the migration solution. </summary>
public ResourceIdentifier MigrationSolutionId { get; }
}
}