RegistryInner Class

public final class RegistryInner
extends Resource

An object that represents a container registry.

Constructor Summary

Constructor Description
RegistryInner()

Creates an instance of RegistryInner class.

Method Summary

Modifier and Type Method and Description
Boolean adminUserEnabled()

Get the adminUserEnabled property: The value that indicates whether the admin user is enabled.

OffsetDateTime creationDate()

Get the creationDate property: The creation date of the container registry in ISO8601 format.

Boolean dataEndpointEnabled()

Get the dataEndpointEnabled property: Enable a single data endpoint per region for serving data.

List<String> dataEndpointHostNames()

Get the dataEndpointHostNames property: List of host names that will serve data when dataEndpointEnabled is true.

EncryptionProperty encryption()

Get the encryption property: The encryption settings of container registry.

static RegistryInner fromJson(JsonReader jsonReader)

Reads an instance of RegistryInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

IdentityProperties identity()

Get the identity property: The identity of the container registry.

String loginServer()

Get the loginServer property: The URL that can be used to log into the container registry.

String name()

Get the name property: The name of the resource.

NetworkRuleBypassOptions networkRuleBypassOptions()

Get the networkRuleBypassOptions property: Whether to allow trusted Azure services to access a network restricted registry.

NetworkRuleSet networkRuleSet()

Get the networkRuleSet property: The network rule set for a container registry.

Policies policies()

Get the policies property: The policies for a container registry.

List<PrivateEndpointConnectionInner> privateEndpointConnections()

Get the privateEndpointConnections property: List of private endpoint connections for a container registry.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the container registry at the time the operation was called.

PublicNetworkAccess publicNetworkAccess()

Get the publicNetworkAccess property: Whether or not public network access is allowed for the container registry.

Sku sku()

Get the sku property: The SKU of the container registry.

Status status()

Get the status property: The status of the container registry at the time the operation was called.

SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

RegistryInner withAdminUserEnabled(Boolean adminUserEnabled)

Set the adminUserEnabled property: The value that indicates whether the admin user is enabled.

RegistryInner withDataEndpointEnabled(Boolean dataEndpointEnabled)

Set the dataEndpointEnabled property: Enable a single data endpoint per region for serving data.

RegistryInner withEncryption(EncryptionProperty encryption)

Set the encryption property: The encryption settings of container registry.

RegistryInner withIdentity(IdentityProperties identity)

Set the identity property: The identity of the container registry.

RegistryInner withLocation(String location)
RegistryInner withNetworkRuleBypassOptions(NetworkRuleBypassOptions networkRuleBypassOptions)

Set the networkRuleBypassOptions property: Whether to allow trusted Azure services to access a network restricted registry.

RegistryInner withNetworkRuleSet(NetworkRuleSet networkRuleSet)

Set the networkRuleSet property: The network rule set for a container registry.

RegistryInner withPolicies(Policies policies)

Set the policies property: The policies for a container registry.

RegistryInner withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)

Set the publicNetworkAccess property: Whether or not public network access is allowed for the container registry.

RegistryInner withSku(Sku sku)

Set the sku property: The SKU of the container registry.

RegistryInner withTags(Map<String,String> tags)
RegistryInner withZoneRedundancy(ZoneRedundancy zoneRedundancy)

Set the zoneRedundancy property: Whether or not zone redundancy is enabled for this container registry.

ZoneRedundancy zoneRedundancy()

Get the zoneRedundancy property: Whether or not zone redundancy is enabled for this container registry.

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

RegistryInner

public RegistryInner()

Creates an instance of RegistryInner class.

Method Details

adminUserEnabled

public Boolean adminUserEnabled()

Get the adminUserEnabled property: The value that indicates whether the admin user is enabled.

Returns:

the adminUserEnabled value.

creationDate

public OffsetDateTime creationDate()

Get the creationDate property: The creation date of the container registry in ISO8601 format.

Returns:

the creationDate value.

dataEndpointEnabled

public Boolean dataEndpointEnabled()

Get the dataEndpointEnabled property: Enable a single data endpoint per region for serving data.

Returns:

the dataEndpointEnabled value.

dataEndpointHostNames

public List dataEndpointHostNames()

Get the dataEndpointHostNames property: List of host names that will serve data when dataEndpointEnabled is true.

Returns:

the dataEndpointHostNames value.

encryption

public EncryptionProperty encryption()

Get the encryption property: The encryption settings of container registry.

Returns:

the encryption value.

fromJson

public static RegistryInner fromJson(JsonReader jsonReader)

Reads an instance of RegistryInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of RegistryInner 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.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

RegistryInner.id()

Returns:

the id value.

identity

public IdentityProperties identity()

Get the identity property: The identity of the container registry.

