'Instance depends on the API version:
* 2017-03-01: :class:`RegistriesOperations<azure.mgmt.containerregistry.v2017_03_01.operations.RegistriesOperations>`
* 2017-06-01-preview: :class:`RegistriesOperations<azure.mgmt.containerregistry.v2017_06_01_preview.operations.RegistriesOperations>`'

@property
def registries(self):

    if (self.api_version == '2017-03-01'):
        from .v2017_03_01.operations import RegistriesOperations as OperationClass
    elif (self.api_version == '2017-06-01-preview'):
        from .v2017_06_01_preview.operations import RegistriesOperations as OperationClass
    else:
        raise NotImplementedError('APIVersion    {}    is    not    available'.format(self.api_version))
    return OperationClass(self._client, self.config, self._serialize, self._deserialize)
