public ServiceFuture<RegistryPoliciesInner> beginUpdatePoliciesAsync(String resourceGroupName, String registryName, RegistryPoliciesInner registryPoliciesUpdateParameters, final ServiceCallback<RegistryPoliciesInner> serviceCallback) {
        return ServiceFuture.fromResponse(beginUpdatePoliciesWithServiceResponseAsync(resourceGroupName, registryName, registryPoliciesUpdateParameters), serviceCallback);
    }
public ServiceFuture < RegistryPoliciesInner > beginUpdatePoliciesAsync ( String resourceGroupName , String registryName , RegistryPoliciesInner registryPoliciesUpdateParameters , final ServiceCallback < RegistryPoliciesInner > serviceCallback ) { return ServiceFuture . fromResponse ( beginUpdatePoliciesWithServiceResponseAsync ( resourceGroupName , registryName , registryPoliciesUpdateParameters ) , serviceCallback ) ; }
Updates the policies for the specified container registry.

@param resourceGroupName The name of the resource group to which the container registry belongs.
@param registryName The name of the container registry.
@param registryPoliciesUpdateParameters The parameters for updating policies of a container registry.
@param serviceCallback the async ServiceCallback to handle successful and failed responses.
@throws IllegalArgumentException thrown if parameters fail the validation
@return the {@link ServiceFuture} object