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