def METHOD_NAME(self):
    """Instance depends on the API version:
       * 2022-08-01-preview: :class:`DeploymentStacksOperations<azure.mgmt.resource.deploymentstacks.v2022_08_01_preview.operations.DeploymentStacksOperations>`
    """
    api_version = self._get_api_version('deployment_stacks')
    if api_version == '2022-08-01-preview':
        from .v2022_08_01_preview.operations import DeploymentStacksOperations as OperationClass
    else:
        raise ValueError("API version {} does not have operation group 'deployment_stacks'".format(api_version))
    self._config.api_version = api_version
    return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))