Class ConnectedRegistryUpdateParameters
java.lang.Object
com.azure.resourcemanager.containerregistry.models.ConnectedRegistryUpdateParameters
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ConnectedRegistryUpdateParameters>
public final class ConnectedRegistryUpdateParameters
extends Object
implements com.azure.json.JsonSerializable<ConnectedRegistryUpdateParameters>
The parameters for updating a connected registry.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ConnectedRegistryUpdateParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the clientTokenIds property: The list of the ACR token resource IDs used to authenticate clients to the connected registry.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ConnectedRegistryUpdateParameters from the JsonReader.Get the garbageCollection property: The garbage collection properties of the connected registry.logging()Get the logging property: The logging properties of the connected registry.Get the notificationsList property: The list of notifications subscription information for the connected registry.Get the syncProperties property: The sync properties of the connected registry with its parent.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withClientTokenIds(List<String> clientTokenIds) Set the clientTokenIds property: The list of the ACR token resource IDs used to authenticate clients to the connected registry.withGarbageCollection(GarbageCollectionProperties garbageCollection) Set the garbageCollection property: The garbage collection properties of the connected registry.withLogging(LoggingProperties logging) Set the logging property: The logging properties of the connected registry.withNotificationsList(List<String> notificationsList) Set the notificationsList property: The list of notifications subscription information for the connected registry.withSyncProperties(SyncUpdateProperties syncProperties) Set the syncProperties property: The sync properties of the connected registry with its parent.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ConnectedRegistryUpdateParameters
public ConnectedRegistryUpdateParameters()Creates an instance of ConnectedRegistryUpdateParameters class.
-
-
Method Details
-
syncProperties
Get the syncProperties property: The sync properties of the connected registry with its parent.- Returns:
- the syncProperties value.
-
withSyncProperties
Set the syncProperties property: The sync properties of the connected registry with its parent.- Parameters:
syncProperties- the syncProperties value to set.- Returns:
- the ConnectedRegistryUpdateParameters object itself.
-
logging
Get the logging property: The logging properties of the connected registry.- Returns:
- the logging value.
-
withLogging
Set the logging property: The logging properties of the connected registry.- Parameters:
logging- the logging value to set.- Returns:
- the ConnectedRegistryUpdateParameters object itself.
-
clientTokenIds
Get the clientTokenIds property: The list of the ACR token resource IDs used to authenticate clients to the connected registry.- Returns:
- the clientTokenIds value.
-
withClientTokenIds
Set the clientTokenIds property: The list of the ACR token resource IDs used to authenticate clients to the connected registry.- Parameters:
clientTokenIds- the clientTokenIds value to set.- Returns:
- the ConnectedRegistryUpdateParameters object itself.
-
notificationsList
Get the notificationsList property: The list of notifications subscription information for the connected registry.- Returns:
- the notificationsList value.
-
withNotificationsList
Set the notificationsList property: The list of notifications subscription information for the connected registry.- Parameters:
notificationsList- the notificationsList value to set.- Returns:
- the ConnectedRegistryUpdateParameters object itself.
-
garbageCollection
Get the garbageCollection property: The garbage collection properties of the connected registry.- Returns:
- the garbageCollection value.
-
withGarbageCollection
public ConnectedRegistryUpdateParameters withGarbageCollection(GarbageCollectionProperties garbageCollection) Set the garbageCollection property: The garbage collection properties of the connected registry.- Parameters:
garbageCollection- the garbageCollection value to set.- Returns:
- the ConnectedRegistryUpdateParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ConnectedRegistryUpdateParameters>- Throws:
IOException
-
fromJson
public static ConnectedRegistryUpdateParameters fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ConnectedRegistryUpdateParameters from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ConnectedRegistryUpdateParameters if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the ConnectedRegistryUpdateParameters.
-