ConnectedRegistryProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.containerregistry.fluent.models.ConnectedRegistryProperties

Implements

public final class ConnectedRegistryProperties
implements JsonSerializable<ConnectedRegistryProperties>

The properties of a connected registry.

Constructor Summary

Constructor Description
ConnectedRegistryProperties()

Creates an instance of ConnectedRegistryProperties class.

Method Summary

Modifier and Type Method and Description
ActivationProperties activation()

Get the activation property: The activation properties of the connected registry.

List<String> clientTokenIds()

Get the clientTokenIds property: The list of the ACR token resource IDs used to authenticate clients to the connected registry.

ConnectionState connectionState()

Get the connectionState property: The current connection state of the connected registry.

static ConnectedRegistryProperties fromJson(JsonReader jsonReader)

Reads an instance of ConnectedRegistryProperties from the JsonReader.

GarbageCollectionProperties garbageCollection()

Get the garbageCollection property: The garbage collection properties of the connected registry.

OffsetDateTime lastActivityTime()

Get the lastActivityTime property: The last activity time of the connected registry.

LoggingProperties logging()

Get the logging property: The logging properties of the connected registry.

LoginServerProperties loginServer()

Get the loginServer property: The login server properties of the connected registry.

ConnectedRegistryMode mode()

Get the mode property: The mode of the connected registry resource that indicates the permissions of the registry.

List<String> notificationsList()

Get the notificationsList property: The list of notifications subscription information for the connected registry.

ParentProperties parent()

Get the parent property: The parent of the connected registry.

ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

List<StatusDetailProperties> statusDetails()

Get the statusDetails property: The list of current statuses of the connected registry.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String version()

Get the version property: The current version of ACR runtime on the connected registry.

ConnectedRegistryProperties withClientTokenIds(List<String> clientTokenIds)

Set the clientTokenIds property: The list of the ACR token resource IDs used to authenticate clients to the connected registry.

ConnectedRegistryProperties withGarbageCollection(GarbageCollectionProperties garbageCollection)

Set the garbageCollection property: The garbage collection properties of the connected registry.

ConnectedRegistryProperties withLogging(LoggingProperties logging)

Set the logging property: The logging properties of the connected registry.

ConnectedRegistryProperties withLoginServer(LoginServerProperties loginServer)

Set the loginServer property: The login server properties of the connected registry.

ConnectedRegistryProperties withMode(ConnectedRegistryMode mode)

Set the mode property: The mode of the connected registry resource that indicates the permissions of the registry.

ConnectedRegistryProperties withNotificationsList(List<String> notificationsList)

Set the notificationsList property: The list of notifications subscription information for the connected registry.

ConnectedRegistryProperties withParent(ParentProperties parent)

Set the parent property: The parent of the connected registry.

Methods inherited from java.lang.Object

Constructor Details

ConnectedRegistryProperties

public ConnectedRegistryProperties()

Creates an instance of ConnectedRegistryProperties class.

Method Details

activation

public ActivationProperties activation()

Get the activation property: The activation properties of the connected registry.

Returns:

the activation value.

clientTokenIds

public List<String> 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.

connectionState

public ConnectionState connectionState()

Get the connectionState property: The current connection state of the connected registry.

Returns:

the connectionState value.

fromJson

public static ConnectedRegistryProperties fromJson(JsonReader jsonReader)

Reads an instance of ConnectedRegistryProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ConnectedRegistryProperties if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

garbageCollection

public GarbageCollectionProperties garbageCollection()

Get the garbageCollection property: The garbage collection properties of the connected registry.

Returns:

the garbageCollection value.

lastActivityTime

public OffsetDateTime lastActivityTime()

Get the lastActivityTime property: The last activity time of the connected registry.

Returns:

the lastActivityTime value.

logging

public LoggingProperties logging()

Get the logging property: The logging properties of the connected registry.

Returns:

the logging value.

loginServer

public LoginServerProperties loginServer()

Get the loginServer property: The login server properties of the connected registry.

Returns:

the loginServer value.

mode

public ConnectedRegistryMode mode()

Get the mode property: The mode of the connected registry resource that indicates the permissions of the registry.

Returns:

the mode value.

notificationsList

public List<String> notificationsList()

Get the notificationsList property: The list of notifications subscription information for the connected registry.

Returns:

the notificationsList value.

parent

public ParentProperties parent()

Get the parent property: The parent of the connected registry.

Returns:

the parent value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

Returns:

the provisioningState value.

statusDetails

public List<StatusDetailProperties> statusDetails()

Get the statusDetails property: The list of current statuses of the connected registry.

Returns:

the statusDetails value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

version

public String version()

Get the version property: The current version of ACR runtime on the connected registry.

Returns:

the version value.

withClientTokenIds

public ConnectedRegistryProperties withClientTokenIds(List<String> clientTokenIds)

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 ConnectedRegistryProperties object itself.

withGarbageCollection

public ConnectedRegistryProperties withGarbageCollection(GarbageCollectionProperties garbageCollection)

Set the garbageCollection property: The garbage collection properties of the connected registry.

Parameters:

garbageCollection - the garbageCollection value to set.

Returns:

the ConnectedRegistryProperties object itself.

withLogging

public ConnectedRegistryProperties withLogging(LoggingProperties logging)

Set the logging property: The logging properties of the connected registry.

Parameters:

logging - the logging value to set.

Returns:

the ConnectedRegistryProperties object itself.

withLoginServer

public ConnectedRegistryProperties withLoginServer(LoginServerProperties loginServer)

Set the loginServer property: The login server properties of the connected registry.

Parameters:

loginServer - the loginServer value to set.

Returns:

the ConnectedRegistryProperties object itself.

withMode

public ConnectedRegistryProperties withMode(ConnectedRegistryMode mode)

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 ConnectedRegistryProperties object itself.

withNotificationsList

public ConnectedRegistryProperties withNotificationsList(List<String> notificationsList)

Set the notificationsList property: The list of notifications subscription information for the connected registry.

Parameters:

notificationsList - the notificationsList value to set.

Returns:

the ConnectedRegistryProperties object itself.

withParent

public ConnectedRegistryProperties withParent(ParentProperties parent)

Set the parent property: The parent of the connected registry.

Parameters:

parent - the parent value to set.

Returns:

the ConnectedRegistryProperties object itself.

Applies to