-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
ContainerRegistryReplicationData.cs
55 lines (49 loc) · 3.39 KB
/
ContainerRegistryReplicationData.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
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
using Azure.ResourceManager.ContainerRegistry.Models;
using Azure.ResourceManager.Models;
namespace Azure.ResourceManager.ContainerRegistry
{
/// <summary>
/// A class representing the ContainerRegistryReplication data model.
/// An object that represents a replication for a container registry.
/// </summary>
public partial class ContainerRegistryReplicationData : TrackedResourceData
{
/// <summary> Initializes a new instance of ContainerRegistryReplicationData. </summary>
/// <param name="location"> The location. </param>
public ContainerRegistryReplicationData(AzureLocation location) : base(location)
{
}
/// <summary> Initializes a new instance of ContainerRegistryReplicationData. </summary>
/// <param name="id"> The id. </param>
/// <param name="name"> The name. </param>
/// <param name="resourceType"> The resourceType. </param>
/// <param name="systemData"> The systemData. </param>
/// <param name="tags"> The tags. </param>
/// <param name="location"> The location. </param>
/// <param name="provisioningState"> The provisioning state of the replication at the time the operation was called. </param>
/// <param name="status"> The status of the replication at the time the operation was called. </param>
/// <param name="isRegionEndpointEnabled"> Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications. </param>
/// <param name="zoneRedundancy"> Whether or not zone redundancy is enabled for this container registry replication. </param>
internal ContainerRegistryReplicationData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary<string, string> tags, AzureLocation location, ContainerRegistryProvisioningState? provisioningState, ContainerRegistryResourceStatus status, bool? isRegionEndpointEnabled, ContainerRegistryZoneRedundancy? zoneRedundancy) : base(id, name, resourceType, systemData, tags, location)
{
ProvisioningState = provisioningState;
Status = status;
IsRegionEndpointEnabled = isRegionEndpointEnabled;
ZoneRedundancy = zoneRedundancy;
}
/// <summary> The provisioning state of the replication at the time the operation was called. </summary>
public ContainerRegistryProvisioningState? ProvisioningState { get; }
/// <summary> The status of the replication at the time the operation was called. </summary>
public ContainerRegistryResourceStatus Status { get; }
/// <summary> Specifies whether the replication's regional endpoint is enabled. Requests will not be routed to a replication whose regional endpoint is disabled, however its data will continue to be synced with other replications. </summary>
public bool? IsRegionEndpointEnabled { get; set; }
/// <summary> Whether or not zone redundancy is enabled for this container registry replication. </summary>
public ContainerRegistryZoneRedundancy? ZoneRedundancy { get; set; }
}
}