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

@property
def webhooks(self):

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