-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
ManagedServiceCorrelation.cs
33 lines (27 loc) · 1.51 KB
/
ManagedServiceCorrelation.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using Azure.Core;
namespace Azure.ResourceManager.ServiceFabricManagedClusters.Models
{
/// <summary> Creates a particular correlation between services. </summary>
public partial class ManagedServiceCorrelation
{
/// <summary> Initializes a new instance of ManagedServiceCorrelation. </summary>
/// <param name="scheme"> The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName. </param>
/// <param name="serviceName"> The Arm Resource ID of the service that the correlation relationship is established with. </param>
/// <exception cref="ArgumentNullException"> <paramref name="serviceName"/> is null. </exception>
public ManagedServiceCorrelation(ManagedServiceCorrelationScheme scheme, string serviceName)
{
Argument.AssertNotNull(serviceName, nameof(serviceName));
Scheme = scheme;
ServiceName = serviceName;
}
/// <summary> The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName. </summary>
public ManagedServiceCorrelationScheme Scheme { get; set; }
/// <summary> The Arm Resource ID of the service that the correlation relationship is established with. </summary>
public string ServiceName { get; set; }
}
}