/// <summary> /// Initializes a new instance of the ConnectedRegistryUpdateParameters /// class. /// </summary> /// <param name="syncProperties">The sync properties of the connected /// registry with its parent.</param> /// <param name="logging">The logging properties of the connected /// registry.</param> /// <param name="clientTokenIds">The list of the ACR token resource IDs /// used to authenticate clients to the connected registry.</param> /// <param name="notificationsList">The list of notifications /// subscription information for the connected registry.</param> public ConnectedRegistryUpdateParameters(SyncUpdateProperties syncProperties = default(SyncUpdateProperties), LoggingProperties logging = default(LoggingProperties), IList <string> clientTokenIds = default(IList <string>), IList <string> notificationsList = default(IList <string>)) { SyncProperties = syncProperties; Logging = logging; ClientTokenIds = clientTokenIds; NotificationsList = notificationsList; CustomInit(); }
/// <summary> /// Initializes a new instance of the ConnectedRegistry class. /// </summary> /// <param name="mode">The mode of the connected registry resource that /// indicates the permissions of the registry. Possible values include: /// 'ReadWrite', 'ReadOnly', 'Registry', 'Mirror'</param> /// <param name="parent">The parent of the connected registry.</param> /// <param name="id">The resource ID.</param> /// <param name="name">The name of the resource.</param> /// <param name="type">The type of the resource.</param> /// <param name="systemData">Metadata pertaining to creation and last /// modification of the resource.</param> /// <param name="provisioningState">Provisioning state of the resource. /// Possible values include: 'Creating', 'Updating', 'Deleting', /// 'Succeeded', 'Failed', 'Canceled'</param> /// <param name="version">The current version of ACR runtime on the /// connected registry.</param> /// <param name="connectionState">The current connection state of the /// connected registry. Possible values include: 'Online', 'Offline', /// 'Syncing', 'Unhealthy'</param> /// <param name="lastActivityTime">The last activity time of the /// connected registry.</param> /// <param name="activation">The activation properties of the connected /// registry.</param> /// <param name="clientTokenIds">The list of the ACR token resource IDs /// used to authenticate clients to the connected registry.</param> /// <param name="loginServer">The login server properties of the /// connected registry.</param> /// <param name="logging">The logging properties of the connected /// registry.</param> /// <param name="statusDetails">The list of current statuses of the /// connected registry.</param> /// <param name="notificationsList">The list of notifications /// subscription information for the connected registry.</param> public ConnectedRegistry(string mode, ParentProperties parent, string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), string provisioningState = default(string), string version = default(string), string connectionState = default(string), System.DateTime?lastActivityTime = default(System.DateTime?), ActivationProperties activation = default(ActivationProperties), IList <string> clientTokenIds = default(IList <string>), LoginServerProperties loginServer = default(LoginServerProperties), LoggingProperties logging = default(LoggingProperties), IList <StatusDetailProperties> statusDetails = default(IList <StatusDetailProperties>), IList <string> notificationsList = default(IList <string>)) : base(id, name, type, systemData) { ProvisioningState = provisioningState; Mode = mode; Version = version; ConnectionState = connectionState; LastActivityTime = lastActivityTime; Activation = activation; Parent = parent; ClientTokenIds = clientTokenIds; LoginServer = loginServer; Logging = logging; StatusDetails = statusDetails; NotificationsList = notificationsList; CustomInit(); }