-
Notifications
You must be signed in to change notification settings - Fork 4.8k
/
ResourceGroupResourceCreateOrUpdateConfigurationAssignmentByParentOptions.cs
59 lines (53 loc) · 3.3 KB
/
ResourceGroupResourceCreateOrUpdateConfigurationAssignmentByParentOptions.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
58
59
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using Azure.Core;
namespace Azure.ResourceManager.Maintenance.Models
{
/// <summary> The ResourceGroupResourceCreateOrUpdateConfigurationAssignmentByParentOptions. </summary>
public partial class ResourceGroupResourceCreateOrUpdateConfigurationAssignmentByParentOptions
{
/// <summary> Initializes a new instance of ResourceGroupResourceCreateOrUpdateConfigurationAssignmentByParentOptions. </summary>
/// <param name="providerName"> Resource provider name. </param>
/// <param name="resourceParentType"> Resource parent type. </param>
/// <param name="resourceParentName"> Resource parent identifier. </param>
/// <param name="resourceType"> Resource type. </param>
/// <param name="resourceName"> Resource identifier. </param>
/// <param name="configurationAssignmentName"> Configuration assignment name. </param>
/// <param name="data"> The configurationAssignment. </param>
/// <exception cref="ArgumentNullException"> <paramref name="providerName"/>, <paramref name="resourceParentType"/>, <paramref name="resourceParentName"/>, <paramref name="resourceType"/>, <paramref name="resourceName"/>, <paramref name="configurationAssignmentName"/> or <paramref name="data"/> is null. </exception>
public ResourceGroupResourceCreateOrUpdateConfigurationAssignmentByParentOptions(string providerName, string resourceParentType, string resourceParentName, string resourceType, string resourceName, string configurationAssignmentName, MaintenanceConfigurationAssignmentData data)
{
Argument.AssertNotNull(providerName, nameof(providerName));
Argument.AssertNotNull(resourceParentType, nameof(resourceParentType));
Argument.AssertNotNull(resourceParentName, nameof(resourceParentName));
Argument.AssertNotNull(resourceType, nameof(resourceType));
Argument.AssertNotNull(resourceName, nameof(resourceName));
Argument.AssertNotNull(configurationAssignmentName, nameof(configurationAssignmentName));
Argument.AssertNotNull(data, nameof(data));
ProviderName = providerName;
ResourceParentType = resourceParentType;
ResourceParentName = resourceParentName;
ResourceType = resourceType;
ResourceName = resourceName;
ConfigurationAssignmentName = configurationAssignmentName;
Data = data;
}
/// <summary> Resource provider name. </summary>
public string ProviderName { get; }
/// <summary> Resource parent type. </summary>
public string ResourceParentType { get; }
/// <summary> Resource parent identifier. </summary>
public string ResourceParentName { get; }
/// <summary> Resource type. </summary>
public string ResourceType { get; }
/// <summary> Resource identifier. </summary>
public string ResourceName { get; }
/// <summary> Configuration assignment name. </summary>
public string ConfigurationAssignmentName { get; }
/// <summary> The configurationAssignment. </summary>
public MaintenanceConfigurationAssignmentData Data { get; }
}
}