Returns:

the identity value.

loginServer

public String loginServer()

Get the loginServer property: The URL that can be used to log into the container registry.

Returns:

the loginServer value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

RegistryInner.name()

Returns:

the name value.

networkRuleBypassOptions

public NetworkRuleBypassOptions networkRuleBypassOptions()

Get the networkRuleBypassOptions property: Whether to allow trusted Azure services to access a network restricted registry.

Returns:

the networkRuleBypassOptions value.

networkRuleSet

public NetworkRuleSet networkRuleSet()

Get the networkRuleSet property: The network rule set for a container registry.

Returns:

the networkRuleSet value.

policies

public Policies policies()

Get the policies property: The policies for a container registry.

Returns:

the policies value.

privateEndpointConnections

public List privateEndpointConnections()

Get the privateEndpointConnections property: List of private endpoint connections for a container registry.

Returns:

the privateEndpointConnections value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the container registry at the time the operation was called.

Returns:

the provisioningState value.

publicNetworkAccess

public PublicNetworkAccess publicNetworkAccess()

Get the publicNetworkAccess property: Whether or not public network access is allowed for the container registry.

Returns:

the publicNetworkAccess value.

sku

public Sku sku()

Get the sku property: The SKU of the container registry.

Returns:

the sku value.

status

public Status status()

Get the status property: The status of the container registry at the time the operation was called.

Returns:

the status value.

systemData

public SystemData systemData()

Get the systemData property: Metadata pertaining to creation and last modification of the resource.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

RegistryInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

RegistryInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withAdminUserEnabled

public RegistryInner withAdminUserEnabled(Boolean adminUserEnabled)

Set the adminUserEnabled property: The value that indicates whether the admin user is enabled.

Parameters:

adminUserEnabled - the adminUserEnabled value to set.

Returns:

the RegistryInner object itself.

withDataEndpointEnabled

public RegistryInner withDataEndpointEnabled(Boolean dataEndpointEnabled)

Set the dataEndpointEnabled property: Enable a single data endpoint per region for serving data.

Parameters:

dataEndpointEnabled - the dataEndpointEnabled value to set.

Returns:

the RegistryInner object itself.

withEncryption

public RegistryInner withEncryption(EncryptionProperty encryption)

Set the encryption property: The encryption settings of container registry.

Parameters:

encryption - the encryption value to set.

Returns:

the RegistryInner object itself.

withIdentity

public RegistryInner withIdentity(IdentityProperties identity)

Set the identity property: The identity of the container registry.

Parameters:

identity - the identity value to set.

Returns:

the RegistryInner object itself.

withLocation

public RegistryInner withLocation(String location)

Overrides:

RegistryInner.withLocation(String location)

Parameters:

location

withNetworkRuleBypassOptions

public RegistryInner withNetworkRuleBypassOptions(NetworkRuleBypassOptions networkRuleBypassOptions)

Set the networkRuleBypassOptions property: Whether to allow trusted Azure services to access a network restricted registry.

Parameters:

networkRuleBypassOptions - the networkRuleBypassOptions value to set.

Returns:

the RegistryInner object itself.

withNetworkRuleSet

public RegistryInner withNetworkRuleSet(NetworkRuleSet networkRuleSet)

Set the networkRuleSet property: The network rule set for a container registry.

Parameters:

networkRuleSet - the networkRuleSet value to set.

Returns:

the RegistryInner object itself.

withPolicies

public RegistryInner withPolicies(Policies policies)

Set the policies property: The policies for a container registry.

Parameters:

policies - the policies value to set.

Returns:

the RegistryInner object itself.

withPublicNetworkAccess

public RegistryInner withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)

Set the publicNetworkAccess property: Whether or not public network access is allowed for the container registry.

Parameters:

publicNetworkAccess - the publicNetworkAccess value to set.

Returns:

the RegistryInner object itself.

withSku

public RegistryInner withSku(Sku sku)

Set the sku property: The SKU of the container registry.

Parameters:

sku - the sku value to set.

Returns:

the RegistryInner object itself.

withTags

public RegistryInner withTags(Map tags)

Overrides:

RegistryInner.withTags(Map<String,String> tags)

Parameters:

tags

withZoneRedundancy

public RegistryInner withZoneRedundancy(ZoneRedundancy zoneRedundancy)

Set the zoneRedundancy property: Whether or not zone redundancy is enabled for this container registry.

Parameters:

zoneRedundancy - the zoneRedundancy value to set.

Returns:

the RegistryInner object itself.

zoneRedundancy

public ZoneRedundancy zoneRedundancy()

Get the zoneRedundancy property: Whether or not zone redundancy is enabled for this container registry.

Returns:

the zoneRedundancy value.

Applies to