Class RegistryUpdateParameters
- java.lang.Object
-
- com.azure.resourcemanager.containerregistry.models.RegistryUpdateParameters
-
public final class RegistryUpdateParameters extends Object
The parameters for updating a container registry.
-
-
Constructor Summary
Constructors Constructor Description RegistryUpdateParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanadminUserEnabled()Get the adminUserEnabled property: The value that indicates whether the admin user is enabled.BooleandataEndpointEnabled()Get the dataEndpointEnabled property: Enable a single data endpoint per region for serving data.EncryptionPropertyencryption()Get the encryption property: The encryption settings of container registry.IdentityPropertiesidentity()Get the identity property: The identity of the container registry.NetworkRuleBypassOptionsnetworkRuleBypassOptions()Get the networkRuleBypassOptions property: Whether to allow trusted Azure services to access a network restricted registry.NetworkRuleSetnetworkRuleSet()Get the networkRuleSet property: The network rule set for a container registry.Policiespolicies()Get the policies property: The policies for a container registry.PublicNetworkAccesspublicNetworkAccess()Get the publicNetworkAccess property: Whether or not public network access is allowed for the container registry.Skusku()Get the sku property: The SKU of the container registry.Map<String,String>tags()Get the tags property: The tags for the container registry.voidvalidate()Validates the instance.RegistryUpdateParameterswithAdminUserEnabled(Boolean adminUserEnabled)Set the adminUserEnabled property: The value that indicates whether the admin user is enabled.RegistryUpdateParameterswithDataEndpointEnabled(Boolean dataEndpointEnabled)Set the dataEndpointEnabled property: Enable a single data endpoint per region for serving data.RegistryUpdateParameterswithEncryption(EncryptionProperty encryption)Set the encryption property: The encryption settings of container registry.RegistryUpdateParameterswithIdentity(IdentityProperties identity)Set the identity property: The identity of the container registry.RegistryUpdateParameterswithNetworkRuleBypassOptions(NetworkRuleBypassOptions networkRuleBypassOptions)Set the networkRuleBypassOptions property: Whether to allow trusted Azure services to access a network restricted registry.RegistryUpdateParameterswithNetworkRuleSet(NetworkRuleSet networkRuleSet)Set the networkRuleSet property: The network rule set for a container registry.RegistryUpdateParameterswithPolicies(Policies policies)Set the policies property: The policies for a container registry.RegistryUpdateParameterswithPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)Set the publicNetworkAccess property: Whether or not public network access is allowed for the container registry.RegistryUpdateParameterswithSku(Sku sku)Set the sku property: The SKU of the container registry.RegistryUpdateParameterswithTags(Map<String,String> tags)Set the tags property: The tags for the container registry.
-
-
-
Method Detail
-
identity
public IdentityProperties identity()
Get the identity property: The identity of the container registry.- Returns:
- the identity value.
-
withIdentity
public RegistryUpdateParameters withIdentity(IdentityProperties identity)
Set the identity property: The identity of the container registry.- Parameters:
identity- the identity value to set.- Returns:
- the RegistryUpdateParameters object itself.
-
tags
public Map<String,String> tags()
Get the tags property: The tags for the container registry.- Returns:
- the tags value.
-
withTags
public RegistryUpdateParameters withTags(Map<String,String> tags)
Set the tags property: The tags for the container registry.- Parameters:
tags- the tags value to set.- Returns:
- the RegistryUpdateParameters object itself.
-
sku
public Sku sku()
Get the sku property: The SKU of the container registry.- Returns:
- the sku value.
-
withSku
public RegistryUpdateParameters withSku(Sku sku)
Set the sku property: The SKU of the container registry.- Parameters:
sku- the sku value to set.- Returns:
- the RegistryUpdateParameters object itself.
-
adminUserEnabled
public Boolean adminUserEnabled()
Get the adminUserEnabled property: The value that indicates whether the admin user is enabled.- Returns:
- the adminUserEnabled value.
-
withAdminUserEnabled
public RegistryUpdateParameters withAdminUserEnabled(Boolean adminUserEnabled)
Set the adminUserEnabled property: The value that indicates whether the admin user is enabled.- Parameters:
adminUserEnabled- the adminUserEnabled value to set.- Returns:
- the RegistryUpdateParameters object itself.
-
networkRuleSet
public NetworkRuleSet networkRuleSet()
Get the networkRuleSet property: The network rule set for a container registry.- Returns:
- the networkRuleSet value.
-
withNetworkRuleSet
public RegistryUpdateParameters withNetworkRuleSet(NetworkRuleSet networkRuleSet)
Set the networkRuleSet property: The network rule set for a container registry.- Parameters:
networkRuleSet- the networkRuleSet value to set.- Returns:
- the RegistryUpdateParameters object itself.
-
policies
public Policies policies()
Get the policies property: The policies for a container registry.- Returns:
- the policies value.
-
withPolicies
public RegistryUpdateParameters withPolicies(Policies policies)
Set the policies property: The policies for a container registry.- Parameters:
policies- the policies value to set.- Returns:
- the RegistryUpdateParameters object itself.
-
encryption
public EncryptionProperty encryption()
Get the encryption property: The encryption settings of container registry.- Returns:
- the encryption value.
-
withEncryption
public RegistryUpdateParameters withEncryption(EncryptionProperty encryption)
Set the encryption property: The encryption settings of container registry.- Parameters:
encryption- the encryption value to set.- Returns:
- the RegistryUpdateParameters object itself.
-
dataEndpointEnabled
public Boolean dataEndpointEnabled()
Get the dataEndpointEnabled property: Enable a single data endpoint per region for serving data.- Returns:
- the dataEndpointEnabled value.
-
withDataEndpointEnabled
public RegistryUpdateParameters withDataEndpointEnabled(Boolean dataEndpointEnabled)
Set the dataEndpointEnabled property: Enable a single data endpoint per region for serving data.- Parameters:
dataEndpointEnabled- the dataEndpointEnabled value to set.- Returns:
- the RegistryUpdateParameters object itself.
-
publicNetworkAccess
public PublicNetworkAccess publicNetworkAccess()
Get the publicNetworkAccess property: Whether or not public network access is allowed for the container registry.- Returns:
- the publicNetworkAccess value.
-
withPublicNetworkAccess
public RegistryUpdateParameters withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the publicNetworkAccess property: Whether or not public network access is allowed for the container registry.- Parameters:
publicNetworkAccess- the publicNetworkAccess value to set.- Returns:
- the RegistryUpdateParameters object itself.
-
networkRuleBypassOptions
public NetworkRuleBypassOptions networkRuleBypassOptions()
Get the networkRuleBypassOptions property: Whether to allow trusted Azure services to access a network restricted registry.- Returns:
- the networkRuleBypassOptions value.
-
withNetworkRuleBypassOptions
public RegistryUpdateParameters withNetworkRuleBypassOptions(NetworkRuleBypassOptions networkRuleBypassOptions)
Set the networkRuleBypassOptions property: Whether to allow trusted Azure services to access a network restricted registry.- Parameters:
networkRuleBypassOptions- the networkRuleBypassOptions value to set.- Returns:
- the RegistryUpdateParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-