RegistryProperties Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. fluent. models. RegistryProperties
- com.
Implements
public final class RegistryProperties
implements JsonSerializable<RegistryProperties>
The properties of a container registry.
Constructor | Description |
---|---|
Registry |
Creates an instance of Registry |
Modifier and Type | Method and Description |
---|---|
Boolean |
admin Get the admin |
Offset |
creation Get the creation |
Boolean |
data Get the data |
List<String> |
data Get the data |
Encryption |
encryption()
Get the encryption property: The encryption settings of container registry. |
static
Registry |
from Reads an instance of Registry |
String |
login Get the login |
Network |
network Get the network |
Network |
network Get the network |
Policies |
policies()
Get the policies property: The policies for a container registry. |
List<Private |
private Get the private |
Provisioning |
provisioning Get the provisioning |
Public |
public Get the public |
Status |
status()
Get the status property: The status of the container registry at the time the operation was called. |
Json |
to |
void |
validate()
Validates the instance. |
Registry |
with Set the admin |
Registry |
with Set the data |
Registry |
with Set the encryption property: The encryption settings of container registry. |
Registry |
with Set the network |
Registry |
with Set the network |
Registry |
with Set the policies property: The policies for a container registry. |
Registry |
with Set the public |
Registry |
with Set the zone |
Zone |
zone Get the zone |
Methods inherited from java.lang.Object
RegistryProperties
public RegistryProperties()
Creates an instance of RegistryProperties class.
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 RegistryProperties fromJson(JsonReader jsonReader)
Reads an instance of RegistryProperties from the JsonReader.
Parameters:
Returns:
Throws:
loginServer
public String loginServer()
Get the loginServer property: The URL that can be used to log into the container registry.
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:
status
public Status status()
Get the status property: The status of the container registry at the time the operation was called.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdminUserEnabled
public RegistryProperties withAdminUserEnabled(Boolean adminUserEnabled)
Set the adminUserEnabled property: The value that indicates whether the admin user is enabled.
Parameters:
Returns:
withDataEndpointEnabled
public RegistryProperties withDataEndpointEnabled(Boolean dataEndpointEnabled)
Set the dataEndpointEnabled property: Enable a single data endpoint per region for serving data.
Parameters:
Returns:
withEncryption
public RegistryProperties withEncryption(EncryptionProperty encryption)
Set the encryption property: The encryption settings of container registry.
Parameters:
Returns:
withNetworkRuleBypassOptions
public RegistryProperties withNetworkRuleBypassOptions(NetworkRuleBypassOptions networkRuleBypassOptions)
Set the networkRuleBypassOptions property: Whether to allow trusted Azure services to access a network restricted registry.
Parameters:
Returns:
withNetworkRuleSet
public RegistryProperties withNetworkRuleSet(NetworkRuleSet networkRuleSet)
Set the networkRuleSet property: The network rule set for a container registry.
Parameters:
Returns:
withPolicies
public RegistryProperties withPolicies(Policies policies)
Set the policies property: The policies for a container registry.
Parameters:
Returns:
withPublicNetworkAccess
public RegistryProperties withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the publicNetworkAccess property: Whether or not public network access is allowed for the container registry.
Parameters:
Returns:
withZoneRedundancy
public RegistryProperties 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:
Azure SDK for Java geri bildirimi
Azure SDK for Java, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: