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 Summary
| Constructor | Description |
|---|---|
| RegistryProperties() |
Creates an instance of Registry |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
adminUserEnabled()
Get the admin |
| Boolean |
anonymousPullEnabled()
Get the anonymous |
|
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 |
loginServer()
Get the login |
| Boolean |
networkRuleBypassAllowedForTasks()
Get the network |
|
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 |
|
Role |
roleAssignmentMode()
Get the role |
| Status |
status()
Get the status property: The status of the container registry at the time the operation was called. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Registry |
withAdminUserEnabled(Boolean adminUserEnabled)
Set the admin |
|
Registry |
withAnonymousPullEnabled(Boolean anonymousPullEnabled)
Set the anonymous |
|
Registry |
withDataEndpointEnabled(Boolean dataEndpointEnabled)
Set the data |
|
Registry |
withEncryption(EncryptionProperty encryption)
Set the encryption property: The encryption settings of container registry. |
|
Registry |
withNetworkRuleBypassAllowedForTasks(Boolean networkRuleBypassAllowedForTasks)
Set the network |
|
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 |
withRoleAssignmentMode(RoleAssignmentMode roleAssignmentMode)
Set the role |
|
Registry |
withZoneRedundancy(ZoneRedundancy zoneRedundancy)
Set the zone |
|
Zone |
zoneRedundancy()
Get the zone |
Methods inherited from java.lang.Object
Constructor Details
RegistryProperties
public RegistryProperties()
Creates an instance of RegistryProperties class.
Method Details
adminUserEnabled
public Boolean adminUserEnabled()
Get the adminUserEnabled property: The value that indicates whether the admin user is enabled.
Returns:
anonymousPullEnabled
public Boolean anonymousPullEnabled()
Get the anonymousPullEnabled property: Enables registry-wide pull from unauthenticated clients.
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<String> dataEndpointHostNames()
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:
networkRuleBypassAllowedForTasks
public Boolean networkRuleBypassAllowedForTasks()
Get the networkRuleBypassAllowedForTasks property: Whether or not Tasks allowed to bypass the network rules for this 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<PrivateEndpointConnectionInner> privateEndpointConnections()
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:
roleAssignmentMode
public RoleAssignmentMode roleAssignmentMode()
Get the roleAssignmentMode property: Determines registry role assignment mode.
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:
withAnonymousPullEnabled
public RegistryProperties withAnonymousPullEnabled(Boolean anonymousPullEnabled)
Set the anonymousPullEnabled property: Enables registry-wide pull from unauthenticated clients.
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:
withNetworkRuleBypassAllowedForTasks
public RegistryProperties withNetworkRuleBypassAllowedForTasks(Boolean networkRuleBypassAllowedForTasks)
Set the networkRuleBypassAllowedForTasks property: Whether or not Tasks allowed to bypass the network rules for this 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:
withRoleAssignmentMode
public RegistryProperties withRoleAssignmentMode(RoleAssignmentMode roleAssignmentMode)
Set the roleAssignmentMode property: Determines registry role assignment mode.
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: