-
Notifications
You must be signed in to change notification settings - Fork 4.8k
/
MoverDiscardContent.cs
35 lines (29 loc) · 1.58 KB
/
MoverDiscardContent.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
// 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;
using Azure.Core;
namespace Azure.ResourceManager.ResourceMover.Models
{
/// <summary> Defines the request body for discard operation. </summary>
public partial class MoverDiscardContent
{
/// <summary> Initializes a new instance of <see cref="MoverDiscardContent"/>. </summary>
/// <param name="moverResources"> 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="moverResources"/> is null. </exception>
public MoverDiscardContent(IEnumerable<ResourceIdentifier> moverResources)
{
Argument.AssertNotNull(moverResources, nameof(moverResources));
MoverResources = moverResources.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<ResourceIdentifier> MoverResources { get; }
/// <summary> Defines the move resource input type. </summary>
public MoverResourceInputType? MoverResourceInputType { get; set; }
}
}