-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
DiscardContent.cs
37 lines (31 loc) · 1.58 KB
/
DiscardContent.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using System.Linq;
namespace Azure.ResourceManager.Migrate.Models
{
/// <summary> Defines the request body for discard operation. </summary>
public partial class DiscardContent
{
/// <summary> Initializes a new instance of DiscardContent. </summary>
/// <param name="moveResources"> Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property. </param>
/// <exception cref="ArgumentNullException"> <paramref name="moveResources"/> is null. </exception>
public DiscardContent(IEnumerable<string> moveResources)
{
if (moveResources == null)
{
throw new ArgumentNullException(nameof(moveResources));
}
MoveResources = moveResources.ToList();
}
/// <summary> Gets or sets a value indicating whether the operation needs to only run pre-requisite. </summary>
public bool? ValidateOnly { get; set; }
/// <summary> Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property. </summary>
public IList<string> MoveResources { get; }
/// <summary> Defines the move resource input type. </summary>
public MoveResourceInputType? MoveResourceInputType { get; set; }
}
}