Class RegistryPropertiesUpdateParameters


  • public final class RegistryPropertiesUpdateParameters
    extends Object
    The parameters for updating the properties of a container registry.
    • Constructor Detail

      • RegistryPropertiesUpdateParameters

        public RegistryPropertiesUpdateParameters()
    • Method Detail

      • adminUserEnabled

        public Boolean adminUserEnabled()
        Get the adminUserEnabled property: The value that indicates whether the admin user is enabled.
        Returns:
        the adminUserEnabled value.
      • withAdminUserEnabled

        public RegistryPropertiesUpdateParameters 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 RegistryPropertiesUpdateParameters object itself.
      • networkRuleSet

        public NetworkRuleSet networkRuleSet()
        Get the networkRuleSet property: The network rule set for a container registry.
        Returns:
        the networkRuleSet value.
      • withNetworkRuleSet

        public RegistryPropertiesUpdateParameters withNetworkRuleSet​(NetworkRuleSet networkRuleSet)
        Set the networkRuleSet property: The network rule set for a container registry.
        Parameters:
        networkRuleSet - the networkRuleSet value to set.
        Returns:
        the RegistryPropertiesUpdateParameters object itself.
      • policies

        public Policies policies()
        Get the policies property: The policies for a container registry.
        Returns:
        the policies value.
      • withPolicies

        public RegistryPropertiesUpdateParameters withPolicies​(Policies policies)
        Set the policies property: The policies for a container registry.
        Parameters:
        policies - the policies value to set.
        Returns:
        the RegistryPropertiesUpdateParameters object itself.
      • encryption

        public EncryptionProperty encryption()
        Get the encryption property: The encryption settings of container registry.
        Returns:
        the encryption value.
      • withEncryption

        public RegistryPropertiesUpdateParameters withEncryption​(EncryptionProperty encryption)
        Set the encryption property: The encryption settings of container registry.
        Parameters:
        encryption - the encryption value to set.
        Returns:
        the RegistryPropertiesUpdateParameters 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 RegistryPropertiesUpdateParameters 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 RegistryPropertiesUpdateParameters 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 RegistryPropertiesUpdateParameters 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 RegistryPropertiesUpdateParameters 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 RegistryPropertiesUpdateParameters 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 RegistryPropertiesUpdateParameters object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.