RegistryPropertiesUpdateParameters Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. fluent. models. RegistryPropertiesUpdateParameters
- com.
Implements
public final class RegistryPropertiesUpdateParameters
implements JsonSerializable<RegistryPropertiesUpdateParameters>
The parameters for updating the properties of a container registry.
Constructor Summary
| Constructor | Description |
|---|---|
| RegistryPropertiesUpdateParameters() |
Creates an instance of Registry |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
adminUserEnabled()
Get the admin |
| Boolean |
anonymousPullEnabled()
Get the anonymous |
| Boolean |
dataEndpointEnabled()
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 |
| 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. |
|
Public |
publicNetworkAccess()
Get the public |
|
Role |
roleAssignmentMode()
Get the role |
|
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 |
Methods inherited from java.lang.Object
Constructor Details
RegistryPropertiesUpdateParameters
public RegistryPropertiesUpdateParameters()
Creates an instance of RegistryPropertiesUpdateParameters 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:
dataEndpointEnabled
public Boolean dataEndpointEnabled()
Get the dataEndpointEnabled property: Enable a single data endpoint per region for serving data.
Returns:
encryption
public EncryptionProperty encryption()
Get the encryption property: The encryption settings of container registry.
Returns:
fromJson
public static RegistryPropertiesUpdateParameters fromJson(JsonReader jsonReader)
Reads an instance of RegistryPropertiesUpdateParameters from the JsonReader.
Parameters:
Returns:
Throws:
networkRuleBypassAllowedForTasks
public Boolean networkRuleBypassAllowedForTasks()
Get the networkRuleBypassAllowedForTasks property: Whether to allow ACR Tasks service to access a network restricted 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:
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:
toJson
validate
public void validate()
Validates the instance.
withAdminUserEnabled
public RegistryPropertiesUpdateParameters withAdminUserEnabled(Boolean adminUserEnabled)
Set the adminUserEnabled property: The value that indicates whether the admin user is enabled.
Parameters:
Returns:
withAnonymousPullEnabled
public RegistryPropertiesUpdateParameters withAnonymousPullEnabled(Boolean anonymousPullEnabled)
Set the anonymousPullEnabled property: Enables registry-wide pull from unauthenticated clients.
Parameters:
Returns:
withDataEndpointEnabled
public RegistryPropertiesUpdateParameters withDataEndpointEnabled(Boolean dataEndpointEnabled)
Set the dataEndpointEnabled property: Enable a single data endpoint per region for serving data.
Parameters:
Returns:
withEncryption
public RegistryPropertiesUpdateParameters withEncryption(EncryptionProperty encryption)
Set the encryption property: The encryption settings of container registry.
Parameters:
Returns:
withNetworkRuleBypassAllowedForTasks
public RegistryPropertiesUpdateParameters withNetworkRuleBypassAllowedForTasks(Boolean networkRuleBypassAllowedForTasks)
Set the networkRuleBypassAllowedForTasks property: Whether to allow ACR Tasks service to access a network restricted registry.
Parameters:
Returns:
withNetworkRuleBypassOptions
public RegistryPropertiesUpdateParameters withNetworkRuleBypassOptions(NetworkRuleBypassOptions networkRuleBypassOptions)
Set the networkRuleBypassOptions property: Whether to allow trusted Azure services to access a network restricted registry.
Parameters:
Returns:
withNetworkRuleSet
public RegistryPropertiesUpdateParameters withNetworkRuleSet(NetworkRuleSet networkRuleSet)
Set the networkRuleSet property: The network rule set for a container registry.
Parameters:
Returns:
withPolicies
public RegistryPropertiesUpdateParameters withPolicies(Policies policies)
Set the policies property: The policies for a container registry.
Parameters:
Returns:
withPublicNetworkAccess
public RegistryPropertiesUpdateParameters withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the publicNetworkAccess property: Whether or not public network access is allowed for the container registry.
Parameters:
Returns:
withRoleAssignmentMode
public RegistryPropertiesUpdateParameters withRoleAssignmentMode(RoleAssignmentMode roleAssignmentMode)
Set the roleAssignmentMode property: Determines registry role assignment mode.
Parameters:
Returns: