Class RegistryInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.containerregistry.fluent.models.RegistryInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
public final class RegistryInner
extends com.azure.core.management.Resource
An object that represents a container registry.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the adminUserEnabled property: The value that indicates whether the admin user is enabled.Get the creationDate property: The creation date of the container registry in ISO8601 format.Get the dataEndpointEnabled property: Enable a single data endpoint per region for serving data.Get the dataEndpointHostNames property: List of host names that will serve data when dataEndpointEnabled is true.Get the encryption property: The encryption settings of container registry.static RegistryInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of RegistryInner from the JsonReader.id()Get the id property: Fully qualified resource Id for the resource.identity()Get the identity property: The identity of the container registry.Get the loginServer property: The URL that can be used to log into the container registry.name()Get the name property: The name of the resource.Get the networkRuleBypassOptions property: Whether to allow trusted Azure services to access a network restricted registry.Get the networkRuleSet property: The network rule set for a container registry.policies()Get the policies property: The policies for a container registry.Get the privateEndpointConnections property: List of private endpoint connections for a container registry.Get the provisioningState property: The provisioning state of the container registry at the time the operation was called.Get the publicNetworkAccess property: Whether or not public network access is allowed for the container registry.sku()Get the sku property: The SKU of the container registry.status()Get the status property: The status of the container registry at the time the operation was called.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.withAdminUserEnabled(Boolean adminUserEnabled) Set the adminUserEnabled property: The value that indicates whether the admin user is enabled.withDataEndpointEnabled(Boolean dataEndpointEnabled) Set the dataEndpointEnabled property: Enable a single data endpoint per region for serving data.withEncryption(EncryptionProperty encryption) Set the encryption property: The encryption settings of container registry.withIdentity(IdentityProperties identity) Set the identity property: The identity of the container registry.withLocation(String location) withNetworkRuleBypassOptions(NetworkRuleBypassOptions networkRuleBypassOptions) Set the networkRuleBypassOptions property: Whether to allow trusted Azure services to access a network restricted registry.withNetworkRuleSet(NetworkRuleSet networkRuleSet) Set the networkRuleSet property: The network rule set for a container registry.withPolicies(Policies policies) Set the policies property: The policies for a container registry.withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess) Set the publicNetworkAccess property: Whether or not public network access is allowed for the container registry.Set the sku property: The SKU of the container registry.withZoneRedundancy(ZoneRedundancy zoneRedundancy) Set the zoneRedundancy property: Whether or not zone redundancy is enabled for this container registry.Get the zoneRedundancy property: Whether or not zone redundancy is enabled for this container registry.Methods inherited from class com.azure.core.management.Resource
location, tagsMethods 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
-
RegistryInner
public RegistryInner()Creates an instance of RegistryInner class.
-
-
Method Details
-
sku
Get the sku property: The SKU of the container registry.- Returns:
- the sku value.
-
withSku
Set the sku property: The SKU of the container registry.- Parameters:
sku- the sku value to set.- Returns:
- the RegistryInner object itself.
-
identity
Get the identity property: The identity of the container registry.- Returns:
- the identity value.
-
withIdentity
Set the identity property: The identity of the container registry.- Parameters:
identity- the identity value to set.- Returns:
- the RegistryInner object itself.
-
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.
-
id
Get the id property: Fully qualified resource Id for the resource.- Overrides:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classcom.azure.core.management.ProxyResource- Returns:
- the name value.
-
type
Get the type property: The type of the resource.- Overrides:
typein classcom.azure.core.management.ProxyResource- Returns:
- the type value.
-
withLocation
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
loginServer
Get the loginServer property: The URL that can be used to log into the container registry.- Returns:
- the loginServer value.
-
creationDate
Get the creationDate property: The creation date of the container registry in ISO8601 format.- Returns:
- the creationDate value.
-
provisioningState
Get the provisioningState property: The provisioning state of the container registry at the time the operation was called.- Returns:
- the provisioningState value.
-
status
Get the status property: The status of the container registry at the time the operation was called.- Returns:
- the status value.
-
adminUserEnabled
Get the adminUserEnabled property: The value that indicates whether the admin user is enabled.- Returns:
- the adminUserEnabled value.
-
withAdminUserEnabled
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.
-
networkRuleSet
Get the networkRuleSet property: The network rule set for a container registry.- Returns:
- the networkRuleSet value.
-
withNetworkRuleSet
Set the networkRuleSet property: The network rule set for a container registry.- Parameters:
networkRuleSet- the networkRuleSet value to set.- Returns:
- the RegistryInner object itself.
-
policies
Get the policies property: The policies for a container registry.- Returns:
- the policies value.
-
withPolicies
Set the policies property: The policies for a container registry.- Parameters:
policies- the policies value to set.- Returns:
- the RegistryInner object itself.
-
encryption
Get the encryption property: The encryption settings of container registry.- Returns:
- the encryption value.
-
withEncryption
Set the encryption property: The encryption settings of container registry.- Parameters:
encryption- the encryption value to set.- Returns:
- the RegistryInner object itself.
-
dataEndpointEnabled
Get the dataEndpointEnabled property: Enable a single data endpoint per region for serving data.- Returns:
- the dataEndpointEnabled value.
-
withDataEndpointEnabled
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.
-
dataEndpointHostNames
Get the dataEndpointHostNames property: List of host names that will serve data when dataEndpointEnabled is true.- Returns:
- the dataEndpointHostNames value.
-
privateEndpointConnections
Get the privateEndpointConnections property: List of private endpoint connections for a container registry.- Returns:
- the privateEndpointConnections value.
-
publicNetworkAccess
Get the publicNetworkAccess property: Whether or not public network access is allowed for the container registry.- Returns:
- the publicNetworkAccess value.
-
withPublicNetworkAccess
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.
-
networkRuleBypassOptions
Get the networkRuleBypassOptions property: Whether to allow trusted Azure services to access a network restricted registry.- Returns:
- the networkRuleBypassOptions value.
-
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.
-
zoneRedundancy
Get the zoneRedundancy property: Whether or not zone redundancy is enabled for this container registry.- Returns:
- the zoneRedundancy value.
-
withZoneRedundancy
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.
-
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.Resource- Throws:
IOException
-
fromJson
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:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the RegistryInner.
-