RegistryInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. containerregistry. fluent. models. RegistryInner
- com.
- com.
- com.
public final class RegistryInner
extends Resource
An object that represents a container registry.
Constructor Summary
Constructor | Description |
---|---|
RegistryInner() |
Creates an instance of Registry |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
adminUserEnabled()
Get the admin |
Offset |
creationDate()
Get the creation |
Boolean |
dataEndpointEnabled()
Get the data |
List<String> |
dataEndpointHostNames()
Get the data |
Encryption |
encryption()
Get the encryption property: The encryption settings of container registry. |
static
Registry |
fromJson(JsonReader jsonReader)
Reads an instance of Registry |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Identity |
identity()
Get the identity property: The identity of the container registry. |
String |
loginServer()
Get the login |
String |
name()
Get the name property: The name of the resource. |
Network |
networkRuleBypassOptions()
Get the network |
Network |
networkRuleSet()
Get the network |
Policies |
policies()
Get the policies property: The policies for a container registry. |
List<Private |
privateEndpointConnections()
Get the private |
Provisioning |
provisioningState()
Get the provisioning |
Public |
publicNetworkAccess()
Get the public |
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. |
System |
systemData()
Get the system |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Registry |
withAdminUserEnabled(Boolean adminUserEnabled)
Set the admin |
Registry |
withDataEndpointEnabled(Boolean dataEndpointEnabled)
Set the data |
Registry |
withEncryption(EncryptionProperty encryption)
Set the encryption property: The encryption settings of container registry. |
Registry |
withIdentity(IdentityProperties identity)
Set the identity property: The identity of the container registry. |
Registry |
withLocation(String location) |
Registry |
withNetworkRuleBypassOptions(NetworkRuleBypassOptions networkRuleBypassOptions)
Set the network |
Registry |
withNetworkRuleSet(NetworkRuleSet networkRuleSet)
Set the network |
Registry |
withPolicies(Policies policies)
Set the policies property: The policies for a container registry. |
Registry |
withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the public |
Registry |
withSku(Sku sku)
Set the sku property: The SKU of the container registry. |
Registry |
withTags(Map<String,String> tags) |
Registry |
withZoneRedundancy(ZoneRedundancy zoneRedundancy)
Set the zone |
Zone |
zoneRedundancy()
Get the zone |
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:
creationDate
public OffsetDateTime creationDate()
Get the creationDate property: The creation date of the container registry in ISO8601 format.
Returns:
dataEndpointEnabled
public Boolean dataEndpointEnabled()
Get the dataEndpointEnabled property: Enable a single data endpoint per region for serving data.
Returns:
dataEndpointHostNames
public List
Get the dataEndpointHostNames property: List of host names that will serve data when dataEndpointEnabled is true.
Returns:
encryption
public EncryptionProperty encryption()
Get the encryption property: The encryption settings of container registry.
Returns:
fromJson
public static RegistryInner fromJson(JsonReader jsonReader)
Reads an instance of RegistryInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
RegistryInner.id()Returns:
identity
public IdentityProperties identity()
Get the identity property: The identity of the container registry.
Returns:
loginServer
public String loginServer()
Get the loginServer property: The URL that can be used to log into the container registry.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
RegistryInner.name()Returns:
networkRuleBypassOptions
public NetworkRuleBypassOptions networkRuleBypassOptions()
Get the networkRuleBypassOptions property: Whether to allow trusted Azure services to access a network restricted registry.
Returns:
networkRuleSet
public NetworkRuleSet networkRuleSet()
Get the networkRuleSet property: The network rule set for a container registry.
Returns:
policies
public Policies policies()
Get the policies property: The policies for a container registry.
Returns:
privateEndpointConnections
public List
Get the privateEndpointConnections property: List of private endpoint connections for a container registry.
Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the container registry at the time the operation was called.
Returns:
publicNetworkAccess
public PublicNetworkAccess publicNetworkAccess()
Get the publicNetworkAccess property: Whether or not public network access is allowed for the container registry.
Returns:
sku
public Sku sku()
Get the sku property: The SKU of the container registry.
Returns:
status
public Status status()
Get the status property: The status of the container registry at the time the operation was called.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
RegistryInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
RegistryInner.type()Returns:
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:
Returns:
withDataEndpointEnabled
public RegistryInner withDataEndpointEnabled(Boolean dataEndpointEnabled)
Set the dataEndpointEnabled property: Enable a single data endpoint per region for serving data.
Parameters:
Returns:
withEncryption
public RegistryInner withEncryption(EncryptionProperty encryption)
Set the encryption property: The encryption settings of container registry.
Parameters:
Returns:
withIdentity
public RegistryInner withIdentity(IdentityProperties identity)
Set the identity property: The identity of the container registry.
Parameters:
Returns:
withLocation
public RegistryInner withLocation(String location)
Overrides:
RegistryInner.withLocation(String location)Parameters:
withNetworkRuleBypassOptions
public RegistryInner withNetworkRuleBypassOptions(NetworkRuleBypassOptions networkRuleBypassOptions)
Set the networkRuleBypassOptions property: Whether to allow trusted Azure services to access a network restricted registry.
Parameters:
Returns:
withNetworkRuleSet
public RegistryInner withNetworkRuleSet(NetworkRuleSet networkRuleSet)
Set the networkRuleSet property: The network rule set for a container registry.
Parameters:
Returns:
withPolicies
public RegistryInner withPolicies(Policies policies)
Set the policies property: The policies for a container registry.
Parameters:
Returns:
withPublicNetworkAccess
public RegistryInner withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the publicNetworkAccess property: Whether or not public network access is allowed for the container registry.
Parameters:
Returns:
withSku
public RegistryInner withSku(Sku sku)
Set the sku property: The SKU of the container registry.
Parameters:
Returns:
withTags
public RegistryInner withTags(Map
Overrides:
RegistryInner.withTags(Map<String,String> tags)Parameters:
withZoneRedundancy
public RegistryInner withZoneRedundancy(ZoneRedundancy zoneRedundancy)
Set the zoneRedundancy property: Whether or not zone redundancy is enabled for this container registry.
Parameters:
Returns:
zoneRedundancy
public ZoneRedundancy zoneRedundancy()
Get the zoneRedundancy property: Whether or not zone redundancy is enabled for this container registry.
Returns:
Applies to
Azure SDK for Java