-
Notifications
You must be signed in to change notification settings - Fork 4.8k
/
DatabasePropertiesGeoReplication.cs
36 lines (30 loc) · 1.44 KB
/
DatabasePropertiesGeoReplication.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
namespace Azure.ResourceManager.RedisEnterpriseCache.Models
{
/// <summary> Optional set of properties to configure geo replication for this database. </summary>
public partial class DatabasePropertiesGeoReplication
{
/// <summary> Initializes a new instance of DatabasePropertiesGeoReplication. </summary>
public DatabasePropertiesGeoReplication()
{
LinkedDatabases = new ChangeTrackingList<LinkedDatabase>();
}
/// <summary> Initializes a new instance of DatabasePropertiesGeoReplication. </summary>
/// <param name="groupNickname"> Name for the group of linked database resources. </param>
/// <param name="linkedDatabases"> List of database resources to link with this database. </param>
internal DatabasePropertiesGeoReplication(string groupNickname, IList<LinkedDatabase> linkedDatabases)
{
GroupNickname = groupNickname;
LinkedDatabases = linkedDatabases;
}
/// <summary> Name for the group of linked database resources. </summary>
public string GroupNickname { get; set; }
/// <summary> List of database resources to link with this database. </summary>
public IList<LinkedDatabase> LinkedDatabases { get; }
}
}