-
Notifications
You must be signed in to change notification settings - Fork 4.8k
/
VirtualMachinePatch.cs
55 lines (49 loc) · 2.07 KB
/
VirtualMachinePatch.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.ConnectedVMwarevSphere.Models
{
/// <summary> Defines the virtualMachineUpdate. </summary>
public partial class VirtualMachinePatch
{
/// <summary> Initializes a new instance of VirtualMachinePatch. </summary>
public VirtualMachinePatch()
{
Tags = new ChangeTrackingDictionary<string, string>();
}
/// <summary> Gets or sets the Resource tags. </summary>
public IDictionary<string, string> Tags { get; }
/// <summary> The identity of the resource. Current supported identity types: None, SystemAssigned. </summary>
public ManagedServiceIdentity Identity { get; set; }
/// <summary> Defines the resource properties. </summary>
public HardwareProfile HardwareProfile { get; set; }
/// <summary> Defines the resource update properties. </summary>
internal StorageProfileUpdate StorageProfile { get; set; }
/// <summary> Gets or sets the list of virtual disks associated with the virtual machine. </summary>
public IList<VirtualDiskUpdate> StorageDisks
{
get
{
if (StorageProfile is null)
StorageProfile = new StorageProfileUpdate();
return StorageProfile.Disks;
}
}
/// <summary> Defines the update resource properties. </summary>
internal NetworkProfileUpdate NetworkProfile { get; set; }
/// <summary> Gets or sets the list of network interfaces associated with the virtual machine. </summary>
public IList<NetworkInterfaceUpdate> NetworkInterfaces
{
get
{
if (NetworkProfile is null)
NetworkProfile = new NetworkProfileUpdate();
return NetworkProfile.NetworkInterfaces;
}
}
}
}