Class ConnectedRegistryInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.containerregistry.fluent.models.ConnectedRegistryInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class ConnectedRegistryInner
extends com.azure.core.management.ProxyResource
An object that represents a connected registry for a container registry.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ConnectedRegistryInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the activation property: The activation properties of the connected registry.Get the clientTokenIds property: The list of the ACR token resource IDs used to authenticate clients to the connected registry.Get the connectionState property: The current connection state of the connected registry.static ConnectedRegistryInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ConnectedRegistryInner from the JsonReader.Get the garbageCollection property: The garbage collection properties of the connected registry.id()Get the id property: Fully qualified resource Id for the resource.Get the lastActivityTime property: The last activity time of the connected registry.logging()Get the logging property: The logging properties of the connected registry.Get the loginServer property: The login server properties of the connected registry.mode()Get the mode property: The mode of the connected registry resource that indicates the permissions of the registry.name()Get the name property: The name of the resource.Get the notificationsList property: The list of notifications subscription information for the connected registry.parent()Get the parent property: The parent of the connected registry.Get the provisioningState property: Provisioning state of the resource.Get the statusDetails property: The list of current statuses of the connected registry.com.azure.core.management.SystemDataGet the systemData property: Metadata pertaining to creation and last modification of the resource.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The type of the resource.voidvalidate()Validates the instance.version()Get the version property: The current version of ACR runtime on the connected registry.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.withLoginServer(LoginServerProperties loginServer) Set the loginServer property: The login server properties of the connected registry.Set the mode property: The mode of the connected registry resource that indicates the permissions of the registry.withNotificationsList(List<String> notificationsList) Set the notificationsList property: The list of notifications subscription information for the connected registry.withParent(ParentProperties parent) Set the parent property: The parent of the connected registry.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
-
ConnectedRegistryInner
public ConnectedRegistryInner()Creates an instance of ConnectedRegistryInner class.
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
type
Get the type property: The type of the resource.- Overrides:
typein classcom.azure.core.management.ProxyResource- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classcom.azure.core.management.ProxyResource- Returns:
- the name value.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id value.
-
provisioningState
Get the provisioningState property: Provisioning state of the resource.- Returns:
- the provisioningState value.
-
mode
Get the mode property: The mode of the connected registry resource that indicates the permissions of the registry.- Returns:
- the mode value.
-
withMode
Set the mode property: The mode of the connected registry resource that indicates the permissions of the registry.- Parameters:
mode- the mode value to set.- Returns:
- the ConnectedRegistryInner object itself.
-
version
Get the version property: The current version of ACR runtime on the connected registry.- Returns:
- the version value.
-
connectionState
Get the connectionState property: The current connection state of the connected registry.- Returns:
- the connectionState value.
-
lastActivityTime
Get the lastActivityTime property: The last activity time of the connected registry.- Returns:
- the lastActivityTime value.
-
activation
Get the activation property: The activation properties of the connected registry.- Returns:
- the activation value.
-
parent
Get the parent property: The parent of the connected registry.- Returns:
- the parent value.
-
withParent
Set the parent property: The parent of the connected registry.- Parameters:
parent- the parent value to set.- Returns:
- the ConnectedRegistryInner 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 ConnectedRegistryInner object itself.
-
loginServer
Get the loginServer property: The login server properties of the connected registry.- Returns:
- the loginServer value.
-
withLoginServer
Set the loginServer property: The login server properties of the connected registry.- Parameters:
loginServer- the loginServer value to set.- Returns:
- the ConnectedRegistryInner 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 ConnectedRegistryInner object itself.
-
statusDetails
Get the statusDetails property: The list of current statuses of the connected registry.- Returns:
- the statusDetails value.
-
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 ConnectedRegistryInner object itself.
-
garbageCollection
Get the garbageCollection property: The garbage collection properties of the connected registry.- Returns:
- the garbageCollection value.
-
withGarbageCollection
Set the garbageCollection property: The garbage collection properties of the connected registry.- Parameters:
garbageCollection- the garbageCollection value to set.- Returns:
- the ConnectedRegistryInner 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<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classcom.azure.core.management.ProxyResource- Throws:
IOException
-
fromJson
public static ConnectedRegistryInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of ConnectedRegistryInner from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ConnectedRegistryInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the ConnectedRegistryInner.
-